> For the complete documentation index, see [llms.txt](https://api-docs.hengelending.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.hengelending.com/api/api-reference/models.md). Agents can also search and read this documentation through its [MCP server](https://api-docs.hengelending.com/~gitbook/mcp).

# Models

## The ActivitySubject object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ActivitySubject":{"type":"object","properties":{"type":{"type":"string","description":"Kind of item the change touched: Task, Document, Liability, Asset or LosField.","nullable":true},"id":{"type":"string","description":"Identifier of the item: a GUID for tasks, documents and assets, the LOS field id for a LosField.","nullable":true},"name":{"type":"string","description":"The item's display name when the entry was written; informational only.","nullable":true}},"additionalProperties":false,"description":"One item a loan change touched (a task, document, liability, asset or LOS field), with its type, id and display name. The name is for display only."}}}}
```

## The ActivityValueChange object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ActivityValueChange":{"type":"object","properties":{"field":{"type":"string","description":"A plain label for what changed: \"Wording\", \"Due date\", \"Status\", an LOS field's label.","nullable":true},"oldValue":{"type":"string","description":"What the field held before; null when it held nothing.","nullable":true},"newValue":{"type":"string","description":"What the field holds now; null when it holds nothing.","nullable":true},"oldValueNotRead":{"type":"boolean","description":"True when the write path did not read what the field held before: `OldValue` is then null\r\nbecause it is unknown, not because the field was empty. Absent means it was read."},"subjectType":{"type":"string","description":"One of `ActivitySubjectTypes`: the type of the item the field belongs to.","nullable":true},"subjectId":{"type":"string","description":"The id of the item the field belongs to, as its `Id` spells it.","nullable":true}},"additionalProperties":false,"description":"A before-and-after value of one field of an item that a loan change touched; each value is cut to 500 characters."}}}}
```

## The Address object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Address":{"required":["state"],"type":"object","properties":{"addressLine1":{"type":"string","description":"Street address, for example 123 Main St.","nullable":true},"addressLine2":{"type":"string","description":"Unit, suite or other second line; optional.","nullable":true},"city":{"type":"string","description":"City name.","nullable":true},"state":{"minLength":1,"type":"string","description":"Two-letter state code."},"zipCode":{"type":"string","description":"Postal (ZIP) code.","nullable":true}},"additionalProperties":false,"description":"A US mailing address."}}}}
```

## The Adjustment object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Adjustment":{"type":"object","properties":{"key":{"type":"string","description":"Name of the adjustment, saying what it is for.","nullable":true},"adj":{"type":"number","description":"Size of the adjustment, in the unit of the group it belongs to (price points or rate).","format":"double","nullable":true}},"additionalProperties":false,"description":"One price or rate adjustment applied to a quote."}}}}
```

## The AmortizationTypes object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"AmortizationTypes":{"enum":["Fixed","ARM","Balloon","OptionArm"],"type":"string","description":"How the loan's principal is repaid and its rate set. Fixed has one rate for the whole term; ARM is an adjustable-rate mortgage; Balloon has a short term with a large final payment; OptionArm is an adjustable-rate loan that lets the borrower choose among payment options."}}}}
```

## The AnswerLoanApplicationQuestionRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"AnswerLoanApplicationQuestionRequest":{"type":"object","properties":{"yesNoResponse":{"type":"boolean","description":"The answer to a yes/no question.","nullable":true},"shortAnswer":{"type":"string","description":"The answer to a short-answer question, for example the Employment History Explanation.","nullable":true}},"additionalProperties":false,"description":"The answer to a question task. Send the field the question asks for: a yes/no question takes\r\n`yesNoResponse`, a short-answer question takes `shortAnswer`. Send `yesNoResponse` or `shortAnswer`; a body with neither is refused."}}}}
```

## The Application object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Application":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the application.","format":"uuid"},"type":{"type":"string","description":"The application's type.","nullable":true},"name":{"type":"string","description":"The application's name.","nullable":true}},"additionalProperties":false,"description":"A reference to an application: its id, type and name."}}}}
```

## The AppraisalRequestResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"AppraisalRequestResponse":{"type":"object","properties":{"sentToName":{"type":"string","description":"Name of the person or team the appraisal request was sent to.","nullable":true},"sentToEmail":{"type":"string","description":"Email address the appraisal request was sent to.","nullable":true}},"additionalProperties":false,"description":"Who the request went to."}}}}
```

## The AppraisalRequestSummary object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"AppraisalRequestSummary":{"type":"object","properties":{"requestedAtUtc":{"type":"string","description":"When the appraisal was requested, ISO 8601 in UTC.","format":"date-time"},"requestedByName":{"type":"string","description":"Name of the user who made the request.","nullable":true},"sentToEmail":{"type":"string","description":"Email address the request was sent to.","nullable":true},"rush":{"type":"boolean","description":"True when the request was marked rush."}},"additionalProperties":false}}}}
```

## The ArmFixedTerms object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ArmFixedTerms":{"enum":["SixMonth","OneYear","ThreeYear","FiveYear","SevenYear","TenYear","TwoYear","OneMonth","ThreeMonth","FifteenYear","SixYear"],"type":"string","description":"Initial fixed-rate period of an adjustable-rate mortgage, before the rate first adjusts. OneMonth, ThreeMonth and SixMonth are that many months; OneYear, TwoYear, ThreeYear, FiveYear, SixYear, SevenYear, TenYear and FifteenYear are that many years."}}}}
```

## The Asset object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Asset":{"type":"object","properties":{"amount":{"type":"number","description":"Account balance in dollars.","format":"double"},"accountName":{"type":"string","description":"Name of the account.","nullable":true},"accountNumber":{"type":"string","description":"Account number, masked to the last four digits on reads.","nullable":true},"institutionName":{"type":"string","description":"Name of the financial institution.","nullable":true},"source":{"type":"string","description":"Where the asset came from: Manual (entered by hand), a linked bank, or the LOS.","nullable":true},"giftSource":{"type":"string","description":"Who the gift came from, for a gift asset.","nullable":true},"meridianLinkAssetType":{"type":"string","description":"The asset type as the LOS names it.","nullable":true},"isUpdatedExternally":{"type":"boolean","description":"True when the LOS or a linked bank changed the record after it was created."}},"additionalProperties":false,"description":"An asset account on a loan: its balance, institution and where the record came from."}}}}
```

## The AssetAccountRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"AssetAccountRequest":{"type":"object","properties":{"name":{"type":"string","description":"The account's name, e.g. \"Chase Checking\". Required on create.","nullable":true},"description":{"type":"string","description":"Free-text description of the account. On update, omit to keep the current value.","nullable":true},"assetTypeCode":{"type":"string","description":"The asset type's code, as returned in assetType.code by GET loan-applications/{id}/accounts.\r\nRequired on create.","nullable":true},"documentTimePeriodCode":{"type":"string","description":"The period the requested statements cover, e.g. Monthly.","nullable":true},"documentsNeeded":{"type":"integer","description":"How many statements the borrower is asked for.","format":"int32","nullable":true},"isRequired":{"type":"boolean","description":"Whether documents for this account are required before the file can move forward. On update, omit to keep the current value.","nullable":true},"ownerBorrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The borrowers (hdBorrowerId, as returned in ownerBorrowerIds) who own the account: one borrower, or both of one\r\npair for a joint account. Borrowers from two pairs, or one not on the loan, are a 400. Left out on update it keeps\r\nthe owners; an empty list removes them, and the account is the primary borrower's. Only applied where the\r\nmultiple borrower pairs setting is on.","nullable":true}},"additionalProperties":false,"description":"An asset account to create, or the fields of one to change. On update, a field left null keeps its\r\nstored value. Creating an account (POST) needs name and assetTypeCode; an update (PUT) needs at least one field."}}}}
```

## The AssetAccountResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"AssetAccountResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id of the asset account (GUID).","format":"uuid"},"name":{"type":"string","description":"Name of the account, for example \"Primary Checking\".","nullable":true},"description":{"type":"string","description":"Free-text description of the account.","nullable":true},"assetType":{"$ref":"#/components/schemas/AssetType"},"documentsNeeded":{"type":"integer","description":"How many statements the borrower is asked to provide.","format":"int32","nullable":true},"documentTimePeriod":{"$ref":"#/components/schemas/DocumentTimePeriod"},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplicationTaskItem"},"description":"The document request tasks that belong to this account.","nullable":true},"createdTimestamp":{"type":"string","description":"When the account was created (ISO 8601 date and time, UTC).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the account was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"asset":{"$ref":"#/components/schemas/Asset"},"isRequired":{"type":"boolean","description":"Whether documents for this account are required before the file can move forward."},"requiresPlaidReconnection":{"type":"boolean","description":"True when the account was linked through the bank connection and that link has expired, so the borrower must reconnect it before balances refresh."},"ownerBorrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The hdBorrowerIds of the account's owners. Null means the loan's primary borrower.","nullable":true},"potentialDuplicates":{"type":"array","items":{"$ref":"#/components/schemas/AssetPotentialDuplicate"},"description":"Other accounts on the loan that look like the same account: same institution, last four digits of the account number and owners, and a balance within tolerance. Worked out on every read; empty when there are none.","nullable":true},"notes":{"type":"array","items":{"$ref":"#/components/schemas/RecordNote"},"description":"Notes on this account, oldest first. Never sent to the LOS; empty for a borrower and on the Partner API.","nullable":true}},"additionalProperties":false,"description":"An asset account on the loan, with its requested documents and the borrowers who own it."},"AssetType":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the asset type.","format":"uuid"},"code":{"type":"string","description":"Short code of the asset type.","nullable":true},"name":{"type":"string","description":"Display name of the asset type.","nullable":true}},"additionalProperties":false,"description":"A kind of asset, for example checking or savings."},"DocumentTimePeriod":{"type":"object","properties":{"id":{"type":"string","description":"Id of the period (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the period; send it as documentTimePeriodCode.","nullable":true},"name":{"type":"string","description":"Display name of the period.","nullable":true}},"additionalProperties":false,"description":"The period a statement covers when documents are requested for an asset account, for example Monthly."},"LoanApplicationTaskItem":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task or condition (GUID).","format":"uuid","nullable":true},"taskStatusTimestamp":{"type":"string","description":"When the task's status last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"When the task was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created (ISO 8601 date and time, UTC).","format":"date-time"},"item":{"$ref":"#/components/schemas/Item"},"assignedToBorrowerId":{"type":"string","description":"Id (GUID) of the borrower the task is assigned to. Null for a user task or a task for the loan's borrowers generally.","format":"uuid","nullable":true},"status":{"$ref":"#/components/schemas/TaskStatus"},"document":{"$ref":"#/components/schemas/Document"},"rejectionReasonNote":{"type":"string","description":"The reviewer's free-text note when the task's document was rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReason"},"creditReportType":{"$ref":"#/components/schemas/PosCreditReportType"},"isForPrimaryBorrower":{"type":"boolean","description":"True when the task is for the primary borrower, false when it is for the co-borrower. Null when it is for neither in particular.","nullable":true},"isRequired":{"type":"boolean","description":"Whether the task must be completed before the file can move forward."},"isAccountMainTask":{"type":"boolean","description":"True for the main task of an asset account, the one that requests the account's statements."},"questionType":{"$ref":"#/components/schemas/TaskQuestionType"},"yesNoResponse":{"type":"boolean","description":"The borrower's answer to a yes/no question task. Null until answered.","nullable":true},"shortAnswer":{"type":"string","description":"The borrower's answer to a short-answer question task. Null until answered.","nullable":true},"assignedToUser":{"$ref":"#/components/schemas/LoanAppUser"},"name":{"type":"string","description":"Display name of the task or condition.","nullable":true},"description":{"type":"string","description":"Description of the task. For a condition, the condition text: the reworded text when staff edited it in Henge, otherwise the LOS text.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the task among its siblings, lowest first.","format":"int32","nullable":true},"type":{"$ref":"#/components/schemas/TaskType"},"code":{"type":"string","description":"Short code of the task.","nullable":true},"conditionNo":{"type":"integer","description":"Condition number in the LOS. Conditions only.","format":"int32","nullable":true},"conditionCategory":{"type":"string","description":"Category of the condition in the LOS. Conditions only.","nullable":true},"conditionDueDate":{"type":"string","description":"Due date of the condition (ISO 8601 date). Conditions only.","format":"date","nullable":true},"conditionAssignedUserFullName":{"type":"string","description":"Full name of the user the condition is assigned to in the LOS. Conditions only.","nullable":true},"conditionBorrowerFullName":{"type":"string","description":"Full name of the borrower the condition is for. Conditions only.","nullable":true},"conditionIsHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower. Staff roles still see it; a caller that receives a hidden condition is entitled to it.","nullable":true},"conditionSourceText":{"type":"string","description":"The LOS's original condition text. Set only when staff reworded the condition in Henge, in which case description carries the rewording; null otherwise.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True when staff reworded this condition in Henge. The rewording is never sent to the LOS."},"notes":{"type":"string","description":"Notes on the task or condition.","nullable":true},"taskAssignmentType":{"$ref":"#/components/schemas/TaskAssignmentType"},"isSubscribed":{"type":"boolean","description":"Whether the calling user is subscribed to status-change notifications for this task. Null when not computed.","nullable":true},"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition this task belongs to. Null on conditions and on standalone tasks. Read on create; ignored on update.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account the task belongs to, if any. Needed on create only for a Transaction History task; ignored on update.","format":"uuid","nullable":true},"assetAccountName":{"type":"string","description":"Name of the asset account the task belongs to. Response only, and filled only where the response includes accounts.","nullable":true},"creditReportNumber":{"type":"string","description":"For credit report tasks, the credit agency's report number.","nullable":true},"requestTaskId":{"type":"string","description":"Id of the first task of the document request this task is a copy of (one task per document). Null on the first task itself. On create, naming any task of a request makes the new task a copy that joins that request.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"ownerPairId":{"type":"string","description":"Id (GUID) of the borrower pair staff made the owner of this task or condition. Empty when the owner is worked out on read.","format":"uuid","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True for a whole-loan task or condition that every borrower pair sees."}},"additionalProperties":false,"description":"A task or condition on a loan: a document request, a question, a user task or a condition from the LOS."},"Item":{"type":"object","properties":{"id":{"type":"string","description":"Id of the item (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the item; send it as the item code when you create a task.","nullable":true},"name":{"type":"string","description":"Display name of the item.","nullable":true},"groupCode":{"type":"string","description":"Code of the condition group the item's tasks are shown under. Null means Other.","nullable":true},"canCreateManually":{"type":"boolean","description":"True when staff can create a task for this item by hand."},"canUploadDocument":{"type":"boolean","description":"True when a document can be uploaded against this item."}},"additionalProperties":false,"description":"A kind of request a task can ask for, such as a specific document."},"TaskStatus":{"type":"object","properties":{"id":{"type":"string","description":"Id of the status (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the status.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a task, for example Requested, Uploaded, Submitted or Accepted."},"Document":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"externalId":{"type":"string","description":"The document's id in the Loan Origination System; empty until it has been sent there.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once an uploaded file has been converted to PDF and can be opened; false while conversion is still running."},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition the document is attached to; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"blobName":{"type":"string","description":"The name the file is stored under. An internal storage key: download through the document routes rather than using it.","nullable":true},"createdTimestamp":{"type":"string","description":"When the document was created, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the document was last changed, in UTC (ISO 8601).","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user who last changed the document; null when the change was automatic or unknown.","format":"uuid","nullable":true},"documentTypeId":{"type":"string","description":"Id of the platform's broad document category (such as a vault or task document). Not the loan document type, which is loanDocumentTypeId.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan's vault, false when it hangs off a\r\ntask, a condition or an asset account. Callers use it to decide what a user may do with the\r\ndocument: only a vault document can be deleted. Any document can be given a document type."},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document is filed under (from the loan document types list); null when it has none.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the loan document type; null when the document has none.","nullable":true},"loanDocumentTypeExternalId":{"type":"string","description":"The loan document type's id in the Loan Origination System.","nullable":true},"loanDocumentTypeFolderName":{"type":"string","description":"Name of the folder the loan document type belongs to; null when the document has no type.","nullable":true},"description":{"type":"string","description":"A free-text description of the document; may be empty.","nullable":true},"isDeleted":{"type":"boolean","description":"True when the document has been deleted. Deleted documents are normally left out of lists."},"isInternal":{"type":"boolean","description":"True for a staff-only document that is hidden from borrowers and partner applications."},"isObsolete":{"type":"boolean","description":"The LOS no longer considers this document active. It stays visible so users can still see\r\nit, but it is not current and is never pushed back to the LOS."},"isProtected":{"type":"boolean","description":"The LOS holds the document as Protected, locked there against edits and deletion. Set and\r\ncleared by Admin and Processor through the document status endpoints, or in the LOS itself."},"losStatus":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"title":{"type":"string","description":"The title shown for the document; may be empty, in which case the file name is shown.","nullable":true},"splitFromDocumentId":{"type":"string","description":"On a part of a split combined PDF: the id of the original document it was cut from. Null on every other document.","format":"uuid","nullable":true},"splitStartPage":{"type":"integer","description":"On a part of a split combined PDF: the first page of the original it holds. Null on every other document.","format":"int32","nullable":true},"splitEndPage":{"type":"integer","description":"On a part of a split combined PDF: the last page of the original it holds. Null on every other document.","format":"int32","nullable":true},"isUnsorted":{"type":"boolean","description":"True while the document was bulk-uploaded to the loan with no task and no type and nobody has\r\nsorted it. It is held out of the LOS until it is put on a task or given a type."},"hasNoFile":{"type":"boolean","description":"True for a staff-only entry the Loan Origination System holds with no file here (a non-PDF assigned to a condition): there is nothing to open, download or move."},"intakeStatus":{"type":"string","description":"NeedsPassword or Duplicate for a bulk-uploaded document that is held for that reason; null\r\notherwise. See DocumentIntakeStatuses.","nullable":true},"duplicateOfDocumentId":{"type":"string","description":"The existing document this one repeats, when IntakeStatus is Duplicate.","format":"uuid","nullable":true},"indexStatus":{"type":"string","description":"Whether the document's text is searchable: Indexed, Pending, Failed or NotSubmitted. Set by\r\nthe document lists for staff callers; null when it was not looked up, or the lookup failed.","nullable":true},"analysis":{"$ref":"#/components/schemas/DocumentAnalysisSummary"},"internalNotes":{"type":"string","description":"Staff-only internal notes on the document, verbatim from the Loan Origination System. Returned only to callers who may see internal notes; null for everyone else.","nullable":true}},"additionalProperties":false,"description":"A document on a loan: the file, the task or condition it is attached to, its type and its status."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."},"DocumentAnalysisSummary":{"type":"object","properties":{"status":{"type":"string","description":"Pending, Completed, Failed or Skipped. Failed reads \"Not analysed\".","nullable":true},"verdict":{"type":"string","description":"Whether the document is what was asked for: Matches, Mismatch, Unreadable or Unknown.","nullable":true},"reasonCode":{"type":"string","description":"On a Mismatch, why: WrongDocument, WrongPeriod, WrongAccount, WrongBorrower, MissingPages or Expired. On an Unreadable verdict from the page quality check, UnreadablePages.","nullable":true},"reason":{"type":"string","description":"One line in plain language explaining the verdict, written for the borrower.","nullable":true},"suggestedRejectionReasonCode":{"type":"string","description":"The seeded TaskRejectionReason code the panel pre-selects for a Mismatch.","nullable":true},"suggestedTaskId":{"type":"string","description":"Id of the task or condition the document appears to belong to; null when none matched.","format":"uuid","nullable":true},"suggestedTaskName":{"type":"string","description":"Name of the suggested task or condition.","nullable":true},"isOnSuggestedTask":{"type":"boolean","description":"False when the document sits on a different task than the best match: shown for confirmation."},"matchConfidence":{"type":"number","description":"How sure the analysis is of the suggested task, from 0 to 1.","format":"double","nullable":true},"suggestedLoanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document looks like; null when not determined.","format":"uuid","nullable":true},"suggestedLoanDocumentTypeName":{"type":"string","description":"Name of the suggested loan document type.","nullable":true},"suggestedTitle":{"type":"string","description":"The title the analysis suggests for the document, built from what it read (for example the account and statement period).","nullable":true},"titleAppliedAutomatically":{"type":"boolean","description":"True when the document's current title was set by the analysis rather than by a person."},"previousTitle":{"type":"string","description":"The title the document had before the analysis renamed it; null when it was not renamed.","nullable":true},"autoNameDisabled":{"type":"boolean","description":"True when a person undid an automatic name; the analysis never renames this document again."},"filedByType":{"type":"boolean","description":"Filed under the suggested LOS type and folder by the analysis, for a person to confirm or correct."},"duplicateOfDocumentId":{"type":"string","description":"Id of an earlier document on the loan with the same content, when this one repeats it; otherwise null.","format":"uuid","nullable":true},"supersedesDocumentId":{"type":"string","description":"Id of an earlier document this one replaces (a newer version of the same document); otherwise null.","format":"uuid","nullable":true},"supersededByDocumentId":{"type":"string","description":"Id of a newer document that replaces this one; otherwise null.","format":"uuid","nullable":true},"outcome":{"type":"string","description":"What a person did with the suggestion: Confirmed, Corrected, Rejected or Ignored; null while no one has acted.","nullable":true},"outcomeAt":{"type":"string","description":"When the person acted on the suggestion, in UTC (ISO 8601); null while no one has.","format":"date-time","nullable":true},"coveredPeriods":{"type":"array","items":{"type":"string"},"description":"For a request that needs a span of statements, the months the uploaded documents cover, each formatted yyyy-MM.","nullable":true},"missingPeriods":{"type":"array","items":{"type":"string"},"description":"The requested months no uploaded document covers yet, each formatted yyyy-MM.","nullable":true},"monthsMissing":{"type":"integer","description":"How many months of the request are still missing.","format":"int32","nullable":true},"analyzedAt":{"type":"string","description":"When the analysis was done, in UTC (ISO 8601).","format":"date-time"},"splitSuggestion":{"$ref":"#/components/schemas/SplitSuggestion"},"pageIssues":{"type":"array","items":{"$ref":"#/components/schemas/PageIssue"},"description":"The pages the quality check flagged, which the Unreadable-page request names.","nullable":true}},"additionalProperties":false,"description":"What the document review shows for a document: the suggested task, type and title, the verdict and whether the title was applied automatically. The evidence and page text the analysis read are not included."},"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."},"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."},"TaskRejectionReason":{"type":"object","properties":{"id":{"type":"string","description":"Id of the rejection reason (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the rejection reason.","nullable":true},"code":{"type":"string","description":"Stable code of the rejection reason.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the reason in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"A reason a reviewer gives for rejecting a task's document."},"PosCreditReportType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the report type (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the report type.","nullable":true},"name":{"type":"string","description":"Display name of the report type.","nullable":true}},"additionalProperties":false,"description":"The type of credit report a credit report task asks for."},"TaskQuestionType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the question type (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the question type.","nullable":true},"code":{"type":"string","description":"Stable code of the question type.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the question type in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"For a question task, the kind of answer it asks for, such as yes/no or a short answer."},"LoanAppUser":{"type":"object","properties":{"id":{"type":"string","description":"Id of the user (GUID).","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true}},"additionalProperties":false,"description":"A user, such as the staff member a task is assigned to."},"TaskType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the task type.","nullable":true},"name":{"type":"string","description":"Display name of the task type.","nullable":true}},"additionalProperties":false,"description":"The kind of task."},"TaskAssignmentType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the assignment type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the assignment type.","nullable":true},"name":{"type":"string","description":"Display name of the assignment type.","nullable":true}},"additionalProperties":false,"description":"Who a task is assigned to: a borrower or a user."},"Asset":{"type":"object","properties":{"amount":{"type":"number","description":"Account balance in dollars.","format":"double"},"accountName":{"type":"string","description":"Name of the account.","nullable":true},"accountNumber":{"type":"string","description":"Account number, masked to the last four digits on reads.","nullable":true},"institutionName":{"type":"string","description":"Name of the financial institution.","nullable":true},"source":{"type":"string","description":"Where the asset came from: Manual (entered by hand), a linked bank, or the LOS.","nullable":true},"giftSource":{"type":"string","description":"Who the gift came from, for a gift asset.","nullable":true},"meridianLinkAssetType":{"type":"string","description":"The asset type as the LOS names it.","nullable":true},"isUpdatedExternally":{"type":"boolean","description":"True when the LOS or a linked bank changed the record after it was created."}},"additionalProperties":false,"description":"An asset account on a loan: its balance, institution and where the record came from."},"AssetPotentialDuplicate":{"type":"object","properties":{"assetAccountId":{"type":"string","description":"Id of the other asset account (GUID).","format":"uuid"},"differences":{"type":"array","items":{"$ref":"#/components/schemas/DuplicateDifference"},"description":"How this account differs from that one, one item per field whose values differ. Empty when they agree on every field.","nullable":true}},"additionalProperties":false,"description":"Another asset account on the loan that looks like the same account."},"DuplicateDifference":{"type":"object","properties":{"field":{"type":"string","description":"The name of the field on which the two liabilities differ.","nullable":true},"thisValue":{"type":"string","description":"The field's value on this liability, as text.","nullable":true},"otherValue":{"type":"string","description":"The field's value on the possible duplicate, as text.","nullable":true}},"additionalProperties":false,"description":"One field on which a duplicate differs from the row it is read with: the values of both rows, as text."},"RecordNote":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the note.","format":"uuid"},"text":{"type":"string","description":"The note text.","nullable":true},"authorId":{"type":"string","description":"Who wrote it; null for a system note.","format":"uuid","nullable":true},"authorName":{"type":"string","description":"Name of the note's author; null for a system note.","nullable":true},"createdTimestamp":{"type":"string","description":"When the note was written, ISO 8601 in UTC.","format":"date-time"},"source":{"type":"string","description":"Where the note was written: `UI`, `MCP` (an AI agent tool) or `System`.","nullable":true}},"additionalProperties":false,"description":"A note on a liability or an asset account, returned with that record. It stays in Henge and is not sent to the LOS."}}}}
```

## The AssetPotentialDuplicate object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"AssetPotentialDuplicate":{"type":"object","properties":{"assetAccountId":{"type":"string","description":"Id of the other asset account (GUID).","format":"uuid"},"differences":{"type":"array","items":{"$ref":"#/components/schemas/DuplicateDifference"},"description":"How this account differs from that one, one item per field whose values differ. Empty when they agree on every field.","nullable":true}},"additionalProperties":false,"description":"Another asset account on the loan that looks like the same account."},"DuplicateDifference":{"type":"object","properties":{"field":{"type":"string","description":"The name of the field on which the two liabilities differ.","nullable":true},"thisValue":{"type":"string","description":"The field's value on this liability, as text.","nullable":true},"otherValue":{"type":"string","description":"The field's value on the possible duplicate, as text.","nullable":true}},"additionalProperties":false,"description":"One field on which a duplicate differs from the row it is read with: the values of both rows, as text."}}}}
```

## The AssetType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"AssetType":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the asset type.","format":"uuid"},"code":{"type":"string","description":"Short code of the asset type.","nullable":true},"name":{"type":"string","description":"Display name of the asset type.","nullable":true}},"additionalProperties":false,"description":"A kind of asset, for example checking or savings."}}}}
```

## The AssignableTaskUser object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"AssignableTaskUser":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the user; send it as userId to assign a task to them.","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true},"role":{"type":"string","description":"The user's role on the loan, for example LoanOfficer or ConciergeKey.","nullable":true}},"additionalProperties":false}}}}
```

## The Assignments object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Assignments":{"type":"object","properties":{"loanOfficer":{"$ref":"#/components/schemas/Contact"},"loanAssistant":{"$ref":"#/components/schemas/Contact"},"loanProcessor":{"$ref":"#/components/schemas/Contact"},"referredBy":{"$ref":"#/components/schemas/Contact"}},"additionalProperties":false,"description":"The people working a loan: its loan officer, assistant, processor and the referring contact. Each is null when none is assigned."},"Contact":{"type":"object","properties":{"id":{"type":"string","description":"Id of the contact (GUID).","format":"uuid","nullable":true},"email":{"type":"string","description":"Email address.","nullable":true},"firstName":{"type":"string","description":"First name.","nullable":true},"lastName":{"type":"string","description":"Last name.","nullable":true},"agentName":{"type":"string","description":"Full name of the agent.","nullable":true},"roleName":{"type":"string","description":"Display name of the contact's role.","nullable":true},"agentNMLS":{"type":"string","description":"The agent's NMLS id.","nullable":true},"role":{"$ref":"#/components/schemas/ContactRole"},"phone":{"type":"string","description":"Phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"companyPhone":{"type":"string","description":"The agent's company phone number.","nullable":true},"zip":{"type":"string","description":"ZIP or postal code.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"street":{"type":"string","description":"Street address.","nullable":true},"companyNMLS":{"type":"string","description":"The agent's company NMLS id.","nullable":true}},"additionalProperties":false,"description":"A person on or tied to a loan, such as the referring agent."},"ContactRole":{"enum":["Other","Appraiser","Escrow","CreditReport","Title","MortgageInsurance","ListingAgent","SellingAgent","Builder","Underwriter","Investor","Servicing","BuyerAttorney","SellerAttorney","HomeOwnerInsurance","HazardInsurance","MarketingLead","Seller","Surveyor","LoanOfficer","Bank","Lender","Processor","CallCenterAgent","LoanOpener","Manager","Broker","BrokerRep","ECOA","Realtor","Mortgagee","HomeOwnerAssociation","BuyerAgent","ClosingAgent","FairHousingLending","HomeInspection","FloodProvider","CreditReportAgency2","CreditReportAgency3","Shipper","BrokerProcessor","Trustee","Funder","PostCloser","Insuring","CollateralAgent","DocDrawer","PropertyManagement","TitleUnderwriter","CreditAuditor","DisclosureDesk","JuniorProcessor","JuniorUnderwriter","LegalAuditor","LoanOfficerAssistant","Purchaser","QCCompliance","Secondary","PestInspection","Subservicer","ExternalSecondary","ExternalPostCloser","LoanPurchasePayee","AppraisalManagementCompany","Referral","Notary","TaxServicer","SupervisoryAppraiser","Attorney","PropertyInspector","CPATaxPreparer","LockDesk","MortgageServiceOrganization","Verifications","TaxCollector","TaxTranscripts"],"type":"string","description":"The role a contact plays on a loan. Each value names that role: Other (anything not listed), Appraiser, Escrow, CreditReport (credit agency), Title, MortgageInsurance, ListingAgent, SellingAgent, Builder, Underwriter, Investor, Servicing, BuyerAttorney, SellerAttorney, HomeOwnerInsurance (obsolete; use HazardInsurance), HazardInsurance (homeowner's insurance), MarketingLead, Seller, Surveyor, LoanOfficer, Bank, Lender, Processor, CallCenterAgent, LoanOpener, Manager, Broker, BrokerRep, ECOA, Realtor, Mortgagee, HomeOwnerAssociation, BuyerAgent, ClosingAgent, FairHousingLending, HomeInspection, FloodProvider, CreditReportAgency2, CreditReportAgency3, Shipper, BrokerProcessor (external processor), Trustee, Funder, PostCloser, Insuring, CollateralAgent, DocDrawer, PropertyManagement, TitleUnderwriter, CreditAuditor, DisclosureDesk, JuniorProcessor, JuniorUnderwriter, LegalAuditor, LoanOfficerAssistant, Purchaser, QCCompliance, Secondary, PestInspection, Subservicer, ExternalSecondary, ExternalPostCloser, LoanPurchasePayee, AppraisalManagementCompany, Referral, Notary, TaxServicer, SupervisoryAppraiser, Attorney, PropertyInspector, CPATaxPreparer, LockDesk, MortgageServiceOrganization, Verifications, TaxCollector and TaxTranscripts."}}}}
```

## The AusRunFindings object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"AusRunFindings":{"type":"object","properties":{"runId":{"type":"string","description":"Id (GUID) of the run the findings belong to.","format":"uuid"},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the run belongs to.","format":"uuid"},"findingsDocumentId":{"type":"string","description":"Id of the loan document that holds the findings report the data was read from; null when none was filed.","format":"uuid","nullable":true},"findings":{"$ref":"#/components/schemas/DuFindings"}},"additionalProperties":false,"description":"The findings of one DU run, as the run findings route returns them."},"DuFindings":{"type":"object","properties":{"recommendation":{"type":"string","description":"The recommendation as the report states it, e.g. \"Approve/Ineligible\".","nullable":true},"casefileId":{"type":"string","description":"The DU casefile id the findings report is for.","nullable":true},"submissionNumber":{"type":"integer","description":"The number of the submission within the casefile, as the report states it; null when the report states none.","format":"int32","nullable":true},"submissionDate":{"type":"string","description":"The submission's date and time as the report prints them, e.g. \"11/18/2026 - 09:10AM\" (no time zone is stated).","nullable":true},"duVersion":{"type":"string","description":"The DU version that produced the findings, as the report prints it.","nullable":true},"creditReportId":{"type":"string","description":"The id of the credit report the findings were run on, as the report prints it; null when it prints none.","nullable":true},"lenderLoanNumber":{"type":"string","description":"The lender's loan number on the casefile, as the report prints it.","nullable":true},"borrowers":{"type":"string","description":"The borrowers' names on one line, as the report prints them.","nullable":true},"figures":{"$ref":"#/components/schemas/DuFindingsFigures"},"closeByDate":{"type":"string","description":"The date DU says the casefile must close by (the date in its credit-expiry message), as the report prints it; null when it states none.","nullable":true},"sections":{"type":"array","items":{"$ref":"#/components/schemas/DuFindingsSection"},"description":"DU's sections in DU's order; a section the parser does not know is kept under the name DU gave it.","nullable":true},"closingNote":{"type":"string","description":"What the report says after its recommendation, its own field; null when there is none.","nullable":true},"parserVersion":{"type":"integer","description":"The version of the parser that read the report; 0 for findings stored before it was kept. Findings of an older version are read again from the filed report.","format":"int32"}},"additionalProperties":false,"description":"A DU Underwriting Findings report read as data: the recommendation, the casefile's facts, the summary figures DU reports and its messages by section. Every value is DU's own text (a figure keeps its formatting, for example 75.00%), so nothing is reinterpreted; a figure DU does not state is null."},"DuFindingsFigures":{"type":"object","properties":{"ltv":{"type":"string","description":"Loan-to-value ratio as DU prints it, for example 75.00%; null when DU states none.","nullable":true},"cltv":{"type":"string","description":"Combined loan-to-value ratio as DU prints it; null when DU states none.","nullable":true},"hcltv":{"type":"string","description":"Home equity combined loan-to-value ratio (HCLTV) as DU prints it; null when DU states none.","nullable":true},"debtToIncomeRatio":{"type":"string","description":"Total debt-to-income ratio as DU prints it, for example 41.50%; null when DU states none.","nullable":true},"housingExpenseRatio":{"type":"string","description":"Housing expense (front-end) ratio as DU prints it; null when DU states none.","nullable":true},"totalLoanAmount":{"type":"string","description":"Total loan amount as DU prints it, in dollars; null when DU states none.","nullable":true},"noteRate":{"type":"string","description":"Note rate as DU prints it, in percent; null when DU states none.","nullable":true},"loanType":{"type":"string","description":"Loan type as DU prints it, for example Conventional; null when DU states none.","nullable":true},"term":{"type":"string","description":"Loan term as DU prints it; null when DU states none.","nullable":true},"amortization":{"type":"string","description":"Amortization type as DU prints it, for example Fixed Rate; null when DU states none.","nullable":true},"purpose":{"type":"string","description":"Loan purpose as DU prints it, for example Purchase or Refinance; null when DU states none.","nullable":true},"refinancePurpose":{"type":"string","description":"Refinance purpose as DU prints it; null when the loan is not a refinance or DU states none.","nullable":true},"appraisedValue":{"type":"string","description":"Appraised (or estimated) property value as DU prints it, in dollars; null when DU states none.","nullable":true},"occupancy":{"type":"string","description":"Occupancy as DU prints it, for example Principal Residence; null when DU states none.","nullable":true},"propertyType":{"type":"string","description":"Property type as DU prints it; null when DU states none.","nullable":true},"units":{"type":"string","description":"Number of units as DU prints it; null when DU states none.","nullable":true},"propertyAddress":{"type":"string","description":"Subject property address as DU prints it, on one line; null when DU states none.","nullable":true}},"additionalProperties":false,"description":"The summary figures a findings report states about the loan."},"DuFindingsSection":{"type":"object","properties":{"name":{"type":"string","description":"The heading as DU prints it, with the spaces around a slash dropped (\"Risk/Eligibility\").","nullable":true},"messages":{"type":"array","items":{"$ref":"#/components/schemas/DuFindingsMessage"},"description":"The messages DU printed in this section, in the order of the report.","nullable":true}},"additionalProperties":false},"DuFindingsMessage":{"type":"object","properties":{"number":{"type":"integer","description":"DU's number of the message in the report (the \"2.\" before its text); null for a bulleted one.","format":"int32","nullable":true},"messageId":{"type":"string","description":"DU's message id, the four digits after \"Msg\" (\"0027\"); null when the report prints none.","nullable":true},"text":{"type":"string","description":"The message's full text, unedited except that its \"Msg ####\" marker is its own field.","nullable":true},"table":{"$ref":"#/components/schemas/DuFindingsTable"}},"additionalProperties":false},"DuFindingsTable":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"string"},"description":"The column headings of the table, as DU prints them.","nullable":true},"rows":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The rows of the table; each row is a list of cell texts in column order.","nullable":true}},"additionalProperties":false,"description":"A table DU prints under a message: column headings and rows of text."}}}}
```

## The AusRunResult object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"AusRunResult":{"type":"object","properties":{"id":{"type":"string","description":"Unique id (GUID) of this automated underwriting run; use it as the runId when reading the run's findings.","format":"uuid"},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the run belongs to.","format":"uuid"},"ausType":{"type":"string","description":"The automated underwriting system the run is for: DU (Fannie Mae Desktop Underwriter) or LPA (Freddie Mac Loan Product Advisor).","nullable":true},"source":{"type":"string","description":"Where the run came from: Submitted when it was submitted through Henge, or Imported when it was read in from an existing DU casefile or LPA key.","nullable":true},"casefileId":{"type":"string","description":"The DU casefile id the run belongs to. A later submission on the same loan reuses the casefile. Null for an LPA run.","nullable":true},"lpaKey":{"type":"string","description":"The Freddie Mac LPA key of an LPA run; null for a DU run.","nullable":true},"recommendation":{"type":"string","description":"The underwriting recommendation as text, for example Approve/Eligible. Null when the run has none, such as a credit-only run or a run that ended in an error.","nullable":true},"resultCode":{"type":"integer","description":"Numeric code of the result: 0 not submitted, 1 to 9 the DU results, 10 to 13 and 15 to 19 the LPA results, 14 out of scope. Null when no result was returned.","format":"int32","nullable":true},"result":{"type":"string","description":"The name of resultCode, for example the DU or LPA outcome it stands for. Null when there is no result code.","nullable":true},"riskClass":{"type":"string","description":"For an LPA result, its risk class: Accept or Caution. Null for a DU run or when there is no result.","nullable":true},"status":{"type":"string","description":"How the run ended: Completed (it went through and its result was read back), Submitted (it was accepted but the result could not be read back yet; a later check or loan sync picks it up) or Error (it was refused; message says why).","nullable":true},"casefileStatus":{"type":"string","description":"The status of the DU casefile as last read. Often empty, because the casefile status is not read for every run.","nullable":true},"message":{"type":"string","description":"For a run with status Error, why it was refused; otherwise usually empty.","nullable":true},"creditReissued":{"type":"boolean","description":"True when the broker's existing credit report was reissued onto the loan as part of this run, false when it was not (for example when the report already on the loan was used)."},"creditAgencyDuCode":{"type":"string","description":"The DU code of the credit reporting agency whose report the run used; null when no agency was named.","nullable":true},"creditAgencyName":{"type":"string","description":"Name of the credit reporting agency whose report the run used; null when no agency was named.","nullable":true},"creditReferenceNumber":{"type":"string","description":"The agency's reference (file) number of the report that was reissued; null when no report was reissued.","nullable":true},"creditOption":{"type":"string","description":"How credit reached the casefile on a submission: Reissue (the broker's existing report), OrderNew (a new report ordered) or UsePrevious (the report already in the casefile). Null on an import.","nullable":true},"orderingOption":{"type":"string","description":"What the run did: CreditAndUnderwriting, CreditOnly or UnderwritingOnly. Null on an import and on runs made before this was recorded.","nullable":true},"submissionOption":{"type":"string","description":"The submission type: Preliminary, Interim or Final. Null on an import and on runs made before this was recorded.","nullable":true},"creditReportId":{"type":"string","description":"The id of the credit report that was ordered for the run (credit option OrderNew), as the underwriting system returned it; null when none was named.","nullable":true},"findingsDocumentId":{"type":"string","description":"Id of the loan document that holds the DU findings report for this run; null when no findings report was filed.","format":"uuid","nullable":true},"hasFindings":{"type":"boolean","description":"True when the run's findings are available as data through the findings route; false for older runs made before findings were read as data."},"ltv":{"type":"string","description":"The findings' LTV as DU prints it (\"75.00%\"); null when there are no findings or DU states none.","nullable":true},"debtToIncomeRatio":{"type":"string","description":"The findings' debt-to-income ratio as DU prints it; null when absent.","nullable":true},"closeByDate":{"type":"string","description":"The date DU says the casefile must close by, as DU prints it (\"03/01/2027\"); null when it states none.","nullable":true},"submittedBy":{"type":"string","description":"Id of the user who submitted the run; null for an import or a run without a recorded submitter.","format":"uuid","nullable":true},"submittedByName":{"type":"string","description":"The submitter's display name, read with the run list (`GET .../aus/runs`); null on a run without a submitter, one whose user is gone, and on the result of a submit or a status check.","nullable":true},"brokerNmlsId":{"type":"string","description":"The broker NMLS id sent with the submission; null when none was sent.","nullable":true},"submittedUtc":{"type":"string","description":"When the run was recorded, in UTC (ISO 8601).","format":"date-time"}},"additionalProperties":false,"description":"One run, as the run history and the submit return it. Never carries a credential."}}}}
```

## The AusRunStatusCheckResult object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"AusRunStatusCheckResult":{"type":"object","properties":{"run":{"$ref":"#/components/schemas/AusRunResult"},"changed":{"type":"boolean","description":"True when the check found a different recommendation, result or findings document than the run held and updated the run; false when nothing changed."},"issues":{"type":"array","items":{"type":"string"},"description":"Steps of the check that did not land (the findings listing, the stored copy); the next check or sync repeats them.","nullable":true}},"additionalProperties":false,"description":"The run after a status check, and whether the check changed it."},"AusRunResult":{"type":"object","properties":{"id":{"type":"string","description":"Unique id (GUID) of this automated underwriting run; use it as the runId when reading the run's findings.","format":"uuid"},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the run belongs to.","format":"uuid"},"ausType":{"type":"string","description":"The automated underwriting system the run is for: DU (Fannie Mae Desktop Underwriter) or LPA (Freddie Mac Loan Product Advisor).","nullable":true},"source":{"type":"string","description":"Where the run came from: Submitted when it was submitted through Henge, or Imported when it was read in from an existing DU casefile or LPA key.","nullable":true},"casefileId":{"type":"string","description":"The DU casefile id the run belongs to. A later submission on the same loan reuses the casefile. Null for an LPA run.","nullable":true},"lpaKey":{"type":"string","description":"The Freddie Mac LPA key of an LPA run; null for a DU run.","nullable":true},"recommendation":{"type":"string","description":"The underwriting recommendation as text, for example Approve/Eligible. Null when the run has none, such as a credit-only run or a run that ended in an error.","nullable":true},"resultCode":{"type":"integer","description":"Numeric code of the result: 0 not submitted, 1 to 9 the DU results, 10 to 13 and 15 to 19 the LPA results, 14 out of scope. Null when no result was returned.","format":"int32","nullable":true},"result":{"type":"string","description":"The name of resultCode, for example the DU or LPA outcome it stands for. Null when there is no result code.","nullable":true},"riskClass":{"type":"string","description":"For an LPA result, its risk class: Accept or Caution. Null for a DU run or when there is no result.","nullable":true},"status":{"type":"string","description":"How the run ended: Completed (it went through and its result was read back), Submitted (it was accepted but the result could not be read back yet; a later check or loan sync picks it up) or Error (it was refused; message says why).","nullable":true},"casefileStatus":{"type":"string","description":"The status of the DU casefile as last read. Often empty, because the casefile status is not read for every run.","nullable":true},"message":{"type":"string","description":"For a run with status Error, why it was refused; otherwise usually empty.","nullable":true},"creditReissued":{"type":"boolean","description":"True when the broker's existing credit report was reissued onto the loan as part of this run, false when it was not (for example when the report already on the loan was used)."},"creditAgencyDuCode":{"type":"string","description":"The DU code of the credit reporting agency whose report the run used; null when no agency was named.","nullable":true},"creditAgencyName":{"type":"string","description":"Name of the credit reporting agency whose report the run used; null when no agency was named.","nullable":true},"creditReferenceNumber":{"type":"string","description":"The agency's reference (file) number of the report that was reissued; null when no report was reissued.","nullable":true},"creditOption":{"type":"string","description":"How credit reached the casefile on a submission: Reissue (the broker's existing report), OrderNew (a new report ordered) or UsePrevious (the report already in the casefile). Null on an import.","nullable":true},"orderingOption":{"type":"string","description":"What the run did: CreditAndUnderwriting, CreditOnly or UnderwritingOnly. Null on an import and on runs made before this was recorded.","nullable":true},"submissionOption":{"type":"string","description":"The submission type: Preliminary, Interim or Final. Null on an import and on runs made before this was recorded.","nullable":true},"creditReportId":{"type":"string","description":"The id of the credit report that was ordered for the run (credit option OrderNew), as the underwriting system returned it; null when none was named.","nullable":true},"findingsDocumentId":{"type":"string","description":"Id of the loan document that holds the DU findings report for this run; null when no findings report was filed.","format":"uuid","nullable":true},"hasFindings":{"type":"boolean","description":"True when the run's findings are available as data through the findings route; false for older runs made before findings were read as data."},"ltv":{"type":"string","description":"The findings' LTV as DU prints it (\"75.00%\"); null when there are no findings or DU states none.","nullable":true},"debtToIncomeRatio":{"type":"string","description":"The findings' debt-to-income ratio as DU prints it; null when absent.","nullable":true},"closeByDate":{"type":"string","description":"The date DU says the casefile must close by, as DU prints it (\"03/01/2027\"); null when it states none.","nullable":true},"submittedBy":{"type":"string","description":"Id of the user who submitted the run; null for an import or a run without a recorded submitter.","format":"uuid","nullable":true},"submittedByName":{"type":"string","description":"The submitter's display name, read with the run list (`GET .../aus/runs`); null on a run without a submitter, one whose user is gone, and on the result of a submit or a status check.","nullable":true},"brokerNmlsId":{"type":"string","description":"The broker NMLS id sent with the submission; null when none was sent.","nullable":true},"submittedUtc":{"type":"string","description":"When the run was recorded, in UTC (ISO 8601).","format":"date-time"}},"additionalProperties":false,"description":"One run, as the run history and the submit return it. Never carries a credential."}}}}
```

## The BillingInformation object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BillingInformation":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/CreditReportAddress"},"creditCard":{"$ref":"#/components/schemas/CreditCard"}},"additionalProperties":false,"description":"The card a hard-pull credit report is charged to and that card's billing address. Required for a HardPull and ignored for a SoftPull."},"CreditReportAddress":{"type":"object","properties":{"street":{"type":"string","description":"Street address, including unit number.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"Two-letter state code.","nullable":true},"zipCode":{"type":"string","description":"ZIP code, five digits or ZIP+4.","nullable":true}},"additionalProperties":false,"description":"A postal address. All four fields are required for a borrower's currentAddress and for a HardPull's billing address; previousAddresses are not checked."},"CreditCard":{"type":"object","properties":{"cardNumber":{"type":"integer","description":"The card number, 12 to 19 digits, with no spaces or dashes.","format":"int64"},"cvv":{"type":"string","description":"The card security code, 3 or 4 digits.","nullable":true},"expiration":{"type":"string","description":"The card expiration month, formatted YYYY-MM.","nullable":true},"year":{"type":"integer","description":"Not used: send the expiration month and year together in expiration, formatted YYYY-MM.","format":"int32"}},"additionalProperties":false,"description":"The payment card charged for a hard-pull credit report. Sent for the order only and never returned. For a HardPull, cardNumber, cvv and expiration are required."}}}}
```

## The BorrowerCriteria object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BorrowerCriteria":{"type":"object","properties":{"applicationDate":{"type":"string","description":"Date the loan application was taken, ISO 8601.","format":"date-time","nullable":true},"assetDocumentation":{"type":"string","description":"How the borrower's assets are documented. Kept for reference; not used when pricing.","nullable":true},"bankruptcy":{"type":"string","description":"Bankruptcy history of the borrower. Kept for reference; not used when pricing.","nullable":true},"bankruptcyChapter":{"type":"string","description":"Chapter of the borrower's bankruptcy. Kept for reference; not used when pricing.","nullable":true},"bankStatementsForIncome":{"type":"string","description":"Months of bank statements used to document income. Kept for reference; not used when pricing.","nullable":true},"citizenship":{"type":"string","description":"Borrower's citizenship status: USCitizen, USCitizenAbroad, PermResidentAlien, NonPermResidentAlien or ForeignNational. Used when pricing.","nullable":true},"debtToIncomeRatio":{"type":"number","description":"Borrower's debt-to-income ratio, in percent. Kept for reference; the loan-level ratio on the request is what pricing uses.","format":"double","nullable":true},"disclosureDate":{"type":"string","description":"Date the initial loan disclosures were issued, ISO 8601.","format":"date-time","nullable":true},"docType":{"type":"string","description":"Documentation type of the loan. Kept for reference; not used when pricing.","nullable":true},"employmentDocumentation":{"type":"string","description":"How the borrower's employment is documented. Kept for reference; not used when pricing.","nullable":true},"fico":{"type":"integer","description":"Borrower's credit score. Used when pricing.","format":"int32","nullable":true},"firstName":{"type":"string","description":"Borrower's first name.","nullable":true},"firstTimeHomeBuyer":{"type":"boolean","description":"True when the borrower is a first-time home buyer, which makes first-time-buyer programs eligible.","nullable":true},"foreclosure":{"type":"string","description":"Foreclosure history of the borrower. Kept for reference; not used when pricing.","nullable":true},"incomeDocumentation":{"type":"string","description":"How the borrower's income is documented. Kept for reference; not used when pricing.","nullable":true},"lastName":{"type":"string","description":"Borrower's last name.","nullable":true},"militaryType":{"type":"string","description":"Borrower's military status. Kept for reference; use typeOfVeteran when pricing.","nullable":true},"monthlyIncome":{"type":"number","description":"Borrower's gross monthly income, in dollars. Kept for reference; not used when pricing.","format":"double","nullable":true},"monthsReserves":{"type":"integer","description":"Months of post-closing reserves the borrower has.","format":"int64","nullable":true},"mortgageLatesRolling":{"type":"integer","description":"Number of rolling mortgage late payments. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX120":{"type":"integer","description":"Number of mortgage payments 120 or more days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX30":{"type":"integer","description":"Number of mortgage payments 30 days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX60":{"type":"integer","description":"Number of mortgage payments 60 days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX90":{"type":"integer","description":"Number of mortgage payments 90 days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"pledgedAssets":{"type":"boolean","description":"True when the borrower pledges assets to qualify. Kept for reference; not used when pricing.","nullable":true},"selfEmployed":{"type":"boolean","description":"True when the borrower is self-employed.","nullable":true},"state":{"type":"string","description":"Two-letter state of the borrower's residence.","nullable":true},"vaFirstTimeUse":{"type":"boolean","description":"True when this is the borrower's first use of the VA loan benefit, which lowers the VA funding fee.","nullable":true},"typeOfVeteran":{"type":"string","description":"Veteran status for VA pricing: ActiveDuty or NationalGuardOrReserves. Used when pricing.","nullable":true},"waiveEscrows":{"type":"boolean","description":"True when the borrower asks to waive escrows for taxes and insurance, which can add a price adjustment.","nullable":true},"compensationType":{"type":"string","description":"How the loan officer is compensated. Kept for reference; not used when pricing.","nullable":true},"ownProperties":{"type":"integer","description":"Number of properties the borrower owns. Kept for reference; not used when pricing.","format":"int32","nullable":true},"numberOfBorrower":{"type":"integer","description":"Number of borrowers on the loan. Kept for reference; not used when pricing.","format":"int32","nullable":true},"averageMedianCreditScore":{"type":"integer","description":"Average of the borrowers' median credit scores. Kept for reference; not used when pricing.","format":"int32","nullable":true},"balloon":{"type":"boolean","description":"True when the loan has a balloon payment. Kept for reference; not used when pricing.","nullable":true},"paymentInterestType":{"type":"string","description":"Payment and interest structure of the loan. Kept for reference; not used when pricing.","nullable":true},"lenderFeeWaiver":{"type":"boolean","description":"True when lender fees are waived. Kept for reference; not used when pricing.","nullable":true},"noMortgageHistory":{"type":"boolean","description":"True when the borrower has no mortgage payment history. Kept for reference; not used when pricing."},"escrowHoldback":{"type":"boolean","description":"True when an escrow holdback applies. Kept for reference; not used when pricing."},"texas50a6":{"type":"boolean","description":"True for a Texas 50(a)(6) home equity loan. Kept for reference; not used when pricing."},"affordableLendingPrograms":{"type":"array","items":{"type":"string"},"description":"Affordable-lending programs the borrower is in. Kept for reference; not used when pricing.","nullable":true},"mortgageLoanChargeOffs":{"type":"array","items":{"type":"string"},"description":"Mortgage charge-offs in the borrower's history. Kept for reference; not used when pricing.","nullable":true},"shortSale":{"type":"string","description":"Short sale history of the borrower. Kept for reference; not used when pricing.","nullable":true},"deedInLieu":{"type":"string","description":"Deed-in-lieu-of-foreclosure history of the borrower. Kept for reference; not used when pricing.","nullable":true},"forbearance":{"type":"string","description":"Mortgage forbearance history of the borrower. Kept for reference; not used when pricing.","nullable":true}},"additionalProperties":false,"description":"Borrower-side criteria a search was priced with. Only the fields noted as used affect pricing; the rest are kept with the scenario for reference."}}}}
```

## The BorrowerCriteriaCitizenship object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BorrowerCriteriaCitizenship":{"enum":["USCitizen","USCitizenAbroad","PermResidentAlien","NonPermResidentAlien","ForeignNational"],"type":"string","description":"The borrower's citizenship status for pricing: USCitizen, USCitizenAbroad (a U.S. citizen living abroad), PermResidentAlien, NonPermResidentAlien or ForeignNational."}}}}
```

## The BorrowerCriteriaTypeOfVeteran object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BorrowerCriteriaTypeOfVeteran":{"enum":["ActiveDuty","NationalGuardOrReserves"],"type":"string","description":"The kind of military service for veteran pricing: ActiveDuty, or NationalGuardOrReserves."}}}}
```

## The BorrowerExternalId object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BorrowerExternalId":{"type":"object","properties":{"externalId":{"type":"string","description":"The borrower's id in the LOS.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower."}},"additionalProperties":false,"description":"Identifies a borrower (consumer) in the LOS."}}}}
```

## The BorrowerPatch object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BorrowerPatch":{"type":"object","properties":{"id":{"type":"string","description":"The borrower's hdBorrowerId (GUID). Omit to add a co-borrower.","format":"uuid","nullable":true},"remove":{"type":"boolean","description":"true removes the co-borrower named by id. Only a co-borrower can be removed. Every other field is ignored when true."},"firstName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"middleName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"lastName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"suffixName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"birthDate":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"ssn":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"email":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"homePhone":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"mobilePhone":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"workPhone":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"maritalStatus":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"citizenship":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"numberOfDependents":{"type":"integer","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"int32"},"dependentAges":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isMilitary":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"vestingType":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"currentAddress":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"mailingAddress":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"previousAddresses":{"type":"array","items":{"type":"object"},"description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"declaration":{"$ref":"#/components/schemas/DeclarationPatch"},"demographics":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"veteranDetail":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"language":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"employments":{"type":"array","items":{"$ref":"#/components/schemas/EmploymentPatch"},"description":"Changes to employers, each addressed by id (the employer's externalId) or, for an employer that has no id yet, by index (its zero-based position in the list as last read). An entry with neither adds an employer; remove: true removes the addressed one. Omit to leave every employer unchanged.","nullable":true},"otherIncomes":{"type":"array","items":{"type":"object"},"description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"ownedProperties":{"type":"array","items":{"$ref":"#/components/schemas/OwnedPropertyPatch"},"description":"Changes to real estate owned, each addressed by id (the property's externalId) or, for one that has no id yet, by index (its zero-based position in the list as last read). An entry with neither adds a property; remove: true removes the addressed one. Omit to leave every property unchanged.","nullable":true}},"additionalProperties":false,"description":"One borrower's changes. Addressed by `id`, the stored `HdBorrowerId`. An entry without an `id` adds a co-borrower and needs `firstName` and `lastName`."},"DeclarationPatch":{"type":"object","properties":{"hasIntentToOccupy":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isHomeownerPastThreeYears":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"priorPropertyUsage":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"priorPropertyTitle":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isBuyerSellerSpecialRelationship":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasUndisclosedBorrowedFunds":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"undisclosedBorrowedFundsAmount":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"hasUndisclosedCreditApplication":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasUndisclosedMortgageApplication":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasCleanEnergyLien":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isUndisclosedComakerOfNote":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasOutstandingJudgements":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isDelinquent":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isPartyToLawsuit":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasDeedInLieu":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasShortSale":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasForeclosure":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasBankruptcy":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"bankruptcyTypes":{"type":"array","items":{"type":"string"},"description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasHousingCounselingConsent":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."}},"additionalProperties":false,"description":"The borrower's declarations, answer by answer. An answer left out is kept as stored; one sent as null is cleared."},"EmploymentPatch":{"type":"object","properties":{"id":{"type":"string","description":"The employer's externalId. Takes precedence over index.","nullable":true},"index":{"type":"integer","description":"Zero-based position of the employer in the list as last read. Use only for an employer that has no externalId yet.","format":"int32","nullable":true},"remove":{"type":"boolean","description":"true removes the addressed employer. Every other field is ignored when true."},"name":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"position":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isCurrent":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isSelfEmployed":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isPrimary":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"ownershipShare":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"startDate":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"endDate":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"professionStartDate":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"lineOfWorkInMonths":{"type":"integer","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"int32"},"businessPhone":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"email":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"monthlyIncomeAmount":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"address":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"incomes":{"type":"array","items":{"type":"object"},"description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."}},"additionalProperties":false,"description":"One employer's changes. Addressed by `id` (the stored `ExternalId`) or, for an\r\nemployer that has none yet, by `index`. An entry with neither `id` nor `index` adds an employer."},"OwnedPropertyPatch":{"type":"object","properties":{"id":{"type":"string","description":"The property's externalId. Takes precedence over index.","nullable":true},"index":{"type":"integer","description":"Zero-based position of the property in the list as last read. Use only for a property that has no externalId yet.","format":"int32","nullable":true},"remove":{"type":"boolean","description":"true removes the addressed property. Every other field is ignored when true."},"address":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"dispositionStatus":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"occupancy":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"intendedOccupancy":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"intendedOccupancyOtherDescription":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"marketValue":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"monthlyRentalGross":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"maintenanceExpense":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"monthlyRentalNet":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"lienBalance":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"lienMonthlyPayment":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"isSubject":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isCurrent":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."}},"additionalProperties":false,"description":"One real-estate-owned property's changes. Addressed by `id` (the stored\r\n`ExternalId`) or, for a property that has none yet, by `index`. An entry with neither `id` nor `index` adds a property."}}}}
```

## The BorrowerVestingType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BorrowerVestingType":{"enum":["Individual","Trustee","Settlor","SettlorTrustee","TitleOnly","NonTitleSpouse","Other"],"type":"string","description":"How a person on the loan takes title: Individual (as themselves), Trustee, Settlor, SettlorTrustee (settlor and trustee of the same trust), TitleOnly (on title but not a borrower), NonTitleSpouse (a spouse who is not on title) or Other."}}}}
```

## The BrokerCriteria object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BrokerCriteria":{"type":"object","properties":{"minCompensation":{"type":"number","description":"Minimum loan officer compensation, in dollars.","format":"double","nullable":true},"maxCompensation":{"type":"number","description":"Maximum loan officer compensation, in dollars.","format":"double","nullable":true},"compPercent":{"type":"number","description":"Loan officer compensation as a percent of the loan amount.","format":"double","nullable":true},"ausList":{"type":"array","items":{"type":"string"},"description":"Automated underwriting systems the officer's criteria allow; usually empty.","nullable":true}},"additionalProperties":false,"description":"Loan officer compensation limits a search was priced with, taken from the officer's profile."}}}}
```

## The BrokerRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BrokerRequest":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the request.","format":"uuid"},"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan the request is on.","format":"uuid"},"type":{"$ref":"#/components/schemas/BrokerRequestType"},"typeName":{"type":"string","description":"Display name of the request type.","nullable":true},"status":{"$ref":"#/components/schemas/BrokerRequestStatus"},"reviewer":{"$ref":"#/components/schemas/BrokerRequestReviewer"},"header":{"$ref":"#/components/schemas/BrokerRequestHeader"},"coc":{"$ref":"#/components/schemas/CocRequestDetails"},"exception":{"$ref":"#/components/schemas/ExceptionRequestDetails"},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/BrokerRequestAttachment"},"description":"Files attached to the request as a whole.","nullable":true},"pdfDocumentId":{"type":"string","description":"The loan vault document holding the PDF of the request.","format":"uuid","nullable":true},"submittedAt":{"type":"string","description":"When the request was submitted, ISO 8601 in UTC.","format":"date-time"},"submittedBy":{"type":"string","description":"Unique identifier (GUID) of the user who submitted the request.","format":"uuid"},"submittedByName":{"type":"string","description":"Name of the user who submitted the request.","nullable":true},"decision":{"$ref":"#/components/schemas/BrokerRequestDecision"}},"additionalProperties":false,"description":"A broker request as the API returns it."},"BrokerRequestType":{"enum":["Coc","Exception"],"type":"string","description":"What a broker is asking the lender for. Each type carries its own payload on the request and is\r\nrouted to its own reviewer by `BrokerRequestRouting`: a Changed Circumstance, and on a\r\nnon-QM loan an Exception request."},"BrokerRequestStatus":{"enum":["Submitted","Accepted","Declined"],"type":"string","description":"Where a request stands. A request is created Submitted and moves once, to Accepted or Declined,\r\nwhen its reviewer decides it."},"BrokerRequestReviewer":{"enum":["Underwriting"],"type":"string","description":"The lender team that reviews a request type."},"BrokerRequestHeader":{"type":"object","properties":{"brokerName":{"type":"string","description":"Name of the broker who submitted the request.","nullable":true},"brokerCompany":{"type":"string","description":"Name of the broker's company.","nullable":true},"loanOfficer":{"type":"string","description":"Name of the loan's loan officer.","nullable":true},"borrowerNames":{"type":"array","items":{"type":"string"},"description":"Names of the loan's borrowers.","nullable":true},"propertyAddress":{"type":"string","description":"The subject property address as one line.","nullable":true},"loanNumber":{"type":"string","description":"The loan number shown to staff and brokers.","nullable":true}},"additionalProperties":false,"description":"The identity block at the top of every request. Built by the server from the loan and the\r\nsubmitting user; a broker never supplies it, so it cannot be edited."},"CocRequestDetails":{"type":"object","properties":{"changedCircumstances":{"type":"array","items":{"$ref":"#/components/schemas/ChangedCircumstance"},"description":"The changed circumstances the broker selected.","nullable":true},"changeRequestType":{"$ref":"#/components/schemas/CocChangeRequestType"},"disclosureReason":{"$ref":"#/components/schemas/CocDisclosureReason"},"description":{"type":"string","description":"The broker's free-text explanation of the change.","nullable":true},"feeRows":{"type":"array","items":{"$ref":"#/components/schemas/CocFeeRow"},"description":"The fees the change affects.","nullable":true},"attestsSubmittedWithin24Hours":{"type":"boolean","description":"The broker's attestation that the request was submitted within 24 hours of learning the information."},"attestsNoRevisedLeIssued":{"type":"boolean","description":"The broker's attestation that no revised Loan Estimate has been issued for this change."},"receivedAt":{"type":"string","description":"When the broker received the information that changed the circumstance, date and time with the broker's UTC offset.","format":"date-time"}},"additionalProperties":false,"description":"The Changed Circumstance payload of a submitted request. The three axes are stored independently\r\nand none is derived from another: `DisclosureReason` is exactly what the broker chose,\r\nnull when they chose none."},"ChangedCircumstance":{"enum":["AdditionalBorrowerAdded","AdditionalServiceFromTitleOrAppraisal","Adding1004DDeskOrFieldReview","AmortizationTypeOrTerm","AppraisedValueDifferent","CompensationPlanChange","EstimatedClosingDateChange","ImpoundsChange","LoanAmountChange","PropertyTypeOrUnitsChange","FeeIncreaseAfterLeExpiration","FicoScoreChange","IncomeUnverifiedOrDtiChange","TitleFeesIncrease","LoanPurposeTypeProgramOrDocumentation","LockEventOrLockExtension","Occupancy","RateLock","RecordingFeesIncrease","SinglePremiumMi","TitleAcceptanceWaiver","Other"],"type":"string","description":"What changed, in business language. Several may be chosen. The change of circumstance form (`GET /loan-applications/{id}/broker-requests/coc/form`) lists every value with its display name, in form order."},"CocChangeRequestType":{"enum":["BorrowerRequested","Other"],"type":"string","description":"Who asked for the change. A consumer-requested revision is valid under Reg Z\r\n1026.19(e)(3)(iv)(A) on different grounds from a changed circumstance, so it is recorded, never\r\ninferred."},"CocDisclosureReason":{"enum":["ChangedCircumstanceSettlementCharges","ChangedCircumstanceEligibility","RevisionRequestedByConsumer","InterestRateDependentCharge","Expiration","DelayedSettlementOnConstructionLoans","Other"],"type":"string","description":"The TRID provision under which a revised disclosure is permitted. One value, optional when the broker submits and required when the lender accepts with re-disclosure. The change of circumstance form lists every value with the regulation's wording."},"CocFeeRow":{"type":"object","properties":{"fee":{"type":"string","description":"Name of the fee the change affects.","nullable":true},"amount":{"type":"number","description":"The fee amount after the change, in dollars; null when not given.","format":"double","nullable":true},"reason":{"type":"string","description":"Why the fee changed.","nullable":true}},"additionalProperties":false,"description":"One fee affected by a changed circumstance: the fee, its amount and the reason for the change."},"ExceptionRequestDetails":{"type":"object","properties":{"justification":{"type":"string","description":"The broker's reasons the file should be allowed outside guidelines.","nullable":true},"loanProgram":{"type":"string","description":"The loan program that made the loan non-QM when the request was submitted.","nullable":true}},"additionalProperties":false,"description":"The Exception payload of a submitted request: why the file should be allowed outside guidelines."},"BrokerRequestAttachment":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the attachment.","format":"uuid"},"fileName":{"type":"string","description":"Original file name of the attachment.","nullable":true},"contentType":{"type":"string","description":"MIME type of the attachment, for example application/pdf.","nullable":true},"size":{"type":"integer","description":"Attachment size in bytes.","format":"int64"}},"additionalProperties":false,"description":"A file attached to a request as a whole, never to one part of it."},"BrokerRequestDecision":{"type":"object","properties":{"outcome":{"$ref":"#/components/schemas/BrokerRequestOutcome"},"comment":{"type":"string","description":"The reviewer's comment on the decision; null when none was given.","nullable":true},"coc":{"$ref":"#/components/schemas/CocDecisionDetails"},"decidedAt":{"type":"string","description":"When the decision was recorded, ISO 8601 in UTC.","format":"date-time"},"decidedBy":{"type":"string","description":"Unique identifier (GUID) of the reviewing user.","format":"uuid"},"decidedByName":{"type":"string","description":"Name of the reviewing user.","nullable":true}},"additionalProperties":false,"description":"The reviewer's decision. Recorded once and never changed. `Coc` holds what a\r\nChanged Circumstance decision adds."},"BrokerRequestOutcome":{"enum":["Accepted","Declined"],"type":"string","description":"The reviewer's decision on a request."},"CocDecisionDetails":{"type":"object","properties":{"requiresRedisclosure":{"type":"boolean","description":"True when the request was accepted and the loan must be re-disclosed."},"disclosureReason":{"$ref":"#/components/schemas/CocDisclosureReason"}},"additionalProperties":false,"description":"What a Changed Circumstance decision records. A disclosure reason is required when the request is\r\naccepted with re-disclosure; it is the reviewer's, stored apart from the broker's."}}}}
```

## The BrokerRequestAttachment object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BrokerRequestAttachment":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the attachment.","format":"uuid"},"fileName":{"type":"string","description":"Original file name of the attachment.","nullable":true},"contentType":{"type":"string","description":"MIME type of the attachment, for example application/pdf.","nullable":true},"size":{"type":"integer","description":"Attachment size in bytes.","format":"int64"}},"additionalProperties":false,"description":"A file attached to a request as a whole, never to one part of it."}}}}
```

## The BrokerRequestAvailability object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BrokerRequestAvailability":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/BrokerRequestAvailabilityState"},"reason":{"type":"string","description":"Shown beside a disabled action. Null when the action is enabled or hidden.","nullable":true}},"additionalProperties":false,"description":"Whether a request action is offered on a loan, and why not when it is not."},"BrokerRequestAvailabilityState":{"enum":["Enabled","Disabled","Hidden"],"type":"string","description":"How a request action is offered on a loan: Enabled, Disabled (shown with a reason), or Hidden."}}}}
```

## The BrokerRequestAvailabilityState object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BrokerRequestAvailabilityState":{"enum":["Enabled","Disabled","Hidden"],"type":"string","description":"How a request action is offered on a loan: Enabled, Disabled (shown with a reason), or Hidden."}}}}
```

## The BrokerRequestDay object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BrokerRequestDay":{"type":"object","properties":{"date":{"type":"string","description":"The calendar day (UTC, ISO 8601 date) the requests were submitted.","format":"date"},"requests":{"type":"array","items":{"$ref":"#/components/schemas/BrokerRequestSummary"},"description":"The requests submitted that day, most recent first.","nullable":true}},"additionalProperties":false,"description":"The requests submitted on one UTC day, most recent first."},"BrokerRequestSummary":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the request.","format":"uuid"},"type":{"$ref":"#/components/schemas/BrokerRequestType"},"typeName":{"type":"string","description":"Display name of the request type.","nullable":true},"status":{"$ref":"#/components/schemas/BrokerRequestStatus"},"submittedAt":{"type":"string","description":"When the request was submitted, ISO 8601 in UTC.","format":"date-time"},"submittedByName":{"type":"string","description":"Name of the user who submitted the request.","nullable":true},"changedCircumstances":{"type":"array","items":{"$ref":"#/components/schemas/ChangedCircumstance"},"description":"The changed circumstances the broker selected; empty for other request types.","nullable":true},"changedCircumstanceNames":{"type":"array","items":{"type":"string"},"description":"Display names of the selected changed circumstances, in the same order.","nullable":true},"disclosureReason":{"$ref":"#/components/schemas/CocDisclosureReason"},"disclosureReasonName":{"type":"string","description":"Display name of the disclosure reason; null when none was given.","nullable":true},"justification":{"type":"string","description":"An Exception request's justification; null for every other type.","nullable":true},"decision":{"$ref":"#/components/schemas/BrokerRequestDecision"}},"additionalProperties":false,"description":"One row of the history panel."},"BrokerRequestType":{"enum":["Coc","Exception"],"type":"string","description":"What a broker is asking the lender for. Each type carries its own payload on the request and is\r\nrouted to its own reviewer by `BrokerRequestRouting`: a Changed Circumstance, and on a\r\nnon-QM loan an Exception request."},"BrokerRequestStatus":{"enum":["Submitted","Accepted","Declined"],"type":"string","description":"Where a request stands. A request is created Submitted and moves once, to Accepted or Declined,\r\nwhen its reviewer decides it."},"ChangedCircumstance":{"enum":["AdditionalBorrowerAdded","AdditionalServiceFromTitleOrAppraisal","Adding1004DDeskOrFieldReview","AmortizationTypeOrTerm","AppraisedValueDifferent","CompensationPlanChange","EstimatedClosingDateChange","ImpoundsChange","LoanAmountChange","PropertyTypeOrUnitsChange","FeeIncreaseAfterLeExpiration","FicoScoreChange","IncomeUnverifiedOrDtiChange","TitleFeesIncrease","LoanPurposeTypeProgramOrDocumentation","LockEventOrLockExtension","Occupancy","RateLock","RecordingFeesIncrease","SinglePremiumMi","TitleAcceptanceWaiver","Other"],"type":"string","description":"What changed, in business language. Several may be chosen. The change of circumstance form (`GET /loan-applications/{id}/broker-requests/coc/form`) lists every value with its display name, in form order."},"CocDisclosureReason":{"enum":["ChangedCircumstanceSettlementCharges","ChangedCircumstanceEligibility","RevisionRequestedByConsumer","InterestRateDependentCharge","Expiration","DelayedSettlementOnConstructionLoans","Other"],"type":"string","description":"The TRID provision under which a revised disclosure is permitted. One value, optional when the broker submits and required when the lender accepts with re-disclosure. The change of circumstance form lists every value with the regulation's wording."},"BrokerRequestDecision":{"type":"object","properties":{"outcome":{"$ref":"#/components/schemas/BrokerRequestOutcome"},"comment":{"type":"string","description":"The reviewer's comment on the decision; null when none was given.","nullable":true},"coc":{"$ref":"#/components/schemas/CocDecisionDetails"},"decidedAt":{"type":"string","description":"When the decision was recorded, ISO 8601 in UTC.","format":"date-time"},"decidedBy":{"type":"string","description":"Unique identifier (GUID) of the reviewing user.","format":"uuid"},"decidedByName":{"type":"string","description":"Name of the reviewing user.","nullable":true}},"additionalProperties":false,"description":"The reviewer's decision. Recorded once and never changed. `Coc` holds what a\r\nChanged Circumstance decision adds."},"BrokerRequestOutcome":{"enum":["Accepted","Declined"],"type":"string","description":"The reviewer's decision on a request."},"CocDecisionDetails":{"type":"object","properties":{"requiresRedisclosure":{"type":"boolean","description":"True when the request was accepted and the loan must be re-disclosed."},"disclosureReason":{"$ref":"#/components/schemas/CocDisclosureReason"}},"additionalProperties":false,"description":"What a Changed Circumstance decision records. A disclosure reason is required when the request is\r\naccepted with re-disclosure; it is the reviewer's, stored apart from the broker's."}}}}
```

## The BrokerRequestDecision object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BrokerRequestDecision":{"type":"object","properties":{"outcome":{"$ref":"#/components/schemas/BrokerRequestOutcome"},"comment":{"type":"string","description":"The reviewer's comment on the decision; null when none was given.","nullable":true},"coc":{"$ref":"#/components/schemas/CocDecisionDetails"},"decidedAt":{"type":"string","description":"When the decision was recorded, ISO 8601 in UTC.","format":"date-time"},"decidedBy":{"type":"string","description":"Unique identifier (GUID) of the reviewing user.","format":"uuid"},"decidedByName":{"type":"string","description":"Name of the reviewing user.","nullable":true}},"additionalProperties":false,"description":"The reviewer's decision. Recorded once and never changed. `Coc` holds what a\r\nChanged Circumstance decision adds."},"BrokerRequestOutcome":{"enum":["Accepted","Declined"],"type":"string","description":"The reviewer's decision on a request."},"CocDecisionDetails":{"type":"object","properties":{"requiresRedisclosure":{"type":"boolean","description":"True when the request was accepted and the loan must be re-disclosed."},"disclosureReason":{"$ref":"#/components/schemas/CocDisclosureReason"}},"additionalProperties":false,"description":"What a Changed Circumstance decision records. A disclosure reason is required when the request is\r\naccepted with re-disclosure; it is the reviewer's, stored apart from the broker's."},"CocDisclosureReason":{"enum":["ChangedCircumstanceSettlementCharges","ChangedCircumstanceEligibility","RevisionRequestedByConsumer","InterestRateDependentCharge","Expiration","DelayedSettlementOnConstructionLoans","Other"],"type":"string","description":"The TRID provision under which a revised disclosure is permitted. One value, optional when the broker submits and required when the lender accepts with re-disclosure. The change of circumstance form lists every value with the regulation's wording."}}}}
```

## The BrokerRequestHeader object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BrokerRequestHeader":{"type":"object","properties":{"brokerName":{"type":"string","description":"Name of the broker who submitted the request.","nullable":true},"brokerCompany":{"type":"string","description":"Name of the broker's company.","nullable":true},"loanOfficer":{"type":"string","description":"Name of the loan's loan officer.","nullable":true},"borrowerNames":{"type":"array","items":{"type":"string"},"description":"Names of the loan's borrowers.","nullable":true},"propertyAddress":{"type":"string","description":"The subject property address as one line.","nullable":true},"loanNumber":{"type":"string","description":"The loan number shown to staff and brokers.","nullable":true}},"additionalProperties":false,"description":"The identity block at the top of every request. Built by the server from the loan and the\r\nsubmitting user; a broker never supplies it, so it cannot be edited."}}}}
```

## The BrokerRequestOutcome object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BrokerRequestOutcome":{"enum":["Accepted","Declined"],"type":"string","description":"The reviewer's decision on a request."}}}}
```

## The BrokerRequestReviewer object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BrokerRequestReviewer":{"enum":["Underwriting"],"type":"string","description":"The lender team that reviews a request type."}}}}
```

## The BrokerRequestStatus object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BrokerRequestStatus":{"enum":["Submitted","Accepted","Declined"],"type":"string","description":"Where a request stands. A request is created Submitted and moves once, to Accepted or Declined,\r\nwhen its reviewer decides it."}}}}
```

## The BrokerRequestSummary object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BrokerRequestSummary":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the request.","format":"uuid"},"type":{"$ref":"#/components/schemas/BrokerRequestType"},"typeName":{"type":"string","description":"Display name of the request type.","nullable":true},"status":{"$ref":"#/components/schemas/BrokerRequestStatus"},"submittedAt":{"type":"string","description":"When the request was submitted, ISO 8601 in UTC.","format":"date-time"},"submittedByName":{"type":"string","description":"Name of the user who submitted the request.","nullable":true},"changedCircumstances":{"type":"array","items":{"$ref":"#/components/schemas/ChangedCircumstance"},"description":"The changed circumstances the broker selected; empty for other request types.","nullable":true},"changedCircumstanceNames":{"type":"array","items":{"type":"string"},"description":"Display names of the selected changed circumstances, in the same order.","nullable":true},"disclosureReason":{"$ref":"#/components/schemas/CocDisclosureReason"},"disclosureReasonName":{"type":"string","description":"Display name of the disclosure reason; null when none was given.","nullable":true},"justification":{"type":"string","description":"An Exception request's justification; null for every other type.","nullable":true},"decision":{"$ref":"#/components/schemas/BrokerRequestDecision"}},"additionalProperties":false,"description":"One row of the history panel."},"BrokerRequestType":{"enum":["Coc","Exception"],"type":"string","description":"What a broker is asking the lender for. Each type carries its own payload on the request and is\r\nrouted to its own reviewer by `BrokerRequestRouting`: a Changed Circumstance, and on a\r\nnon-QM loan an Exception request."},"BrokerRequestStatus":{"enum":["Submitted","Accepted","Declined"],"type":"string","description":"Where a request stands. A request is created Submitted and moves once, to Accepted or Declined,\r\nwhen its reviewer decides it."},"ChangedCircumstance":{"enum":["AdditionalBorrowerAdded","AdditionalServiceFromTitleOrAppraisal","Adding1004DDeskOrFieldReview","AmortizationTypeOrTerm","AppraisedValueDifferent","CompensationPlanChange","EstimatedClosingDateChange","ImpoundsChange","LoanAmountChange","PropertyTypeOrUnitsChange","FeeIncreaseAfterLeExpiration","FicoScoreChange","IncomeUnverifiedOrDtiChange","TitleFeesIncrease","LoanPurposeTypeProgramOrDocumentation","LockEventOrLockExtension","Occupancy","RateLock","RecordingFeesIncrease","SinglePremiumMi","TitleAcceptanceWaiver","Other"],"type":"string","description":"What changed, in business language. Several may be chosen. The change of circumstance form (`GET /loan-applications/{id}/broker-requests/coc/form`) lists every value with its display name, in form order."},"CocDisclosureReason":{"enum":["ChangedCircumstanceSettlementCharges","ChangedCircumstanceEligibility","RevisionRequestedByConsumer","InterestRateDependentCharge","Expiration","DelayedSettlementOnConstructionLoans","Other"],"type":"string","description":"The TRID provision under which a revised disclosure is permitted. One value, optional when the broker submits and required when the lender accepts with re-disclosure. The change of circumstance form lists every value with the regulation's wording."},"BrokerRequestDecision":{"type":"object","properties":{"outcome":{"$ref":"#/components/schemas/BrokerRequestOutcome"},"comment":{"type":"string","description":"The reviewer's comment on the decision; null when none was given.","nullable":true},"coc":{"$ref":"#/components/schemas/CocDecisionDetails"},"decidedAt":{"type":"string","description":"When the decision was recorded, ISO 8601 in UTC.","format":"date-time"},"decidedBy":{"type":"string","description":"Unique identifier (GUID) of the reviewing user.","format":"uuid"},"decidedByName":{"type":"string","description":"Name of the reviewing user.","nullable":true}},"additionalProperties":false,"description":"The reviewer's decision. Recorded once and never changed. `Coc` holds what a\r\nChanged Circumstance decision adds."},"BrokerRequestOutcome":{"enum":["Accepted","Declined"],"type":"string","description":"The reviewer's decision on a request."},"CocDecisionDetails":{"type":"object","properties":{"requiresRedisclosure":{"type":"boolean","description":"True when the request was accepted and the loan must be re-disclosed."},"disclosureReason":{"$ref":"#/components/schemas/CocDisclosureReason"}},"additionalProperties":false,"description":"What a Changed Circumstance decision records. A disclosure reason is required when the request is\r\naccepted with re-disclosure; it is the reviewer's, stored apart from the broker's."}}}}
```

## The BrokerRequestType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"BrokerRequestType":{"enum":["Coc","Exception"],"type":"string","description":"What a broker is asking the lender for. Each type carries its own payload on the request and is\r\nrouted to its own reviewer by `BrokerRequestRouting`: a Changed Circumstance, and on a\r\nnon-QM loan an Exception request."}}}}
```

## The CategorySettings object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CategorySettings":{"type":"object","properties":{"client":{"$ref":"#/components/schemas/RecipientBranch"},"user":{"$ref":"#/components/schemas/RecipientBranch"}},"additionalProperties":false},"RecipientBranch":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Null = inherit the category from the next level up.","nullable":true},"items":{"type":"object","additionalProperties":{"type":"boolean"},"description":"Template item key → value. Non-empty means this branch has explicit per-template\r\n            overrides; a key absent here falls back to `milestones`, then `enabled`,\r\n            then `knownTemplates`, then the next level up.","nullable":true},"milestones":{"type":"object","additionalProperties":{"type":"boolean"},"description":"Loan-timeline milestone code → value, for the \"status\" category only. Sits between\r\n`items` and `enabled`: a template with no explicit item takes its\r\nmilestone's value when this branch names it. Keys are stored as written (PascalCase codes)\r\nbut the Cosmos contract resolver camelCases them on the way out, so every lookup is\r\ncase-insensitive — exactly as for `items`.","nullable":true},"knownTemplates":{"type":"array","items":{"type":"string"},"description":"Item keys known at the time this branch's Items were first written. A template added to the\r\ncatalog later and absent from both Items and KnownTemplates resolves to false while Items is\r\nnon-empty, per the resolver's default-off-when-customized rule.","nullable":true}},"additionalProperties":false,"description":"One recipient type's overrides within a category. A \"client\"/\"loanApplication\" document only\r\never populates `client`; the User branch is reserved for user\r\ndocuments and PATCH paths that target it against a client/loanApplication document are rejected."}}}}
```

## The ChangedCircumstance object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ChangedCircumstance":{"enum":["AdditionalBorrowerAdded","AdditionalServiceFromTitleOrAppraisal","Adding1004DDeskOrFieldReview","AmortizationTypeOrTerm","AppraisedValueDifferent","CompensationPlanChange","EstimatedClosingDateChange","ImpoundsChange","LoanAmountChange","PropertyTypeOrUnitsChange","FeeIncreaseAfterLeExpiration","FicoScoreChange","IncomeUnverifiedOrDtiChange","TitleFeesIncrease","LoanPurposeTypeProgramOrDocumentation","LockEventOrLockExtension","Occupancy","RateLock","RecordingFeesIncrease","SinglePremiumMi","TitleAcceptanceWaiver","Other"],"type":"string","description":"What changed, in business language. Several may be chosen. The change of circumstance form (`GET /loan-applications/{id}/broker-requests/coc/form`) lists every value with its display name, in form order."}}}}
```

## The Client object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Client":{"required":["email","firstName","lastName"],"type":"object","properties":{"externalId":{"type":"string","description":"Your own identifier for the client. Send it together with source; the pair identifies the client in your system.","nullable":true},"source":{"type":"string","description":"Name of your system that issued externalId. Send it with externalId: the pair identifies the client in your system. Not checked by the server: either may be sent without the other.","nullable":true},"ownerId":{"type":"string","description":"Unique identifier (GUID) of the user (loan officer) who owns the client.","format":"uuid","nullable":true},"referredById":{"type":"string","description":"Unique identifier (GUID) of the user who referred the client.","format":"uuid","nullable":true},"email":{"minLength":1,"pattern":"[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$","type":"string","description":"Client's email address; used to contact the borrower and must be a valid address."},"homePhone":{"type":"string","description":"Home phone number.","nullable":true},"workPhone":{"type":"string","description":"Work phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"fax":{"type":"string","description":"Fax number.","nullable":true},"contactAddress":{"$ref":"#/components/schemas/Address"},"isSilenced":{"type":"boolean","description":"True when emails to the client are suppressed (for example after an unsubscribe). It does not remove their access. Left out, it is false, also on PATCH."},"isArchived":{"type":"boolean","description":"True when the client is archived and hidden from active lists. Left out, it is false, also on PATCH."},"createdOn":{"type":"string","description":"When the client was created, ISO 8601 in UTC. Set by the server; read-only.","format":"date-time","readOnly":true},"updatedOn":{"type":"string","description":"When the client was last changed, ISO 8601 in UTC. Set by the server; read-only.","format":"date-time","nullable":true,"readOnly":true},"fico":{"type":"integer","description":"The client's FICO credit score.","format":"int32","nullable":true},"totalIncome":{"type":"number","description":"Total income in dollars.","format":"double","nullable":true},"totalDebtPayments":{"type":"number","description":"Total monthly debt payments in dollars.","format":"double","nullable":true},"firstTimeBuyer":{"type":"boolean","description":"True when the client is a first-time home buyer.","nullable":true},"loginToken":{"type":"string","description":"A link that signs the holder in as this borrower, valid 30 days. Returned only when a single client is read, and omitted when the company's borrowers do not use the borrower portal. Treat it as a credential.","nullable":true},"id":{"type":"string","description":"Unique identifier (GUID) of the client (borrower). Set by the server; read-only.","format":"uuid","readOnly":true},"firstName":{"minLength":1,"type":"string","description":"Borrower's legal first name."},"lastName":{"minLength":1,"type":"string","description":"Borrower's legal last name."}},"additionalProperties":false,"description":"`contactAddress`: Optional. When sent, the address's own rules apply (state is required inside it). PUT clears the stored address when absent; PATCH keeps it. firstName, lastName and email are required on POST, PUT and PATCH alike. On PATCH, a text or number field left out or null keeps its stored value, but isSilenced and isArchived are set to false when left out."},"Address":{"required":["state"],"type":"object","properties":{"addressLine1":{"type":"string","description":"Street address, for example 123 Main St.","nullable":true},"addressLine2":{"type":"string","description":"Unit, suite or other second line; optional.","nullable":true},"city":{"type":"string","description":"City name.","nullable":true},"state":{"minLength":1,"type":"string","description":"Two-letter state code."},"zipCode":{"type":"string","description":"Postal (ZIP) code.","nullable":true}},"additionalProperties":false,"description":"A US mailing address."}}}}
```

## The ClientList object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ClientList":{"type":"object","properties":{"value":{"type":"array","items":{"$ref":"#/components/schemas/Client"},"description":"The clients on this page: $top of them (50 when it is not sent), after $skip.","nullable":true},"count":{"type":"integer","description":"Number of matching clients across every page. A top sent without the dollar sign also limits this number.","format":"int32"}},"additionalProperties":false,"description":"The clients a list answers, as the OData filter writes them."},"Client":{"required":["email","firstName","lastName"],"type":"object","properties":{"externalId":{"type":"string","description":"Your own identifier for the client. Send it together with source; the pair identifies the client in your system.","nullable":true},"source":{"type":"string","description":"Name of your system that issued externalId. Send it with externalId: the pair identifies the client in your system. Not checked by the server: either may be sent without the other.","nullable":true},"ownerId":{"type":"string","description":"Unique identifier (GUID) of the user (loan officer) who owns the client.","format":"uuid","nullable":true},"referredById":{"type":"string","description":"Unique identifier (GUID) of the user who referred the client.","format":"uuid","nullable":true},"email":{"minLength":1,"pattern":"[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$","type":"string","description":"Client's email address; used to contact the borrower and must be a valid address."},"homePhone":{"type":"string","description":"Home phone number.","nullable":true},"workPhone":{"type":"string","description":"Work phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"fax":{"type":"string","description":"Fax number.","nullable":true},"contactAddress":{"$ref":"#/components/schemas/Address"},"isSilenced":{"type":"boolean","description":"True when emails to the client are suppressed (for example after an unsubscribe). It does not remove their access. Left out, it is false, also on PATCH."},"isArchived":{"type":"boolean","description":"True when the client is archived and hidden from active lists. Left out, it is false, also on PATCH."},"createdOn":{"type":"string","description":"When the client was created, ISO 8601 in UTC. Set by the server; read-only.","format":"date-time","readOnly":true},"updatedOn":{"type":"string","description":"When the client was last changed, ISO 8601 in UTC. Set by the server; read-only.","format":"date-time","nullable":true,"readOnly":true},"fico":{"type":"integer","description":"The client's FICO credit score.","format":"int32","nullable":true},"totalIncome":{"type":"number","description":"Total income in dollars.","format":"double","nullable":true},"totalDebtPayments":{"type":"number","description":"Total monthly debt payments in dollars.","format":"double","nullable":true},"firstTimeBuyer":{"type":"boolean","description":"True when the client is a first-time home buyer.","nullable":true},"loginToken":{"type":"string","description":"A link that signs the holder in as this borrower, valid 30 days. Returned only when a single client is read, and omitted when the company's borrowers do not use the borrower portal. Treat it as a credential.","nullable":true},"id":{"type":"string","description":"Unique identifier (GUID) of the client (borrower). Set by the server; read-only.","format":"uuid","readOnly":true},"firstName":{"minLength":1,"type":"string","description":"Borrower's legal first name."},"lastName":{"minLength":1,"type":"string","description":"Borrower's legal last name."}},"additionalProperties":false,"description":"`contactAddress`: Optional. When sent, the address's own rules apply (state is required inside it). PUT clears the stored address when absent; PATCH keeps it. firstName, lastName and email are required on POST, PUT and PATCH alike. On PATCH, a text or number field left out or null keeps its stored value, but isSilenced and isArchived are set to false when left out."},"Address":{"required":["state"],"type":"object","properties":{"addressLine1":{"type":"string","description":"Street address, for example 123 Main St.","nullable":true},"addressLine2":{"type":"string","description":"Unit, suite or other second line; optional.","nullable":true},"city":{"type":"string","description":"City name.","nullable":true},"state":{"minLength":1,"type":"string","description":"Two-letter state code."},"zipCode":{"type":"string","description":"Postal (ZIP) code.","nullable":true}},"additionalProperties":false,"description":"A US mailing address."}}}}
```

## The ClientModified object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ClientModified":{"required":["alreadyExists","id"],"type":"object","properties":{"alreadyExists":{"type":"boolean","description":"True when the loan officer already held a client with this email in a portal company: nothing was written\r\nand `id` is that client."},"id":{"type":"string","description":"The unique identifier of the entity that was modified."},"type":{"type":"string","description":"A string indicating the type or category of the modified entity (e.g., “Webhook”, “LoanApplicationTask”).","nullable":true},"createdTimestamp":{"type":"string","description":"The timestamp when the entity was first created.","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"The timestamp when the entity was last updated.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"The audit record of a client create, with whether the client already existed."}}}}
```

## The ClosingDisclosureDates object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ClosingDisclosureDates":{"type":"object","properties":{"id":{"type":"string","description":"The disclosure's id in the Loan Origination System.","nullable":true},"createdDate":{"type":"string","description":"Date the disclosure was created (ISO 8601 date, no time of day).","format":"date","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to the borrowers (ISO 8601 date); null when not yet issued.","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered, as the Loan Origination System records it (for example email or mail).","nullable":true},"receivedDate":{"type":"string","description":"Date the borrowers received the disclosure (ISO 8601 date); null when not recorded. When several borrowers are listed, each borrower's own date is in consumerDates.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date the disclosure was signed (ISO 8601 date); null when not signed.","format":"date","nullable":true},"isLastDisclosed":{"type":"boolean","description":"Never filled: the Loan Origination System returns no last-disclosed flag, so this is always null.","nullable":true},"eCloseStatus":{"type":"string","description":"The e-close status the Loan Origination System records for the disclosure; null when none.","nullable":true},"disclosedApr":{"type":"number","description":"The annual percentage rate disclosed, in percent (for example 6.912); null when not recorded.","format":"double","nullable":true},"archiveId":{"type":"string","description":"The id of the archive the Loan Origination System issued this disclosure from; null when it sent none (for example a hand-entered record).","nullable":true},"archiveDate":{"type":"string","description":"The archive's date (ISO 8601 date, no time of day).","format":"date","nullable":true},"transactionId":{"type":"string","description":"The id the disclosure was generated under, also on the e-sign package it was sent in; null when blank.","nullable":true},"isInitial":{"type":"boolean","description":"True when this is the initial Closing Disclosure.","nullable":true},"isManual":{"type":"boolean","description":"True when the record was entered by hand rather than generated by the Loan Origination System.","nullable":true},"isValid":{"type":"boolean","description":"False when the record is marked not valid in the Loan Origination System. Such a record stays in the list.","nullable":true},"losApr":{"type":"number","description":"The Loan Origination System's own annual percentage rate, in percent.","format":"double","nullable":true},"docVendorApr":{"type":"number","description":"The APR as the document vendor calculated it, in percent; null when not recorded.","format":"double","nullable":true},"isFinal":{"type":"boolean","description":"True when this is the final Closing Disclosure.","nullable":true},"isPreview":{"type":"boolean","description":"True when the disclosure was only a preview and was not issued to the borrowers.","nullable":true},"isPostClosing":{"type":"boolean","description":"True when the disclosure was issued after closing.","nullable":true},"consumerDates":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerDisclosureDates"},"description":"Issued, received and signed dates for each borrower on the disclosure.","nullable":true}},"additionalProperties":false},"ConsumerDisclosureDates":{"type":"object","properties":{"consumerId":{"type":"string","description":"The borrower's id in the Loan Origination System.","nullable":true},"consumerName":{"type":"string","description":"The borrower's name.","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to this borrower (ISO 8601 date).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered to this borrower, as the Loan Origination System records it.","nullable":true},"receivedDate":{"type":"string","description":"Date this borrower received the disclosure (ISO 8601 date); null when not recorded.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date this borrower signed the disclosure (ISO 8601 date); null when not signed.","format":"date","nullable":true}},"additionalProperties":false}}}}
```

## The CoBorrowerCriteria object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CoBorrowerCriteria":{"type":"object","properties":{"intentToOccupy":{"type":"boolean","description":"True when the co-borrower intends to occupy the property as a residence."}},"additionalProperties":false,"description":"Co-borrower criteria a search was priced with."}}}}
```

## The CocCatalogOptionOfChangedCircumstance object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CocCatalogOptionOfChangedCircumstance":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/ChangedCircumstance"},"name":{"type":"string","description":"The display name of the option.","nullable":true}},"additionalProperties":false,"description":"One choice on the Changed Circumstance form: a stable code and the name shown to the user."},"ChangedCircumstance":{"enum":["AdditionalBorrowerAdded","AdditionalServiceFromTitleOrAppraisal","Adding1004DDeskOrFieldReview","AmortizationTypeOrTerm","AppraisedValueDifferent","CompensationPlanChange","EstimatedClosingDateChange","ImpoundsChange","LoanAmountChange","PropertyTypeOrUnitsChange","FeeIncreaseAfterLeExpiration","FicoScoreChange","IncomeUnverifiedOrDtiChange","TitleFeesIncrease","LoanPurposeTypeProgramOrDocumentation","LockEventOrLockExtension","Occupancy","RateLock","RecordingFeesIncrease","SinglePremiumMi","TitleAcceptanceWaiver","Other"],"type":"string","description":"What changed, in business language. Several may be chosen. The change of circumstance form (`GET /loan-applications/{id}/broker-requests/coc/form`) lists every value with its display name, in form order."}}}}
```

## The CocCatalogOptionOfCocChangeRequestType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CocCatalogOptionOfCocChangeRequestType":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/CocChangeRequestType"},"name":{"type":"string","description":"The display name of the option.","nullable":true}},"additionalProperties":false,"description":"One choice on the Changed Circumstance form: a stable code and the name shown to the user."},"CocChangeRequestType":{"enum":["BorrowerRequested","Other"],"type":"string","description":"Who asked for the change. A consumer-requested revision is valid under Reg Z\r\n1026.19(e)(3)(iv)(A) on different grounds from a changed circumstance, so it is recorded, never\r\ninferred."}}}}
```

## The CocCatalogOptionOfCocDisclosureReason object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CocCatalogOptionOfCocDisclosureReason":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/CocDisclosureReason"},"name":{"type":"string","description":"The display name of the option.","nullable":true}},"additionalProperties":false,"description":"One choice on the Changed Circumstance form: a stable code and the name shown to the user."},"CocDisclosureReason":{"enum":["ChangedCircumstanceSettlementCharges","ChangedCircumstanceEligibility","RevisionRequestedByConsumer","InterestRateDependentCharge","Expiration","DelayedSettlementOnConstructionLoans","Other"],"type":"string","description":"The TRID provision under which a revised disclosure is permitted. One value, optional when the broker submits and required when the lender accepts with re-disclosure. The change of circumstance form lists every value with the regulation's wording."}}}}
```

## The CocChangeRequestType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CocChangeRequestType":{"enum":["BorrowerRequested","Other"],"type":"string","description":"Who asked for the change. A consumer-requested revision is valid under Reg Z\r\n1026.19(e)(3)(iv)(A) on different grounds from a changed circumstance, so it is recorded, never\r\ninferred."}}}}
```

## The CocDecisionDetails object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CocDecisionDetails":{"type":"object","properties":{"requiresRedisclosure":{"type":"boolean","description":"True when the request was accepted and the loan must be re-disclosed."},"disclosureReason":{"$ref":"#/components/schemas/CocDisclosureReason"}},"additionalProperties":false,"description":"What a Changed Circumstance decision records. A disclosure reason is required when the request is\r\naccepted with re-disclosure; it is the reviewer's, stored apart from the broker's."},"CocDisclosureReason":{"enum":["ChangedCircumstanceSettlementCharges","ChangedCircumstanceEligibility","RevisionRequestedByConsumer","InterestRateDependentCharge","Expiration","DelayedSettlementOnConstructionLoans","Other"],"type":"string","description":"The TRID provision under which a revised disclosure is permitted. One value, optional when the broker submits and required when the lender accepts with re-disclosure. The change of circumstance form lists every value with the regulation's wording."}}}}
```

## The CocDisclosureReason object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CocDisclosureReason":{"enum":["ChangedCircumstanceSettlementCharges","ChangedCircumstanceEligibility","RevisionRequestedByConsumer","InterestRateDependentCharge","Expiration","DelayedSettlementOnConstructionLoans","Other"],"type":"string","description":"The TRID provision under which a revised disclosure is permitted. One value, optional when the broker submits and required when the lender accepts with re-disclosure. The change of circumstance form lists every value with the regulation's wording."}}}}
```

## The CocFeeRow object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CocFeeRow":{"type":"object","properties":{"fee":{"type":"string","description":"Name of the fee the change affects.","nullable":true},"amount":{"type":"number","description":"The fee amount after the change, in dollars; null when not given.","format":"double","nullable":true},"reason":{"type":"string","description":"Why the fee changed.","nullable":true}},"additionalProperties":false,"description":"One fee affected by a changed circumstance: the fee, its amount and the reason for the change."}}}}
```

## The CocRequestDetails object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CocRequestDetails":{"type":"object","properties":{"changedCircumstances":{"type":"array","items":{"$ref":"#/components/schemas/ChangedCircumstance"},"description":"The changed circumstances the broker selected.","nullable":true},"changeRequestType":{"$ref":"#/components/schemas/CocChangeRequestType"},"disclosureReason":{"$ref":"#/components/schemas/CocDisclosureReason"},"description":{"type":"string","description":"The broker's free-text explanation of the change.","nullable":true},"feeRows":{"type":"array","items":{"$ref":"#/components/schemas/CocFeeRow"},"description":"The fees the change affects.","nullable":true},"attestsSubmittedWithin24Hours":{"type":"boolean","description":"The broker's attestation that the request was submitted within 24 hours of learning the information."},"attestsNoRevisedLeIssued":{"type":"boolean","description":"The broker's attestation that no revised Loan Estimate has been issued for this change."},"receivedAt":{"type":"string","description":"When the broker received the information that changed the circumstance, date and time with the broker's UTC offset.","format":"date-time"}},"additionalProperties":false,"description":"The Changed Circumstance payload of a submitted request. The three axes are stored independently\r\nand none is derived from another: `DisclosureReason` is exactly what the broker chose,\r\nnull when they chose none."},"ChangedCircumstance":{"enum":["AdditionalBorrowerAdded","AdditionalServiceFromTitleOrAppraisal","Adding1004DDeskOrFieldReview","AmortizationTypeOrTerm","AppraisedValueDifferent","CompensationPlanChange","EstimatedClosingDateChange","ImpoundsChange","LoanAmountChange","PropertyTypeOrUnitsChange","FeeIncreaseAfterLeExpiration","FicoScoreChange","IncomeUnverifiedOrDtiChange","TitleFeesIncrease","LoanPurposeTypeProgramOrDocumentation","LockEventOrLockExtension","Occupancy","RateLock","RecordingFeesIncrease","SinglePremiumMi","TitleAcceptanceWaiver","Other"],"type":"string","description":"What changed, in business language. Several may be chosen. The change of circumstance form (`GET /loan-applications/{id}/broker-requests/coc/form`) lists every value with its display name, in form order."},"CocChangeRequestType":{"enum":["BorrowerRequested","Other"],"type":"string","description":"Who asked for the change. A consumer-requested revision is valid under Reg Z\r\n1026.19(e)(3)(iv)(A) on different grounds from a changed circumstance, so it is recorded, never\r\ninferred."},"CocDisclosureReason":{"enum":["ChangedCircumstanceSettlementCharges","ChangedCircumstanceEligibility","RevisionRequestedByConsumer","InterestRateDependentCharge","Expiration","DelayedSettlementOnConstructionLoans","Other"],"type":"string","description":"The TRID provision under which a revised disclosure is permitted. One value, optional when the broker submits and required when the lender accepts with re-disclosure. The change of circumstance form lists every value with the regulation's wording."},"CocFeeRow":{"type":"object","properties":{"fee":{"type":"string","description":"Name of the fee the change affects.","nullable":true},"amount":{"type":"number","description":"The fee amount after the change, in dollars; null when not given.","format":"double","nullable":true},"reason":{"type":"string","description":"Why the fee changed.","nullable":true}},"additionalProperties":false,"description":"One fee affected by a changed circumstance: the fee, its amount and the reason for the change."}}}}
```

## The CocRequestForm object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CocRequestForm":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan the form is for.","format":"uuid"},"availability":{"$ref":"#/components/schemas/BrokerRequestAvailability"},"header":{"$ref":"#/components/schemas/BrokerRequestHeader"},"changedCircumstances":{"type":"array","items":{"$ref":"#/components/schemas/CocCatalogOptionOfChangedCircumstance"},"description":"The changed circumstances a broker can choose from, each with a code and display name.","nullable":true},"disclosureReasons":{"type":"array","items":{"$ref":"#/components/schemas/CocCatalogOptionOfCocDisclosureReason"},"description":"The disclosure reasons a broker can choose from, each with a code and display name.","nullable":true},"changeRequestTypes":{"type":"array","items":{"$ref":"#/components/schemas/CocCatalogOptionOfCocChangeRequestType"},"description":"The kinds of change request a broker can choose from, each with a code and display name.","nullable":true},"timelinessAttestation":{"type":"string","description":"Wording the broker confirms about submitting within 24 hours.","nullable":true},"noRevisedLeIssuedAttestation":{"type":"string","description":"Wording the broker confirms about no revised Loan Estimate having been issued.","nullable":true},"allowedAttachmentExtensions":{"type":"array","items":{"type":"string"},"description":"File extensions accepted as attachments.","nullable":true}},"additionalProperties":false,"description":"Everything the form needs before the broker types anything."},"BrokerRequestAvailability":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/BrokerRequestAvailabilityState"},"reason":{"type":"string","description":"Shown beside a disabled action. Null when the action is enabled or hidden.","nullable":true}},"additionalProperties":false,"description":"Whether a request action is offered on a loan, and why not when it is not."},"BrokerRequestAvailabilityState":{"enum":["Enabled","Disabled","Hidden"],"type":"string","description":"How a request action is offered on a loan: Enabled, Disabled (shown with a reason), or Hidden."},"BrokerRequestHeader":{"type":"object","properties":{"brokerName":{"type":"string","description":"Name of the broker who submitted the request.","nullable":true},"brokerCompany":{"type":"string","description":"Name of the broker's company.","nullable":true},"loanOfficer":{"type":"string","description":"Name of the loan's loan officer.","nullable":true},"borrowerNames":{"type":"array","items":{"type":"string"},"description":"Names of the loan's borrowers.","nullable":true},"propertyAddress":{"type":"string","description":"The subject property address as one line.","nullable":true},"loanNumber":{"type":"string","description":"The loan number shown to staff and brokers.","nullable":true}},"additionalProperties":false,"description":"The identity block at the top of every request. Built by the server from the loan and the\r\nsubmitting user; a broker never supplies it, so it cannot be edited."},"CocCatalogOptionOfChangedCircumstance":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/ChangedCircumstance"},"name":{"type":"string","description":"The display name of the option.","nullable":true}},"additionalProperties":false,"description":"One choice on the Changed Circumstance form: a stable code and the name shown to the user."},"ChangedCircumstance":{"enum":["AdditionalBorrowerAdded","AdditionalServiceFromTitleOrAppraisal","Adding1004DDeskOrFieldReview","AmortizationTypeOrTerm","AppraisedValueDifferent","CompensationPlanChange","EstimatedClosingDateChange","ImpoundsChange","LoanAmountChange","PropertyTypeOrUnitsChange","FeeIncreaseAfterLeExpiration","FicoScoreChange","IncomeUnverifiedOrDtiChange","TitleFeesIncrease","LoanPurposeTypeProgramOrDocumentation","LockEventOrLockExtension","Occupancy","RateLock","RecordingFeesIncrease","SinglePremiumMi","TitleAcceptanceWaiver","Other"],"type":"string","description":"What changed, in business language. Several may be chosen. The change of circumstance form (`GET /loan-applications/{id}/broker-requests/coc/form`) lists every value with its display name, in form order."},"CocCatalogOptionOfCocDisclosureReason":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/CocDisclosureReason"},"name":{"type":"string","description":"The display name of the option.","nullable":true}},"additionalProperties":false,"description":"One choice on the Changed Circumstance form: a stable code and the name shown to the user."},"CocDisclosureReason":{"enum":["ChangedCircumstanceSettlementCharges","ChangedCircumstanceEligibility","RevisionRequestedByConsumer","InterestRateDependentCharge","Expiration","DelayedSettlementOnConstructionLoans","Other"],"type":"string","description":"The TRID provision under which a revised disclosure is permitted. One value, optional when the broker submits and required when the lender accepts with re-disclosure. The change of circumstance form lists every value with the regulation's wording."},"CocCatalogOptionOfCocChangeRequestType":{"type":"object","properties":{"code":{"$ref":"#/components/schemas/CocChangeRequestType"},"name":{"type":"string","description":"The display name of the option.","nullable":true}},"additionalProperties":false,"description":"One choice on the Changed Circumstance form: a stable code and the name shown to the user."},"CocChangeRequestType":{"enum":["BorrowerRequested","Other"],"type":"string","description":"Who asked for the change. A consumer-requested revision is valid under Reg Z\r\n1026.19(e)(3)(iv)(A) on different grounds from a changed circumstance, so it is recorded, never\r\ninferred."}}}}
```

## The CommissionTier object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CommissionTier":{"enum":["HalfPercent","ThreeQuarterPercent","OnePercent","OneAndThreeQuarterPercent"],"type":"string","description":"Loan officer compensation tier, as a percent of the loan amount, that selects which pricing account a search runs under. Reserved for Henge's own automated agents; ignored for other callers. HalfPercent is 0.50%, ThreeQuarterPercent 0.75%, OnePercent 1.00% and OneAndThreeQuarterPercent 1.75%."}}}}
```

## The ConditionOutcomeResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ConditionOutcomeResponse":{"type":"object","properties":{"closedLoanTotal":{"type":"integer","description":"Distinct closed/funded loans (with conditions) in scope.","format":"int32"},"failedLoanTotal":{"type":"integer","description":"Distinct failed loans (with conditions) in scope.","format":"int32"},"categories":{"type":"array","items":{"$ref":"#/components/schemas/ConditionOutcomeRow"},"description":"One row per condition category with closed and failed counts and the failed share.","nullable":true},"note":{"type":"string","description":"A short explanation of how the figures were counted, to show beside the report.","nullable":true}},"additionalProperties":false},"ConditionOutcomeRow":{"type":"object","properties":{"conditionCategory":{"type":"string","description":"The condition category the row counts.","nullable":true},"closedLoanCount":{"type":"integer","description":"Distinct closed/funded loans that carried at least one condition in this category.","format":"int32"},"failedLoanCount":{"type":"integer","description":"Distinct failed (denied/withdrawn/cancelled/...) loans with at least one condition in this category.","format":"int32"},"closedConditionCount":{"type":"integer","description":"Number of conditions in this category on closed or funded loans.","format":"int32"},"failedConditionCount":{"type":"integer","description":"Number of conditions in this category on failed loans.","format":"int32"},"failedShare":{"type":"number","description":"FailedLoanCount / (FailedLoanCount + ClosedLoanCount). Higher = more associated with non-closing loans.","format":"double","nullable":true}},"additionalProperties":false}}}}
```

## The ConditionOutcomeRow object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ConditionOutcomeRow":{"type":"object","properties":{"conditionCategory":{"type":"string","description":"The condition category the row counts.","nullable":true},"closedLoanCount":{"type":"integer","description":"Distinct closed/funded loans that carried at least one condition in this category.","format":"int32"},"failedLoanCount":{"type":"integer","description":"Distinct failed (denied/withdrawn/cancelled/...) loans with at least one condition in this category.","format":"int32"},"closedConditionCount":{"type":"integer","description":"Number of conditions in this category on closed or funded loans.","format":"int32"},"failedConditionCount":{"type":"integer","description":"Number of conditions in this category on failed loans.","format":"int32"},"failedShare":{"type":"number","description":"FailedLoanCount / (FailedLoanCount + ClosedLoanCount). Higher = more associated with non-closing loans.","format":"double","nullable":true}},"additionalProperties":false}}}}
```

## The ConsumerDisclosureDates object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ConsumerDisclosureDates":{"type":"object","properties":{"consumerId":{"type":"string","description":"The borrower's id in the Loan Origination System.","nullable":true},"consumerName":{"type":"string","description":"The borrower's name.","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to this borrower (ISO 8601 date).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered to this borrower, as the Loan Origination System records it.","nullable":true},"receivedDate":{"type":"string","description":"Date this borrower received the disclosure (ISO 8601 date); null when not recorded.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date this borrower signed the disclosure (ISO 8601 date); null when not signed.","format":"date","nullable":true}},"additionalProperties":false}}}}
```

## The Contact object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Contact":{"type":"object","properties":{"id":{"type":"string","description":"Id of the contact (GUID).","format":"uuid","nullable":true},"email":{"type":"string","description":"Email address.","nullable":true},"firstName":{"type":"string","description":"First name.","nullable":true},"lastName":{"type":"string","description":"Last name.","nullable":true},"agentName":{"type":"string","description":"Full name of the agent.","nullable":true},"roleName":{"type":"string","description":"Display name of the contact's role.","nullable":true},"agentNMLS":{"type":"string","description":"The agent's NMLS id.","nullable":true},"role":{"$ref":"#/components/schemas/ContactRole"},"phone":{"type":"string","description":"Phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"companyPhone":{"type":"string","description":"The agent's company phone number.","nullable":true},"zip":{"type":"string","description":"ZIP or postal code.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"street":{"type":"string","description":"Street address.","nullable":true},"companyNMLS":{"type":"string","description":"The agent's company NMLS id.","nullable":true}},"additionalProperties":false,"description":"A person on or tied to a loan, such as the referring agent."},"ContactRole":{"enum":["Other","Appraiser","Escrow","CreditReport","Title","MortgageInsurance","ListingAgent","SellingAgent","Builder","Underwriter","Investor","Servicing","BuyerAttorney","SellerAttorney","HomeOwnerInsurance","HazardInsurance","MarketingLead","Seller","Surveyor","LoanOfficer","Bank","Lender","Processor","CallCenterAgent","LoanOpener","Manager","Broker","BrokerRep","ECOA","Realtor","Mortgagee","HomeOwnerAssociation","BuyerAgent","ClosingAgent","FairHousingLending","HomeInspection","FloodProvider","CreditReportAgency2","CreditReportAgency3","Shipper","BrokerProcessor","Trustee","Funder","PostCloser","Insuring","CollateralAgent","DocDrawer","PropertyManagement","TitleUnderwriter","CreditAuditor","DisclosureDesk","JuniorProcessor","JuniorUnderwriter","LegalAuditor","LoanOfficerAssistant","Purchaser","QCCompliance","Secondary","PestInspection","Subservicer","ExternalSecondary","ExternalPostCloser","LoanPurchasePayee","AppraisalManagementCompany","Referral","Notary","TaxServicer","SupervisoryAppraiser","Attorney","PropertyInspector","CPATaxPreparer","LockDesk","MortgageServiceOrganization","Verifications","TaxCollector","TaxTranscripts"],"type":"string","description":"The role a contact plays on a loan. Each value names that role: Other (anything not listed), Appraiser, Escrow, CreditReport (credit agency), Title, MortgageInsurance, ListingAgent, SellingAgent, Builder, Underwriter, Investor, Servicing, BuyerAttorney, SellerAttorney, HomeOwnerInsurance (obsolete; use HazardInsurance), HazardInsurance (homeowner's insurance), MarketingLead, Seller, Surveyor, LoanOfficer, Bank, Lender, Processor, CallCenterAgent, LoanOpener, Manager, Broker, BrokerRep, ECOA, Realtor, Mortgagee, HomeOwnerAssociation, BuyerAgent, ClosingAgent, FairHousingLending, HomeInspection, FloodProvider, CreditReportAgency2, CreditReportAgency3, Shipper, BrokerProcessor (external processor), Trustee, Funder, PostCloser, Insuring, CollateralAgent, DocDrawer, PropertyManagement, TitleUnderwriter, CreditAuditor, DisclosureDesk, JuniorProcessor, JuniorUnderwriter, LegalAuditor, LoanOfficerAssistant, Purchaser, QCCompliance, Secondary, PestInspection, Subservicer, ExternalSecondary, ExternalPostCloser, LoanPurchasePayee, AppraisalManagementCompany, Referral, Notary, TaxServicer, SupervisoryAppraiser, Attorney, PropertyInspector, CPATaxPreparer, LockDesk, MortgageServiceOrganization, Verifications, TaxCollector and TaxTranscripts."}}}}
```

## The ContactRole object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ContactRole":{"enum":["Other","Appraiser","Escrow","CreditReport","Title","MortgageInsurance","ListingAgent","SellingAgent","Builder","Underwriter","Investor","Servicing","BuyerAttorney","SellerAttorney","HomeOwnerInsurance","HazardInsurance","MarketingLead","Seller","Surveyor","LoanOfficer","Bank","Lender","Processor","CallCenterAgent","LoanOpener","Manager","Broker","BrokerRep","ECOA","Realtor","Mortgagee","HomeOwnerAssociation","BuyerAgent","ClosingAgent","FairHousingLending","HomeInspection","FloodProvider","CreditReportAgency2","CreditReportAgency3","Shipper","BrokerProcessor","Trustee","Funder","PostCloser","Insuring","CollateralAgent","DocDrawer","PropertyManagement","TitleUnderwriter","CreditAuditor","DisclosureDesk","JuniorProcessor","JuniorUnderwriter","LegalAuditor","LoanOfficerAssistant","Purchaser","QCCompliance","Secondary","PestInspection","Subservicer","ExternalSecondary","ExternalPostCloser","LoanPurchasePayee","AppraisalManagementCompany","Referral","Notary","TaxServicer","SupervisoryAppraiser","Attorney","PropertyInspector","CPATaxPreparer","LockDesk","MortgageServiceOrganization","Verifications","TaxCollector","TaxTranscripts"],"type":"string","description":"The role a contact plays on a loan. Each value names that role: Other (anything not listed), Appraiser, Escrow, CreditReport (credit agency), Title, MortgageInsurance, ListingAgent, SellingAgent, Builder, Underwriter, Investor, Servicing, BuyerAttorney, SellerAttorney, HomeOwnerInsurance (obsolete; use HazardInsurance), HazardInsurance (homeowner's insurance), MarketingLead, Seller, Surveyor, LoanOfficer, Bank, Lender, Processor, CallCenterAgent, LoanOpener, Manager, Broker, BrokerRep, ECOA, Realtor, Mortgagee, HomeOwnerAssociation, BuyerAgent, ClosingAgent, FairHousingLending, HomeInspection, FloodProvider, CreditReportAgency2, CreditReportAgency3, Shipper, BrokerProcessor (external processor), Trustee, Funder, PostCloser, Insuring, CollateralAgent, DocDrawer, PropertyManagement, TitleUnderwriter, CreditAuditor, DisclosureDesk, JuniorProcessor, JuniorUnderwriter, LegalAuditor, LoanOfficerAssistant, Purchaser, QCCompliance, Secondary, PestInspection, Subservicer, ExternalSecondary, ExternalPostCloser, LoanPurchasePayee, AppraisalManagementCompany, Referral, Notary, TaxServicer, SupervisoryAppraiser, Attorney, PropertyInspector, CPATaxPreparer, LockDesk, MortgageServiceOrganization, Verifications, TaxCollector and TaxTranscripts."}}}}
```

## The Contacts object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Contacts":{"type":"object","properties":{"email":{"type":"string","description":"Email address.","nullable":true},"homePhone":{"type":"string","description":"Home phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"workPhone":{"type":"string","description":"Work phone number.","nullable":true}},"additionalProperties":false,"description":"How to reach a borrower."}}}}
```

## The CreateESignPackageDraftRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreateESignPackageDraftRequest":{"required":["vaultDocumentIds"],"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the package is for.","format":"uuid"},"name":{"type":"string","description":"The package's name; defaults to the loan number.","nullable":true},"vaultDocumentIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids of the loan's documents to include. May be combined with PDFs uploaded with the request."},"borrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids of the borrowers and co-borrowers on the loan who must sign.","nullable":true},"contactIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids of the loan contacts who must sign.","nullable":true}},"additionalProperties":false,"description":"Send at least one signer in borrowerIds or contactIds. loanApplicationId is ignored: the route supplies it."}}}}
```

## The CreateLiabilityResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreateLiabilityResponse":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the liability.","format":"uuid"},"createdTimestamp":{"type":"string","description":"When the liability was created, ISO 8601 in UTC.","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the liability was last changed, ISO 8601 in UTC.","format":"date-time"},"figures":{"$ref":"#/components/schemas/LoanFigures"},"routedTo":{"type":"string","description":"Where the write was kept: Henge or the LOS (for a locked loan). Set only by agent tools; otherwise absent.","nullable":true}},"additionalProperties":false},"LoanFigures":{"type":"object","properties":{"frontEndDti":{"type":"number","description":"Qualifying front-end (housing expense) ratio, `sQualTopR`.","format":"double","nullable":true},"backEndDti":{"type":"number","description":"Qualifying back-end (total debt) ratio, `sQualBottomR`.","format":"double","nullable":true},"ltv":{"type":"number","description":"Base loan-to-value ratio, `sLtvR`.","format":"double","nullable":true},"cltv":{"type":"number","description":"Base combined loan-to-value ratio, `sCltvR`.","format":"double","nullable":true},"totalIncome":{"type":"number","description":"Total qualifying monthly income, `sLTotI`.","format":"double","nullable":true},"totalPayment":{"type":"number","description":"Total proposed monthly payment, `sMonthlyPmt`.","format":"double","nullable":true},"cashToClose":{"type":"number","description":"Cash to close, `sTransNetCash`.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's numbers as the LOS holds them after a change: both DTI ratios, LTV, CLTV, total income, total payment and cash to close. Each is read back from the LOS, never calculated here; null when the LOS returned nothing for it."}}}}
```

## The CreateLoanAppNoteRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreateLoanAppNoteRequest":{"required":["body"],"type":"object","properties":{"subjectType":{"$ref":"#/components/schemas/LoanAppNoteSubjectType"},"subjectId":{"type":"string","description":"The subject's id. For a loan-level note this is the loan id, and may be left out. Required when subjectType is AiCall.","format":"uuid","nullable":true},"body":{"type":"string","description":"Plain text."}},"additionalProperties":false,"description":"`subjectType`: Defaults to LoanApplication. Document is refused; AiCall needs subjectId."},"LoanAppNoteSubjectType":{"enum":["LoanApplication","AiCall","Document"],"type":"string","description":"What a note is attached to. Each new place notes appear adds a value here (conditions and tasks next) plus a check that the subject belongs to the loan; nothing else changes."}}}}
```

## The CreateLoanApplicationTaskRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreateLoanApplicationTaskRequest":{"required":["item","name","type"],"type":"object","properties":{"conditionTaskId":{"type":"string","description":"Optional. The condition on this loan application that the new task belongs to.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Required for a Transaction History task (item code TransactionHistory), ignored otherwise:\r\nthe asset account on this loan application whose activity is requested.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Required for a Transaction History task, ignored otherwise: the first day of the requested\r\nperiod. On or before requestedEndDate.","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Required for a Transaction History task, ignored otherwise: the last day of the requested\r\nperiod. Not in the future.","format":"date","nullable":true},"name":{"type":"string","description":"Display name of the task."},"description":{"type":"string","description":"Description of the task, shown to whoever it is assigned to.","nullable":true},"item":{"$ref":"#/components/schemas/ItemRequest"},"type":{"$ref":"#/components/schemas/TaskTypeRequest"},"creditReportType":{"$ref":"#/components/schemas/CreditReportTypeRequest"}},"additionalProperties":false,"description":"A task to add to a loan application: a document request, a user task or a question. For a Transaction History item also send assetAccountId, requestedStartDate and requestedEndDate."},"ItemRequest":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the item.","format":"uuid"},"name":{"type":"string","description":"Display name of the item.","nullable":true}},"additionalProperties":false,"description":"A reference to an item a task is about, by id."},"TaskTypeRequest":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the task type, from the task types lookup.","format":"uuid"},"name":{"type":"string","description":"The task type's name.","nullable":true}},"additionalProperties":false,"description":"The type (task set) a task belongs to, chosen from the task types lookup."},"CreditReportTypeRequest":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the credit report type, from the credit report types lookup.","format":"uuid"},"name":{"type":"string","description":"The credit report type's name.","nullable":true}},"additionalProperties":false,"description":"A credit report type (such as soft pull or hard pull), as listed by the credit report types lookup."}}}}
```

## The CreateUserReportRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreateUserReportRequest":{"required":["description","title","urgency"],"type":"object","properties":{"title":{"maxLength":256,"minLength":1,"type":"string","description":"Short summary of the problem, up to 256 characters."},"description":{"maxLength":20000,"minLength":1,"type":"string","description":"Full description of the problem, up to 20,000 characters."},"category":{"maxLength":128,"type":"string","description":"Optional category label for the report, up to 128 characters.","nullable":true},"pageUrl":{"maxLength":2048,"type":"string","description":"Address of the page the problem happened on, up to 2,048 characters.","nullable":true},"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan the report is about, when there is one.","format":"uuid","nullable":true},"postHogSessionId":{"maxLength":128,"type":"string","description":"Identifier of the reporter's session recording, when there is one.","nullable":true},"sessionReplayUrl":{"maxLength":2048,"type":"string","description":"Absolute https URL of the session recording; anything else is refused with a 400.","nullable":true},"kind":{"maxLength":32,"type":"string","description":"Technical or Process (case-insensitive); missing means Technical, anything else is a 400.","nullable":true},"urgency":{"type":"integer","description":"Required, 1 to 4 (`UserReportUrgency`); missing or any other value is a 400.","format":"int32"},"loanNumbers":{"type":"array","items":{"type":"string"},"description":"The loans the reporter typed, not checked against the database. Up to 10, each 1 to 32 characters of\r\nletters, digits, dash and space; trimmed, blanks dropped, duplicates removed.","nullable":true}},"additionalProperties":false,"description":"kind defaults to Technical when left out."}}}}
```

## The CreateUserReportResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreateUserReportResponse":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the report.","format":"uuid"},"kind":{"type":"string","description":"Technical or Process (UserReportKind).","nullable":true},"issueNumber":{"type":"integer","description":"Number of the tracking issue created for a Technical report; null for a Process report.","format":"int32","nullable":true},"issueUrl":{"type":"string","description":"Link to the tracking issue created for a Technical report; null for a Process report.","nullable":true},"reporter":{"$ref":"#/components/schemas/UserReportReporter"},"attachments":{"type":"array","items":{"$ref":"#/components/schemas/UserReportAttachmentSummary"},"description":"The files attached to the report.","nullable":true}},"additionalProperties":false},"UserReportReporter":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the reporter: the user, or the partner's company when no user acted.","format":"uuid"},"name":{"type":"string","description":"Reporter's name.","nullable":true},"email":{"type":"string","description":"Reporter's email address.","nullable":true},"kind":{"type":"string","description":"Who filed the report: Staff, Borrower, Anonymous or Partner.","nullable":true},"source":{"type":"string","description":"Where the report was filed from (`UserReportSources`); becomes a `source:` label on a Technical report's issue. Null adds none. Never stored or returned.","nullable":true}},"additionalProperties":false,"description":"The person or integration that filed a report."},"UserReportAttachmentSummary":{"type":"object","properties":{"name":{"type":"string","description":"File name of the attachment.","nullable":true},"contentType":{"type":"string","description":"MIME type of the attachment, for example image/png.","nullable":true},"size":{"type":"integer","description":"Attachment size in bytes.","format":"int64"}},"additionalProperties":false,"description":"An attachment as the create response lists it: name, type and size, with no download URL."}}}}
```

## The CreateWebhookSubscriptionRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreateWebhookSubscriptionRequest":{"required":["eventType","objectType"],"type":"object","properties":{"objectType":{"$ref":"#/components/schemas/ObjectTypeRequest"},"eventType":{"$ref":"#/components/schemas/EventTypeRequest"}},"additionalProperties":false,"description":"Request payload to create a new webhook subscription linking an object type and an event type."},"ObjectTypeRequest":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the object type (e.g., LoanApp, LoanAppTask, LoanAppVault) as returned by GET /types/webhook-object-event-types.","format":"uuid"}},"additionalProperties":false,"description":"Selects a webhook object type by id."},"EventTypeRequest":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the event type (e.g., Created, Deleted, Changed) as returned by GET /types/webhook-object-event-types.","format":"uuid"}},"additionalProperties":false,"description":"Selects a webhook event type by id."}}}}
```

## The CreditCard object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditCard":{"type":"object","properties":{"cardNumber":{"type":"integer","description":"The card number, 12 to 19 digits, with no spaces or dashes.","format":"int64"},"cvv":{"type":"string","description":"The card security code, 3 or 4 digits.","nullable":true},"expiration":{"type":"string","description":"The card expiration month, formatted YYYY-MM.","nullable":true},"year":{"type":"integer","description":"Not used: send the expiration month and year together in expiration, formatted YYYY-MM.","format":"int32"}},"additionalProperties":false,"description":"The payment card charged for a hard-pull credit report. Sent for the order only and never returned. For a HardPull, cardNumber, cvv and expiration are required."}}}}
```

## The CreditCredential object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditCredential":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the saved credential; send it as creditCredentialId to use it.","format":"uuid"},"owner":{"type":"string","description":"Who owns the credential: company or user.","nullable":true},"companyId":{"type":"string","description":"The owning company (a user credential: the user's company).","format":"uuid"},"ownerUserId":{"type":"string","description":"The owning user; null for a company credential.","format":"uuid","nullable":true},"nickname":{"type":"string","description":"The name the credential is listed under; unique for one owner.","nullable":true},"agencyId":{"type":"string","description":"Id (GUID) of the credit reporting agency the credential is for.","format":"uuid","nullable":true},"agencyName":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"agencyDuCode":{"type":"string","description":"The agency's DU credit provider code.","nullable":true},"usernameHint":{"type":"string","description":"The last 3 characters of the hard-pull username; never more.","nullable":true},"hasSoftPullLogin":{"type":"boolean","description":"True when a soft-pull login is saved as well as the hard-pull login. The logins themselves are never returned."},"accountIdHint":{"type":"string","description":"The last 3 characters of the agency account id; empty when none is saved.","nullable":true},"isDefault":{"type":"boolean","description":"True when this is its owner's default credential, used when a request names none."},"canOrder":{"type":"boolean","description":"True when the credential's agency can take a new report order, so the credential can be used to order a new credit report."}},"additionalProperties":false,"description":"A saved credit credential: a credit reporting agency plus its login, kept by a company or by one of its users. The login is write-only: a response carries the last 3 characters of the hard-pull username and whether a soft-pull login is saved, never a password or the full username."}}}}
```

## The CreditFileOutcome object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditFileOutcome":{"type":"object","properties":{"borrowerName":{"type":"string","description":"Name of the borrower the credit file was pulled for.","nullable":true},"bureau":{"type":"string","description":"The credit bureau the file was requested from: Equifax, Experian or TransUnion.","nullable":true},"resultStatus":{"type":"string","description":"The MISMO CreditFileResultStatusType: FileReturned, NoFileReturnedCreditFreeze, ...","nullable":true},"message":{"type":"string","description":"The vendor's own text for this file, when it sent one.","nullable":true}},"additionalProperties":false}}}}
```

## The CreditPublicRecord object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditPublicRecord":{"type":"object","properties":{"has":{"type":"boolean","description":"True when the borrower has this kind of public record."},"fileMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"fileYear":{"type":"integer","description":"Year the record was filed, four digits; null when not known.","format":"int32","nullable":true},"status":{"type":"string","description":"NotSatisfied, Discharged or Dismissed. Required when has is true.","nullable":true},"satisfiedMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"satisfiedYear":{"type":"integer","description":"Year the record was satisfied, four digits; null when it has not been or is not known.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One public record: whether the borrower has one, when it was filed, its status and when it was satisfied."}}}}
```

## The CreditPublicRecords object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditPublicRecords":{"type":"object","properties":{"foreclosure":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter7":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter13":{"$ref":"#/components/schemas/CreditPublicRecord"}},"additionalProperties":false,"description":"Foreclosure/NOD, Chapter 7 and Chapter 13 history."},"CreditPublicRecord":{"type":"object","properties":{"has":{"type":"boolean","description":"True when the borrower has this kind of public record."},"fileMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"fileYear":{"type":"integer","description":"Year the record was filed, four digits; null when not known.","format":"int32","nullable":true},"status":{"type":"string","description":"NotSatisfied, Discharged or Dismissed. Required when has is true.","nullable":true},"satisfiedMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"satisfiedYear":{"type":"integer","description":"Year the record was satisfied, four digits; null when it has not been or is not known.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One public record: whether the borrower has one, when it was filed, its status and when it was satisfied."}}}}
```

## The CreditReportAddress object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportAddress":{"type":"object","properties":{"street":{"type":"string","description":"Street address, including unit number.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"Two-letter state code.","nullable":true},"zipCode":{"type":"string","description":"ZIP code, five digits or ZIP+4.","nullable":true}},"additionalProperties":false,"description":"A postal address. All four fields are required for a borrower's currentAddress and for a HardPull's billing address; previousAddresses are not checked."}}}}
```

## The CreditReportBorrower object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportBorrower":{"required":["birthDate","currentAddress","firstName","lastName","ssn"],"type":"object","properties":{"firstName":{"type":"string","description":"Borrower's legal first name, as on their ID. Required when ordering a credit report."},"lastName":{"type":"string","description":"Borrower's legal last name, as on their ID. Required when ordering a credit report."},"middleName":{"type":"string","description":"Borrower's middle name or initial; optional.","nullable":true},"suffixName":{"type":"string","description":"Name suffix such as Jr or III; optional.","nullable":true},"birthDate":{"type":"string","description":"Borrower's date of birth. Required when ordering a credit report."},"currentAddress":{"$ref":"#/components/schemas/CreditReportAddress"},"previousAddresses":{"type":"array","items":{"$ref":"#/components/schemas/CreditReportAddress"},"description":"Prior addresses of the borrower, when the report needs them; optional.","nullable":true},"creditScores":{"type":"array","items":{"$ref":"#/components/schemas/CreditReportCreditScore"},"description":"Bureau credit scores for the borrower, as returned by a credit report. Not used on an order request.","nullable":true},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/CreditReportLiability"},"description":"Liabilities read from the credit report for the borrower. Not used on an order request.","nullable":true},"ssn":{"type":"string","description":"Borrower's Social Security number, nine digits (dashes are accepted and removed). Required when ordering a credit report; never returned in a response."},"coBorrower":{"allOf":[{"$ref":"#/components/schemas/CreditReportBorrower"}],"description":"The co-borrower, nested here for a joint report. Takes the same fields as the borrower."}},"additionalProperties":false,"description":"A borrower on a credit report order: name, birth date, Social Security number and current address, with a co-borrower nested for a joint report. In a returned report it also carries the scores and liabilities. The same fields are required on its coBorrower when one is sent."},"CreditReportAddress":{"type":"object","properties":{"street":{"type":"string","description":"Street address, including unit number.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"Two-letter state code.","nullable":true},"zipCode":{"type":"string","description":"ZIP code, five digits or ZIP+4.","nullable":true}},"additionalProperties":false,"description":"A postal address. All four fields are required for a borrower's currentAddress and for a HardPull's billing address; previousAddresses are not checked."},"CreditReportCreditScore":{"type":"object","properties":{"source":{"$ref":"#/components/schemas/CreditScoreSource"},"score":{"type":"string","description":"The credit score as a number in text, for example 742.","nullable":true}},"additionalProperties":false},"CreditScoreSource":{"enum":["Equifax","Experian","TransUnion"],"type":"string","description":"The credit bureau a score came from: Equifax, Experian or TransUnion."},"CreditReportLiability":{"type":"object","properties":{"name":{"type":"string","description":"Name of the account or creditor as the credit report lists it.","nullable":true},"amount":{"type":"number","description":"Outstanding balance, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Monthly payment, in dollars.","format":"double"},"isExpense":{"type":"boolean","description":"True when the account is counted as a recurring expense rather than a debt to be paid off."},"accountNumber":{"type":"string","description":"The account number as the credit report prints it (typically masked).","nullable":true},"accountHolderName":{"type":"string","description":"Name of the account holder as the credit report lists it.","nullable":true},"creditorName":{"type":"string","description":"Name of the creditor that holds the account.","nullable":true},"isJointDesignator":{"type":"boolean","description":"The report marks the account with a joint ECOA designator (joint contractual liability or joint participating). Not part of the order request."}},"additionalProperties":false}}}}
```

## The CreditReportCreditScore object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportCreditScore":{"type":"object","properties":{"source":{"$ref":"#/components/schemas/CreditScoreSource"},"score":{"type":"string","description":"The credit score as a number in text, for example 742.","nullable":true}},"additionalProperties":false},"CreditScoreSource":{"enum":["Equifax","Experian","TransUnion"],"type":"string","description":"The credit bureau a score came from: Equifax, Experian or TransUnion."}}}}
```

## The CreditReportImportResult object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportImportResult":{"type":"object","properties":{"status":{"type":"string","description":"Imported, ImportedWithWarnings or Failed.","nullable":true},"issues":{"type":"array","items":{"type":"string"},"description":"Problems and warnings from the import, in plain English; Social Security numbers appear as the last four digits only.","nullable":true},"importedLiabilityCount":{"type":"integer","description":"Number of liabilities imported from the report.","format":"int32"},"matchedBorrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids (GUIDs) of the loan's borrowers the report was matched to.","nullable":true},"creditReportNumber":{"type":"string","description":"The agency's number of the report that was imported.","nullable":true},"tiesNotCarried":{"type":"array","items":{"type":"string"},"description":"Imported mortgages and HELOCs that replaced a liability tied to a property but could not take over its link because more than one row fit; the loan officer ties them again by hand. Each entry names the creditor and type.","nullable":true},"tiedLiabilities":{"type":"array","items":{"$ref":"#/components/schemas/CreditReportLiabilityTie"},"description":"Imported mortgages and HELOCs that the import linked to a property already on the loan. Filled only when property linking on import is enabled.","nullable":true},"suggestedLiabilities":{"type":"array","items":{"$ref":"#/components/schemas/CreditReportPropertySuggestion"},"description":"Imported mortgages and HELOCs left untied, each with a property proposed for it. A suggestion is advice only: nothing stored changes for it. Filled only when property linking on import is enabled.","nullable":true},"untiedLiabilities":{"type":"array","items":{"$ref":"#/components/schemas/CreditReportUntiedLiability"},"description":"Imported mortgages and HELOCs with neither a link nor a suggestion, with the reason. Filled only when property linking on import is enabled.","nullable":true},"figures":{"$ref":"#/components/schemas/LoanFigures"}},"additionalProperties":false,"description":"What importing a credit report's liabilities into a loan did. Issues are written for the loan officer in plain English, with Social Security numbers shown as the last four digits only."},"CreditReportLiabilityTie":{"type":"object","properties":{"liabilityId":{"type":"string","description":"Id (GUID) of the imported liability.","format":"uuid"},"liability":{"type":"string","description":"The liability in words: creditor and type, for example Big Bank (Mortgage).","nullable":true},"propertyTieId":{"type":"string","description":"What the liability stores as its property link: the Loan Origination System id of the property, or its address before the loan is in the Loan Origination System.","nullable":true},"property":{"type":"string","description":"The property the liability was tied to, as a label.","nullable":true},"source":{"type":"string","description":"Why this property was chosen: Carried (a previous import's link was carried over to the row that replaced it) or OnlyProperty (the loan has exactly one candidate property).","nullable":true}},"additionalProperties":false,"description":"An imported mortgage or HELOC that the import tied to a property on the loan."},"CreditReportPropertySuggestion":{"type":"object","properties":{"liabilityId":{"type":"string","description":"Identifier (GUID) of the imported liability the suggestion is for.","format":"uuid"},"liability":{"type":"string","description":"Description of the liability, as imported from the credit report.","nullable":true},"kind":{"type":"string","description":"Kind of liability: a mortgage or a home equity line.","nullable":true},"propertyKey":{"type":"string","description":"Key shared by the liabilities that resolve to the same property.","nullable":true},"existingPropertyTieId":{"type":"string","description":"tieId of an owned property already on the loan that matches the address; null when the address is new.","nullable":true},"street":{"type":"string","description":"Street address of the proposed property.","nullable":true},"city":{"type":"string","description":"City of the proposed property.","nullable":true},"state":{"type":"string","description":"Two-letter state of the proposed property.","nullable":true},"zipCode":{"type":"string","description":"ZIP code of the proposed property.","nullable":true}},"additionalProperties":false,"description":"The property proposed for an imported mortgage or home equity line that was left untied to a property. It names an owned property already on the loan when the address matches one; otherwise it gives the address to add or complete. Liabilities that share a propertyKey resolve to one property."},"CreditReportUntiedLiability":{"type":"object","properties":{"liabilityId":{"type":"string","description":"Id (GUID) of the imported liability.","format":"uuid"},"liability":{"type":"string","description":"The liability in words: creditor and type.","nullable":true},"reason":{"type":"string","description":"Why no property could be tied or suggested, in plain English.","nullable":true}},"additionalProperties":false,"description":"An imported mortgage or HELOC with neither a property link nor a suggestion, and why."},"LoanFigures":{"type":"object","properties":{"frontEndDti":{"type":"number","description":"Qualifying front-end (housing expense) ratio, `sQualTopR`.","format":"double","nullable":true},"backEndDti":{"type":"number","description":"Qualifying back-end (total debt) ratio, `sQualBottomR`.","format":"double","nullable":true},"ltv":{"type":"number","description":"Base loan-to-value ratio, `sLtvR`.","format":"double","nullable":true},"cltv":{"type":"number","description":"Base combined loan-to-value ratio, `sCltvR`.","format":"double","nullable":true},"totalIncome":{"type":"number","description":"Total qualifying monthly income, `sLTotI`.","format":"double","nullable":true},"totalPayment":{"type":"number","description":"Total proposed monthly payment, `sMonthlyPmt`.","format":"double","nullable":true},"cashToClose":{"type":"number","description":"Cash to close, `sTransNetCash`.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's numbers as the LOS holds them after a change: both DTI ratios, LTV, CLTV, total income, total payment and cash to close. Each is read back from the LOS, never calculated here; null when the LOS returned nothing for it."}}}}
```

## The CreditReportLiability object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportLiability":{"type":"object","properties":{"name":{"type":"string","description":"Name of the account or creditor as the credit report lists it.","nullable":true},"amount":{"type":"number","description":"Outstanding balance, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Monthly payment, in dollars.","format":"double"},"isExpense":{"type":"boolean","description":"True when the account is counted as a recurring expense rather than a debt to be paid off."},"accountNumber":{"type":"string","description":"The account number as the credit report prints it (typically masked).","nullable":true},"accountHolderName":{"type":"string","description":"Name of the account holder as the credit report lists it.","nullable":true},"creditorName":{"type":"string","description":"Name of the creditor that holds the account.","nullable":true},"isJointDesignator":{"type":"boolean","description":"The report marks the account with a joint ECOA designator (joint contractual liability or joint participating). Not part of the order request."}},"additionalProperties":false}}}}
```

## The CreditReportLiabilityTie object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportLiabilityTie":{"type":"object","properties":{"liabilityId":{"type":"string","description":"Id (GUID) of the imported liability.","format":"uuid"},"liability":{"type":"string","description":"The liability in words: creditor and type, for example Big Bank (Mortgage).","nullable":true},"propertyTieId":{"type":"string","description":"What the liability stores as its property link: the Loan Origination System id of the property, or its address before the loan is in the Loan Origination System.","nullable":true},"property":{"type":"string","description":"The property the liability was tied to, as a label.","nullable":true},"source":{"type":"string","description":"Why this property was chosen: Carried (a previous import's link was carried over to the row that replaced it) or OnlyProperty (the loan has exactly one candidate property).","nullable":true}},"additionalProperties":false,"description":"An imported mortgage or HELOC that the import tied to a property on the loan."}}}}
```

## The CreditReportOrderBorrowerScores object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportOrderBorrowerScores":{"type":"object","properties":{"firstName":{"type":"string","description":"Borrower's first name as on the report.","nullable":true},"lastName":{"type":"string","description":"Borrower's last name as on the report.","nullable":true},"creditScores":{"type":"array","items":{"$ref":"#/components/schemas/CreditReportCreditScore"},"description":"The scores the bureaus returned for this borrower, one per bureau; a bureau that returned none is absent.","nullable":true}},"additionalProperties":false,"description":"A borrower covered by an ordered report, with the bureau scores returned."},"CreditReportCreditScore":{"type":"object","properties":{"source":{"$ref":"#/components/schemas/CreditScoreSource"},"score":{"type":"string","description":"The credit score as a number in text, for example 742.","nullable":true}},"additionalProperties":false},"CreditScoreSource":{"enum":["Equifax","Experian","TransUnion"],"type":"string","description":"The credit bureau a score came from: Equifax, Experian or TransUnion."}}}}
```

## The CreditReportOrderRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportOrderRequest":{"required":["borrowers","creditTermsAccepted","reportType"],"type":"object","properties":{"reportType":{"$ref":"#/components/schemas/CreditReportType"},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/CreditReportBorrower"},"description":"Exactly one borrower: first, last name, SSN, birth date and current address, with a co-borrower\r\nnested as coBorrower for a joint report."},"billingInformation":{"$ref":"#/components/schemas/BillingInformation"},"creditTermsAccepted":{"type":"boolean","description":"Must be true: the borrower has authorized this credit pull and accepted its fee."},"creditCredentialId":{"type":"string","description":"Optional. The saved credit credential to order on, from `GET loan-applications/{id}/credit-credentials`:\r\nthe loan company's, or the acting user's own. Its agency must be able to order (`canOrder`). Left out, the\r\ncompany's default credential that can order is used, else the Henge account. The credential's saved login\r\nis used; it is never part of a request.","format":"uuid","nullable":true},"creditVendorAccountId":{"type":"string","description":"The earlier name of `creditCredentialId`, kept as its alias. When both are sent the credential id wins.","format":"uuid","nullable":true}},"additionalProperties":false,"description":"A credit report order, carrying what the web app's credit report form collects. Ordering is\r\nbilled, so nothing is defaulted: a missing detail refuses the order with a 400. For a HardPull also send billingInformation with the card and its billing address; for a SoftPull it is ignored."},"CreditReportType":{"enum":["SoftPull","HardPull"],"type":"string","description":"How a credit report is pulled: SoftPull (no inquiry on the borrower's file) or HardPull (leaves an inquiry and is billed with the card in billingInformation)."},"CreditReportBorrower":{"required":["birthDate","currentAddress","firstName","lastName","ssn"],"type":"object","properties":{"firstName":{"type":"string","description":"Borrower's legal first name, as on their ID. Required when ordering a credit report."},"lastName":{"type":"string","description":"Borrower's legal last name, as on their ID. Required when ordering a credit report."},"middleName":{"type":"string","description":"Borrower's middle name or initial; optional.","nullable":true},"suffixName":{"type":"string","description":"Name suffix such as Jr or III; optional.","nullable":true},"birthDate":{"type":"string","description":"Borrower's date of birth. Required when ordering a credit report."},"currentAddress":{"$ref":"#/components/schemas/CreditReportAddress"},"previousAddresses":{"type":"array","items":{"$ref":"#/components/schemas/CreditReportAddress"},"description":"Prior addresses of the borrower, when the report needs them; optional.","nullable":true},"creditScores":{"type":"array","items":{"$ref":"#/components/schemas/CreditReportCreditScore"},"description":"Bureau credit scores for the borrower, as returned by a credit report. Not used on an order request.","nullable":true},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/CreditReportLiability"},"description":"Liabilities read from the credit report for the borrower. Not used on an order request.","nullable":true},"ssn":{"type":"string","description":"Borrower's Social Security number, nine digits (dashes are accepted and removed). Required when ordering a credit report; never returned in a response."},"coBorrower":{"allOf":[{"$ref":"#/components/schemas/CreditReportBorrower"}],"description":"The co-borrower, nested here for a joint report. Takes the same fields as the borrower."}},"additionalProperties":false,"description":"A borrower on a credit report order: name, birth date, Social Security number and current address, with a co-borrower nested for a joint report. In a returned report it also carries the scores and liabilities. The same fields are required on its coBorrower when one is sent."},"CreditReportAddress":{"type":"object","properties":{"street":{"type":"string","description":"Street address, including unit number.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"Two-letter state code.","nullable":true},"zipCode":{"type":"string","description":"ZIP code, five digits or ZIP+4.","nullable":true}},"additionalProperties":false,"description":"A postal address. All four fields are required for a borrower's currentAddress and for a HardPull's billing address; previousAddresses are not checked."},"CreditReportCreditScore":{"type":"object","properties":{"source":{"$ref":"#/components/schemas/CreditScoreSource"},"score":{"type":"string","description":"The credit score as a number in text, for example 742.","nullable":true}},"additionalProperties":false},"CreditScoreSource":{"enum":["Equifax","Experian","TransUnion"],"type":"string","description":"The credit bureau a score came from: Equifax, Experian or TransUnion."},"CreditReportLiability":{"type":"object","properties":{"name":{"type":"string","description":"Name of the account or creditor as the credit report lists it.","nullable":true},"amount":{"type":"number","description":"Outstanding balance, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Monthly payment, in dollars.","format":"double"},"isExpense":{"type":"boolean","description":"True when the account is counted as a recurring expense rather than a debt to be paid off."},"accountNumber":{"type":"string","description":"The account number as the credit report prints it (typically masked).","nullable":true},"accountHolderName":{"type":"string","description":"Name of the account holder as the credit report lists it.","nullable":true},"creditorName":{"type":"string","description":"Name of the creditor that holds the account.","nullable":true},"isJointDesignator":{"type":"boolean","description":"The report marks the account with a joint ECOA designator (joint contractual liability or joint participating). Not part of the order request."}},"additionalProperties":false},"BillingInformation":{"type":"object","properties":{"address":{"$ref":"#/components/schemas/CreditReportAddress"},"creditCard":{"$ref":"#/components/schemas/CreditCard"}},"additionalProperties":false,"description":"The card a hard-pull credit report is charged to and that card's billing address. Required for a HardPull and ignored for a SoftPull."},"CreditCard":{"type":"object","properties":{"cardNumber":{"type":"integer","description":"The card number, 12 to 19 digits, with no spaces or dashes.","format":"int64"},"cvv":{"type":"string","description":"The card security code, 3 or 4 digits.","nullable":true},"expiration":{"type":"string","description":"The card expiration month, formatted YYYY-MM.","nullable":true},"year":{"type":"integer","description":"Not used: send the expiration month and year together in expiration, formatted YYYY-MM.","format":"int32"}},"additionalProperties":false,"description":"The payment card charged for a hard-pull credit report. Sent for the order only and never returned. For a HardPull, cardNumber, cvv and expiration are required."}}}}
```

## The CreditReportOrderResult object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportOrderResult":{"required":["alreadyOrdered","hasBankruptcy","hasCollections"],"type":"object","properties":{"creditReportNumber":{"type":"string","description":"The agency's number (file number) of the report that was ordered; use it to import liabilities or reissue later.","nullable":true},"creditReportType":{"type":"string","description":"SoftPull or HardPull, as the agency reports it.","nullable":true},"status":{"$ref":"#/components/schemas/Status"},"errors":{"type":"array","items":{"$ref":"#/components/schemas/Error"},"description":"Problems the agency reported for the order; empty when it succeeded.","nullable":true},"hasBankruptcy":{"type":"boolean","description":"True when the report shows a bankruptcy."},"hasCollections":{"type":"boolean","description":"True when the report shows collection accounts."},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/CreditReportOrderBorrowerScores"},"description":"The borrowers covered by the report and the bureau scores returned for each.","nullable":true},"fileOutcomes":{"type":"array","items":{"$ref":"#/components/schemas/CreditFileOutcome"},"description":"Per-borrower, per-bureau results of the pull: whether each bureau returned a file. Empty when the agency reported none.","nullable":true},"failureReason":{"type":"string","description":"Set when the vendor issued a report number but no bureau returned a file: the task was put back to\r\nRejected with this reason, and nothing was imported. Null on a successful order.","nullable":true},"alreadyOrdered":{"type":"boolean","description":"True when the task already had an order the vendor accepted: nothing was ordered or billed by this call, and\r\n`creditReportNumber` is that order's."},"message":{"type":"string","description":"Why an existing order was returned and how to bring its report in, or a warning that this order may duplicate one the\r\nvendor received without answering. Null otherwise.","nullable":true}},"additionalProperties":false,"description":"What a credit report order returns: the report number, status, bureau scores and any errors. The borrowers' Social Security numbers and the report itself are never part of it; the report is filed on the task and in the loan's documents, and its liabilities are imported onto the loan."},"Status":{"type":"object","properties":{"statusCode":{"type":"string","description":"The agency's status code for the order.","nullable":true},"statusDescription":{"type":"string","description":"The agency's text for the status code.","nullable":true}},"additionalProperties":false,"description":"The outcome of a credit report order as the credit agency reports it."},"Error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of problem the agency reported.","nullable":true},"errorMessage":{"type":"string","description":"The agency's message describing the problem.","nullable":true}},"additionalProperties":false},"CreditReportOrderBorrowerScores":{"type":"object","properties":{"firstName":{"type":"string","description":"Borrower's first name as on the report.","nullable":true},"lastName":{"type":"string","description":"Borrower's last name as on the report.","nullable":true},"creditScores":{"type":"array","items":{"$ref":"#/components/schemas/CreditReportCreditScore"},"description":"The scores the bureaus returned for this borrower, one per bureau; a bureau that returned none is absent.","nullable":true}},"additionalProperties":false,"description":"A borrower covered by an ordered report, with the bureau scores returned."},"CreditReportCreditScore":{"type":"object","properties":{"source":{"$ref":"#/components/schemas/CreditScoreSource"},"score":{"type":"string","description":"The credit score as a number in text, for example 742.","nullable":true}},"additionalProperties":false},"CreditScoreSource":{"enum":["Equifax","Experian","TransUnion"],"type":"string","description":"The credit bureau a score came from: Equifax, Experian or TransUnion."},"CreditFileOutcome":{"type":"object","properties":{"borrowerName":{"type":"string","description":"Name of the borrower the credit file was pulled for.","nullable":true},"bureau":{"type":"string","description":"The credit bureau the file was requested from: Equifax, Experian or TransUnion.","nullable":true},"resultStatus":{"type":"string","description":"The MISMO CreditFileResultStatusType: FileReturned, NoFileReturnedCreditFreeze, ...","nullable":true},"message":{"type":"string","description":"The vendor's own text for this file, when it sent one.","nullable":true}},"additionalProperties":false}}}}
```

## The CreditReportPropertySuggestion object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportPropertySuggestion":{"type":"object","properties":{"liabilityId":{"type":"string","description":"Identifier (GUID) of the imported liability the suggestion is for.","format":"uuid"},"liability":{"type":"string","description":"Description of the liability, as imported from the credit report.","nullable":true},"kind":{"type":"string","description":"Kind of liability: a mortgage or a home equity line.","nullable":true},"propertyKey":{"type":"string","description":"Key shared by the liabilities that resolve to the same property.","nullable":true},"existingPropertyTieId":{"type":"string","description":"tieId of an owned property already on the loan that matches the address; null when the address is new.","nullable":true},"street":{"type":"string","description":"Street address of the proposed property.","nullable":true},"city":{"type":"string","description":"City of the proposed property.","nullable":true},"state":{"type":"string","description":"Two-letter state of the proposed property.","nullable":true},"zipCode":{"type":"string","description":"ZIP code of the proposed property.","nullable":true}},"additionalProperties":false,"description":"The property proposed for an imported mortgage or home equity line that was left untied to a property. It names an owned property already on the loan when the address matches one; otherwise it gives the address to add or complete. Liabilities that share a propertyKey resolve to one property."}}}}
```

## The CreditReportType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportType":{"enum":["SoftPull","HardPull"],"type":"string","description":"How a credit report is pulled: SoftPull (no inquiry on the borrower's file) or HardPull (leaves an inquiry and is billed with the card in billingInformation)."}}}}
```

## The CreditReportTypeRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportTypeRequest":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the credit report type, from the credit report types lookup.","format":"uuid"},"name":{"type":"string","description":"The credit report type's name.","nullable":true}},"additionalProperties":false,"description":"A credit report type (such as soft pull or hard pull), as listed by the credit report types lookup."}}}}
```

## The CreditReportTypeResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the credit report type.","format":"uuid"},"name":{"type":"string","description":"The credit report type's name.","nullable":true}},"additionalProperties":false,"description":"A credit report type (such as soft pull or hard pull), as listed by the credit report types lookup."}}}}
```

## The CreditReportUntiedLiability object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportUntiedLiability":{"type":"object","properties":{"liabilityId":{"type":"string","description":"Id (GUID) of the imported liability.","format":"uuid"},"liability":{"type":"string","description":"The liability in words: creditor and type.","nullable":true},"reason":{"type":"string","description":"Why no property could be tied or suggested, in plain English.","nullable":true}},"additionalProperties":false,"description":"An imported mortgage or HELOC with neither a property link nor a suggestion, and why."}}}}
```

## The CreditReportingAgencyResult object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditReportingAgencyResult":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the agency; send it as agencyId on a reissue.","format":"uuid"},"name":{"type":"string","description":"The agency's name.","nullable":true},"duCode":{"type":"string","description":"The agency's Fannie Mae DU credit provider code, for example 001.","nullable":true},"freddieCode":{"type":"string","description":"The agency's Freddie Mac LPA code; null while not available.","nullable":true},"platform":{"type":"string","description":"The agency's credit platform; null while not available.","nullable":true},"canOrder":{"type":"boolean","description":"True when the agency can take a new report order, so a saved credential for it can order a new report. False means the agency is for reissue and automated underwriting only."},"isDuOnly":{"type":"boolean","description":"True for an agency that can only be named for a new report ordered through a DU submission (such as Fannie Mae's test credit agency); it is refused for a reissue or a credit report order."}},"additionalProperties":false,"description":"A credit reporting agency a broker can reissue a credit report from, as the agencies list returns it."}}}}
```

## The CreditScoreSource object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CreditScoreSource":{"enum":["Equifax","Experian","TransUnion"],"type":"string","description":"The credit bureau a score came from: Equifax, Experian or TransUnion."}}}}
```

## The CustomField object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"CustomField":{"type":"object","properties":{"id":{"type":"string","description":"Id of the custom field.","nullable":true},"code":{"type":"string","description":"Short code of the custom field.","nullable":true},"externalId":{"type":"string","description":"Id of the field in the LOS.","nullable":true},"name":{"type":"string","description":"Display name of the custom field.","nullable":true},"value":{"type":"string","description":"The value stored in the field, as text.","nullable":true}},"additionalProperties":false,"description":"A custom field configured on the loan, with its value."}}}}
```

## The Declaration object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Declaration":{"type":"object","properties":{"hasIntentToOccupy":{"type":"boolean","description":"Borrower intends to occupy the subject property as their primary residence."},"isHomeownerPastThreeYears":{"type":"boolean","description":"Borrower has owned a home in the past three years."},"priorPropertyUsage":{"$ref":"#/components/schemas/FieldType"},"priorPropertyTitle":{"$ref":"#/components/schemas/FieldType"},"isBuyerSellerSpecialRelationship":{"type":"boolean","description":"Borrower has a family or business relationship with the seller of the subject property."},"hasUndisclosedBorrowedFunds":{"type":"boolean","description":"Borrower is borrowing money for this transaction (for example the down payment) that is not disclosed elsewhere in the application."},"undisclosedBorrowedFundsAmount":{"type":"number","description":"Amount of that borrowed money, in dollars.","format":"double","nullable":true},"hasUndisclosedCreditApplication":{"type":"boolean","description":"Borrower has applied, or will apply before closing, for other credit that is not disclosed."},"hasUndisclosedMortgageApplication":{"type":"boolean","description":"Borrower has applied for another mortgage on a property that is not disclosed."},"hasCleanEnergyLien":{"type":"boolean","description":"The subject property is subject to a lien that takes priority, such as a clean energy lien."},"isUndisclosedComakerOfNote":{"type":"boolean","description":"Borrower is a co-maker or endorser on a note whose debt is not disclosed."},"hasOutstandingJudgements":{"type":"boolean","description":"Borrower has outstanding judgments against them."},"isDelinquent":{"type":"boolean","description":"Borrower is delinquent or in default on a federal debt or loan."},"isPartyToLawsuit":{"type":"boolean","description":"Borrower is a party to a lawsuit."},"hasDeedInLieu":{"type":"boolean","description":"Borrower has transferred title to a property in lieu of foreclosure in the past seven years."},"hasShortSale":{"type":"boolean","description":"Borrower has completed a pre-foreclosure sale or short sale in the past seven years."},"hasForeclosure":{"type":"boolean","description":"Borrower has had a property foreclosed upon in the past seven years."},"hasBankruptcy":{"type":"boolean","description":"Borrower has declared bankruptcy in the past seven years."},"bankruptcyTypes":{"type":"array","items":{"type":"string"},"description":"The type (chapter) of each bankruptcy declared, when hasBankruptcy is true.","nullable":true},"hasHousingCounselingConsent":{"type":"boolean","description":"Housing counseling consent recorded for the borrower."}},"additionalProperties":false,"description":"A borrower's answers to the declarations on the loan application (Section 5 of the URLA)."},"FieldType":{"type":"object","properties":{"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A value chosen from a list in the LOS, with its code and display name. Also the base of records that carry an LOS id."}}}}
```

## The DeclarationPatch object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DeclarationPatch":{"type":"object","properties":{"hasIntentToOccupy":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isHomeownerPastThreeYears":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"priorPropertyUsage":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"priorPropertyTitle":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isBuyerSellerSpecialRelationship":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasUndisclosedBorrowedFunds":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"undisclosedBorrowedFundsAmount":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"hasUndisclosedCreditApplication":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasUndisclosedMortgageApplication":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasCleanEnergyLien":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isUndisclosedComakerOfNote":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasOutstandingJudgements":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isDelinquent":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isPartyToLawsuit":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasDeedInLieu":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasShortSale":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasForeclosure":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasBankruptcy":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"bankruptcyTypes":{"type":"array","items":{"type":"string"},"description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasHousingCounselingConsent":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."}},"additionalProperties":false,"description":"The borrower's declarations, answer by answer. An answer left out is kept as stored; one sent as null is cleared."}}}}
```

## The Demographics object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Demographics":{"type":"object","properties":{"ethnicity":{"$ref":"#/components/schemas/Ethnicity"},"gender":{"$ref":"#/components/schemas/FieldType"},"races":{"type":"array","items":{"$ref":"#/components/schemas/Race"},"description":"The races the borrower reported.","nullable":true},"hasRefusedToDiscloseRace":{"type":"boolean","description":"True when the borrower chose not to provide their race."},"hasRefusedToDiscloseGender":{"type":"boolean","description":"True when the borrower chose not to provide their gender."},"hasRefusedToDiscloseEthnicity":{"type":"boolean","description":"True when the borrower chose not to provide their ethnicity."},"applicationTaken":{"$ref":"#/components/schemas/FieldType"},"isRaceBasedOnVisualOrSurname":{"type":"boolean","description":"True when the race was recorded from visual observation or surname rather than provided by the borrower."},"isGenderBasedOnVisualOrSurname":{"type":"boolean","description":"True when the gender was recorded from visual observation or surname rather than provided by the borrower."},"isEthnicityBasedOnVisualOrSurname":{"type":"boolean","description":"True when the ethnicity was recorded from visual observation or surname rather than provided by the borrower."}},"additionalProperties":false,"description":"The government monitoring (HMDA) information a borrower provided or declined to provide: ethnicity, race and gender."},"Ethnicity":{"type":"object","properties":{"origins":{"type":"array","items":{"$ref":"#/components/schemas/EthnicityOrigin"},"description":"The origins the borrower selected, for example Mexican or Puerto Rican.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"The borrower's ethnicity (HMDA), with the origins they selected."},"EthnicityOrigin":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text origin the borrower gave when the origin is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One ethnicity origin the borrower selected."},"FieldType":{"type":"object","properties":{"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A value chosen from a list in the LOS, with its code and display name. Also the base of records that carry an LOS id."},"Race":{"type":"object","properties":{"raceDesignations":{"type":"array","items":{"$ref":"#/components/schemas/RaceDesignation"},"description":"The designations the borrower selected within this race, for example Asian Indian or Chinese.","nullable":true},"additionalDescription":{"type":"string","description":"Free-text detail the borrower gave about this race.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A race the borrower reported (HMDA), with the designations they selected."},"RaceDesignation":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text designation the borrower gave when the designation is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One race designation the borrower selected."}}}}
```

## The DisclosureTracker object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DisclosureTracker":{"type":"object","properties":{"loanEstimates":{"type":"array","items":{"$ref":"#/components/schemas/LoanEstimateDates"},"description":"Every Loan Estimate issued on the loan, in the order the Loan Origination System lists them.","nullable":true},"closingDisclosures":{"type":"array","items":{"$ref":"#/components/schemas/ClosingDisclosureDates"},"description":"Every Closing Disclosure issued on the loan, in the order the Loan Origination System lists them.","nullable":true}},"additionalProperties":false,"description":"The loan's disclosure history: each Loan Estimate and Closing Disclosure issued, with delivery, receipt and signature dates."},"LoanEstimateDates":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the Loan Estimate disclosure record.","nullable":true},"createdDate":{"type":"string","description":"Date the Loan Estimate was created (yyyy-MM-dd).","format":"date","nullable":true},"issuedDate":{"type":"string","description":"Date the Loan Estimate was issued (yyyy-MM-dd).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the Loan Estimate was delivered, for example email or mail.","nullable":true},"receivedDate":{"type":"string","description":"Date the borrower received it (yyyy-MM-dd).","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date the borrower signed it (yyyy-MM-dd).","format":"date","nullable":true},"isLastDisclosed":{"type":"boolean","description":"The LOS read returns no last-disclosed flag, so this is never filled; see MismoNotCarried.","nullable":true},"disclosedApr":{"type":"number","description":"APR disclosed on the Loan Estimate, in percent (for example 6.912).","format":"double","nullable":true},"archiveId":{"type":"string","description":"The archive the LOS issued this disclosure from; null when the LOS sends blank or an all-zero GUID (a hand-entered record).","nullable":true},"archiveDate":{"type":"string","description":"The archive's date (the LOS's `ArchiveUsed`); a date only, no time of day.","format":"date","nullable":true},"transactionId":{"type":"string","description":"The id the disclosure was generated under, also on the e-sign package it was sent in; null when blank.","nullable":true},"isInitial":{"type":"boolean","description":"True when this is the initial Loan Estimate.","nullable":true},"isManual":{"type":"boolean","description":"True when the record was entered by hand rather than generated.","nullable":true},"isValid":{"type":"boolean","description":"The LOS's `Valid`. A record marked not valid stays in the list.","nullable":true},"losApr":{"type":"number","description":"The LOS's own APR (`LqbApr`).","format":"double","nullable":true},"docVendorApr":{"type":"number","description":"APR calculated by the document provider, in percent.","format":"double","nullable":true},"consumerDates":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerDisclosureDates"},"description":"Per-borrower disclosure dates.","nullable":true}},"additionalProperties":false},"ConsumerDisclosureDates":{"type":"object","properties":{"consumerId":{"type":"string","description":"The borrower's id in the Loan Origination System.","nullable":true},"consumerName":{"type":"string","description":"The borrower's name.","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to this borrower (ISO 8601 date).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered to this borrower, as the Loan Origination System records it.","nullable":true},"receivedDate":{"type":"string","description":"Date this borrower received the disclosure (ISO 8601 date); null when not recorded.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date this borrower signed the disclosure (ISO 8601 date); null when not signed.","format":"date","nullable":true}},"additionalProperties":false},"ClosingDisclosureDates":{"type":"object","properties":{"id":{"type":"string","description":"The disclosure's id in the Loan Origination System.","nullable":true},"createdDate":{"type":"string","description":"Date the disclosure was created (ISO 8601 date, no time of day).","format":"date","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to the borrowers (ISO 8601 date); null when not yet issued.","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered, as the Loan Origination System records it (for example email or mail).","nullable":true},"receivedDate":{"type":"string","description":"Date the borrowers received the disclosure (ISO 8601 date); null when not recorded. When several borrowers are listed, each borrower's own date is in consumerDates.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date the disclosure was signed (ISO 8601 date); null when not signed.","format":"date","nullable":true},"isLastDisclosed":{"type":"boolean","description":"Never filled: the Loan Origination System returns no last-disclosed flag, so this is always null.","nullable":true},"eCloseStatus":{"type":"string","description":"The e-close status the Loan Origination System records for the disclosure; null when none.","nullable":true},"disclosedApr":{"type":"number","description":"The annual percentage rate disclosed, in percent (for example 6.912); null when not recorded.","format":"double","nullable":true},"archiveId":{"type":"string","description":"The id of the archive the Loan Origination System issued this disclosure from; null when it sent none (for example a hand-entered record).","nullable":true},"archiveDate":{"type":"string","description":"The archive's date (ISO 8601 date, no time of day).","format":"date","nullable":true},"transactionId":{"type":"string","description":"The id the disclosure was generated under, also on the e-sign package it was sent in; null when blank.","nullable":true},"isInitial":{"type":"boolean","description":"True when this is the initial Closing Disclosure.","nullable":true},"isManual":{"type":"boolean","description":"True when the record was entered by hand rather than generated by the Loan Origination System.","nullable":true},"isValid":{"type":"boolean","description":"False when the record is marked not valid in the Loan Origination System. Such a record stays in the list.","nullable":true},"losApr":{"type":"number","description":"The Loan Origination System's own annual percentage rate, in percent.","format":"double","nullable":true},"docVendorApr":{"type":"number","description":"The APR as the document vendor calculated it, in percent; null when not recorded.","format":"double","nullable":true},"isFinal":{"type":"boolean","description":"True when this is the final Closing Disclosure.","nullable":true},"isPreview":{"type":"boolean","description":"True when the disclosure was only a preview and was not issued to the borrowers.","nullable":true},"isPostClosing":{"type":"boolean","description":"True when the disclosure was issued after closing.","nullable":true},"consumerDates":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerDisclosureDates"},"description":"Issued, received and signed dates for each borrower on the disclosure.","nullable":true}},"additionalProperties":false}}}}
```

## The Document object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Document":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"externalId":{"type":"string","description":"The document's id in the Loan Origination System; empty until it has been sent there.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once an uploaded file has been converted to PDF and can be opened; false while conversion is still running."},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition the document is attached to; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"blobName":{"type":"string","description":"The name the file is stored under. An internal storage key: download through the document routes rather than using it.","nullable":true},"createdTimestamp":{"type":"string","description":"When the document was created, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the document was last changed, in UTC (ISO 8601).","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user who last changed the document; null when the change was automatic or unknown.","format":"uuid","nullable":true},"documentTypeId":{"type":"string","description":"Id of the platform's broad document category (such as a vault or task document). Not the loan document type, which is loanDocumentTypeId.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan's vault, false when it hangs off a\r\ntask, a condition or an asset account. Callers use it to decide what a user may do with the\r\ndocument: only a vault document can be deleted. Any document can be given a document type."},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document is filed under (from the loan document types list); null when it has none.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the loan document type; null when the document has none.","nullable":true},"loanDocumentTypeExternalId":{"type":"string","description":"The loan document type's id in the Loan Origination System.","nullable":true},"loanDocumentTypeFolderName":{"type":"string","description":"Name of the folder the loan document type belongs to; null when the document has no type.","nullable":true},"description":{"type":"string","description":"A free-text description of the document; may be empty.","nullable":true},"isDeleted":{"type":"boolean","description":"True when the document has been deleted. Deleted documents are normally left out of lists."},"isInternal":{"type":"boolean","description":"True for a staff-only document that is hidden from borrowers and partner applications."},"isObsolete":{"type":"boolean","description":"The LOS no longer considers this document active. It stays visible so users can still see\r\nit, but it is not current and is never pushed back to the LOS."},"isProtected":{"type":"boolean","description":"The LOS holds the document as Protected, locked there against edits and deletion. Set and\r\ncleared by Admin and Processor through the document status endpoints, or in the LOS itself."},"losStatus":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"title":{"type":"string","description":"The title shown for the document; may be empty, in which case the file name is shown.","nullable":true},"splitFromDocumentId":{"type":"string","description":"On a part of a split combined PDF: the id of the original document it was cut from. Null on every other document.","format":"uuid","nullable":true},"splitStartPage":{"type":"integer","description":"On a part of a split combined PDF: the first page of the original it holds. Null on every other document.","format":"int32","nullable":true},"splitEndPage":{"type":"integer","description":"On a part of a split combined PDF: the last page of the original it holds. Null on every other document.","format":"int32","nullable":true},"isUnsorted":{"type":"boolean","description":"True while the document was bulk-uploaded to the loan with no task and no type and nobody has\r\nsorted it. It is held out of the LOS until it is put on a task or given a type."},"hasNoFile":{"type":"boolean","description":"True for a staff-only entry the Loan Origination System holds with no file here (a non-PDF assigned to a condition): there is nothing to open, download or move."},"intakeStatus":{"type":"string","description":"NeedsPassword or Duplicate for a bulk-uploaded document that is held for that reason; null\r\notherwise. See DocumentIntakeStatuses.","nullable":true},"duplicateOfDocumentId":{"type":"string","description":"The existing document this one repeats, when IntakeStatus is Duplicate.","format":"uuid","nullable":true},"indexStatus":{"type":"string","description":"Whether the document's text is searchable: Indexed, Pending, Failed or NotSubmitted. Set by\r\nthe document lists for staff callers; null when it was not looked up, or the lookup failed.","nullable":true},"analysis":{"$ref":"#/components/schemas/DocumentAnalysisSummary"},"internalNotes":{"type":"string","description":"Staff-only internal notes on the document, verbatim from the Loan Origination System. Returned only to callers who may see internal notes; null for everyone else.","nullable":true}},"additionalProperties":false,"description":"A document on a loan: the file, the task or condition it is attached to, its type and its status."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."},"DocumentAnalysisSummary":{"type":"object","properties":{"status":{"type":"string","description":"Pending, Completed, Failed or Skipped. Failed reads \"Not analysed\".","nullable":true},"verdict":{"type":"string","description":"Whether the document is what was asked for: Matches, Mismatch, Unreadable or Unknown.","nullable":true},"reasonCode":{"type":"string","description":"On a Mismatch, why: WrongDocument, WrongPeriod, WrongAccount, WrongBorrower, MissingPages or Expired. On an Unreadable verdict from the page quality check, UnreadablePages.","nullable":true},"reason":{"type":"string","description":"One line in plain language explaining the verdict, written for the borrower.","nullable":true},"suggestedRejectionReasonCode":{"type":"string","description":"The seeded TaskRejectionReason code the panel pre-selects for a Mismatch.","nullable":true},"suggestedTaskId":{"type":"string","description":"Id of the task or condition the document appears to belong to; null when none matched.","format":"uuid","nullable":true},"suggestedTaskName":{"type":"string","description":"Name of the suggested task or condition.","nullable":true},"isOnSuggestedTask":{"type":"boolean","description":"False when the document sits on a different task than the best match: shown for confirmation."},"matchConfidence":{"type":"number","description":"How sure the analysis is of the suggested task, from 0 to 1.","format":"double","nullable":true},"suggestedLoanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document looks like; null when not determined.","format":"uuid","nullable":true},"suggestedLoanDocumentTypeName":{"type":"string","description":"Name of the suggested loan document type.","nullable":true},"suggestedTitle":{"type":"string","description":"The title the analysis suggests for the document, built from what it read (for example the account and statement period).","nullable":true},"titleAppliedAutomatically":{"type":"boolean","description":"True when the document's current title was set by the analysis rather than by a person."},"previousTitle":{"type":"string","description":"The title the document had before the analysis renamed it; null when it was not renamed.","nullable":true},"autoNameDisabled":{"type":"boolean","description":"True when a person undid an automatic name; the analysis never renames this document again."},"filedByType":{"type":"boolean","description":"Filed under the suggested LOS type and folder by the analysis, for a person to confirm or correct."},"duplicateOfDocumentId":{"type":"string","description":"Id of an earlier document on the loan with the same content, when this one repeats it; otherwise null.","format":"uuid","nullable":true},"supersedesDocumentId":{"type":"string","description":"Id of an earlier document this one replaces (a newer version of the same document); otherwise null.","format":"uuid","nullable":true},"supersededByDocumentId":{"type":"string","description":"Id of a newer document that replaces this one; otherwise null.","format":"uuid","nullable":true},"outcome":{"type":"string","description":"What a person did with the suggestion: Confirmed, Corrected, Rejected or Ignored; null while no one has acted.","nullable":true},"outcomeAt":{"type":"string","description":"When the person acted on the suggestion, in UTC (ISO 8601); null while no one has.","format":"date-time","nullable":true},"coveredPeriods":{"type":"array","items":{"type":"string"},"description":"For a request that needs a span of statements, the months the uploaded documents cover, each formatted yyyy-MM.","nullable":true},"missingPeriods":{"type":"array","items":{"type":"string"},"description":"The requested months no uploaded document covers yet, each formatted yyyy-MM.","nullable":true},"monthsMissing":{"type":"integer","description":"How many months of the request are still missing.","format":"int32","nullable":true},"analyzedAt":{"type":"string","description":"When the analysis was done, in UTC (ISO 8601).","format":"date-time"},"splitSuggestion":{"$ref":"#/components/schemas/SplitSuggestion"},"pageIssues":{"type":"array","items":{"$ref":"#/components/schemas/PageIssue"},"description":"The pages the quality check flagged, which the Unreadable-page request names.","nullable":true}},"additionalProperties":false,"description":"What the document review shows for a document: the suggested task, type and title, the verdict and whether the title was applied automatically. The evidence and page text the analysis read are not included."},"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."},"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."}}}}
```

## The DocumentAnalysisSummary object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DocumentAnalysisSummary":{"type":"object","properties":{"status":{"type":"string","description":"Pending, Completed, Failed or Skipped. Failed reads \"Not analysed\".","nullable":true},"verdict":{"type":"string","description":"Whether the document is what was asked for: Matches, Mismatch, Unreadable or Unknown.","nullable":true},"reasonCode":{"type":"string","description":"On a Mismatch, why: WrongDocument, WrongPeriod, WrongAccount, WrongBorrower, MissingPages or Expired. On an Unreadable verdict from the page quality check, UnreadablePages.","nullable":true},"reason":{"type":"string","description":"One line in plain language explaining the verdict, written for the borrower.","nullable":true},"suggestedRejectionReasonCode":{"type":"string","description":"The seeded TaskRejectionReason code the panel pre-selects for a Mismatch.","nullable":true},"suggestedTaskId":{"type":"string","description":"Id of the task or condition the document appears to belong to; null when none matched.","format":"uuid","nullable":true},"suggestedTaskName":{"type":"string","description":"Name of the suggested task or condition.","nullable":true},"isOnSuggestedTask":{"type":"boolean","description":"False when the document sits on a different task than the best match: shown for confirmation."},"matchConfidence":{"type":"number","description":"How sure the analysis is of the suggested task, from 0 to 1.","format":"double","nullable":true},"suggestedLoanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document looks like; null when not determined.","format":"uuid","nullable":true},"suggestedLoanDocumentTypeName":{"type":"string","description":"Name of the suggested loan document type.","nullable":true},"suggestedTitle":{"type":"string","description":"The title the analysis suggests for the document, built from what it read (for example the account and statement period).","nullable":true},"titleAppliedAutomatically":{"type":"boolean","description":"True when the document's current title was set by the analysis rather than by a person."},"previousTitle":{"type":"string","description":"The title the document had before the analysis renamed it; null when it was not renamed.","nullable":true},"autoNameDisabled":{"type":"boolean","description":"True when a person undid an automatic name; the analysis never renames this document again."},"filedByType":{"type":"boolean","description":"Filed under the suggested LOS type and folder by the analysis, for a person to confirm or correct."},"duplicateOfDocumentId":{"type":"string","description":"Id of an earlier document on the loan with the same content, when this one repeats it; otherwise null.","format":"uuid","nullable":true},"supersedesDocumentId":{"type":"string","description":"Id of an earlier document this one replaces (a newer version of the same document); otherwise null.","format":"uuid","nullable":true},"supersededByDocumentId":{"type":"string","description":"Id of a newer document that replaces this one; otherwise null.","format":"uuid","nullable":true},"outcome":{"type":"string","description":"What a person did with the suggestion: Confirmed, Corrected, Rejected or Ignored; null while no one has acted.","nullable":true},"outcomeAt":{"type":"string","description":"When the person acted on the suggestion, in UTC (ISO 8601); null while no one has.","format":"date-time","nullable":true},"coveredPeriods":{"type":"array","items":{"type":"string"},"description":"For a request that needs a span of statements, the months the uploaded documents cover, each formatted yyyy-MM.","nullable":true},"missingPeriods":{"type":"array","items":{"type":"string"},"description":"The requested months no uploaded document covers yet, each formatted yyyy-MM.","nullable":true},"monthsMissing":{"type":"integer","description":"How many months of the request are still missing.","format":"int32","nullable":true},"analyzedAt":{"type":"string","description":"When the analysis was done, in UTC (ISO 8601).","format":"date-time"},"splitSuggestion":{"$ref":"#/components/schemas/SplitSuggestion"},"pageIssues":{"type":"array","items":{"$ref":"#/components/schemas/PageIssue"},"description":"The pages the quality check flagged, which the Unreadable-page request names.","nullable":true}},"additionalProperties":false,"description":"What the document review shows for a document: the suggested task, type and title, the verdict and whether the title was applied automatically. The evidence and page text the analysis read are not included."},"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."},"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."}}}}
```

## The DocumentTimePeriod object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DocumentTimePeriod":{"type":"object","properties":{"id":{"type":"string","description":"Id of the period (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the period; send it as documentTimePeriodCode.","nullable":true},"name":{"type":"string","description":"Display name of the period.","nullable":true}},"additionalProperties":false,"description":"The period a statement covers when documents are requested for an asset account, for example Monthly."}}}}
```

## The DownPaymentSource object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DownPaymentSource":{"type":"object","properties":{"amount":{"type":"number","description":"Amount from this source, in dollars.","format":"double"},"source":{"type":"string","description":"The kind of source, for example savings, gift or sale of a property.","nullable":true},"explanation":{"type":"string","description":"Free-text explanation of the source, when one is needed.","nullable":true}},"additionalProperties":false}}}}
```

## The DuFindings object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DuFindings":{"type":"object","properties":{"recommendation":{"type":"string","description":"The recommendation as the report states it, e.g. \"Approve/Ineligible\".","nullable":true},"casefileId":{"type":"string","description":"The DU casefile id the findings report is for.","nullable":true},"submissionNumber":{"type":"integer","description":"The number of the submission within the casefile, as the report states it; null when the report states none.","format":"int32","nullable":true},"submissionDate":{"type":"string","description":"The submission's date and time as the report prints them, e.g. \"11/18/2026 - 09:10AM\" (no time zone is stated).","nullable":true},"duVersion":{"type":"string","description":"The DU version that produced the findings, as the report prints it.","nullable":true},"creditReportId":{"type":"string","description":"The id of the credit report the findings were run on, as the report prints it; null when it prints none.","nullable":true},"lenderLoanNumber":{"type":"string","description":"The lender's loan number on the casefile, as the report prints it.","nullable":true},"borrowers":{"type":"string","description":"The borrowers' names on one line, as the report prints them.","nullable":true},"figures":{"$ref":"#/components/schemas/DuFindingsFigures"},"closeByDate":{"type":"string","description":"The date DU says the casefile must close by (the date in its credit-expiry message), as the report prints it; null when it states none.","nullable":true},"sections":{"type":"array","items":{"$ref":"#/components/schemas/DuFindingsSection"},"description":"DU's sections in DU's order; a section the parser does not know is kept under the name DU gave it.","nullable":true},"closingNote":{"type":"string","description":"What the report says after its recommendation, its own field; null when there is none.","nullable":true},"parserVersion":{"type":"integer","description":"The version of the parser that read the report; 0 for findings stored before it was kept. Findings of an older version are read again from the filed report.","format":"int32"}},"additionalProperties":false,"description":"A DU Underwriting Findings report read as data: the recommendation, the casefile's facts, the summary figures DU reports and its messages by section. Every value is DU's own text (a figure keeps its formatting, for example 75.00%), so nothing is reinterpreted; a figure DU does not state is null."},"DuFindingsFigures":{"type":"object","properties":{"ltv":{"type":"string","description":"Loan-to-value ratio as DU prints it, for example 75.00%; null when DU states none.","nullable":true},"cltv":{"type":"string","description":"Combined loan-to-value ratio as DU prints it; null when DU states none.","nullable":true},"hcltv":{"type":"string","description":"Home equity combined loan-to-value ratio (HCLTV) as DU prints it; null when DU states none.","nullable":true},"debtToIncomeRatio":{"type":"string","description":"Total debt-to-income ratio as DU prints it, for example 41.50%; null when DU states none.","nullable":true},"housingExpenseRatio":{"type":"string","description":"Housing expense (front-end) ratio as DU prints it; null when DU states none.","nullable":true},"totalLoanAmount":{"type":"string","description":"Total loan amount as DU prints it, in dollars; null when DU states none.","nullable":true},"noteRate":{"type":"string","description":"Note rate as DU prints it, in percent; null when DU states none.","nullable":true},"loanType":{"type":"string","description":"Loan type as DU prints it, for example Conventional; null when DU states none.","nullable":true},"term":{"type":"string","description":"Loan term as DU prints it; null when DU states none.","nullable":true},"amortization":{"type":"string","description":"Amortization type as DU prints it, for example Fixed Rate; null when DU states none.","nullable":true},"purpose":{"type":"string","description":"Loan purpose as DU prints it, for example Purchase or Refinance; null when DU states none.","nullable":true},"refinancePurpose":{"type":"string","description":"Refinance purpose as DU prints it; null when the loan is not a refinance or DU states none.","nullable":true},"appraisedValue":{"type":"string","description":"Appraised (or estimated) property value as DU prints it, in dollars; null when DU states none.","nullable":true},"occupancy":{"type":"string","description":"Occupancy as DU prints it, for example Principal Residence; null when DU states none.","nullable":true},"propertyType":{"type":"string","description":"Property type as DU prints it; null when DU states none.","nullable":true},"units":{"type":"string","description":"Number of units as DU prints it; null when DU states none.","nullable":true},"propertyAddress":{"type":"string","description":"Subject property address as DU prints it, on one line; null when DU states none.","nullable":true}},"additionalProperties":false,"description":"The summary figures a findings report states about the loan."},"DuFindingsSection":{"type":"object","properties":{"name":{"type":"string","description":"The heading as DU prints it, with the spaces around a slash dropped (\"Risk/Eligibility\").","nullable":true},"messages":{"type":"array","items":{"$ref":"#/components/schemas/DuFindingsMessage"},"description":"The messages DU printed in this section, in the order of the report.","nullable":true}},"additionalProperties":false},"DuFindingsMessage":{"type":"object","properties":{"number":{"type":"integer","description":"DU's number of the message in the report (the \"2.\" before its text); null for a bulleted one.","format":"int32","nullable":true},"messageId":{"type":"string","description":"DU's message id, the four digits after \"Msg\" (\"0027\"); null when the report prints none.","nullable":true},"text":{"type":"string","description":"The message's full text, unedited except that its \"Msg ####\" marker is its own field.","nullable":true},"table":{"$ref":"#/components/schemas/DuFindingsTable"}},"additionalProperties":false},"DuFindingsTable":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"string"},"description":"The column headings of the table, as DU prints them.","nullable":true},"rows":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The rows of the table; each row is a list of cell texts in column order.","nullable":true}},"additionalProperties":false,"description":"A table DU prints under a message: column headings and rows of text."}}}}
```

## The DuFindingsFigures object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DuFindingsFigures":{"type":"object","properties":{"ltv":{"type":"string","description":"Loan-to-value ratio as DU prints it, for example 75.00%; null when DU states none.","nullable":true},"cltv":{"type":"string","description":"Combined loan-to-value ratio as DU prints it; null when DU states none.","nullable":true},"hcltv":{"type":"string","description":"Home equity combined loan-to-value ratio (HCLTV) as DU prints it; null when DU states none.","nullable":true},"debtToIncomeRatio":{"type":"string","description":"Total debt-to-income ratio as DU prints it, for example 41.50%; null when DU states none.","nullable":true},"housingExpenseRatio":{"type":"string","description":"Housing expense (front-end) ratio as DU prints it; null when DU states none.","nullable":true},"totalLoanAmount":{"type":"string","description":"Total loan amount as DU prints it, in dollars; null when DU states none.","nullable":true},"noteRate":{"type":"string","description":"Note rate as DU prints it, in percent; null when DU states none.","nullable":true},"loanType":{"type":"string","description":"Loan type as DU prints it, for example Conventional; null when DU states none.","nullable":true},"term":{"type":"string","description":"Loan term as DU prints it; null when DU states none.","nullable":true},"amortization":{"type":"string","description":"Amortization type as DU prints it, for example Fixed Rate; null when DU states none.","nullable":true},"purpose":{"type":"string","description":"Loan purpose as DU prints it, for example Purchase or Refinance; null when DU states none.","nullable":true},"refinancePurpose":{"type":"string","description":"Refinance purpose as DU prints it; null when the loan is not a refinance or DU states none.","nullable":true},"appraisedValue":{"type":"string","description":"Appraised (or estimated) property value as DU prints it, in dollars; null when DU states none.","nullable":true},"occupancy":{"type":"string","description":"Occupancy as DU prints it, for example Principal Residence; null when DU states none.","nullable":true},"propertyType":{"type":"string","description":"Property type as DU prints it; null when DU states none.","nullable":true},"units":{"type":"string","description":"Number of units as DU prints it; null when DU states none.","nullable":true},"propertyAddress":{"type":"string","description":"Subject property address as DU prints it, on one line; null when DU states none.","nullable":true}},"additionalProperties":false,"description":"The summary figures a findings report states about the loan."}}}}
```

## The DuFindingsMessage object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DuFindingsMessage":{"type":"object","properties":{"number":{"type":"integer","description":"DU's number of the message in the report (the \"2.\" before its text); null for a bulleted one.","format":"int32","nullable":true},"messageId":{"type":"string","description":"DU's message id, the four digits after \"Msg\" (\"0027\"); null when the report prints none.","nullable":true},"text":{"type":"string","description":"The message's full text, unedited except that its \"Msg ####\" marker is its own field.","nullable":true},"table":{"$ref":"#/components/schemas/DuFindingsTable"}},"additionalProperties":false},"DuFindingsTable":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"string"},"description":"The column headings of the table, as DU prints them.","nullable":true},"rows":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The rows of the table; each row is a list of cell texts in column order.","nullable":true}},"additionalProperties":false,"description":"A table DU prints under a message: column headings and rows of text."}}}}
```

## The DuFindingsSection object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DuFindingsSection":{"type":"object","properties":{"name":{"type":"string","description":"The heading as DU prints it, with the spaces around a slash dropped (\"Risk/Eligibility\").","nullable":true},"messages":{"type":"array","items":{"$ref":"#/components/schemas/DuFindingsMessage"},"description":"The messages DU printed in this section, in the order of the report.","nullable":true}},"additionalProperties":false},"DuFindingsMessage":{"type":"object","properties":{"number":{"type":"integer","description":"DU's number of the message in the report (the \"2.\" before its text); null for a bulleted one.","format":"int32","nullable":true},"messageId":{"type":"string","description":"DU's message id, the four digits after \"Msg\" (\"0027\"); null when the report prints none.","nullable":true},"text":{"type":"string","description":"The message's full text, unedited except that its \"Msg ####\" marker is its own field.","nullable":true},"table":{"$ref":"#/components/schemas/DuFindingsTable"}},"additionalProperties":false},"DuFindingsTable":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"string"},"description":"The column headings of the table, as DU prints them.","nullable":true},"rows":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The rows of the table; each row is a list of cell texts in column order.","nullable":true}},"additionalProperties":false,"description":"A table DU prints under a message: column headings and rows of text."}}}}
```

## The DuFindingsTable object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DuFindingsTable":{"type":"object","properties":{"columns":{"type":"array","items":{"type":"string"},"description":"The column headings of the table, as DU prints them.","nullable":true},"rows":{"type":"array","items":{"type":"array","items":{"type":"string"}},"description":"The rows of the table; each row is a list of cell texts in column order.","nullable":true}},"additionalProperties":false,"description":"A table DU prints under a message: column headings and rows of text."}}}}
```

## The DuOrderPreview object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DuOrderPreview":{"type":"object","properties":{"agencyName":{"type":"string","description":"The agency DO orders from, and whose account is billed.","nullable":true},"agencyDuCode":{"type":"string","description":"The agency's DU code, e.g. \"200\" for Fannie Mae's Test Credit Agency.","nullable":true},"loginName":{"type":"string","description":"The login name the caller typed. Never a saved credential's login.","nullable":true},"savedCredential":{"type":"string","description":"The saved credential used (nickname and owner), when one is.","nullable":true},"borrowers":{"type":"array","items":{"type":"string"},"description":"Every borrower on the loan: the new report covers all of them.","nullable":true},"loanHasCreditReport":{"type":"boolean","description":"True when the loan already has a credit report, which the new one is different from."},"needsAgencyPassword":{"type":"boolean","description":"True when the confirming call must carry the agency password (a typed login)."}},"additionalProperties":false,"description":"What a DU submission that orders a new credit report would order and bill."}}}}
```

## The DuReissuePreview object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DuReissuePreview":{"type":"object","properties":{"agencyName":{"type":"string","description":"The agency; null when the LOS's saved agency account is used.","nullable":true},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the report that would be reissued.","nullable":true},"loginName":{"type":"string","description":"The login name the caller typed. Never a saved credential's login.","nullable":true},"savedCredential":{"type":"string","description":"The saved credential used (nickname and owner), when one is.","nullable":true},"borrowers":{"type":"array","items":{"type":"string"},"description":"Every borrower on the loan: the one joint report applies to all of them.","nullable":true},"needsAgencyPassword":{"type":"boolean","description":"True when the confirming call must carry the agency password (a typed login)."}},"additionalProperties":false,"description":"The existing credit report a DU submission would bring onto the loan first: the agency, reference number and login to use."}}}}
```

## The DuSubmissionPreview object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DuSubmissionPreview":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the submission would be made for.","format":"uuid"},"loanNumber":{"type":"string","description":"The loan's LOS number.","nullable":true},"casefileId":{"type":"string","description":"The casefile an earlier run left on the loan; null when this run opens a new casefile.","nullable":true},"orderingOption":{"type":"string","description":"What the submission would run: CreditAndUnderwriting, CreditOnly or UnderwritingOnly.","nullable":true},"submissionOption":{"type":"string","description":"The submission type: Preliminary, Interim or Final.","nullable":true},"creditOption":{"type":"string","description":"How credit would reach the casefile: Reissue, OrderNew or UsePrevious.","nullable":true},"creditProvider":{"type":"string","description":"With no reissue: the agency and saved credential the loan's report is brought into the casefile from.","nullable":true},"creditReissue":{"$ref":"#/components/schemas/DuReissuePreview"},"creditOrder":{"$ref":"#/components/schemas/DuOrderPreview"},"summary":{"type":"string","description":"The preview in words, for the person to read before they confirm.","nullable":true}},"additionalProperties":false,"description":"What a DU submission would do, shown before it is confirmed. It is built from the loan and the request alone: nothing is sent to the Loan Origination System, Fannie Mae or the credit agency to make it."},"DuReissuePreview":{"type":"object","properties":{"agencyName":{"type":"string","description":"The agency; null when the LOS's saved agency account is used.","nullable":true},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the report that would be reissued.","nullable":true},"loginName":{"type":"string","description":"The login name the caller typed. Never a saved credential's login.","nullable":true},"savedCredential":{"type":"string","description":"The saved credential used (nickname and owner), when one is.","nullable":true},"borrowers":{"type":"array","items":{"type":"string"},"description":"Every borrower on the loan: the one joint report applies to all of them.","nullable":true},"needsAgencyPassword":{"type":"boolean","description":"True when the confirming call must carry the agency password (a typed login)."}},"additionalProperties":false,"description":"The existing credit report a DU submission would bring onto the loan first: the agency, reference number and login to use."},"DuOrderPreview":{"type":"object","properties":{"agencyName":{"type":"string","description":"The agency DO orders from, and whose account is billed.","nullable":true},"agencyDuCode":{"type":"string","description":"The agency's DU code, e.g. \"200\" for Fannie Mae's Test Credit Agency.","nullable":true},"loginName":{"type":"string","description":"The login name the caller typed. Never a saved credential's login.","nullable":true},"savedCredential":{"type":"string","description":"The saved credential used (nickname and owner), when one is.","nullable":true},"borrowers":{"type":"array","items":{"type":"string"},"description":"Every borrower on the loan: the new report covers all of them.","nullable":true},"loanHasCreditReport":{"type":"boolean","description":"True when the loan already has a credit report, which the new one is different from."},"needsAgencyPassword":{"type":"boolean","description":"True when the confirming call must carry the agency password (a typed login)."}},"additionalProperties":false,"description":"What a DU submission that orders a new credit report would order and bill."}}}}
```

## The DuplicateDifference object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"DuplicateDifference":{"type":"object","properties":{"field":{"type":"string","description":"The name of the field on which the two liabilities differ.","nullable":true},"thisValue":{"type":"string","description":"The field's value on this liability, as text.","nullable":true},"otherValue":{"type":"string","description":"The field's value on the possible duplicate, as text.","nullable":true}},"additionalProperties":false,"description":"One field on which a duplicate differs from the row it is read with: the values of both rows, as text."}}}}
```

## The ESignPackage object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ESignPackage":{"required":["createdAt","createdBy","id","loanApplicationId","status"],"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the package.","format":"uuid"},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the package belongs to.","format":"uuid"},"name":{"type":"string","description":"The package's name; defaults to the loan number.","nullable":true},"status":{"$ref":"#/components/schemas/ESignPackageStatus"},"pandaDocDocumentId":{"type":"string","description":"The e-sign provider's own id for the package's document.","nullable":true},"editorUrl":{"type":"string","description":"A link to the e-sign provider's editor, where the sender places signature fields. Returned for a draft.","nullable":true},"documents":{"type":"array","items":{"$ref":"#/components/schemas/ESignPackageDocument"},"description":"The documents in the package.","nullable":true},"signers":{"type":"array","items":{"$ref":"#/components/schemas/ESignPackageSigner"},"description":"The people who must sign, with each one's status.","nullable":true},"events":{"type":"array","items":{"$ref":"#/components/schemas/ESignPackageEvent"},"description":"The status events applied to the package so far, oldest first.","nullable":true},"createdAt":{"type":"string","description":"When the package was created, in UTC (ISO 8601).","format":"date-time"},"createdBy":{"type":"string","description":"Id of the user the package was created for.","format":"uuid"},"sentAt":{"type":"string","description":"When the package was sent to the signers, in UTC (ISO 8601); null while it is a draft.","format":"date-time","nullable":true},"completedAt":{"type":"string","description":"When the last signer signed, in UTC (ISO 8601); null until the package completes.","format":"date-time","nullable":true},"signedDocumentId":{"type":"string","description":"The vault document the signed PDF was filed as, once the package completes.","format":"uuid","nullable":true}},"additionalProperties":false,"description":"A package of documents sent for e-signature on a loan: who must sign, where signing stands and what happened. It holds no credentials."},"ESignPackageStatus":{"enum":["Draft","Sent","Viewed","Completed","Declined","Voided"],"type":"string","description":"Where an e-sign package stands: Draft (created and being prepared; nothing has gone to a signer), Sent (sent to the signers), Viewed (a signer has opened it), Completed (every signer has signed), Declined (a signer declined) or Voided (withdrawn by the sender)."},"ESignPackageDocument":{"type":"object","properties":{"vaultDocumentId":{"type":"string","description":"Id of the loan document included in the package; null for a PDF uploaded with the request.","format":"uuid","nullable":true},"fileName":{"type":"string","description":"The document's file name.","nullable":true}},"additionalProperties":false,"description":"One document in a package: a vault document the sender picked or a PDF they uploaded."},"ESignPackageSigner":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/ESignSignerRole"},"borrowerId":{"type":"string","description":"Id of the borrower or co-borrower on the loan, when the signer is one.","format":"uuid","nullable":true},"contactId":{"type":"string","description":"Id of the loan contact, when the signer is a contact.","format":"uuid","nullable":true},"name":{"type":"string","description":"The signer's name.","nullable":true},"email":{"type":"string","description":"The email address the signing request is sent to.","nullable":true},"status":{"$ref":"#/components/schemas/ESignSignerStatus"},"signedAt":{"type":"string","description":"When the signer signed, in UTC (ISO 8601); null until they do.","format":"date-time","nullable":true}},"additionalProperties":false},"ESignSignerRole":{"enum":["Borrower","CoBorrower","Contact"],"type":"string","description":"A signer's relationship to the loan: Borrower, CoBorrower, or Contact (a person from the loan's contact list)."},"ESignSignerStatus":{"enum":["Pending","Signed"],"type":"string","description":"Whether a signer has signed: Pending or Signed."},"ESignPackageEvent":{"type":"object","properties":{"id":{"type":"string","description":"The provider's id for the event; a repeat of the same id is ignored.","nullable":true},"type":{"type":"string","description":"The provider's status or event name, for example document.sent or recipient_completed.","nullable":true},"occurredAt":{"type":"string","description":"When the event happened, in UTC (ISO 8601).","format":"date-time"},"signerEmail":{"type":"string","description":"The email of the signer the event is about; null for an event about the whole package.","nullable":true}},"additionalProperties":false,"description":"One status event received from the e-sign provider and applied to the package. The id makes a redelivery a no-op."}}}}
```

## The ESignPackageDocument object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ESignPackageDocument":{"type":"object","properties":{"vaultDocumentId":{"type":"string","description":"Id of the loan document included in the package; null for a PDF uploaded with the request.","format":"uuid","nullable":true},"fileName":{"type":"string","description":"The document's file name.","nullable":true}},"additionalProperties":false,"description":"One document in a package: a vault document the sender picked or a PDF they uploaded."}}}}
```

## The ESignPackageEvent object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ESignPackageEvent":{"type":"object","properties":{"id":{"type":"string","description":"The provider's id for the event; a repeat of the same id is ignored.","nullable":true},"type":{"type":"string","description":"The provider's status or event name, for example document.sent or recipient_completed.","nullable":true},"occurredAt":{"type":"string","description":"When the event happened, in UTC (ISO 8601).","format":"date-time"},"signerEmail":{"type":"string","description":"The email of the signer the event is about; null for an event about the whole package.","nullable":true}},"additionalProperties":false,"description":"One status event received from the e-sign provider and applied to the package. The id makes a redelivery a no-op."}}}}
```

## The ESignPackageSigner object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ESignPackageSigner":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/ESignSignerRole"},"borrowerId":{"type":"string","description":"Id of the borrower or co-borrower on the loan, when the signer is one.","format":"uuid","nullable":true},"contactId":{"type":"string","description":"Id of the loan contact, when the signer is a contact.","format":"uuid","nullable":true},"name":{"type":"string","description":"The signer's name.","nullable":true},"email":{"type":"string","description":"The email address the signing request is sent to.","nullable":true},"status":{"$ref":"#/components/schemas/ESignSignerStatus"},"signedAt":{"type":"string","description":"When the signer signed, in UTC (ISO 8601); null until they do.","format":"date-time","nullable":true}},"additionalProperties":false},"ESignSignerRole":{"enum":["Borrower","CoBorrower","Contact"],"type":"string","description":"A signer's relationship to the loan: Borrower, CoBorrower, or Contact (a person from the loan's contact list)."},"ESignSignerStatus":{"enum":["Pending","Signed"],"type":"string","description":"Whether a signer has signed: Pending or Signed."}}}}
```

## The ESignPackageStatus object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ESignPackageStatus":{"enum":["Draft","Sent","Viewed","Completed","Declined","Voided"],"type":"string","description":"Where an e-sign package stands: Draft (created and being prepared; nothing has gone to a signer), Sent (sent to the signers), Viewed (a signer has opened it), Completed (every signer has signed), Declined (a signer declined) or Voided (withdrawn by the sender)."}}}}
```

## The ESignSignerRole object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ESignSignerRole":{"enum":["Borrower","CoBorrower","Contact"],"type":"string","description":"A signer's relationship to the loan: Borrower, CoBorrower, or Contact (a person from the loan's contact list)."}}}}
```

## The ESignSignerStatus object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ESignSignerStatus":{"enum":["Pending","Signed"],"type":"string","description":"Whether a signer has signed: Pending or Signed."}}}}
```

## The EffectiveBranch object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EffectiveBranch":{"type":"object","properties":{"enabled":{"$ref":"#/components/schemas/EffectiveValue"},"milestones":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/EffectiveValue"},"description":"Every `NotificationMilestones` code, resolved. Populated for the \"status\"\r\ncategory only — no other category has loan-timeline stages — and empty elsewhere.","nullable":true},"items":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/EffectiveValue"},"description":"The resolved on or off value of each notification template, keyed by template key.","nullable":true}},"additionalProperties":false,"description":"One recipient branch's resolved view: the category-level toggle plus every template in the\r\ncategory whose `RecipientTypes` include this branch's\r\nrecipient type, keyed by `ItemKey`."},"EffectiveValue":{"type":"object","properties":{"enabled":{"type":"boolean","description":"True when the notification or category is on after applying every level of override."},"source":{"type":"string","description":"Which level supplied the value: \"borrowerPair\", \"loanApplication\", \"client\", \"user\", \"company\" or \"default\".","nullable":true},"reason":{"type":"string","description":"Which rule at that level supplied it, from `EffectiveValueReasons`. The UI uses it\r\nto explain an inherited value (\"on because the Closing milestone is on\").","nullable":true}},"additionalProperties":false,"description":"One resolved on/off value plus the level that supplied it and why."}}}}
```

## The EffectiveCategory object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EffectiveCategory":{"type":"object","properties":{"client":{"$ref":"#/components/schemas/EffectiveBranch"},"user":{"$ref":"#/components/schemas/EffectiveBranch"}},"additionalProperties":false,"description":"A category's resolved view per recipient branch. Both branches are populated for every entity\r\ntype: the `User` branch of a client or loanApplication is what the owning loan\r\nofficer wants in their own inbox for that client or loan (agent-native mail, and copies of\r\nborrower mail)."},"EffectiveBranch":{"type":"object","properties":{"enabled":{"$ref":"#/components/schemas/EffectiveValue"},"milestones":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/EffectiveValue"},"description":"Every `NotificationMilestones` code, resolved. Populated for the \"status\"\r\ncategory only — no other category has loan-timeline stages — and empty elsewhere.","nullable":true},"items":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/EffectiveValue"},"description":"The resolved on or off value of each notification template, keyed by template key.","nullable":true}},"additionalProperties":false,"description":"One recipient branch's resolved view: the category-level toggle plus every template in the\r\ncategory whose `RecipientTypes` include this branch's\r\nrecipient type, keyed by `ItemKey`."},"EffectiveValue":{"type":"object","properties":{"enabled":{"type":"boolean","description":"True when the notification or category is on after applying every level of override."},"source":{"type":"string","description":"Which level supplied the value: \"borrowerPair\", \"loanApplication\", \"client\", \"user\", \"company\" or \"default\".","nullable":true},"reason":{"type":"string","description":"Which rule at that level supplied it, from `EffectiveValueReasons`. The UI uses it\r\nto explain an inherited value (\"on because the Closing milestone is on\").","nullable":true}},"additionalProperties":false,"description":"One resolved on/off value plus the level that supplied it and why."}}}}
```

## The EffectiveNotificationPermissions object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EffectiveNotificationPermissions":{"type":"object","properties":{"canEdit":{"type":"boolean","description":"True when the caller owns the entity (loan officer / client owner / the user\r\n            themselves) or holds an org-wide role."}},"additionalProperties":false,"description":"The caller's rights over the entity whose settings these are."}}}}
```

## The EffectiveNotificationPolicy object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EffectiveNotificationPolicy":{"type":"object","properties":{"suppressClientEmails":{"type":"boolean","description":"Borrower mail is off company-wide.\r\n            \r\n\r\nThe UI should <b>hide</b> the borrower/client options rather than show them switched off:\r\nnothing a user does at their own level can turn them back on, so rendering them as\r\ntogglable would be a lie. The user (agent) column stays fully editable."},"transactionalIsConfigurable":{"type":"boolean","description":"Whether the transactional category appears as configurable. False for an ordinary company —\r\nthose templates are shown but never switchable. True for a TPO, which may send its own\r\nlogin mail and so is allowed to turn ours off."},"isTpo":{"type":"boolean","description":"True when this company is a TPO. Exposed so the UI can explain <i>why</i> the borrower\r\noptions are missing rather than just omitting them."}},"additionalProperties":false,"description":"Company-wide rules that apply regardless of what any level below sets. These are not\r\npreferences the viewer can change here — they are the frame the rest of the settings sit in."}}}}
```

## The EffectiveNotificationSettings object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EffectiveNotificationSettings":{"type":"object","properties":{"entityType":{"type":"string","description":"The kind of record the settings belong to, for example user, client, loanApplication or thirdParty.","nullable":true},"entityId":{"type":"string","description":"Unique identifier (GUID) of that record.","format":"uuid"},"categories":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/EffectiveCategory"},"description":"One entry per `All` category id.","nullable":true},"override":{"$ref":"#/components/schemas/NotificationSettingsDocument"},"permissions":{"$ref":"#/components/schemas/EffectiveNotificationPermissions"},"policy":{"$ref":"#/components/schemas/EffectiveNotificationPolicy"}},"additionalProperties":false},"EffectiveCategory":{"type":"object","properties":{"client":{"$ref":"#/components/schemas/EffectiveBranch"},"user":{"$ref":"#/components/schemas/EffectiveBranch"}},"additionalProperties":false,"description":"A category's resolved view per recipient branch. Both branches are populated for every entity\r\ntype: the `User` branch of a client or loanApplication is what the owning loan\r\nofficer wants in their own inbox for that client or loan (agent-native mail, and copies of\r\nborrower mail)."},"EffectiveBranch":{"type":"object","properties":{"enabled":{"$ref":"#/components/schemas/EffectiveValue"},"milestones":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/EffectiveValue"},"description":"Every `NotificationMilestones` code, resolved. Populated for the \"status\"\r\ncategory only — no other category has loan-timeline stages — and empty elsewhere.","nullable":true},"items":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/EffectiveValue"},"description":"The resolved on or off value of each notification template, keyed by template key.","nullable":true}},"additionalProperties":false,"description":"One recipient branch's resolved view: the category-level toggle plus every template in the\r\ncategory whose `RecipientTypes` include this branch's\r\nrecipient type, keyed by `ItemKey`."},"EffectiveValue":{"type":"object","properties":{"enabled":{"type":"boolean","description":"True when the notification or category is on after applying every level of override."},"source":{"type":"string","description":"Which level supplied the value: \"borrowerPair\", \"loanApplication\", \"client\", \"user\", \"company\" or \"default\".","nullable":true},"reason":{"type":"string","description":"Which rule at that level supplied it, from `EffectiveValueReasons`. The UI uses it\r\nto explain an inherited value (\"on because the Closing milestone is on\").","nullable":true}},"additionalProperties":false,"description":"One resolved on/off value plus the level that supplied it and why."},"NotificationSettingsDocument":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the settings record, formatted type:entityId.","nullable":true},"partitionKey":{"type":"string","description":"The same value as id.","nullable":true},"type":{"type":"string","description":"The kind of entity the settings are for: company, user, client, loanApplication or borrowerPair.","nullable":true},"entityId":{"type":"string","description":"Id (GUID) of the entity the settings belong to.","format":"uuid"},"companyId":{"type":"string","description":"Tenant guard. Null only for user documents (users are tenant-scoped elsewhere).\r\n            Informational only — never used for authorization.","format":"uuid","nullable":true},"categories":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CategorySettings"},"description":"Overrides per notification category (for example status, documents, tasks), each with a branch for borrower mail and one for the loan officer's own mail.","nullable":true},"updatedBy":{"type":"string","description":"Id of the user who last changed the settings.","format":"uuid","nullable":true},"updatedAt":{"type":"string","description":"When the settings were last changed, in UTC (ISO 8601).","format":"date-time"},"_etag":{"type":"string","description":"Concurrency token of this settings record: send it back as If-Match when changing the settings. Never accepted in a request body.","nullable":true},"suppressClientEmails":{"type":"boolean","description":"Company-level switch on borrower mail: when true, nothing is sent to the company's borrowers in any category, transactional mail included. Only meaningful on a company document. Null means not decided here, so the company's type decides: on for a third-party originator company, off for any other.","nullable":true}},"additionalProperties":false,"description":"The notification overrides stored for one entity (company, user, client, loan or borrower pair). A null value anywhere means inherit from the next level up; a document exists only while it overrides something."},"CategorySettings":{"type":"object","properties":{"client":{"$ref":"#/components/schemas/RecipientBranch"},"user":{"$ref":"#/components/schemas/RecipientBranch"}},"additionalProperties":false},"RecipientBranch":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Null = inherit the category from the next level up.","nullable":true},"items":{"type":"object","additionalProperties":{"type":"boolean"},"description":"Template item key → value. Non-empty means this branch has explicit per-template\r\n            overrides; a key absent here falls back to `milestones`, then `enabled`,\r\n            then `knownTemplates`, then the next level up.","nullable":true},"milestones":{"type":"object","additionalProperties":{"type":"boolean"},"description":"Loan-timeline milestone code → value, for the \"status\" category only. Sits between\r\n`items` and `enabled`: a template with no explicit item takes its\r\nmilestone's value when this branch names it. Keys are stored as written (PascalCase codes)\r\nbut the Cosmos contract resolver camelCases them on the way out, so every lookup is\r\ncase-insensitive — exactly as for `items`.","nullable":true},"knownTemplates":{"type":"array","items":{"type":"string"},"description":"Item keys known at the time this branch's Items were first written. A template added to the\r\ncatalog later and absent from both Items and KnownTemplates resolves to false while Items is\r\nnon-empty, per the resolver's default-off-when-customized rule.","nullable":true}},"additionalProperties":false,"description":"One recipient type's overrides within a category. A \"client\"/\"loanApplication\" document only\r\never populates `client`; the User branch is reserved for user\r\ndocuments and PATCH paths that target it against a client/loanApplication document are rejected."},"EffectiveNotificationPermissions":{"type":"object","properties":{"canEdit":{"type":"boolean","description":"True when the caller owns the entity (loan officer / client owner / the user\r\n            themselves) or holds an org-wide role."}},"additionalProperties":false,"description":"The caller's rights over the entity whose settings these are."},"EffectiveNotificationPolicy":{"type":"object","properties":{"suppressClientEmails":{"type":"boolean","description":"Borrower mail is off company-wide.\r\n            \r\n\r\nThe UI should <b>hide</b> the borrower/client options rather than show them switched off:\r\nnothing a user does at their own level can turn them back on, so rendering them as\r\ntogglable would be a lie. The user (agent) column stays fully editable."},"transactionalIsConfigurable":{"type":"boolean","description":"Whether the transactional category appears as configurable. False for an ordinary company —\r\nthose templates are shown but never switchable. True for a TPO, which may send its own\r\nlogin mail and so is allowed to turn ours off."},"isTpo":{"type":"boolean","description":"True when this company is a TPO. Exposed so the UI can explain <i>why</i> the borrower\r\noptions are missing rather than just omitting them."}},"additionalProperties":false,"description":"Company-wide rules that apply regardless of what any level below sets. These are not\r\npreferences the viewer can change here — they are the frame the rest of the settings sit in."}}}}
```

## The EffectiveValue object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EffectiveValue":{"type":"object","properties":{"enabled":{"type":"boolean","description":"True when the notification or category is on after applying every level of override."},"source":{"type":"string","description":"Which level supplied the value: \"borrowerPair\", \"loanApplication\", \"client\", \"user\", \"company\" or \"default\".","nullable":true},"reason":{"type":"string","description":"Which rule at that level supplied it, from `EffectiveValueReasons`. The UI uses it\r\nto explain an inherited value (\"on because the Closing milestone is on\").","nullable":true}},"additionalProperties":false,"description":"One resolved on/off value plus the level that supplied it and why."}}}}
```

## The EligibleProduct object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EligibleProduct":{"type":"object","properties":{"bonaFideDiscountPoints":{"type":"number","description":"Discount points, as a percent of the loan amount, that count as bona fide and are excluded from the Qualified Mortgage points-and-fees test.","format":"double"},"qmStatus":{"type":"string","description":"Qualified Mortgage test result: Pass, Fail, or a pass flagged as a higher-priced mortgage loan (the HPML values); AlwaysPass for products the test does not apply to.","nullable":true},"amortizationTerm":{"type":"string","description":"Amortization term in years, as text, for example 30.","nullable":true},"amortizationType":{"type":"string","description":"How the loan is repaid: Fixed, ARM, Balloon or OptionArm.","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, in percent.","format":"double"},"armIndex":{"type":"string","description":"Index an adjustable rate follows, for example SOFR or Treasury.","nullable":true},"armFirstCap":{"type":"number","description":"Cap on the first rate adjustment, in percentage points.","format":"double"},"armIndexValue":{"type":"number","description":"Current value of the index, in percent.","format":"double"},"armPeriodicCap":{"type":"number","description":"Cap on each later rate adjustment, in percentage points.","format":"double"},"armLifetimeCap":{"type":"number","description":"Cap on the total rate change over the life of the loan, in percentage points.","format":"double"},"armRelativeCap":{"type":"number","description":"Relative cap on the rate, in percentage points.","format":"double"},"armMargin":{"type":"number","description":"Margin added to the index, in percentage points.","format":"double"},"armsubsequentChangePeriod":{"type":"string","description":"How often an adjustable rate changes after its fixed period, in months, as text.","nullable":true},"armFixedTerm":{"type":"string","description":"Initial fixed period of an adjustable-rate product, as a code such as FiveYear.","nullable":true},"closingCost":{"type":"number","description":"Lender closing costs, in dollars.","format":"double"},"points":{"type":"number","description":"Discount points as a percent of the loan amount: 100 minus price, so negative when the product pays a rebate.","format":"double","nullable":true},"pointsCost":{"type":"number","description":"Cost of the points in dollars: the discount when positive, the rebate as a negative number.","format":"double","nullable":true},"discount":{"type":"number","description":"Buydown (discount) cost at this rate, in dollars; 0 on a rebate or par rate.","format":"double"},"investor":{"type":"string","description":"Name of the investor behind the product. Omitted for callers who are not shown the investor.","nullable":true},"investorId":{"type":"integer","description":"Identifier of the investor. Omitted for callers who are not shown the investor.","format":"int32","nullable":true},"sourceInvestor":{"type":"string","description":"The lender behind a portfolio investor's product. Omitted unless the caller is shown the investor.","nullable":true},"lastUpdate":{"type":"string","description":"When the lender's rate sheet was published, ISO 8601. Omitted for callers who are not shown the investor.","format":"date-time","nullable":true},"loanTerm":{"type":"string","description":"Loan term in years, as text, for example 30.","nullable":true},"loanType":{"type":"string","description":"Loan type, for example Conforming, FHA or VA.","nullable":true},"lockPeriod":{"type":"integer","description":"Rate lock period, in days.","format":"int64"},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance, in dollars; 0 when the product has none.","format":"double"},"pendingUpdate":{"type":"boolean","description":"True when a pricing update for the product is pending, so the price may change."},"price":{"type":"number","description":"Price as a percent of par, where 100 is par.","format":"double"},"priceStatus":{"type":"string","description":"Whether the price can be used: Available, Suspended, Expired or TodaysPricingExpired.","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment, in dollars.","format":"double"},"productCode":{"type":"string","description":"The lender's product code. Omitted for callers who are not shown the investor.","nullable":true},"productId":{"type":"string","description":"Identifier of the product, to fetch its details or select it.","nullable":true},"productName":{"type":"string","description":"Name of the product, including the investor when shown.","nullable":true},"rate":{"type":"number","description":"Note rate, in percent such as 6.875.","format":"double"},"rebate":{"type":"number","description":"Rebate (credit) at this rate, in dollars; 0 on a discount or par rate.","format":"double"},"totalPayment":{"type":"number","description":"Total monthly payment in dollars: principal, interest and mortgage insurance.","format":"double"},"loCompensationDollars":{"type":"integer","description":"Loan officer compensation built into the price, in dollars.","format":"int32"},"loCompensationPercent":{"type":"number","description":"Loan officer compensation built into the price, as a percent of the loan amount.","format":"double"},"highBalance":{"type":"string","description":"Yes when the loan amount is above the standard conforming limit (a high-balance loan), No otherwise.","nullable":true},"productQuote":{"$ref":"#/components/schemas/ProductQuote"},"keyLabel":{"type":"string","description":"Label grouping the product by term, amortization and loan type, for example 30 Year Fixed Conforming.","nullable":true},"programName":{"type":"string","description":"Product name without the investor prefix.","nullable":true},"originalApr":{"type":"number","description":"APR before any adjustment by the loan officer, in percent.","format":"double"},"adjustedApr":{"type":"number","description":"APR after the loan officer's adjustments, in percent.","format":"double"},"computedApr":{"type":"number","description":"APR computed by Henge from the rate and costs, in percent.","format":"double"},"armFixedTermMonths":{"type":"integer","description":"Initial fixed period of an adjustable-rate product, in months.","format":"int32","nullable":true},"opportunityType":{"$ref":"#/components/schemas/OpportunityTypeModel"}},"additionalProperties":false,"description":"A product the loan is eligible for, shown at one rate and lock period with its price and payment. Search results carry no productQuote; fetch the product's details for its full rate sheet."},"ProductQuote":{"type":"object","properties":{"productName":{"type":"string","description":"Name of the product, including the investor when it is shown.","nullable":true},"quotes":{"type":"array","items":{"$ref":"#/components/schemas/Quote"},"description":"The rate rows of the product, one per rate and lock period.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search this rate sheet came from.","nullable":true},"productId":{"type":"string","description":"Identifier of the product.","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/QuoteAdjustment"},"description":"Adjustments applied to the product's rate or price.","nullable":true},"parQuotes":{"type":"array","items":{"$ref":"#/components/schemas/ParQuote"},"description":"The par rate for each lock period.","nullable":true},"totalRateAdjustment":{"type":"number","description":"Sum of the rate adjustments, in percentage points.","format":"double","nullable":true},"totalPriceAdjustment":{"type":"number","description":"Sum of the price adjustments, in points.","format":"double","nullable":true},"totalSRPAdjustment":{"type":"number","description":"Sum of the servicing-release-premium adjustments, in points.","format":"double","nullable":true},"totalMarginAdjustment":{"type":"number","description":"Sum of the margin adjustments, in percentage points.","format":"double","nullable":true},"notesAndAdvisories":{"type":"array","items":{"type":"string"},"description":"Notes and advisories the lender attached to the product.","nullable":true},"armSubsequentChangePeriod":{"type":"string","description":"How often an adjustable rate changes after its fixed period, as a code such as OneYear or SixMonth.","nullable":true},"armIndex":{"type":"string","description":"Index an adjustable rate follows, for example SOFR or Treasury.","nullable":true},"armIndexValue":{"type":"number","description":"Current value of the index, in percent.","format":"double","nullable":true},"armFirstCap":{"type":"number","description":"Cap on the first rate adjustment, in percentage points.","format":"double","nullable":true},"armPeriodicCap":{"type":"number","description":"Cap on each later rate adjustment, in percentage points.","format":"double","nullable":true},"armFixedTerm":{"type":"string","description":"Initial fixed period of an adjustable-rate product, as a code such as FiveYear.","nullable":true},"armFixedTermMonths":{"type":"integer","description":"Initial fixed period of an adjustable-rate product, in months.","format":"int32","nullable":true},"armLifetimeCap":{"type":"number","description":"Cap on the total rate change over the life of the loan, in percentage points.","format":"double","nullable":true},"armRelativeCap":{"type":"number","description":"Relative cap on the rate, in percentage points.","format":"double","nullable":true},"constructionTermMonths":{"type":"integer","description":"Construction period of a construction loan, in months.","format":"int32","nullable":true},"originationFees":{"type":"number","description":"Origination fees of the product, in dollars.","format":"double","nullable":true},"investorId":{"type":"integer","description":"Identifier of the investor behind the product. Omitted for callers who are not shown the investor.","format":"int32","nullable":true},"miRequiredOver80Ltv":{"type":"boolean","description":"True when mortgage insurance is required above 80% loan-to-value.","nullable":true},"interestOnlyTerm":{"type":"integer","description":"Length of the interest-only period of an interest-only product.","format":"int32","nullable":true},"lenderFeeDetails":{"type":"array","items":{"$ref":"#/components/schemas/LenderFeeDetail"},"description":"The lender fees charged on the product.","nullable":true},"lenderFeeTotal":{"type":"number","description":"Sum of the lender fees in lenderFeeDetails, in dollars. Calculated; read-only.","format":"double","nullable":true,"readOnly":true}},"additionalProperties":false,"description":"The full rate sheet of one product: every rate and lock period, with the adjustments, par rates and lender fees behind them."},"Quote":{"type":"object","properties":{"id":{"type":"string","description":"Identifier the pricing search gave this row.","nullable":true},"rate":{"type":"number","description":"Note rate, in percent such as 6.875.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Rate lock period of this row, in days.","format":"int32","nullable":true},"lockExpirationDate":{"type":"string","description":"Date a lock at this row's lock period would expire, ISO 8601.","format":"date-time","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, in percent. Uses adjustedApr when one was calculated.","format":"double","nullable":true},"price":{"type":"number","description":"Price as a percent of par, where 100 is par; above 100 pays the borrower a rebate and below 100 costs a discount.","format":"double","nullable":true},"armMargin":{"type":"number","description":"Margin added to the index for an adjustable-rate product, in percentage points.","format":"double","nullable":true},"closingCost":{"type":"number","description":"Lender closing costs of this row, in dollars.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount: 100 minus price, so negative when the row pays a rebate.","format":"double","nullable":true},"pointsCost":{"type":"number","description":"Cost of the points in dollars: positive for a discount, negative for a rebate.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"Buydown (discount) this row costs the borrower, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"discountPercent":{"type":"number","description":"Buydown (discount) as a percent of the loan amount; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"Rebate (credit) this row gives the borrower, in dollars; 0 on a discount or par row.","format":"double","nullable":true},"rebatePercent":{"type":"number","description":"Rebate (credit) as a percent of the loan amount; 0 on a discount or par row.","format":"double","nullable":true},"loCompensationDollar":{"type":"number","description":"Loan officer compensation built into this row, in dollars.","format":"double","nullable":true},"loCompensationPercent":{"type":"number","description":"Loan officer compensation built into this row, as a percent of the loan amount.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment, in dollars.","format":"double","nullable":true},"totalCredit":{"type":"number","description":"Total credit this row gives the borrower, in dollars.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance, in dollars; 0 when the product has none.","format":"double","nullable":true},"totalPayment":{"type":"number","description":"Total monthly payment in dollars: principal, interest and mortgage insurance.","format":"double","nullable":true},"amiRuleApplied":{"type":"boolean","description":"True when the area-median-income rule of affordable programs was applied to this row."},"borrowerPaidDetails":{"type":"array","items":{"$ref":"#/components/schemas/FeeDetail"},"description":"Fees the borrower pays for this row.","nullable":true},"groupAdjustmentProperties":{"type":"array","items":{"$ref":"#/components/schemas/GroupAdjustmentProperty"},"description":"The groups of price adjustments that make up this row's final price.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search this row came from.","nullable":true},"productId":{"type":"string","description":"Identifier of the product this row belongs to.","nullable":true},"adjustedApr":{"type":"number","description":"APR after the loan officer's adjustments to the quote, in percent.","format":"double","nullable":true},"adjustedFee":{"type":"number","description":"Fee amount after the loan officer's adjustments, in dollars.","format":"double","nullable":true},"computedApr":{"type":"number","description":"APR computed by Henge from the row's rate and costs, in percent.","format":"double","nullable":true},"originalApr":{"type":"number","description":"APR as the pricing search returned it, before any adjustment, in percent.","format":"double","nullable":true},"quoteId":{"type":"string","description":"Henge's identifier for this row. Pass it to select or lock the row.","nullable":true},"isArchived":{"type":"boolean","description":"True when this saved row has been archived."},"isLocked":{"type":"boolean","description":"True once a lock has been requested on this row."}},"additionalProperties":false,"description":"One row of a product's rate sheet: a note rate at a lock period, with its price, payment and costs. Rates are percents such as 6.875; price is a percent of par, where 100 is par."},"FeeDetail":{"type":"object","properties":{"amount":{"type":"number","description":"The fee amount in dollars.","format":"double","nullable":true},"description":{"type":"string","description":"What the fee is for.","nullable":true},"isOrigination":{"type":"boolean","description":"True when the fee is an origination charge.","nullable":true},"points":{"type":"number","description":"The fee expressed in points (percent of the loan amount, for example 1.0 for one point), when it is charged that way.","format":"double","nullable":true},"type":{"type":"string","description":"The fee's category as the pricing engine names it.","nullable":true}},"additionalProperties":false},"GroupAdjustmentProperty":{"type":"object","properties":{"id":{"type":"string","description":"Name of the adjustment group, for example the category its adjustments fall under.","nullable":true},"finalAdjustment":{"type":"number","description":"Net adjustment of the group once all its adjustments are applied.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/Adjustment"},"description":"The individual adjustments in the group.","nullable":true}},"additionalProperties":false,"description":"A named group of adjustments that together move a quote's price or rate."},"Adjustment":{"type":"object","properties":{"key":{"type":"string","description":"Name of the adjustment, saying what it is for.","nullable":true},"adj":{"type":"number","description":"Size of the adjustment, in the unit of the group it belongs to (price points or rate).","format":"double","nullable":true}},"additionalProperties":false,"description":"One price or rate adjustment applied to a quote."},"QuoteAdjustment":{"type":"object","properties":{"reason":{"type":"string","description":"Why the adjustment applies, as text.","nullable":true},"adjustor":{"type":"number","description":"Size of the adjustment; its unit follows the type.","format":"double"},"type":{"type":"string","description":"What the adjustment changes, for example the rate, the price or the margin.","nullable":true}},"additionalProperties":false,"description":"An adjustment the lender applied to a product's rate or price."},"ParQuote":{"type":"object","properties":{"parRate":{"type":"number","description":"Note rate at par, in percent.","format":"double"},"parPrice":{"type":"number","description":"Price at par, where 100 is par.","format":"double"},"parLock":{"type":"integer","description":"Lock period of this par quote, in days.","format":"int32"}},"additionalProperties":false,"description":"The par rate for one lock period: the rate whose price is closest to 100."},"LenderFeeDetail":{"type":"object","properties":{"feeDetailNumber":{"type":"integer","description":"Sequence number of the fee in the product's fee list.","format":"int32"},"feeTotalAmountPercent":{"type":"number","description":"Fee as a percent of the base named in feePercentageBasedOn, when it is percentage-based.","format":"double"},"feeSpecifiedFixedAmount":{"type":"number","description":"Fixed fee amount in dollars, when the fee is a fixed amount.","format":"double"},"feeTotalCalculatedAmount":{"type":"number","description":"Total fee in dollars after calculation.","format":"double"},"feePaymentFinancedIndicator":{"type":"boolean","description":"True when the fee is financed into the loan amount."},"feePaidBy":{"type":"string","description":"Who pays the fee: Buyer or Seller.","nullable":true},"feePaidTo":{"type":"string","description":"Who receives the fee: Lender, Broker, Affiliate, ThirdParty or Other.","nullable":true},"rebatePriority":{"type":"integer","description":"Priority of this fee when a rebate is applied.","format":"int32"},"feeDescription":{"type":"string","description":"Name of the fee as the lender describes it.","nullable":true},"prepaidFinanceChargeIndicator":{"type":"boolean","description":"True when the fee is a prepaid finance charge, which counts toward APR."},"includedInQMPointsAndFeesTest":{"type":"boolean","description":"True when the fee counts toward the Qualified Mortgage points-and-fees test."},"feePercentageBasedOn":{"type":"string","description":"Amount a percentage fee is calculated on: PurchasePriceAmount, PropertyAppraisedValueAmount, OriginalLoanAmount, BaseLoanAmount or Other.","nullable":true},"feeType":{"type":"string","description":"Standard fee category, for example LoanOriginationFee or UnderwritingFee.","nullable":true}},"additionalProperties":false,"description":"One lender fee charged on a product."},"OpportunityTypeModel":{"type":"object","properties":{"name":{"type":"string","description":"Display name of the program type, for example 30 Year Fixed or 7/6 ARM.","nullable":true},"shortName":{"type":"string","description":"Compact form of the program type name with no spaces, usable as a key.","nullable":true}},"additionalProperties":false,"description":"The program type of a priced product, for example a fixed term or an adjustable-rate program."}}}}
```

## The Employment object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Employment":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the employment record in the LOS.","nullable":true},"isCurrent":{"type":"boolean","description":"True for a current job, false for a previous one."},"isSelfEmployed":{"type":"boolean","description":"True when the borrower is self-employed in this job."},"ownershipShare":{"$ref":"#/components/schemas/FieldType"},"isPrimary":{"type":"boolean","description":"True for the borrower's primary employment. Null when not stated.","nullable":true},"name":{"type":"string","description":"Name of the employer.","nullable":true},"position":{"type":"string","description":"The borrower's job title.","nullable":true},"address":{"$ref":"#/components/schemas/PosAddress"},"startDate":{"type":"string","description":"Date the borrower started this job (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower left this job (ISO 8601 date). Empty for a current job.","nullable":true},"professionStartDate":{"type":"string","description":"Date the borrower started working in this line of work (ISO 8601 date).","nullable":true},"lineOfWorkInMonths":{"type":"integer","description":"Months the borrower has worked in this line of work.","format":"int32","nullable":true},"businessPhone":{"type":"string","description":"The employer's phone number.","nullable":true},"email":{"type":"string","description":"Work email address for this employment.","nullable":true},"monthlyIncomeAmount":{"type":"number","description":"Total monthly income from this employment, in dollars.","format":"double","nullable":true},"incomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"},"description":"The income components from this employment, such as base pay, overtime or bonus.","nullable":true}},"additionalProperties":false,"description":"One job the borrower holds or has held, with the income it pays."},"FieldType":{"type":"object","properties":{"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A value chosen from a list in the LOS, with its code and display name. Also the base of records that carry an LOS id."},"PosAddress":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A postal address."},"Income":{"type":"object","properties":{"amount":{"type":"number","description":"Income amount, in dollars per month.","format":"double"},"otherDescription":{"type":"string","description":"Free-text description when the income type is Other.","nullable":true},"isAssociatedWithEmployment":{"type":"boolean","description":"True when the income belongs to an employment, such as overtime or bonus, rather than standing alone."},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One income amount, either tied to an employment or standing alone."}}}}
```

## The EmploymentPatch object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EmploymentPatch":{"type":"object","properties":{"id":{"type":"string","description":"The employer's externalId. Takes precedence over index.","nullable":true},"index":{"type":"integer","description":"Zero-based position of the employer in the list as last read. Use only for an employer that has no externalId yet.","format":"int32","nullable":true},"remove":{"type":"boolean","description":"true removes the addressed employer. Every other field is ignored when true."},"name":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"position":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isCurrent":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isSelfEmployed":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isPrimary":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"ownershipShare":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"startDate":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"endDate":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"professionStartDate":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"lineOfWorkInMonths":{"type":"integer","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"int32"},"businessPhone":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"email":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"monthlyIncomeAmount":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"address":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"incomes":{"type":"array","items":{"type":"object"},"description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."}},"additionalProperties":false,"description":"One employer's changes. Addressed by `id` (the stored `ExternalId`) or, for an\r\nemployer that has none yet, by `index`. An entry with neither `id` nor `index` adds an employer."}}}}
```

## The Error object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Error":{"type":"object","properties":{"type":{"type":"string","description":"The kind of problem the agency reported.","nullable":true},"errorMessage":{"type":"string","description":"The agency's message describing the problem.","nullable":true}},"additionalProperties":false}}}}
```

## The EscrowExpenseBasis object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EscrowExpenseBasis":{"type":"object","properties":{"baseTypeCode":{"type":"string","description":"The LOS code for the base amount the percentage applies to. baseTypeName gives its name.","nullable":true},"baseTypeName":{"type":"string","description":"The name of the base amount (for example \"Total Loan Amount\"), or null for a code with no known name. Read only.","nullable":true},"baseAmount":{"type":"number","description":"The base amount in dollars, as the LOS calculated it. Read only: a value sent is ignored.","format":"double","nullable":true},"ratePercent":{"type":"number","description":"Annual percentage applied to `baseAmount`.","format":"double","nullable":true},"monthlyAddend":{"type":"number","description":"Flat monthly amount added on top of the percentage result.","format":"double","nullable":true},"reserveMonths":{"type":"integer","description":"Months of this expense collected as reserves at closing (hazard insurance and property tax only).\r\nThe loan system derives a default and takes an override only with its lock flag, which the housing write sends with it.\r\nRead from the loan; the loan form save never writes it.","format":"int32","nullable":true},"prepaidMonths":{"type":"integer","description":"Months of this expense prepaid at closing (hazard insurance only).","format":"int32","nullable":true}},"additionalProperties":false,"description":"How the LOS works out one escrowed housing expense: a percentage of a chosen base amount plus a flat monthly amount, for example hazard insurance as Total Loan Amount x 0.500% + $0.00."}}}}
```

## The Ethnicity object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Ethnicity":{"type":"object","properties":{"origins":{"type":"array","items":{"$ref":"#/components/schemas/EthnicityOrigin"},"description":"The origins the borrower selected, for example Mexican or Puerto Rican.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"The borrower's ethnicity (HMDA), with the origins they selected."},"EthnicityOrigin":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text origin the borrower gave when the origin is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One ethnicity origin the borrower selected."}}}}
```

## The EthnicityOrigin object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EthnicityOrigin":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text origin the borrower gave when the origin is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One ethnicity origin the borrower selected."}}}}
```

## The EvaluatePreApprovalResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EvaluatePreApprovalResponse":{"type":"object","properties":{"creditPulledOn":{"type":"string","description":"When the stored soft credit pull the evaluation used was pulled, ISO 8601 in UTC.","format":"date-time","nullable":true},"creditScore":{"type":"integer","description":"The qualifying credit score used for the decision.","format":"int32"},"downPayment":{"type":"number","description":"Down payment in dollars (purchase price less loan amount).","format":"double"},"downPaymentPercentage":{"type":"number","description":"Down payment as a percent of the purchase price, rounded to a whole number.","format":"double"},"ltv":{"type":"number","description":"Loan-to-value ratio in percent, rounded to a whole number.","format":"double"},"dti":{"type":"number","description":"Debt-to-income ratio in percent, rounded to a whole number: monthly debt payments from the credit report over monthly income.","format":"double"},"loanAmount":{"type":"number","description":"Loan amount the pre-approval was run for, in dollars.","format":"double"},"maxLoanAmount":{"type":"number","description":"Largest loan amount the borrower qualifies for, in dollars.","format":"double"},"issuedDate":{"type":"string","description":"When the pre-approval was issued, ISO 8601 in UTC.","format":"date-time"},"expirationDate":{"type":"string","description":"When the pre-approval letter expires, ISO 8601; null when not approved.","format":"date-time","nullable":true},"denialReasons":{"type":"array","items":{"type":"string"},"description":"Why the pre-approval was denied; empty or null when it was approved.","nullable":true},"rate":{"type":"number","description":"Best note rate found for the scenario, in percent (for example 6.875); null when not approved.","format":"double","nullable":true},"loanProgram":{"type":"string","description":"The program priced, as a term label such as 30-Yr.; null when not approved.","nullable":true},"preApprovalDocumentId":{"type":"string","description":"Unique identifier (GUID) of the pre-approval letter in the loan's documents, when one was created.","format":"uuid","nullable":true},"totalDebt":{"type":"number","description":"Total balance of the liabilities on the credit report, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Total monthly payments of those liabilities, in dollars.","format":"double"},"annualIncome":{"type":"number","description":"Annual income used, in dollars.","format":"double"},"purchasePrice":{"type":"number","description":"Purchase price used, in dollars.","format":"double"},"loanType":{"type":"string","description":"Loan type the rules were applied for: VA, FHA, Conventional or NonConforming.","nullable":true},"occupancy":{"type":"string","description":"Occupancy used: PrimaryResidence, SecondaryResidence or Investment.","nullable":true},"incomeType":{"type":"string","description":"Income type used, for example W2-earner.","nullable":true},"hasBankruptcy":{"type":"boolean","description":"True when the credit report shows a bankruptcy."},"hasCollections":{"type":"boolean","description":"True when the credit report shows collections."},"citizenship":{"type":"string","description":"The primary borrower's citizenship status.","nullable":true},"isApproved":{"type":"boolean","description":"True when there are no denial reasons. Read-only.","readOnly":true}},"additionalProperties":false,"description":"The process response, plus when the stored soft pull it was run on was pulled."}}}}
```

## The EventSubscriptionResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EventSubscriptionResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of this subscription.","format":"uuid"},"updatedTimestamp":{"type":"string","description":"The timestamp when this subscription was last updated.","format":"date-time"},"createdTimestamp":{"type":"string","description":"The timestamp when this subscription was created.","format":"date-time"},"objectType":{"$ref":"#/components/schemas/ObjectTypeResponse"},"eventType":{"$ref":"#/components/schemas/EventTypeResponse"}},"additionalProperties":false},"ObjectTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the object type.","format":"uuid"},"name":{"type":"string","description":"The name of the object type (e.g., “LoanApp”, “LoanAppTask”, “LoanAppVault”).","nullable":true}},"additionalProperties":false,"description":"A kind of object a webhook can watch, for example LoanApp, LoanAppTask or LoanAppVault."},"EventTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the event type.","format":"uuid"},"name":{"type":"string","description":"The name of the event type (e.g., “Created”, “Deleted”, “Changed”).","nullable":true}},"additionalProperties":false,"description":"A webhook event type: what happened to an object, for example Created, Deleted or Changed."}}}}
```

## The EventTypeRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EventTypeRequest":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the event type (e.g., Created, Deleted, Changed) as returned by GET /types/webhook-object-event-types.","format":"uuid"}},"additionalProperties":false,"description":"Selects a webhook event type by id."}}}}
```

## The EventTypeResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"EventTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the event type.","format":"uuid"},"name":{"type":"string","description":"The name of the event type (e.g., “Created”, “Deleted”, “Changed”).","nullable":true}},"additionalProperties":false,"description":"A webhook event type: what happened to an object, for example Created, Deleted or Changed."}}}}
```

## The ExceptionRequestDetails object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ExceptionRequestDetails":{"type":"object","properties":{"justification":{"type":"string","description":"The broker's reasons the file should be allowed outside guidelines.","nullable":true},"loanProgram":{"type":"string","description":"The loan program that made the loan non-QM when the request was submitted.","nullable":true}},"additionalProperties":false,"description":"The Exception payload of a submitted request: why the file should be allowed outside guidelines."}}}}
```

## The ExceptionRequestForm object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ExceptionRequestForm":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan the form is for.","format":"uuid"},"availability":{"$ref":"#/components/schemas/BrokerRequestAvailability"},"header":{"$ref":"#/components/schemas/BrokerRequestHeader"},"allowedAttachmentExtensions":{"type":"array","items":{"type":"string"},"description":"File extensions accepted as attachments.","nullable":true}},"additionalProperties":false,"description":"Everything the Exception form needs before the broker types anything."},"BrokerRequestAvailability":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/BrokerRequestAvailabilityState"},"reason":{"type":"string","description":"Shown beside a disabled action. Null when the action is enabled or hidden.","nullable":true}},"additionalProperties":false,"description":"Whether a request action is offered on a loan, and why not when it is not."},"BrokerRequestAvailabilityState":{"enum":["Enabled","Disabled","Hidden"],"type":"string","description":"How a request action is offered on a loan: Enabled, Disabled (shown with a reason), or Hidden."},"BrokerRequestHeader":{"type":"object","properties":{"brokerName":{"type":"string","description":"Name of the broker who submitted the request.","nullable":true},"brokerCompany":{"type":"string","description":"Name of the broker's company.","nullable":true},"loanOfficer":{"type":"string","description":"Name of the loan's loan officer.","nullable":true},"borrowerNames":{"type":"array","items":{"type":"string"},"description":"Names of the loan's borrowers.","nullable":true},"propertyAddress":{"type":"string","description":"The subject property address as one line.","nullable":true},"loanNumber":{"type":"string","description":"The loan number shown to staff and brokers.","nullable":true}},"additionalProperties":false,"description":"The identity block at the top of every request. Built by the server from the loan and the\r\nsubmitting user; a broker never supplies it, so it cannot be edited."}}}}
```

## The ExpandedGuidelines object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ExpandedGuidelines":{"type":"object","properties":{"incomeVerificationType":{"type":"string","description":"How the borrower's income is documented, for example FullDoc or a bank statement program.","nullable":true},"housingEventType":{"type":"string","description":"Type of negative housing event in the borrower's history, or None.","nullable":true},"housingEventSeasoning":{"type":"string","description":"How long ago the housing event happened.","nullable":true},"bankruptcyType":{"type":"string","description":"Chapter of the borrower's bankruptcy, or None.","nullable":true},"bankruptcyOutcome":{"type":"string","description":"How the bankruptcy ended: discharged, dismissed or still open.","nullable":true},"bankruptcySeasoning":{"type":"string","description":"How long ago the bankruptcy happened.","nullable":true},"mortgageLatesx30_12Mos":{"type":"integer","description":"Number of mortgage payments 30 days late in the last 12 months.","format":"int32"},"mortgageLatesx30_13to24Mos":{"type":"integer","description":"Number of mortgage payments 30 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx60_12Mos":{"type":"integer","description":"Number of mortgage payments 60 days late in the last 12 months.","format":"int32"},"mortgageLatesx60_13to24Mos":{"type":"integer","description":"Number of mortgage payments 60 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx90_12Mos":{"type":"integer","description":"Number of mortgage payments 90 days late in the last 12 months.","format":"int32"},"mortgageLatesx90_13to24Mos":{"type":"integer","description":"Number of mortgage payments 90 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx120_12Mos":{"type":"integer","description":"Number of mortgage payments 120 days late in the last 12 months.","format":"int32"},"mortgageLatesx120_13to24Mos":{"type":"integer","description":"Number of mortgage payments 120 days late 13 to 24 months ago.","format":"int32"},"debtConsolidation":{"type":"boolean","description":"True when the loan is a debt-consolidation refinance."},"uniqueProperty":{"type":"boolean","description":"True when the property is unique, for example unusual construction or use."},"debtServiceCoverageRatio":{"type":"number","description":"Debt service coverage ratio of an investment property (rental income divided by the property's debt payments), as a decimal such as 1.25.","format":"double"}},"additionalProperties":false,"description":"Extra borrower history used to price expanded-guideline (non-agency) products. Each coded field takes the values of the matching expanded-guideline enum."}}}}
```

## The ExpandedGuidelinesBankruptcyOutcome object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ExpandedGuidelinesBankruptcyOutcome":{"enum":["NotApplicable","Discharged","Dismissed","OpenOrPending"],"type":"string","description":"How the borrower's bankruptcy ended, for expanded-guideline (non-agency) pricing. NotApplicable means no bankruptcy; Discharged means the debts were discharged; Dismissed means the case was dismissed without discharge; OpenOrPending means the case is not yet resolved."}}}}
```

## The ExpandedGuidelinesBankruptcySeasoning object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ExpandedGuidelinesBankruptcySeasoning":{"enum":["NotApplicable","Last1To12Months","Last13To24Months","Last25To36Months","Last37To48Months","Last49To60Months","MoreThanFiveYearsAgo"],"type":"string","description":"How long ago the borrower's bankruptcy happened, for expanded-guideline (non-agency) pricing. NotApplicable means it never happened; Last1To12Months through Last49To60Months are the 12-month windows counted back from today (1 to 12 months ago, 13 to 24, 25 to 36, 37 to 48, 49 to 60); MoreThanFiveYearsAgo is older than 60 months."}}}}
```

## The ExpandedGuidelinesBankruptcyType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ExpandedGuidelinesBankruptcyType":{"enum":["None","Chapter7","Chapter11","Chapter13"],"type":"string","description":"Chapter of the borrower's bankruptcy, for expanded-guideline (non-agency) pricing. None means no bankruptcy; otherwise Chapter7, Chapter11 or Chapter13."}}}}
```

## The ExpandedGuidelinesHousingEventSeasoning object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ExpandedGuidelinesHousingEventSeasoning":{"enum":["NotApplicable","Last1To12Months","Last13To24Months","Last25To36Months","Last37To48Months","Last49To60Months","MoreThanFiveYearsAgo"],"type":"string","description":"How long ago the borrower's housing event (foreclosure, short sale and the like) happened, for expanded-guideline (non-agency) pricing. NotApplicable means it never happened; Last1To12Months through Last49To60Months are the 12-month windows counted back from today (1 to 12 months ago, 13 to 24, 25 to 36, 37 to 48, 49 to 60); MoreThanFiveYearsAgo is older than 60 months."}}}}
```

## The ExpandedGuidelinesHousingEventType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ExpandedGuidelinesHousingEventType":{"enum":["None","DeedInLieu","Foreclosure","Modification","ShortSale","Forbearance"],"type":"string","description":"A negative housing event in the borrower's history, for expanded-guideline (non-agency) pricing. None means there was none; otherwise DeedInLieu (deed in lieu of foreclosure), Foreclosure, Modification (loan modification), ShortSale or Forbearance."}}}}
```

## The ExpandedGuidelinesIncomeVerificationType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ExpandedGuidelinesIncomeVerificationType":{"enum":["FullDoc","PersonalBankStmt1Mo","PersonalBankStmt6Mos","PersonalBankStmt12Mos","PersonalBankStmt18Mos","PersonalBankStmt24Mos","BusinessBankStmt1Mo","BusinessBankStmt6Mos","BusinessBankStmt12Mos","BusinessBankStmt18Mos","BusinessBankStmt24Mos","OneYearAltDoc","AssetRelated","InvestorDscr","RestrictedStock","InvestorNoRatio","PersonalBankStmt3Mos","BusinessBankStmt3Mos","TwoYearAltDoc","WrittenVOE","Stated","OneYear1099","TwoYear1099","PLOneYear","PLTwoYear","NoIncomeVerification"],"type":"string","description":"How the borrower's income is documented, for expanded-guideline (non-agency) pricing. FullDoc is full documentation; PersonalBankStmt and BusinessBankStmt values (1, 3, 6, 12, 18 or 24 months) qualify on personal or business bank statements covering that many months; OneYearAltDoc and TwoYearAltDoc are alternative documentation for one or two years; OneYear1099 and TwoYear1099 use 1099 income; PLOneYear and PLTwoYear use a profit-and-loss statement; WrittenVOE is a written verification of employment; AssetRelated qualifies on assets; InvestorDscr qualifies an investment property on its debt service coverage ratio; InvestorNoRatio is an investor loan with no ratio qualification; RestrictedStock uses restricted-stock income; Stated is stated income; NoIncomeVerification means income is not verified."}}}}
```

## The FeeDetail object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"FeeDetail":{"type":"object","properties":{"amount":{"type":"number","description":"The fee amount in dollars.","format":"double","nullable":true},"description":{"type":"string","description":"What the fee is for.","nullable":true},"isOrigination":{"type":"boolean","description":"True when the fee is an origination charge.","nullable":true},"points":{"type":"number","description":"The fee expressed in points (percent of the loan amount, for example 1.0 for one point), when it is charged that way.","format":"double","nullable":true},"type":{"type":"string","description":"The fee's category as the pricing engine names it.","nullable":true}},"additionalProperties":false}}}}
```

## The FeePaidBy object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"FeePaidBy":{"enum":["Unknown","Borrower","Seller","Lender","Broker","Other"],"type":"string","description":"Who pays a fee line, taken from the source's own grouping rather than inferred."}}}}
```

## The FeePayee object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"FeePayee":{"type":"object","properties":{"name":{"type":"string","description":"Name of the payee.","nullable":true},"address":{"type":"string","description":"Mailing address of the payee as free text.","nullable":true},"phone":{"type":"string","description":"Payee phone number.","nullable":true},"email":{"type":"string","description":"Payee email address.","nullable":true},"licenseNumber":{"type":"string","description":"The payee's license number, when the fee requires one.","nullable":true},"type":{"type":"string","description":"The payee's type (for example a title company or appraiser), as the source names it.","nullable":true}},"additionalProperties":false,"description":"Who a fee is paid to: the payee's name, contact details, license number and type."}}}}
```

## The FeePaymentTiming object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"FeePaymentTiming":{"enum":["Unknown","AtClosing","OutsideOfClosing"],"type":"string","description":"When a fee is paid: Unknown (not stated), AtClosing (paid from closing funds) or OutsideOfClosing (paid before or after closing)."}}}}
```

## The FeeSource object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"FeeSource":{"enum":["Unknown","MeridianLink","LodeStar","OptimalBlue","Manual","MismoImport"],"type":"string","description":"Where a loan's fee set came from. In order the values are: Unknown (not set); the LOS (authoritative once the loan has fees there); an early draft estimate made before the loan reached the LOS; lender fees from the pricing engine; Manual (typed in by hand); and MismoImport (from an imported MISMO file). Anything other than the LOS is an estimate."}}}}
```

## The FieldPropertyParameter object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"FieldPropertyParameter":{"type":"object","properties":{"fieldId":{"type":"string","description":"Identifier of the custom pricing field.","nullable":true},"value":{"type":"string","description":"Value to price with for that field, as text.","nullable":true}},"additionalProperties":false,"description":"A custom pricing field and the value it is set to."}}}}
```

## The FieldType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"FieldType":{"type":"object","properties":{"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A value chosen from a list in the LOS, with its code and display name. Also the base of records that carry an LOS id."}}}}
```

## The GetAssetAccountsResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetAssetAccountsResponse":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan.","format":"uuid"},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/AssetAccountResponse"},"description":"The loan's asset accounts.","nullable":true},"assetsLocked":{"type":"boolean","description":"The loan has reached approval, so its assets can no longer be changed from Henge. Computed on read."},"routedTo":{"type":"string","description":"Where the write was kept: Henge or the LOS (for a locked loan). Set only by agent tools; otherwise absent.","nullable":true}},"additionalProperties":false},"AssetAccountResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id of the asset account (GUID).","format":"uuid"},"name":{"type":"string","description":"Name of the account, for example \"Primary Checking\".","nullable":true},"description":{"type":"string","description":"Free-text description of the account.","nullable":true},"assetType":{"$ref":"#/components/schemas/AssetType"},"documentsNeeded":{"type":"integer","description":"How many statements the borrower is asked to provide.","format":"int32","nullable":true},"documentTimePeriod":{"$ref":"#/components/schemas/DocumentTimePeriod"},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplicationTaskItem"},"description":"The document request tasks that belong to this account.","nullable":true},"createdTimestamp":{"type":"string","description":"When the account was created (ISO 8601 date and time, UTC).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the account was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"asset":{"$ref":"#/components/schemas/Asset"},"isRequired":{"type":"boolean","description":"Whether documents for this account are required before the file can move forward."},"requiresPlaidReconnection":{"type":"boolean","description":"True when the account was linked through the bank connection and that link has expired, so the borrower must reconnect it before balances refresh."},"ownerBorrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The hdBorrowerIds of the account's owners. Null means the loan's primary borrower.","nullable":true},"potentialDuplicates":{"type":"array","items":{"$ref":"#/components/schemas/AssetPotentialDuplicate"},"description":"Other accounts on the loan that look like the same account: same institution, last four digits of the account number and owners, and a balance within tolerance. Worked out on every read; empty when there are none.","nullable":true},"notes":{"type":"array","items":{"$ref":"#/components/schemas/RecordNote"},"description":"Notes on this account, oldest first. Never sent to the LOS; empty for a borrower and on the Partner API.","nullable":true}},"additionalProperties":false,"description":"An asset account on the loan, with its requested documents and the borrowers who own it."},"AssetType":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the asset type.","format":"uuid"},"code":{"type":"string","description":"Short code of the asset type.","nullable":true},"name":{"type":"string","description":"Display name of the asset type.","nullable":true}},"additionalProperties":false,"description":"A kind of asset, for example checking or savings."},"DocumentTimePeriod":{"type":"object","properties":{"id":{"type":"string","description":"Id of the period (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the period; send it as documentTimePeriodCode.","nullable":true},"name":{"type":"string","description":"Display name of the period.","nullable":true}},"additionalProperties":false,"description":"The period a statement covers when documents are requested for an asset account, for example Monthly."},"LoanApplicationTaskItem":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task or condition (GUID).","format":"uuid","nullable":true},"taskStatusTimestamp":{"type":"string","description":"When the task's status last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"When the task was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created (ISO 8601 date and time, UTC).","format":"date-time"},"item":{"$ref":"#/components/schemas/Item"},"assignedToBorrowerId":{"type":"string","description":"Id (GUID) of the borrower the task is assigned to. Null for a user task or a task for the loan's borrowers generally.","format":"uuid","nullable":true},"status":{"$ref":"#/components/schemas/TaskStatus"},"document":{"$ref":"#/components/schemas/Document"},"rejectionReasonNote":{"type":"string","description":"The reviewer's free-text note when the task's document was rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReason"},"creditReportType":{"$ref":"#/components/schemas/PosCreditReportType"},"isForPrimaryBorrower":{"type":"boolean","description":"True when the task is for the primary borrower, false when it is for the co-borrower. Null when it is for neither in particular.","nullable":true},"isRequired":{"type":"boolean","description":"Whether the task must be completed before the file can move forward."},"isAccountMainTask":{"type":"boolean","description":"True for the main task of an asset account, the one that requests the account's statements."},"questionType":{"$ref":"#/components/schemas/TaskQuestionType"},"yesNoResponse":{"type":"boolean","description":"The borrower's answer to a yes/no question task. Null until answered.","nullable":true},"shortAnswer":{"type":"string","description":"The borrower's answer to a short-answer question task. Null until answered.","nullable":true},"assignedToUser":{"$ref":"#/components/schemas/LoanAppUser"},"name":{"type":"string","description":"Display name of the task or condition.","nullable":true},"description":{"type":"string","description":"Description of the task. For a condition, the condition text: the reworded text when staff edited it in Henge, otherwise the LOS text.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the task among its siblings, lowest first.","format":"int32","nullable":true},"type":{"$ref":"#/components/schemas/TaskType"},"code":{"type":"string","description":"Short code of the task.","nullable":true},"conditionNo":{"type":"integer","description":"Condition number in the LOS. Conditions only.","format":"int32","nullable":true},"conditionCategory":{"type":"string","description":"Category of the condition in the LOS. Conditions only.","nullable":true},"conditionDueDate":{"type":"string","description":"Due date of the condition (ISO 8601 date). Conditions only.","format":"date","nullable":true},"conditionAssignedUserFullName":{"type":"string","description":"Full name of the user the condition is assigned to in the LOS. Conditions only.","nullable":true},"conditionBorrowerFullName":{"type":"string","description":"Full name of the borrower the condition is for. Conditions only.","nullable":true},"conditionIsHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower. Staff roles still see it; a caller that receives a hidden condition is entitled to it.","nullable":true},"conditionSourceText":{"type":"string","description":"The LOS's original condition text. Set only when staff reworded the condition in Henge, in which case description carries the rewording; null otherwise.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True when staff reworded this condition in Henge. The rewording is never sent to the LOS."},"notes":{"type":"string","description":"Notes on the task or condition.","nullable":true},"taskAssignmentType":{"$ref":"#/components/schemas/TaskAssignmentType"},"isSubscribed":{"type":"boolean","description":"Whether the calling user is subscribed to status-change notifications for this task. Null when not computed.","nullable":true},"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition this task belongs to. Null on conditions and on standalone tasks. Read on create; ignored on update.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account the task belongs to, if any. Needed on create only for a Transaction History task; ignored on update.","format":"uuid","nullable":true},"assetAccountName":{"type":"string","description":"Name of the asset account the task belongs to. Response only, and filled only where the response includes accounts.","nullable":true},"creditReportNumber":{"type":"string","description":"For credit report tasks, the credit agency's report number.","nullable":true},"requestTaskId":{"type":"string","description":"Id of the first task of the document request this task is a copy of (one task per document). Null on the first task itself. On create, naming any task of a request makes the new task a copy that joins that request.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"ownerPairId":{"type":"string","description":"Id (GUID) of the borrower pair staff made the owner of this task or condition. Empty when the owner is worked out on read.","format":"uuid","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True for a whole-loan task or condition that every borrower pair sees."}},"additionalProperties":false,"description":"A task or condition on a loan: a document request, a question, a user task or a condition from the LOS."},"Item":{"type":"object","properties":{"id":{"type":"string","description":"Id of the item (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the item; send it as the item code when you create a task.","nullable":true},"name":{"type":"string","description":"Display name of the item.","nullable":true},"groupCode":{"type":"string","description":"Code of the condition group the item's tasks are shown under. Null means Other.","nullable":true},"canCreateManually":{"type":"boolean","description":"True when staff can create a task for this item by hand."},"canUploadDocument":{"type":"boolean","description":"True when a document can be uploaded against this item."}},"additionalProperties":false,"description":"A kind of request a task can ask for, such as a specific document."},"TaskStatus":{"type":"object","properties":{"id":{"type":"string","description":"Id of the status (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the status.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a task, for example Requested, Uploaded, Submitted or Accepted."},"Document":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"externalId":{"type":"string","description":"The document's id in the Loan Origination System; empty until it has been sent there.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once an uploaded file has been converted to PDF and can be opened; false while conversion is still running."},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition the document is attached to; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"blobName":{"type":"string","description":"The name the file is stored under. An internal storage key: download through the document routes rather than using it.","nullable":true},"createdTimestamp":{"type":"string","description":"When the document was created, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the document was last changed, in UTC (ISO 8601).","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user who last changed the document; null when the change was automatic or unknown.","format":"uuid","nullable":true},"documentTypeId":{"type":"string","description":"Id of the platform's broad document category (such as a vault or task document). Not the loan document type, which is loanDocumentTypeId.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan's vault, false when it hangs off a\r\ntask, a condition or an asset account. Callers use it to decide what a user may do with the\r\ndocument: only a vault document can be deleted. Any document can be given a document type."},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document is filed under (from the loan document types list); null when it has none.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the loan document type; null when the document has none.","nullable":true},"loanDocumentTypeExternalId":{"type":"string","description":"The loan document type's id in the Loan Origination System.","nullable":true},"loanDocumentTypeFolderName":{"type":"string","description":"Name of the folder the loan document type belongs to; null when the document has no type.","nullable":true},"description":{"type":"string","description":"A free-text description of the document; may be empty.","nullable":true},"isDeleted":{"type":"boolean","description":"True when the document has been deleted. Deleted documents are normally left out of lists."},"isInternal":{"type":"boolean","description":"True for a staff-only document that is hidden from borrowers and partner applications."},"isObsolete":{"type":"boolean","description":"The LOS no longer considers this document active. It stays visible so users can still see\r\nit, but it is not current and is never pushed back to the LOS."},"isProtected":{"type":"boolean","description":"The LOS holds the document as Protected, locked there against edits and deletion. Set and\r\ncleared by Admin and Processor through the document status endpoints, or in the LOS itself."},"losStatus":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"title":{"type":"string","description":"The title shown for the document; may be empty, in which case the file name is shown.","nullable":true},"splitFromDocumentId":{"type":"string","description":"On a part of a split combined PDF: the id of the original document it was cut from. Null on every other document.","format":"uuid","nullable":true},"splitStartPage":{"type":"integer","description":"On a part of a split combined PDF: the first page of the original it holds. Null on every other document.","format":"int32","nullable":true},"splitEndPage":{"type":"integer","description":"On a part of a split combined PDF: the last page of the original it holds. Null on every other document.","format":"int32","nullable":true},"isUnsorted":{"type":"boolean","description":"True while the document was bulk-uploaded to the loan with no task and no type and nobody has\r\nsorted it. It is held out of the LOS until it is put on a task or given a type."},"hasNoFile":{"type":"boolean","description":"True for a staff-only entry the Loan Origination System holds with no file here (a non-PDF assigned to a condition): there is nothing to open, download or move."},"intakeStatus":{"type":"string","description":"NeedsPassword or Duplicate for a bulk-uploaded document that is held for that reason; null\r\notherwise. See DocumentIntakeStatuses.","nullable":true},"duplicateOfDocumentId":{"type":"string","description":"The existing document this one repeats, when IntakeStatus is Duplicate.","format":"uuid","nullable":true},"indexStatus":{"type":"string","description":"Whether the document's text is searchable: Indexed, Pending, Failed or NotSubmitted. Set by\r\nthe document lists for staff callers; null when it was not looked up, or the lookup failed.","nullable":true},"analysis":{"$ref":"#/components/schemas/DocumentAnalysisSummary"},"internalNotes":{"type":"string","description":"Staff-only internal notes on the document, verbatim from the Loan Origination System. Returned only to callers who may see internal notes; null for everyone else.","nullable":true}},"additionalProperties":false,"description":"A document on a loan: the file, the task or condition it is attached to, its type and its status."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."},"DocumentAnalysisSummary":{"type":"object","properties":{"status":{"type":"string","description":"Pending, Completed, Failed or Skipped. Failed reads \"Not analysed\".","nullable":true},"verdict":{"type":"string","description":"Whether the document is what was asked for: Matches, Mismatch, Unreadable or Unknown.","nullable":true},"reasonCode":{"type":"string","description":"On a Mismatch, why: WrongDocument, WrongPeriod, WrongAccount, WrongBorrower, MissingPages or Expired. On an Unreadable verdict from the page quality check, UnreadablePages.","nullable":true},"reason":{"type":"string","description":"One line in plain language explaining the verdict, written for the borrower.","nullable":true},"suggestedRejectionReasonCode":{"type":"string","description":"The seeded TaskRejectionReason code the panel pre-selects for a Mismatch.","nullable":true},"suggestedTaskId":{"type":"string","description":"Id of the task or condition the document appears to belong to; null when none matched.","format":"uuid","nullable":true},"suggestedTaskName":{"type":"string","description":"Name of the suggested task or condition.","nullable":true},"isOnSuggestedTask":{"type":"boolean","description":"False when the document sits on a different task than the best match: shown for confirmation."},"matchConfidence":{"type":"number","description":"How sure the analysis is of the suggested task, from 0 to 1.","format":"double","nullable":true},"suggestedLoanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document looks like; null when not determined.","format":"uuid","nullable":true},"suggestedLoanDocumentTypeName":{"type":"string","description":"Name of the suggested loan document type.","nullable":true},"suggestedTitle":{"type":"string","description":"The title the analysis suggests for the document, built from what it read (for example the account and statement period).","nullable":true},"titleAppliedAutomatically":{"type":"boolean","description":"True when the document's current title was set by the analysis rather than by a person."},"previousTitle":{"type":"string","description":"The title the document had before the analysis renamed it; null when it was not renamed.","nullable":true},"autoNameDisabled":{"type":"boolean","description":"True when a person undid an automatic name; the analysis never renames this document again."},"filedByType":{"type":"boolean","description":"Filed under the suggested LOS type and folder by the analysis, for a person to confirm or correct."},"duplicateOfDocumentId":{"type":"string","description":"Id of an earlier document on the loan with the same content, when this one repeats it; otherwise null.","format":"uuid","nullable":true},"supersedesDocumentId":{"type":"string","description":"Id of an earlier document this one replaces (a newer version of the same document); otherwise null.","format":"uuid","nullable":true},"supersededByDocumentId":{"type":"string","description":"Id of a newer document that replaces this one; otherwise null.","format":"uuid","nullable":true},"outcome":{"type":"string","description":"What a person did with the suggestion: Confirmed, Corrected, Rejected or Ignored; null while no one has acted.","nullable":true},"outcomeAt":{"type":"string","description":"When the person acted on the suggestion, in UTC (ISO 8601); null while no one has.","format":"date-time","nullable":true},"coveredPeriods":{"type":"array","items":{"type":"string"},"description":"For a request that needs a span of statements, the months the uploaded documents cover, each formatted yyyy-MM.","nullable":true},"missingPeriods":{"type":"array","items":{"type":"string"},"description":"The requested months no uploaded document covers yet, each formatted yyyy-MM.","nullable":true},"monthsMissing":{"type":"integer","description":"How many months of the request are still missing.","format":"int32","nullable":true},"analyzedAt":{"type":"string","description":"When the analysis was done, in UTC (ISO 8601).","format":"date-time"},"splitSuggestion":{"$ref":"#/components/schemas/SplitSuggestion"},"pageIssues":{"type":"array","items":{"$ref":"#/components/schemas/PageIssue"},"description":"The pages the quality check flagged, which the Unreadable-page request names.","nullable":true}},"additionalProperties":false,"description":"What the document review shows for a document: the suggested task, type and title, the verdict and whether the title was applied automatically. The evidence and page text the analysis read are not included."},"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."},"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."},"TaskRejectionReason":{"type":"object","properties":{"id":{"type":"string","description":"Id of the rejection reason (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the rejection reason.","nullable":true},"code":{"type":"string","description":"Stable code of the rejection reason.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the reason in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"A reason a reviewer gives for rejecting a task's document."},"PosCreditReportType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the report type (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the report type.","nullable":true},"name":{"type":"string","description":"Display name of the report type.","nullable":true}},"additionalProperties":false,"description":"The type of credit report a credit report task asks for."},"TaskQuestionType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the question type (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the question type.","nullable":true},"code":{"type":"string","description":"Stable code of the question type.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the question type in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"For a question task, the kind of answer it asks for, such as yes/no or a short answer."},"LoanAppUser":{"type":"object","properties":{"id":{"type":"string","description":"Id of the user (GUID).","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true}},"additionalProperties":false,"description":"A user, such as the staff member a task is assigned to."},"TaskType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the task type.","nullable":true},"name":{"type":"string","description":"Display name of the task type.","nullable":true}},"additionalProperties":false,"description":"The kind of task."},"TaskAssignmentType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the assignment type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the assignment type.","nullable":true},"name":{"type":"string","description":"Display name of the assignment type.","nullable":true}},"additionalProperties":false,"description":"Who a task is assigned to: a borrower or a user."},"Asset":{"type":"object","properties":{"amount":{"type":"number","description":"Account balance in dollars.","format":"double"},"accountName":{"type":"string","description":"Name of the account.","nullable":true},"accountNumber":{"type":"string","description":"Account number, masked to the last four digits on reads.","nullable":true},"institutionName":{"type":"string","description":"Name of the financial institution.","nullable":true},"source":{"type":"string","description":"Where the asset came from: Manual (entered by hand), a linked bank, or the LOS.","nullable":true},"giftSource":{"type":"string","description":"Who the gift came from, for a gift asset.","nullable":true},"meridianLinkAssetType":{"type":"string","description":"The asset type as the LOS names it.","nullable":true},"isUpdatedExternally":{"type":"boolean","description":"True when the LOS or a linked bank changed the record after it was created."}},"additionalProperties":false,"description":"An asset account on a loan: its balance, institution and where the record came from."},"AssetPotentialDuplicate":{"type":"object","properties":{"assetAccountId":{"type":"string","description":"Id of the other asset account (GUID).","format":"uuid"},"differences":{"type":"array","items":{"$ref":"#/components/schemas/DuplicateDifference"},"description":"How this account differs from that one, one item per field whose values differ. Empty when they agree on every field.","nullable":true}},"additionalProperties":false,"description":"Another asset account on the loan that looks like the same account."},"DuplicateDifference":{"type":"object","properties":{"field":{"type":"string","description":"The name of the field on which the two liabilities differ.","nullable":true},"thisValue":{"type":"string","description":"The field's value on this liability, as text.","nullable":true},"otherValue":{"type":"string","description":"The field's value on the possible duplicate, as text.","nullable":true}},"additionalProperties":false,"description":"One field on which a duplicate differs from the row it is read with: the values of both rows, as text."},"RecordNote":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the note.","format":"uuid"},"text":{"type":"string","description":"The note text.","nullable":true},"authorId":{"type":"string","description":"Who wrote it; null for a system note.","format":"uuid","nullable":true},"authorName":{"type":"string","description":"Name of the note's author; null for a system note.","nullable":true},"createdTimestamp":{"type":"string","description":"When the note was written, ISO 8601 in UTC.","format":"date-time"},"source":{"type":"string","description":"Where the note was written: `UI`, `MCP` (an AI agent tool) or `System`.","nullable":true}},"additionalProperties":false,"description":"A note on a liability or an asset account, returned with that record. It stays in Henge and is not sent to the LOS."}}}}
```

## The GetAssignableTaskUsersResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetAssignableTaskUsersResponse":{"type":"object","properties":{"loanAppId":{"type":"string","description":"Id (GUID) of the loan.","format":"uuid"},"users":{"type":"array","items":{"$ref":"#/components/schemas/AssignableTaskUser"},"description":"The staff users a task on this loan can be assigned to.","nullable":true}},"additionalProperties":false},"AssignableTaskUser":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the user; send it as userId to assign a task to them.","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true},"role":{"type":"string","description":"The user's role on the loan, for example LoanOfficer or ConciergeKey.","nullable":true}},"additionalProperties":false}}}}
```

## The GetAusRunsResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetAusRunsResponse":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the runs belong to.","format":"uuid"},"latest":{"$ref":"#/components/schemas/AusRunResult"},"runs":{"type":"array","items":{"$ref":"#/components/schemas/AusRunResult"},"description":"Every run, newest first.","nullable":true}},"additionalProperties":false},"AusRunResult":{"type":"object","properties":{"id":{"type":"string","description":"Unique id (GUID) of this automated underwriting run; use it as the runId when reading the run's findings.","format":"uuid"},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the run belongs to.","format":"uuid"},"ausType":{"type":"string","description":"The automated underwriting system the run is for: DU (Fannie Mae Desktop Underwriter) or LPA (Freddie Mac Loan Product Advisor).","nullable":true},"source":{"type":"string","description":"Where the run came from: Submitted when it was submitted through Henge, or Imported when it was read in from an existing DU casefile or LPA key.","nullable":true},"casefileId":{"type":"string","description":"The DU casefile id the run belongs to. A later submission on the same loan reuses the casefile. Null for an LPA run.","nullable":true},"lpaKey":{"type":"string","description":"The Freddie Mac LPA key of an LPA run; null for a DU run.","nullable":true},"recommendation":{"type":"string","description":"The underwriting recommendation as text, for example Approve/Eligible. Null when the run has none, such as a credit-only run or a run that ended in an error.","nullable":true},"resultCode":{"type":"integer","description":"Numeric code of the result: 0 not submitted, 1 to 9 the DU results, 10 to 13 and 15 to 19 the LPA results, 14 out of scope. Null when no result was returned.","format":"int32","nullable":true},"result":{"type":"string","description":"The name of resultCode, for example the DU or LPA outcome it stands for. Null when there is no result code.","nullable":true},"riskClass":{"type":"string","description":"For an LPA result, its risk class: Accept or Caution. Null for a DU run or when there is no result.","nullable":true},"status":{"type":"string","description":"How the run ended: Completed (it went through and its result was read back), Submitted (it was accepted but the result could not be read back yet; a later check or loan sync picks it up) or Error (it was refused; message says why).","nullable":true},"casefileStatus":{"type":"string","description":"The status of the DU casefile as last read. Often empty, because the casefile status is not read for every run.","nullable":true},"message":{"type":"string","description":"For a run with status Error, why it was refused; otherwise usually empty.","nullable":true},"creditReissued":{"type":"boolean","description":"True when the broker's existing credit report was reissued onto the loan as part of this run, false when it was not (for example when the report already on the loan was used)."},"creditAgencyDuCode":{"type":"string","description":"The DU code of the credit reporting agency whose report the run used; null when no agency was named.","nullable":true},"creditAgencyName":{"type":"string","description":"Name of the credit reporting agency whose report the run used; null when no agency was named.","nullable":true},"creditReferenceNumber":{"type":"string","description":"The agency's reference (file) number of the report that was reissued; null when no report was reissued.","nullable":true},"creditOption":{"type":"string","description":"How credit reached the casefile on a submission: Reissue (the broker's existing report), OrderNew (a new report ordered) or UsePrevious (the report already in the casefile). Null on an import.","nullable":true},"orderingOption":{"type":"string","description":"What the run did: CreditAndUnderwriting, CreditOnly or UnderwritingOnly. Null on an import and on runs made before this was recorded.","nullable":true},"submissionOption":{"type":"string","description":"The submission type: Preliminary, Interim or Final. Null on an import and on runs made before this was recorded.","nullable":true},"creditReportId":{"type":"string","description":"The id of the credit report that was ordered for the run (credit option OrderNew), as the underwriting system returned it; null when none was named.","nullable":true},"findingsDocumentId":{"type":"string","description":"Id of the loan document that holds the DU findings report for this run; null when no findings report was filed.","format":"uuid","nullable":true},"hasFindings":{"type":"boolean","description":"True when the run's findings are available as data through the findings route; false for older runs made before findings were read as data."},"ltv":{"type":"string","description":"The findings' LTV as DU prints it (\"75.00%\"); null when there are no findings or DU states none.","nullable":true},"debtToIncomeRatio":{"type":"string","description":"The findings' debt-to-income ratio as DU prints it; null when absent.","nullable":true},"closeByDate":{"type":"string","description":"The date DU says the casefile must close by, as DU prints it (\"03/01/2027\"); null when it states none.","nullable":true},"submittedBy":{"type":"string","description":"Id of the user who submitted the run; null for an import or a run without a recorded submitter.","format":"uuid","nullable":true},"submittedByName":{"type":"string","description":"The submitter's display name, read with the run list (`GET .../aus/runs`); null on a run without a submitter, one whose user is gone, and on the result of a submit or a status check.","nullable":true},"brokerNmlsId":{"type":"string","description":"The broker NMLS id sent with the submission; null when none was sent.","nullable":true},"submittedUtc":{"type":"string","description":"When the run was recorded, in UTC (ISO 8601).","format":"date-time"}},"additionalProperties":false,"description":"One run, as the run history and the submit return it. Never carries a credential."}}}}
```

## The GetBrokerRequestsResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetBrokerRequestsResponse":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan.","format":"uuid"},"availability":{"$ref":"#/components/schemas/BrokerRequestAvailability"},"days":{"type":"array","items":{"$ref":"#/components/schemas/BrokerRequestDay"},"description":"Most recent day first.","nullable":true}},"additionalProperties":false},"BrokerRequestAvailability":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/BrokerRequestAvailabilityState"},"reason":{"type":"string","description":"Shown beside a disabled action. Null when the action is enabled or hidden.","nullable":true}},"additionalProperties":false,"description":"Whether a request action is offered on a loan, and why not when it is not."},"BrokerRequestAvailabilityState":{"enum":["Enabled","Disabled","Hidden"],"type":"string","description":"How a request action is offered on a loan: Enabled, Disabled (shown with a reason), or Hidden."},"BrokerRequestDay":{"type":"object","properties":{"date":{"type":"string","description":"The calendar day (UTC, ISO 8601 date) the requests were submitted.","format":"date"},"requests":{"type":"array","items":{"$ref":"#/components/schemas/BrokerRequestSummary"},"description":"The requests submitted that day, most recent first.","nullable":true}},"additionalProperties":false,"description":"The requests submitted on one UTC day, most recent first."},"BrokerRequestSummary":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the request.","format":"uuid"},"type":{"$ref":"#/components/schemas/BrokerRequestType"},"typeName":{"type":"string","description":"Display name of the request type.","nullable":true},"status":{"$ref":"#/components/schemas/BrokerRequestStatus"},"submittedAt":{"type":"string","description":"When the request was submitted, ISO 8601 in UTC.","format":"date-time"},"submittedByName":{"type":"string","description":"Name of the user who submitted the request.","nullable":true},"changedCircumstances":{"type":"array","items":{"$ref":"#/components/schemas/ChangedCircumstance"},"description":"The changed circumstances the broker selected; empty for other request types.","nullable":true},"changedCircumstanceNames":{"type":"array","items":{"type":"string"},"description":"Display names of the selected changed circumstances, in the same order.","nullable":true},"disclosureReason":{"$ref":"#/components/schemas/CocDisclosureReason"},"disclosureReasonName":{"type":"string","description":"Display name of the disclosure reason; null when none was given.","nullable":true},"justification":{"type":"string","description":"An Exception request's justification; null for every other type.","nullable":true},"decision":{"$ref":"#/components/schemas/BrokerRequestDecision"}},"additionalProperties":false,"description":"One row of the history panel."},"BrokerRequestType":{"enum":["Coc","Exception"],"type":"string","description":"What a broker is asking the lender for. Each type carries its own payload on the request and is\r\nrouted to its own reviewer by `BrokerRequestRouting`: a Changed Circumstance, and on a\r\nnon-QM loan an Exception request."},"BrokerRequestStatus":{"enum":["Submitted","Accepted","Declined"],"type":"string","description":"Where a request stands. A request is created Submitted and moves once, to Accepted or Declined,\r\nwhen its reviewer decides it."},"ChangedCircumstance":{"enum":["AdditionalBorrowerAdded","AdditionalServiceFromTitleOrAppraisal","Adding1004DDeskOrFieldReview","AmortizationTypeOrTerm","AppraisedValueDifferent","CompensationPlanChange","EstimatedClosingDateChange","ImpoundsChange","LoanAmountChange","PropertyTypeOrUnitsChange","FeeIncreaseAfterLeExpiration","FicoScoreChange","IncomeUnverifiedOrDtiChange","TitleFeesIncrease","LoanPurposeTypeProgramOrDocumentation","LockEventOrLockExtension","Occupancy","RateLock","RecordingFeesIncrease","SinglePremiumMi","TitleAcceptanceWaiver","Other"],"type":"string","description":"What changed, in business language. Several may be chosen. The change of circumstance form (`GET /loan-applications/{id}/broker-requests/coc/form`) lists every value with its display name, in form order."},"CocDisclosureReason":{"enum":["ChangedCircumstanceSettlementCharges","ChangedCircumstanceEligibility","RevisionRequestedByConsumer","InterestRateDependentCharge","Expiration","DelayedSettlementOnConstructionLoans","Other"],"type":"string","description":"The TRID provision under which a revised disclosure is permitted. One value, optional when the broker submits and required when the lender accepts with re-disclosure. The change of circumstance form lists every value with the regulation's wording."},"BrokerRequestDecision":{"type":"object","properties":{"outcome":{"$ref":"#/components/schemas/BrokerRequestOutcome"},"comment":{"type":"string","description":"The reviewer's comment on the decision; null when none was given.","nullable":true},"coc":{"$ref":"#/components/schemas/CocDecisionDetails"},"decidedAt":{"type":"string","description":"When the decision was recorded, ISO 8601 in UTC.","format":"date-time"},"decidedBy":{"type":"string","description":"Unique identifier (GUID) of the reviewing user.","format":"uuid"},"decidedByName":{"type":"string","description":"Name of the reviewing user.","nullable":true}},"additionalProperties":false,"description":"The reviewer's decision. Recorded once and never changed. `Coc` holds what a\r\nChanged Circumstance decision adds."},"BrokerRequestOutcome":{"enum":["Accepted","Declined"],"type":"string","description":"The reviewer's decision on a request."},"CocDecisionDetails":{"type":"object","properties":{"requiresRedisclosure":{"type":"boolean","description":"True when the request was accepted and the loan must be re-disclosed."},"disclosureReason":{"$ref":"#/components/schemas/CocDisclosureReason"}},"additionalProperties":false,"description":"What a Changed Circumstance decision records. A disclosure reason is required when the request is\r\naccepted with re-disclosure; it is the reviewer's, stored apart from the broker's."}}}}
```

## The GetLiabilitiesResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetLiabilitiesResponse":{"type":"object","properties":{"loanAppId":{"type":"string","description":"Unique identifier (GUID) of the loan.","format":"uuid"},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/LiabilitiesLiability"},"description":"The loan's liabilities.","nullable":true},"creditReportImport":{"$ref":"#/components/schemas/LiabilitiesCreditReportLiabilityImport"}},"additionalProperties":false},"LiabilitiesLiability":{"type":"object","properties":{"id":{"type":"string","description":"Id of the liability (GUID).","format":"uuid"},"createdTimestamp":{"type":"string","description":"When the liability was created (ISO 8601 date and time, UTC).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the liability was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"borrowerId":{"type":"string","description":"Id of the first owner of the debt (GUID). Kept for older readers; use borrowerIds.","format":"uuid"},"borrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids of every borrower who owns the debt (GUIDs), in order.","nullable":true},"amount":{"type":"number","description":"Unpaid balance, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Monthly payment, in dollars.","format":"double","nullable":true},"isPaidOffAtClosing":{"type":"boolean","description":"True when the debt will be paid off at closing. Null when not stated.","nullable":true},"isExcludedFromRatios":{"type":"boolean","description":"True when the payment is left out of the debt-to-income ratios. Null when not stated.","nullable":true},"remainingMonths":{"type":"integer","description":"Months left on the debt.","format":"int32","nullable":true},"source":{"type":"string","description":"How the liability got on the loan, for example entered manually, imported from a credit report or synced from the LOS.","nullable":true},"liabilityType":{"type":"string","description":"The kind of debt, for example a mortgage, revolving or installment account.","nullable":true},"isUpdatedExternally":{"type":"boolean","description":"True when the row was changed by an external update, such as a sync from the LOS, after it was created."},"creditorName":{"type":"string","description":"Name of the creditor or lender.","nullable":true},"description":{"type":"string","description":"Free-text description of the debt.","nullable":true},"securedPropertyId":{"type":"string","description":"The owned property this debt is secured by (its tieId on the loan), or null.","nullable":true},"losLinkPending":{"type":"boolean","description":"True while the tie's link record has not reached the LOS (the write failed; the next sync retries). False otherwise."},"potentialDuplicates":{"type":"array","items":{"$ref":"#/components/schemas/PotentialDuplicate"},"description":"Other liabilities on the loan that look like the same debt. Worked out on every read.","nullable":true},"notes":{"type":"array","items":{"$ref":"#/components/schemas/RecordNote"},"description":"Notes on this row from people, agents and the system, oldest first. Never sent to the LOS; empty for a borrower.","nullable":true}},"additionalProperties":false,"description":"A debt on the loan, with its owners, payment and the property it is secured by."},"PotentialDuplicate":{"type":"object","properties":{"liabilityId":{"type":"string","description":"Id (GUID) of the liability this one may duplicate.","format":"uuid"},"confidenceScore":{"type":"number","description":"How confident the duplicate check is that the two liabilities are the same debt; a higher number is more likely.","format":"double"},"reasoning":{"type":"string","description":"The check's explanation, in plain language, of why the two look like the same debt.","nullable":true},"differences":{"type":"array","items":{"$ref":"#/components/schemas/DuplicateDifference"},"description":"How this liability differs from the possible duplicate, worked out from both as they are now on every read; never stored, so a change made after the check shows. Empty when the two agree on every field.","nullable":true}},"additionalProperties":false},"DuplicateDifference":{"type":"object","properties":{"field":{"type":"string","description":"The name of the field on which the two liabilities differ.","nullable":true},"thisValue":{"type":"string","description":"The field's value on this liability, as text.","nullable":true},"otherValue":{"type":"string","description":"The field's value on the possible duplicate, as text.","nullable":true}},"additionalProperties":false,"description":"One field on which a duplicate differs from the row it is read with: the values of both rows, as text."},"RecordNote":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the note.","format":"uuid"},"text":{"type":"string","description":"The note text.","nullable":true},"authorId":{"type":"string","description":"Who wrote it; null for a system note.","format":"uuid","nullable":true},"authorName":{"type":"string","description":"Name of the note's author; null for a system note.","nullable":true},"createdTimestamp":{"type":"string","description":"When the note was written, ISO 8601 in UTC.","format":"date-time"},"source":{"type":"string","description":"Where the note was written: `UI`, `MCP` (an AI agent tool) or `System`.","nullable":true}},"additionalProperties":false,"description":"A note on a liability or an asset account, returned with that record. It stays in Henge and is not sent to the LOS."},"LiabilitiesCreditReportLiabilityImport":{"type":"object","properties":{"creditReportNumber":{"type":"string","description":"Number of the credit report the import used.","nullable":true},"reportType":{"type":"string","description":"Whether the report was a HardPull or a SoftPull.","nullable":true},"status":{"type":"string","description":"Outcome of the import.","nullable":true},"issues":{"type":"array","items":{"type":"string"},"description":"Plain-English problems found, one per entry, with Social Security numbers shown as the last four digits only.","nullable":true},"importedLiabilityCount":{"type":"integer","description":"How many liabilities the import created.","format":"int32"},"importedTimestamp":{"type":"string","description":"When the import ran (ISO 8601 date and time, UTC).","format":"date-time"}},"additionalProperties":false,"description":"The outcome of the last attempt to import liabilities from a credit report, kept only while it needs attention."}}}}
```

## The GetLoanAppConditionsResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetLoanAppConditionsResponse":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"The loan application id (GUID).","format":"uuid"},"conditions":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplicationConditionItem"},"description":"The loan's conditions, each with the requests under it.","nullable":true},"sourceLoanApplicationId":{"type":"string","description":"Set only for a sandbox loan, which has no conditions of its own: the loan to read them on.","format":"uuid","nullable":true}},"additionalProperties":false},"LoanApplicationConditionItem":{"type":"object","properties":{"conditionDocType":{"type":"string","description":"The document type the condition asks for, by name; null when it has none.","nullable":true},"conditionDocFolder":{"type":"string","description":"The LOS folder of that document type, for example BORROWER.","nullable":true},"suggestedTaskTypeId":{"type":"string","description":"The task type a new task under this condition most likely has: the default type of the task\r\nitems whose default loan document type is `conditionDocType`. Null when the doc\r\ntype is missing, unknown in its folder, maps to no task item that can be created manually, or maps to\r\nitems of different types. The create-task form prefills Type from it.","format":"uuid","nullable":true},"internalNotes":{"type":"string","description":"The underwriters' and processors' running note on the condition, as written. Never shown to a borrower, and null unless the caller may read internal notes.","nullable":true},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplicationTaskItem"},"description":"The requests under the condition, each with its status and documents.","nullable":true},"id":{"type":"string","description":"Id of the task or condition (GUID).","format":"uuid","nullable":true},"taskStatusTimestamp":{"type":"string","description":"When the task's status last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"When the task was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created (ISO 8601 date and time, UTC).","format":"date-time"},"item":{"$ref":"#/components/schemas/Item"},"assignedToBorrowerId":{"type":"string","description":"Id (GUID) of the borrower the task is assigned to. Null for a user task or a task for the loan's borrowers generally.","format":"uuid","nullable":true},"status":{"$ref":"#/components/schemas/TaskStatus"},"document":{"$ref":"#/components/schemas/Document"},"rejectionReasonNote":{"type":"string","description":"The reviewer's free-text note when the task's document was rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReason"},"creditReportType":{"$ref":"#/components/schemas/PosCreditReportType"},"isForPrimaryBorrower":{"type":"boolean","description":"True when the task is for the primary borrower, false when it is for the co-borrower. Null when it is for neither in particular.","nullable":true},"isRequired":{"type":"boolean","description":"Whether the task must be completed before the file can move forward."},"isAccountMainTask":{"type":"boolean","description":"True for the main task of an asset account, the one that requests the account's statements."},"questionType":{"$ref":"#/components/schemas/TaskQuestionType"},"yesNoResponse":{"type":"boolean","description":"The borrower's answer to a yes/no question task. Null until answered.","nullable":true},"shortAnswer":{"type":"string","description":"The borrower's answer to a short-answer question task. Null until answered.","nullable":true},"assignedToUser":{"$ref":"#/components/schemas/LoanAppUser"},"name":{"type":"string","description":"Display name of the task or condition.","nullable":true},"description":{"type":"string","description":"Description of the task. For a condition, the condition text: the reworded text when staff edited it in Henge, otherwise the LOS text.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the task among its siblings, lowest first.","format":"int32","nullable":true},"type":{"$ref":"#/components/schemas/TaskType"},"code":{"type":"string","description":"Short code of the task.","nullable":true},"conditionNo":{"type":"integer","description":"Condition number in the LOS. Conditions only.","format":"int32","nullable":true},"conditionCategory":{"type":"string","description":"Category of the condition in the LOS. Conditions only.","nullable":true},"conditionDueDate":{"type":"string","description":"Due date of the condition (ISO 8601 date). Conditions only.","format":"date","nullable":true},"conditionAssignedUserFullName":{"type":"string","description":"Full name of the user the condition is assigned to in the LOS. Conditions only.","nullable":true},"conditionBorrowerFullName":{"type":"string","description":"Full name of the borrower the condition is for. Conditions only.","nullable":true},"conditionIsHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower. Staff roles still see it; a caller that receives a hidden condition is entitled to it.","nullable":true},"conditionSourceText":{"type":"string","description":"The LOS's original condition text. Set only when staff reworded the condition in Henge, in which case description carries the rewording; null otherwise.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True when staff reworded this condition in Henge. The rewording is never sent to the LOS."},"notes":{"type":"string","description":"Notes on the task or condition.","nullable":true},"taskAssignmentType":{"$ref":"#/components/schemas/TaskAssignmentType"},"isSubscribed":{"type":"boolean","description":"Whether the calling user is subscribed to status-change notifications for this task. Null when not computed.","nullable":true},"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition this task belongs to. Null on conditions and on standalone tasks. Read on create; ignored on update.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account the task belongs to, if any. Needed on create only for a Transaction History task; ignored on update.","format":"uuid","nullable":true},"assetAccountName":{"type":"string","description":"Name of the asset account the task belongs to. Response only, and filled only where the response includes accounts.","nullable":true},"creditReportNumber":{"type":"string","description":"For credit report tasks, the credit agency's report number.","nullable":true},"requestTaskId":{"type":"string","description":"Id of the first task of the document request this task is a copy of (one task per document). Null on the first task itself. On create, naming any task of a request makes the new task a copy that joins that request.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"ownerPairId":{"type":"string","description":"Id (GUID) of the borrower pair staff made the owner of this task or condition. Empty when the owner is worked out on read.","format":"uuid","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True for a whole-loan task or condition that every borrower pair sees."}},"additionalProperties":false,"description":"A condition on the loan, with the requests (tasks) under it. Conditions are kept in step with the LOS."},"LoanApplicationTaskItem":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task or condition (GUID).","format":"uuid","nullable":true},"taskStatusTimestamp":{"type":"string","description":"When the task's status last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"When the task was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created (ISO 8601 date and time, UTC).","format":"date-time"},"item":{"$ref":"#/components/schemas/Item"},"assignedToBorrowerId":{"type":"string","description":"Id (GUID) of the borrower the task is assigned to. Null for a user task or a task for the loan's borrowers generally.","format":"uuid","nullable":true},"status":{"$ref":"#/components/schemas/TaskStatus"},"document":{"$ref":"#/components/schemas/Document"},"rejectionReasonNote":{"type":"string","description":"The reviewer's free-text note when the task's document was rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReason"},"creditReportType":{"$ref":"#/components/schemas/PosCreditReportType"},"isForPrimaryBorrower":{"type":"boolean","description":"True when the task is for the primary borrower, false when it is for the co-borrower. Null when it is for neither in particular.","nullable":true},"isRequired":{"type":"boolean","description":"Whether the task must be completed before the file can move forward."},"isAccountMainTask":{"type":"boolean","description":"True for the main task of an asset account, the one that requests the account's statements."},"questionType":{"$ref":"#/components/schemas/TaskQuestionType"},"yesNoResponse":{"type":"boolean","description":"The borrower's answer to a yes/no question task. Null until answered.","nullable":true},"shortAnswer":{"type":"string","description":"The borrower's answer to a short-answer question task. Null until answered.","nullable":true},"assignedToUser":{"$ref":"#/components/schemas/LoanAppUser"},"name":{"type":"string","description":"Display name of the task or condition.","nullable":true},"description":{"type":"string","description":"Description of the task. For a condition, the condition text: the reworded text when staff edited it in Henge, otherwise the LOS text.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the task among its siblings, lowest first.","format":"int32","nullable":true},"type":{"$ref":"#/components/schemas/TaskType"},"code":{"type":"string","description":"Short code of the task.","nullable":true},"conditionNo":{"type":"integer","description":"Condition number in the LOS. Conditions only.","format":"int32","nullable":true},"conditionCategory":{"type":"string","description":"Category of the condition in the LOS. Conditions only.","nullable":true},"conditionDueDate":{"type":"string","description":"Due date of the condition (ISO 8601 date). Conditions only.","format":"date","nullable":true},"conditionAssignedUserFullName":{"type":"string","description":"Full name of the user the condition is assigned to in the LOS. Conditions only.","nullable":true},"conditionBorrowerFullName":{"type":"string","description":"Full name of the borrower the condition is for. Conditions only.","nullable":true},"conditionIsHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower. Staff roles still see it; a caller that receives a hidden condition is entitled to it.","nullable":true},"conditionSourceText":{"type":"string","description":"The LOS's original condition text. Set only when staff reworded the condition in Henge, in which case description carries the rewording; null otherwise.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True when staff reworded this condition in Henge. The rewording is never sent to the LOS."},"notes":{"type":"string","description":"Notes on the task or condition.","nullable":true},"taskAssignmentType":{"$ref":"#/components/schemas/TaskAssignmentType"},"isSubscribed":{"type":"boolean","description":"Whether the calling user is subscribed to status-change notifications for this task. Null when not computed.","nullable":true},"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition this task belongs to. Null on conditions and on standalone tasks. Read on create; ignored on update.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account the task belongs to, if any. Needed on create only for a Transaction History task; ignored on update.","format":"uuid","nullable":true},"assetAccountName":{"type":"string","description":"Name of the asset account the task belongs to. Response only, and filled only where the response includes accounts.","nullable":true},"creditReportNumber":{"type":"string","description":"For credit report tasks, the credit agency's report number.","nullable":true},"requestTaskId":{"type":"string","description":"Id of the first task of the document request this task is a copy of (one task per document). Null on the first task itself. On create, naming any task of a request makes the new task a copy that joins that request.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"ownerPairId":{"type":"string","description":"Id (GUID) of the borrower pair staff made the owner of this task or condition. Empty when the owner is worked out on read.","format":"uuid","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True for a whole-loan task or condition that every borrower pair sees."}},"additionalProperties":false,"description":"A task or condition on a loan: a document request, a question, a user task or a condition from the LOS."},"Item":{"type":"object","properties":{"id":{"type":"string","description":"Id of the item (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the item; send it as the item code when you create a task.","nullable":true},"name":{"type":"string","description":"Display name of the item.","nullable":true},"groupCode":{"type":"string","description":"Code of the condition group the item's tasks are shown under. Null means Other.","nullable":true},"canCreateManually":{"type":"boolean","description":"True when staff can create a task for this item by hand."},"canUploadDocument":{"type":"boolean","description":"True when a document can be uploaded against this item."}},"additionalProperties":false,"description":"A kind of request a task can ask for, such as a specific document."},"TaskStatus":{"type":"object","properties":{"id":{"type":"string","description":"Id of the status (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the status.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a task, for example Requested, Uploaded, Submitted or Accepted."},"Document":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"externalId":{"type":"string","description":"The document's id in the Loan Origination System; empty until it has been sent there.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once an uploaded file has been converted to PDF and can be opened; false while conversion is still running."},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition the document is attached to; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"blobName":{"type":"string","description":"The name the file is stored under. An internal storage key: download through the document routes rather than using it.","nullable":true},"createdTimestamp":{"type":"string","description":"When the document was created, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the document was last changed, in UTC (ISO 8601).","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user who last changed the document; null when the change was automatic or unknown.","format":"uuid","nullable":true},"documentTypeId":{"type":"string","description":"Id of the platform's broad document category (such as a vault or task document). Not the loan document type, which is loanDocumentTypeId.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan's vault, false when it hangs off a\r\ntask, a condition or an asset account. Callers use it to decide what a user may do with the\r\ndocument: only a vault document can be deleted. Any document can be given a document type."},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document is filed under (from the loan document types list); null when it has none.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the loan document type; null when the document has none.","nullable":true},"loanDocumentTypeExternalId":{"type":"string","description":"The loan document type's id in the Loan Origination System.","nullable":true},"loanDocumentTypeFolderName":{"type":"string","description":"Name of the folder the loan document type belongs to; null when the document has no type.","nullable":true},"description":{"type":"string","description":"A free-text description of the document; may be empty.","nullable":true},"isDeleted":{"type":"boolean","description":"True when the document has been deleted. Deleted documents are normally left out of lists."},"isInternal":{"type":"boolean","description":"True for a staff-only document that is hidden from borrowers and partner applications."},"isObsolete":{"type":"boolean","description":"The LOS no longer considers this document active. It stays visible so users can still see\r\nit, but it is not current and is never pushed back to the LOS."},"isProtected":{"type":"boolean","description":"The LOS holds the document as Protected, locked there against edits and deletion. Set and\r\ncleared by Admin and Processor through the document status endpoints, or in the LOS itself."},"losStatus":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"title":{"type":"string","description":"The title shown for the document; may be empty, in which case the file name is shown.","nullable":true},"splitFromDocumentId":{"type":"string","description":"On a part of a split combined PDF: the id of the original document it was cut from. Null on every other document.","format":"uuid","nullable":true},"splitStartPage":{"type":"integer","description":"On a part of a split combined PDF: the first page of the original it holds. Null on every other document.","format":"int32","nullable":true},"splitEndPage":{"type":"integer","description":"On a part of a split combined PDF: the last page of the original it holds. Null on every other document.","format":"int32","nullable":true},"isUnsorted":{"type":"boolean","description":"True while the document was bulk-uploaded to the loan with no task and no type and nobody has\r\nsorted it. It is held out of the LOS until it is put on a task or given a type."},"hasNoFile":{"type":"boolean","description":"True for a staff-only entry the Loan Origination System holds with no file here (a non-PDF assigned to a condition): there is nothing to open, download or move."},"intakeStatus":{"type":"string","description":"NeedsPassword or Duplicate for a bulk-uploaded document that is held for that reason; null\r\notherwise. See DocumentIntakeStatuses.","nullable":true},"duplicateOfDocumentId":{"type":"string","description":"The existing document this one repeats, when IntakeStatus is Duplicate.","format":"uuid","nullable":true},"indexStatus":{"type":"string","description":"Whether the document's text is searchable: Indexed, Pending, Failed or NotSubmitted. Set by\r\nthe document lists for staff callers; null when it was not looked up, or the lookup failed.","nullable":true},"analysis":{"$ref":"#/components/schemas/DocumentAnalysisSummary"},"internalNotes":{"type":"string","description":"Staff-only internal notes on the document, verbatim from the Loan Origination System. Returned only to callers who may see internal notes; null for everyone else.","nullable":true}},"additionalProperties":false,"description":"A document on a loan: the file, the task or condition it is attached to, its type and its status."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."},"DocumentAnalysisSummary":{"type":"object","properties":{"status":{"type":"string","description":"Pending, Completed, Failed or Skipped. Failed reads \"Not analysed\".","nullable":true},"verdict":{"type":"string","description":"Whether the document is what was asked for: Matches, Mismatch, Unreadable or Unknown.","nullable":true},"reasonCode":{"type":"string","description":"On a Mismatch, why: WrongDocument, WrongPeriod, WrongAccount, WrongBorrower, MissingPages or Expired. On an Unreadable verdict from the page quality check, UnreadablePages.","nullable":true},"reason":{"type":"string","description":"One line in plain language explaining the verdict, written for the borrower.","nullable":true},"suggestedRejectionReasonCode":{"type":"string","description":"The seeded TaskRejectionReason code the panel pre-selects for a Mismatch.","nullable":true},"suggestedTaskId":{"type":"string","description":"Id of the task or condition the document appears to belong to; null when none matched.","format":"uuid","nullable":true},"suggestedTaskName":{"type":"string","description":"Name of the suggested task or condition.","nullable":true},"isOnSuggestedTask":{"type":"boolean","description":"False when the document sits on a different task than the best match: shown for confirmation."},"matchConfidence":{"type":"number","description":"How sure the analysis is of the suggested task, from 0 to 1.","format":"double","nullable":true},"suggestedLoanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document looks like; null when not determined.","format":"uuid","nullable":true},"suggestedLoanDocumentTypeName":{"type":"string","description":"Name of the suggested loan document type.","nullable":true},"suggestedTitle":{"type":"string","description":"The title the analysis suggests for the document, built from what it read (for example the account and statement period).","nullable":true},"titleAppliedAutomatically":{"type":"boolean","description":"True when the document's current title was set by the analysis rather than by a person."},"previousTitle":{"type":"string","description":"The title the document had before the analysis renamed it; null when it was not renamed.","nullable":true},"autoNameDisabled":{"type":"boolean","description":"True when a person undid an automatic name; the analysis never renames this document again."},"filedByType":{"type":"boolean","description":"Filed under the suggested LOS type and folder by the analysis, for a person to confirm or correct."},"duplicateOfDocumentId":{"type":"string","description":"Id of an earlier document on the loan with the same content, when this one repeats it; otherwise null.","format":"uuid","nullable":true},"supersedesDocumentId":{"type":"string","description":"Id of an earlier document this one replaces (a newer version of the same document); otherwise null.","format":"uuid","nullable":true},"supersededByDocumentId":{"type":"string","description":"Id of a newer document that replaces this one; otherwise null.","format":"uuid","nullable":true},"outcome":{"type":"string","description":"What a person did with the suggestion: Confirmed, Corrected, Rejected or Ignored; null while no one has acted.","nullable":true},"outcomeAt":{"type":"string","description":"When the person acted on the suggestion, in UTC (ISO 8601); null while no one has.","format":"date-time","nullable":true},"coveredPeriods":{"type":"array","items":{"type":"string"},"description":"For a request that needs a span of statements, the months the uploaded documents cover, each formatted yyyy-MM.","nullable":true},"missingPeriods":{"type":"array","items":{"type":"string"},"description":"The requested months no uploaded document covers yet, each formatted yyyy-MM.","nullable":true},"monthsMissing":{"type":"integer","description":"How many months of the request are still missing.","format":"int32","nullable":true},"analyzedAt":{"type":"string","description":"When the analysis was done, in UTC (ISO 8601).","format":"date-time"},"splitSuggestion":{"$ref":"#/components/schemas/SplitSuggestion"},"pageIssues":{"type":"array","items":{"$ref":"#/components/schemas/PageIssue"},"description":"The pages the quality check flagged, which the Unreadable-page request names.","nullable":true}},"additionalProperties":false,"description":"What the document review shows for a document: the suggested task, type and title, the verdict and whether the title was applied automatically. The evidence and page text the analysis read are not included."},"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."},"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."},"TaskRejectionReason":{"type":"object","properties":{"id":{"type":"string","description":"Id of the rejection reason (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the rejection reason.","nullable":true},"code":{"type":"string","description":"Stable code of the rejection reason.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the reason in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"A reason a reviewer gives for rejecting a task's document."},"PosCreditReportType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the report type (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the report type.","nullable":true},"name":{"type":"string","description":"Display name of the report type.","nullable":true}},"additionalProperties":false,"description":"The type of credit report a credit report task asks for."},"TaskQuestionType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the question type (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the question type.","nullable":true},"code":{"type":"string","description":"Stable code of the question type.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the question type in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"For a question task, the kind of answer it asks for, such as yes/no or a short answer."},"LoanAppUser":{"type":"object","properties":{"id":{"type":"string","description":"Id of the user (GUID).","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true}},"additionalProperties":false,"description":"A user, such as the staff member a task is assigned to."},"TaskType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the task type.","nullable":true},"name":{"type":"string","description":"Display name of the task type.","nullable":true}},"additionalProperties":false,"description":"The kind of task."},"TaskAssignmentType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the assignment type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the assignment type.","nullable":true},"name":{"type":"string","description":"Display name of the assignment type.","nullable":true}},"additionalProperties":false,"description":"Who a task is assigned to: a borrower or a user."}}}}
```

## The GetLoanAppNoteHistoryResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetLoanAppNoteHistoryResponse":{"type":"object","properties":{"noteId":{"type":"string","description":"Unique identifier (GUID) of the note.","format":"uuid"},"currentBody":{"type":"string","description":"The current body, for showing alongside the earlier versions.","nullable":true},"versions":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppNoteVersion"},"description":"Earlier versions, newest first. Each holds the body as it was before that edit.","nullable":true}},"additionalProperties":false},"LoanAppNoteVersion":{"type":"object","properties":{"body":{"type":"string","description":"The note's text as it was before that edit.","nullable":true},"editedBy":{"type":"string","description":"Id of the user who made the edit (GUID).","format":"uuid"},"editedByName":{"type":"string","description":"Name of the user who made the edit.","nullable":true},"editedAt":{"type":"string","description":"When the edit was made (ISO 8601 date and time, UTC).","format":"date-time"}},"additionalProperties":false,"description":"An earlier version of a note."}}}}
```

## The GetLoanAppNotesResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetLoanAppNotesResponse":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan.","format":"uuid"},"notes":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppNoteResponse"},"description":"Newest first.","nullable":true},"page":{"type":"integer","description":"The page number returned, starting at 1.","format":"int32"},"pageSize":{"type":"integer","description":"The maximum number of notes per page.","format":"int32"},"totalCount":{"type":"integer","description":"Notes matching the filter across all pages (deleted notes excluded).","format":"int32"}},"additionalProperties":false},"LoanAppNoteResponse":{"required":["canDelete","canEdit","createdAt","createdBy","id","isEdited","loanApplicationId","subjectId","subjectType","updatedAt"],"type":"object","properties":{"id":{"type":"string","description":"Id of the note (GUID).","format":"uuid"},"loanApplicationId":{"type":"string","description":"Id of the loan application the note is on (GUID).","format":"uuid"},"subjectType":{"$ref":"#/components/schemas/LoanAppNoteSubjectType"},"subjectId":{"type":"string","description":"Id of what the note is about; subjectType says what kind of thing it is.","format":"uuid"},"body":{"type":"string","description":"Text of the note.","nullable":true},"createdBy":{"type":"string","description":"Id of the user who wrote the note (GUID).","format":"uuid"},"createdByName":{"type":"string","description":"Name of the user who wrote the note.","nullable":true},"createdAt":{"type":"string","description":"When the note was written (ISO 8601 date and time, UTC).","format":"date-time"},"updatedAt":{"type":"string","description":"When the note was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"isEdited":{"type":"boolean","description":"True when the note was edited after it was written."},"canEdit":{"type":"boolean","description":"The caller may edit this note (they wrote it)."},"canDelete":{"type":"boolean","description":"The caller may delete this note (they wrote it, or they are an Admin or CompanyAdmin)."}},"additionalProperties":false,"description":"A note on a loan application, or on something in it such as a document."},"LoanAppNoteSubjectType":{"enum":["LoanApplication","AiCall","Document"],"type":"string","description":"What a note is attached to. Each new place notes appear adds a value here (conditions and tasks next) plus a check that the subject belongs to the loan; nothing else changes."}}}}
```

## The GetLoanApplicationResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetLoanApplicationResponse":{"required":["assetsLocked","createdTimestampUtc","id","isClientPortalHidden","isDeleted","isLoanEditable","isSetupComplete"],"type":"object","properties":{"losType":{"$ref":"#/components/schemas/Application"},"updatedByEmail":{"type":"string","description":"Email address of the user who last changed the loan application.","nullable":true},"updatedByFirstName":{"type":"string","description":"First name of the user who last changed the loan application.","nullable":true},"updatedByLastName":{"type":"string","description":"Last name of the user who last changed the loan application.","nullable":true},"updatedByIp":{"type":"string","description":"IP address the last change came from.","nullable":true},"isLoanEditable":{"type":"boolean","description":"True while the application can still be edited in Henge. False once it is submitted and the borrower has accepted e-consent, after which writes are refused."},"losLeadFileAvailable":{"type":"boolean","description":"True when the loan has no file in the loan origination system yet and a credit reissue or a DU run opens one for it, held as a lead until the application is submitted. False otherwise."},"skipStatedIncomePreapproval":{"type":"boolean","description":"True when the pre-approval step that asks for stated income is skipped for this loan. Null when not set.","nullable":true},"startStatedIncomePreapproval":{"type":"boolean","description":"True when the stated-income pre-approval flow was started for this loan. Null when not set.","nullable":true},"isSetupComplete":{"type":"boolean","description":"True when the loan's initial setup is complete."},"assetsLocked":{"type":"boolean","description":"The loan has reached approval, so its assets can no longer be changed from Henge. Computed on read for the loan page, never stored."},"preApproval":{"$ref":"#/components/schemas/PreApprovalSummary"},"timestamp":{"type":"integer","description":"Time of the last save of the application form, as a Unix timestamp in seconds. Null when there is none.","format":"int64","nullable":true},"referredBy":{"$ref":"#/components/schemas/Contact"},"company":{"$ref":"#/components/schemas/LoanCompany"},"notKept":{"type":"array","items":{"type":"string"},"description":"Fields of the update that were accepted but are not held by the loan afterwards, each with what the loan holds instead. Omitted when every field was kept.","nullable":true},"currentBorrowerId":{"type":"string","description":"The calling borrower's own borrower id on this loan. Filled only for a borrower caller on the borrower-facing API; omitted for every other caller, including Partner API callers.","format":"uuid","nullable":true},"currentPairIndex":{"type":"integer","description":"Position of the calling borrower's pair on the loan (0 is the primary pair). Filled only for a borrower caller.","format":"int32","nullable":true},"isPrimaryPair":{"type":"boolean","description":"The calling client is on pair 0; false when their pair is unknown. Null for a caller who is not a client.","nullable":true},"hasMultiplePairs":{"type":"boolean","description":"The loan holds more than one live pair (toggle on). Null for a caller who is not a client.","nullable":true},"sectionCompletion":{"$ref":"#/components/schemas/LoanAppSectionCompletionReport"},"figures":{"$ref":"#/components/schemas/LoanFigures"},"headerFigures":{"$ref":"#/components/schemas/LoanHeaderFigures"},"mortgageLoanTypeName":{"type":"string","description":"Readable name of loanInfo.mortgageLoanType, for example PrimeConforming. A convenience only: it is not the loan type, which is loanInfo.loanType.name. Null and omitted when the raw value is empty or not a recognized code.","nullable":true,"readOnly":true},"id":{"type":"string","description":"Id of the loan application (GUID), as used in loan-applications/{id} paths. The LOS loan id is loanInfo.loanId.","format":"uuid"},"loanInfo":{"$ref":"#/components/schemas/LoanInfo"},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplicationTaskItem"},"description":"The loan's tasks and conditions.","nullable":true},"taskSummaries":{"type":"array","items":{"$ref":"#/components/schemas/TaskSummary"},"description":"Counts of the loan's tasks by status, split into user tasks and borrower tasks.","nullable":true},"loanTimeline":{"$ref":"#/components/schemas/LoanTimeline"},"isDeleted":{"type":"boolean","description":"True when the loan application has been deleted."},"createdTimestampUtc":{"type":"string","description":"When the loan application was created (ISO 8601 date and time, UTC).","format":"date-time"},"updatedTimestampUtc":{"type":"string","description":"When the loan application was last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedBy":{"type":"string","description":"Id (GUID) of the user who last changed the loan application.","format":"uuid","nullable":true},"isClientPortalHidden":{"type":"boolean","description":"True when the borrower's company does not use the borrower portal. False when that cannot be determined. Computed on read, never stored."},"isLosLead":{"type":"boolean","description":"True while the loan has a loan number but its application has not been submitted yet (its file was opened early, as a lead). False otherwise: a loan number then means the application was submitted."},"isSandbox":{"type":"boolean","description":"True when the loan is a sandbox, a copy made to try changes on. False on every ordinary loan. Read-only."},"sourceLoanApplicationId":{"type":"string","description":"For a sandbox, the id of the loan it was copied from. Null on every other loan.","format":"uuid","nullable":true},"sandboxSourceLoanNumber":{"type":"string","description":"For a sandbox, the LOS loan number of the loan it was copied from. Null on every other loan.","nullable":true}},"additionalProperties":false},"Application":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the application.","format":"uuid"},"type":{"type":"string","description":"The application's type.","nullable":true},"name":{"type":"string","description":"The application's name.","nullable":true}},"additionalProperties":false,"description":"A reference to an application: its id, type and name."},"PreApprovalSummary":{"type":"object","properties":{"isApproved":{"type":"boolean","description":"True when the latest pre-approval was approved, false when denied; null when none has run.","nullable":true},"denialReasons":{"type":"array","items":{"type":"string"},"description":"Why the latest pre-approval was denied; empty when it was approved.","nullable":true},"issuedDate":{"type":"string","description":"When the latest pre-approval was issued, ISO 8601 in UTC.","format":"date-time","nullable":true},"expiryDate":{"type":"string","description":"When the latest pre-approval letter expires, ISO 8601 in UTC.","format":"date-time","nullable":true},"creditPulledOn":{"type":"string","description":"When the soft credit pull the latest run used was pulled, ISO 8601 in UTC.","format":"date-time","nullable":true},"letterDocumentId":{"type":"string","description":"Unique identifier (GUID) of the pre-approval letter document, when one was issued.","format":"uuid","nullable":true},"canRerun":{"type":"boolean","description":"True when the pre-approval can be run again now."},"cannotRerunReason":{"type":"string","description":"Why it cannot be run again; null when it can.","nullable":true},"runs":{"type":"array","items":{"$ref":"#/components/schemas/PreApprovalRun"},"description":"Every persisted run, oldest first. Filled for staff roles only.","nullable":true}},"additionalProperties":false,"description":"The loan response's `preApproval` block: the last result, and whether and why a re-run is refused."},"PreApprovalRun":{"type":"object","properties":{"date":{"type":"string","description":"When the run was made, ISO 8601 in UTC.","format":"date-time"},"actorUserId":{"type":"string","description":"Unique identifier (GUID) of the user who ran it; null when no user ran it.","format":"uuid","nullable":true},"purchasePrice":{"type":"number","description":"Purchase price the run used, in dollars.","format":"double"},"downPayment":{"type":"number","description":"Down payment the run used, in dollars.","format":"double"},"annualIncome":{"type":"number","description":"Annual income the run used, in dollars.","format":"double"},"occupancy":{"type":"string","description":"Occupancy the run used: PrimaryResidence, SecondaryResidence or Investment.","nullable":true},"incomeType":{"type":"string","description":"Income type the run used, for example W2-earner.","nullable":true},"loanType":{"type":"string","description":"Loan type the run used: VA, FHA, Conventional or NonConforming.","nullable":true},"isApproved":{"type":"boolean","description":"True when the run was approved."},"denialReasons":{"type":"array","items":{"type":"string"},"description":"Why the run was denied; empty when approved.","nullable":true},"loanAmount":{"type":"number","description":"Loan amount of the run, in dollars.","format":"double"},"maxLoanAmount":{"type":"number","description":"Largest loan amount the borrower qualified for, in dollars.","format":"double"},"dti":{"type":"number","description":"Debt-to-income ratio of the run, in percent.","format":"double"},"ltv":{"type":"number","description":"Loan-to-value ratio of the run, in percent.","format":"double"},"creditScore":{"type":"integer","description":"Qualifying credit score of the run.","format":"int32"},"rate":{"type":"number","description":"Best note rate found, in percent; null when not approved.","format":"double","nullable":true},"loanProgram":{"type":"string","description":"Program priced, as a term label such as 30-Yr.; null when not approved.","nullable":true},"documentId":{"type":"string","description":"The letter document when approved; the denied document is filed by the subscriber, so it is not known here.","format":"uuid","nullable":true}},"additionalProperties":false,"description":"One persisted pre-approval run, appended to `PreApprovalRuns` and never trimmed."},"Contact":{"type":"object","properties":{"id":{"type":"string","description":"Id of the contact (GUID).","format":"uuid","nullable":true},"email":{"type":"string","description":"Email address.","nullable":true},"firstName":{"type":"string","description":"First name.","nullable":true},"lastName":{"type":"string","description":"Last name.","nullable":true},"agentName":{"type":"string","description":"Full name of the agent.","nullable":true},"roleName":{"type":"string","description":"Display name of the contact's role.","nullable":true},"agentNMLS":{"type":"string","description":"The agent's NMLS id.","nullable":true},"role":{"$ref":"#/components/schemas/ContactRole"},"phone":{"type":"string","description":"Phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"companyPhone":{"type":"string","description":"The agent's company phone number.","nullable":true},"zip":{"type":"string","description":"ZIP or postal code.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"street":{"type":"string","description":"Street address.","nullable":true},"companyNMLS":{"type":"string","description":"The agent's company NMLS id.","nullable":true}},"additionalProperties":false,"description":"A person on or tied to a loan, such as the referring agent."},"ContactRole":{"enum":["Other","Appraiser","Escrow","CreditReport","Title","MortgageInsurance","ListingAgent","SellingAgent","Builder","Underwriter","Investor","Servicing","BuyerAttorney","SellerAttorney","HomeOwnerInsurance","HazardInsurance","MarketingLead","Seller","Surveyor","LoanOfficer","Bank","Lender","Processor","CallCenterAgent","LoanOpener","Manager","Broker","BrokerRep","ECOA","Realtor","Mortgagee","HomeOwnerAssociation","BuyerAgent","ClosingAgent","FairHousingLending","HomeInspection","FloodProvider","CreditReportAgency2","CreditReportAgency3","Shipper","BrokerProcessor","Trustee","Funder","PostCloser","Insuring","CollateralAgent","DocDrawer","PropertyManagement","TitleUnderwriter","CreditAuditor","DisclosureDesk","JuniorProcessor","JuniorUnderwriter","LegalAuditor","LoanOfficerAssistant","Purchaser","QCCompliance","Secondary","PestInspection","Subservicer","ExternalSecondary","ExternalPostCloser","LoanPurchasePayee","AppraisalManagementCompany","Referral","Notary","TaxServicer","SupervisoryAppraiser","Attorney","PropertyInspector","CPATaxPreparer","LockDesk","MortgageServiceOrganization","Verifications","TaxCollector","TaxTranscripts"],"type":"string","description":"The role a contact plays on a loan. Each value names that role: Other (anything not listed), Appraiser, Escrow, CreditReport (credit agency), Title, MortgageInsurance, ListingAgent, SellingAgent, Builder, Underwriter, Investor, Servicing, BuyerAttorney, SellerAttorney, HomeOwnerInsurance (obsolete; use HazardInsurance), HazardInsurance (homeowner's insurance), MarketingLead, Seller, Surveyor, LoanOfficer, Bank, Lender, Processor, CallCenterAgent, LoanOpener, Manager, Broker, BrokerRep, ECOA, Realtor, Mortgagee, HomeOwnerAssociation, BuyerAgent, ClosingAgent, FairHousingLending, HomeInspection, FloodProvider, CreditReportAgency2, CreditReportAgency3, Shipper, BrokerProcessor (external processor), Trustee, Funder, PostCloser, Insuring, CollateralAgent, DocDrawer, PropertyManagement, TitleUnderwriter, CreditAuditor, DisclosureDesk, JuniorProcessor, JuniorUnderwriter, LegalAuditor, LoanOfficerAssistant, Purchaser, QCCompliance, Secondary, PestInspection, Subservicer, ExternalSecondary, ExternalPostCloser, LoanPurchasePayee, AppraisalManagementCompany, Referral, Notary, TaxServicer, SupervisoryAppraiser, Attorney, PropertyInspector, CPATaxPreparer, LockDesk, MortgageServiceOrganization, Verifications, TaxCollector and TaxTranscripts."},"LoanCompany":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the company.","format":"uuid"},"name":{"type":"string","description":"Company name.","nullable":true},"code":{"type":"string","description":"The company's short code.","nullable":true},"companyTypeName":{"type":"string","description":"Name of the company type, for example TPO; null for a standard company.","nullable":true}},"additionalProperties":false,"description":"The company a loan belongs to, as carried on a loan read. Enough for a reader to tell a TPO\r\nloan from a Standard one without a second call: `CompanyTypeName` is the company\r\ntype's name (\"TPO\"), and null means Standard, the same rule the companies endpoint applies."},"LoanAppSectionCompletionReport":{"type":"object","properties":{"sections":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionCompletion"},"description":"Per-section completion report for the 7 borrower wizard sections, in sidebar order. Each entry carries the section status plus the required fields that still have no value, mirroring the frontend's section validation exactly.","nullable":true},"missingRequiredFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"Every required field that still has no value, across all sections, in the order the application asks for them (section by section, top to bottom). The first entry is the next field to fill in.","nullable":true},"pairs":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppPairCompletion"},"description":"The missing required fields and rule errors of all sections grouped by borrower pair. missingRequiredFields keeps every entry; this adds the grouping.","nullable":true},"allSectionsComplete":{"type":"boolean","description":"True when every section's status is 'Completed' or 'Accepted' (the agent-side completion bar used for submission)."},"isReadyToSubmit":{"type":"boolean","description":"True when the loan application can be submitted right now: not already submitted, every section signed off, every validated section's required fields answered, and every required borrower task Uploaded/Submitted/Accepted. The server refuses a submit while this is false."},"submitBlockers":{"type":"array","items":{"type":"string"},"description":"Human-readable reasons the loan application cannot be submitted yet. Empty when isReadyToSubmit is true.","nullable":true},"blockers":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppReadinessBlocker"},"description":"The same reasons as submitBlockers, structured: kind, section or task, status, and the missing fields.","nullable":true}},"additionalProperties":false,"description":"How complete the borrower's loan application is, section by section, and whether it can be submitted."},"LoanAppSectionCompletion":{"type":"object","properties":{"sectionName":{"type":"string","description":"Wizard section name as shown in the borrower UI sidebar: 'About You', 'Loan & Property', 'Work & Income', 'Assets', 'Liabilities', 'Real Estate', or 'Additional Details'.","nullable":true},"taskCode":{"type":"string","description":"Code of the verification task that tracks this section, e.g. 'LoanAndPropertyVerification'.","nullable":true},"taskName":{"type":"string","description":"Name of the verification task that tracks this section, e.g. 'Loan and Property Verification'.","nullable":true},"status":{"type":"string","description":"Normalized section status as the borrower UI sidebar shows it: 'NotStarted', 'InProgress', 'Submitted', 'Completed', or 'Accepted'. Derived from the verification task status; sections in 'Completed' or 'Accepted' count toward overall loan app completion.","nullable":true},"rawTaskStatusName":{"type":"string","description":"The verification task's raw status name as stored (e.g. 'Uploaded', 'Requested'); null when the loan has no verification task for this section (e.g. loans synced from the LOS that never went through the wizard).","nullable":true},"isValid":{"type":"boolean","description":"True when every required field in this section has a value and no section rule is violated, i.e. the borrower could press 'Complete Section' right now. Always true for Assets and Liabilities, which have no field-level validation here (use the section status for them)."},"fields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppFieldStatus"},"description":"Every wizard field in this section with its per-loan required flag and whether it currently holds a value. Empty for Assets and Liabilities, which have no field-level validation.","nullable":true},"missingRequiredFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"Convenience list: the entries from 'fields' that are required and have no value. Empty when the section's data is complete.","nullable":true},"ruleErrors":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionRuleError"},"description":"Cross-field rule violations in this section (e.g. 2-year address/employment history gaps, loan amount above purchase price). Empty when no rules are violated.","nullable":true},"pairs":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppPairCompletion"},"description":"The same missing fields and rule errors grouped by borrower pair. The flat lists above keep every entry; this adds the grouping. Empty for sections with no per-borrower fields.","nullable":true},"notes":{"type":"array","items":{"type":"string"},"description":"Caveats about how this section's completion is evaluated, when applicable.","nullable":true}},"additionalProperties":false},"LoanAppFieldStatus":{"type":"object","properties":{"path":{"type":"string","description":"Dot-path of the field, e.g. 'loanInfo.borrowers[0].currentAddress.zipCode'. Matches the frontend validation key and doubles as the camelCase JSON path into this same response.","nullable":true},"label":{"type":"string","description":"Human-readable label for the field, e.g. 'Co-Borrower Current Address ZIP Code'.","nullable":true},"required":{"type":"boolean","description":"Whether this field is required for THIS loan, with conditional rules already resolved (e.g. purchase price is not required on a Refinance, dependent ages only when the borrower has dependents). A field that is required and has no value blocks section completion."},"hasValue":{"type":"boolean","description":"Whether the field currently holds an acceptable value. False when empty AND when a value fails its format check (e.g. a malformed SSN or email), matching the wizard's treatment of invalid values as missing. required && !hasValue means the field is blocking section completion."},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the field belongs to a specific applicant; null for loan-level fields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the field belongs to; null for loan-level fields.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppMissingField":{"type":"object","properties":{"fieldPath":{"type":"string","description":"Dot-path of the required field that has no value, e.g. 'loanInfo.borrowers[0].currentAddress.zipCode'. Matches the frontend validation key and doubles as the camelCase JSON path into this same response.","nullable":true},"label":{"type":"string","description":"Human-readable label for the field, e.g. 'Co-Borrower Current Address ZIP Code'.","nullable":true},"section":{"type":"string","description":"The wizard section the field is on, e.g. 'About You'.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the field belongs to a specific applicant; null for loan-level fields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the field belongs to; null for loan-level fields.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppSectionRuleError":{"type":"object","properties":{"message":{"type":"string","description":"Cross-field rule violation message, identical to the text the borrower-facing wizard shows (e.g. 'Address history must be at least 2 years', 'Missing March 2024 - May 2024'). Month-coverage rules are evaluated with the server clock, so results near a month boundary can differ by one month from a browser in another timezone.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the rule applies to a specific applicant; null for loan-level rules.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the rule belongs to; null for loan-level rules.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppPairCompletion":{"type":"object","properties":{"pairIndex":{"type":"integer","description":"The borrower pair's position on the loan; 0 is the primary pair.","format":"int32"},"isValid":{"type":"boolean","description":"True when this pair has no missing required field and no rule error."},"missingRequiredFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"The required fields of this pair's borrower and co-borrower that still have no value.","nullable":true},"ruleErrors":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionRuleError"},"description":"The cross-field rule violations of this pair's borrower and co-borrower.","nullable":true},"status":{"type":"string","description":"Normalized status of this pair's own verification task for the section ('NotStarted', 'InProgress', 'Submitted', 'Completed', 'Accepted'). Set only when pairs are enabled, and only on sections that have one task per pair.","nullable":true},"rawTaskStatusName":{"type":"string","description":"This pair's verification task's raw status name; null when the pair has no task for the section yet.","nullable":true},"taskId":{"type":"string","description":"Id of this pair's verification task for the section, the id sign_off_loan_section takes; null when the pair has no task yet.","format":"uuid","nullable":true}},"additionalProperties":false},"LoanAppReadinessBlocker":{"type":"object","properties":{"kind":{"type":"string","description":"'AlreadySubmitted', 'SectionNotSignedOff', 'MissingFields', 'RequiredTask' or 'InvalidAsset'.","nullable":true},"section":{"type":"string","description":"Wizard section name, for SectionNotSignedOff and MissingFields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) a MissingFields blocker belongs to; null for a loan-level blocker.","format":"int32","nullable":true},"taskCode":{"type":"string","description":"Code of the section's verification task, for SectionNotSignedOff and MissingFields.","nullable":true},"taskId":{"type":"string","description":"The blocking task's id, for SectionNotSignedOff and RequiredTask; null when the section has no task.","format":"uuid","nullable":true},"task":{"type":"string","description":"The blocking task's name, for RequiredTask.","nullable":true},"status":{"type":"string","description":"The blocking task's status: the normalized section status for SectionNotSignedOff, the raw task status name for RequiredTask.","nullable":true},"assetAccountId":{"type":"string","description":"The asset account that cannot be submitted, for InvalidAsset; the message names the asset.","format":"uuid","nullable":true},"missingFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"Required fields with no value, for MissingFields.","nullable":true},"ruleErrors":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionRuleError"},"description":"Cross-field rule violations, for MissingFields.","nullable":true},"message":{"type":"string","description":"Human-readable form of this blocker.","nullable":true}},"additionalProperties":false,"description":"One reason a loan application cannot move forward (a section sign-off or the final submit).\r\nStructured so a client can render it without parsing text; `message` is the\r\nhuman-readable form."},"LoanFigures":{"type":"object","properties":{"frontEndDti":{"type":"number","description":"Qualifying front-end (housing expense) ratio, `sQualTopR`.","format":"double","nullable":true},"backEndDti":{"type":"number","description":"Qualifying back-end (total debt) ratio, `sQualBottomR`.","format":"double","nullable":true},"ltv":{"type":"number","description":"Base loan-to-value ratio, `sLtvR`.","format":"double","nullable":true},"cltv":{"type":"number","description":"Base combined loan-to-value ratio, `sCltvR`.","format":"double","nullable":true},"totalIncome":{"type":"number","description":"Total qualifying monthly income, `sLTotI`.","format":"double","nullable":true},"totalPayment":{"type":"number","description":"Total proposed monthly payment, `sMonthlyPmt`.","format":"double","nullable":true},"cashToClose":{"type":"number","description":"Cash to close, `sTransNetCash`.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's numbers as the LOS holds them after a change: both DTI ratios, LTV, CLTV, total income, total payment and cash to close. Each is read back from the LOS, never calculated here; null when the LOS returned nothing for it."},"LoanHeaderFigures":{"type":"object","properties":{"representativeFico":{"type":"integer","description":"Middle of the primary borrower of pair 1's bureau scores (lower of two, the one when one); null with no credit.","format":"int32","nullable":true},"ausEngine":{"type":"string","description":"The latest AUS run's engine, \"DU\" or \"LPA\" (`AusRunTypes`), by run date across both; null with no run.","nullable":true},"ausResult":{"type":"string","description":"The result text of the run shown as the LOS gives it, e.g. \"Approve/Eligible\"; null when no run has a result.","nullable":true},"ausSummary":{"type":"string","description":"The text the header shows for the AUS key: engine and result, e.g. \"DU Approve/Eligible\"; the engine and the run's status text when no run has a result; null with no run.","nullable":true},"ausRunDate":{"type":"string","description":"When the AUS run shown was made (UTC).","format":"date-time","nullable":true},"leSentDate":{"type":"string","description":"The issued date of the first initial Loan Estimate; null before one was sent.","format":"date","nullable":true},"rateLockStatus":{"type":"string","description":"The loan's rate lock status as the LOS reports it, for example Locked or Not Locked; null when unknown.","nullable":true},"rateLockExpirationDate":{"type":"string","description":"The rate lock's expiration date (`LoanRateLock.ExpirationDate`).","format":"date","nullable":true},"loanOfficerName":{"type":"string","description":"The loan officer's name.","nullable":true},"processorName":{"type":"string","description":"The loan processor's name.","nullable":true}},"additionalProperties":false,"description":"The header figures the loan page shows that no other field of the loan read carries: the representative FICO, the latest AUS run, the date the first Loan Estimate was sent, the rate lock and the two assigned people. Each is null when the loan has no value."},"LoanInfo":{"type":"object","properties":{"loanId":{"type":"string","description":"The loan's id in the LOS (the same value as the loan's externalId). Null for a loan not in the LOS yet.","nullable":true},"loanNumber":{"type":"string","description":"The loan number the LOS assigned, shown to people.","nullable":true},"sourceLoanNumber":{"type":"string","description":"The loan number the originating system gave this loan, from an imported MISMO file. Never Henge's own loan number (loanNumber).","nullable":true},"loanAmount":{"type":"number","description":"Base loan amount, in dollars, before any financed mortgage insurance premium or funding fee.","format":"double","nullable":true},"loanType":{"$ref":"#/components/schemas/FieldType"},"mortgageLoanType":{"type":"string","description":"Raw product-class code of the loan, a number as text. It is not the loan type (loanType). Code 0 means government or unspecified.","nullable":true},"purpose":{"$ref":"#/components/schemas/FieldType"},"lienPosition":{"$ref":"#/components/schemas/FieldType"},"loanStatus":{"$ref":"#/components/schemas/FieldType"},"propertyType":{"$ref":"#/components/schemas/FieldType"},"loanStatusDate":{"type":"string","description":"When the loan reached its current status (ISO 8601 date and time).","format":"date-time","nullable":true},"appraisalValue":{"type":"number","description":"Appraised value of the subject property, in dollars.","format":"double","nullable":true},"purchasePrice":{"type":"number","description":"Purchase price of the subject property, in dollars. Purchase loans only.","format":"double","nullable":true},"subjectPropertyAddress":{"$ref":"#/components/schemas/SubjectPropertyAddress"},"occupancy":{"$ref":"#/components/schemas/FieldType"},"mannerOfTitle":{"type":"string","description":"How title will be held, as entered (free text). finalVesting is the newer field.","nullable":true},"refinance":{"$ref":"#/components/schemas/RefinanceInfo"},"assignments":{"$ref":"#/components/schemas/Assignments"},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/PosBorrower"},"description":"The loan's borrowers. A co-borrower is nested inside the borrower it is paired with, in coBorrower.","nullable":true},"proposedHousingExpense":{"$ref":"#/components/schemas/ProposedHousingExpense"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomField"},"description":"Custom fields configured on the loan, with their values.","nullable":true},"closingDate":{"type":"string","description":"Scheduled closing date (ISO 8601 date and time).","format":"date-time","nullable":true},"estimatedCompensation":{"type":"number","description":"Estimated originator compensation for the loan, in dollars.","format":"double","nullable":true},"lockedCompensation":{"type":"number","description":"Originator compensation fixed by the rate lock, in dollars.","format":"double","nullable":true},"lockStatus":{"type":"string","description":"Rate lock status as the LOS names it, for example Not Locked or Locked.","nullable":true},"confirmedLockPeriod":{"type":"string","description":"Length of the confirmed rate lock, in days, as text.","nullable":true},"downPayment":{"type":"number","description":"Down payment, in dollars.","format":"double","nullable":true},"downPaymentPercentage":{"type":"number","description":"Down payment as a percent of the purchase price, for example 20.","format":"double","nullable":true},"downPaymentSources":{"type":"array","items":{"$ref":"#/components/schemas/DownPaymentSource"},"description":"Where the down payment comes from.","nullable":true},"mortgageInsurance":{"type":"number","description":"Mortgage insurance amount, in dollars.","format":"double","nullable":true},"annualIncome":{"type":"number","description":"The borrower's total annual income, in dollars.","format":"double","nullable":true},"hasAssetsForDownPayment":{"type":"boolean","description":"True when the borrower has assets to cover the down payment."},"hoaAmount":{"type":"number","description":"Homeowners association dues, in dollars.","format":"double","nullable":true},"noteRate":{"type":"number","description":"Note rate as a percent, for example 6.875.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, as a percent, for example 7.012.","format":"double","nullable":true},"ltvRatios":{"$ref":"#/components/schemas/LtvRatios"},"numberOfUnits":{"type":"integer","description":"Number of units in the subject property.","format":"int32","nullable":true},"qualification":{"$ref":"#/components/schemas/Qualification"},"loanTerm":{"type":"integer","description":"Loan term, in months.","format":"int32","nullable":true},"loanProgram":{"type":"string","description":"Name of the loan program the loan is in.","nullable":true},"lockExpirationDate":{"type":"string","description":"Date the rate lock expires (ISO 8601 date).","format":"date","nullable":true},"amortizationType":{"$ref":"#/components/schemas/FieldType"},"isTestFile":{"type":"boolean","description":"True for a test loan: one created from a non-production environment or by a test user."},"isDscrLoan":{"type":"boolean","description":"True for a debt service coverage ratio (DSCR) loan, qualified on the property's rental income rather than the borrower's income."},"subjectPropertyRentalIncome":{"$ref":"#/components/schemas/SubjectPropertyRentalIncome"},"loanLevelCredit":{"$ref":"#/components/schemas/LoanLevelCredit"},"credit":{"$ref":"#/components/schemas/LoanCredit"},"escrowWaiver":{"type":"boolean","description":"True when the borrower waives escrow of taxes and insurance. Null when not set.","nullable":true},"totalLoanAmount":{"type":"number","description":"Loan amount in dollars including any financed upfront mortgage insurance premium or funding fee, labelled Total Loan Amt in the LOS. loanAmount is the base amount before that financing, so the two differ on FHA, VA and USDA loans and agree on conventional ones. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"investorLockProjectedProfit":{"type":"number","description":"Projected profit on the investor lock, in dollars; negative for a loss. Read-only.","format":"double","nullable":true},"branchChannel":{"$ref":"#/components/schemas/FieldType"},"financedUpfrontMipOrFundingFee":{"type":"number","description":"The upfront mortgage insurance premium or funding fee rolled into the loan amount, in dollars. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"maturityTermInMonths":{"type":"integer","description":"Term in months at which the balance comes due. Equals loanTerm on a fully amortising loan and is shorter on a balloon.","format":"int32","nullable":true},"loanTypeOtherDescription":{"type":"string","description":"Free text describing the loan type when loanType is Other.","nullable":true},"armDescription":{"type":"string","description":"Description of the adjustable rate, for example 5/1 ARM. Empty on fixed-rate loans.","nullable":true},"printAmortizationTypeAsOther":{"type":"boolean","description":"True to print the amortization type as Other on the loan application form.","nullable":true},"amortizationTypeOtherDescription":{"type":"string","description":"The text printed as the amortization type when printAmortizationTypeAsOther is set.","nullable":true},"urlaLoanPurposeCode":{"type":"string","description":"Raw code for the loan purpose as stated on the 2019 loan application form (URLA). It is not purpose: the form keeps a three-way Purchase, Refinance or Other answer apart from the finer-grained purpose list, and the two can disagree.","nullable":true},"urlaLoanPurposeName":{"type":"string","description":"urlaLoanPurposeCode decoded, for example Purchase or Refinance. Null for a code not recognized. Read only.","nullable":true},"urlaLoanPurposeOtherDescription":{"type":"string","description":"Free text when the form's loan purpose is Other.","nullable":true},"isRenovationLoan":{"type":"boolean","description":"True when the loan finances renovation work, for example a HomeStyle or FHA 203(k) loan.","nullable":true},"isLineOfCredit":{"type":"boolean","description":"True when the loan is a line of credit rather than a closed-end mortgage.","nullable":true},"isNewConstruction":{"type":"boolean","description":"True when the subject property is new construction.","nullable":true},"isEmployeeLoan":{"type":"boolean","description":"True when the borrower is an employee of the lender.","nullable":true},"isOptionArm":{"type":"boolean","description":"True when the loan is a payment-option adjustable rate mortgage.","nullable":true},"optionArmTeaserRate":{"type":"number","description":"The introductory rate on a payment-option ARM, as a percent.","format":"double","nullable":true},"higherPricedMortgageTypeCode":{"type":"string","description":"Raw code for the higher-priced or high-cost classification, for example None. Can be overridden; lock it with fieldLocks or the LOS recomputes it from the APR test.","nullable":true},"higherPricedMortgageTypeName":{"type":"string","description":"higherPricedMortgageTypeCode decoded, for example None or HPML. Null for a code not recognized. Read only.","nullable":true},"leadSource":{"type":"string","description":"Where the lead came from.","nullable":true},"totalMonthlyLiabilities":{"type":"number","description":"Total monthly liability payments across all borrowers, in dollars, which the LOS divides into income for the back-end ratio. Calculated by the LOS; a write is ignored. Summing the borrowers' liability amounts does not reproduce it, because the LOS leaves out liabilities marked paid off or omitted.","format":"double","nullable":true},"presentHousingExpense":{"type":"number","description":"The borrower's present total monthly housing expense, in dollars: the baseline the payment shock is measured against. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"paymentShock":{"$ref":"#/components/schemas/PaymentShock"},"fieldLocks":{"$ref":"#/components/schemas/LoanFieldLocks"},"trusts":{"type":"array","items":{"$ref":"#/components/schemas/LoanTrust"},"description":"Trusts that will hold title, at most two. Depending on your company's setup they are read from and written to the LOS, or kept in Henge only.","nullable":true},"titleHeldInTrust":{"type":"boolean","description":"Will title be held in a trust: true yes, false no, null not answered. Not sent to the LOS.","nullable":true},"finalVesting":{"type":"string","description":"The final vesting statement as it will read on title. Depending on your company's setup it is read from and written to the LOS, or kept in Henge only.","nullable":true},"aus":{"$ref":"#/components/schemas/LoanAusResult"},"rateLock":{"$ref":"#/components/schemas/LoanRateLock"},"temporaryBuydown":{"$ref":"#/components/schemas/LoanTemporaryBuydown"}},"additionalProperties":false,"description":"The loan's terms and figures: amount, type, purpose, property, borrowers, rate, lock, housing expense and qualification."},"FieldType":{"type":"object","properties":{"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A value chosen from a list in the LOS, with its code and display name. Also the base of records that carry an LOS id."},"SubjectPropertyAddress":{"type":"object","properties":{"propertyId":{"type":"string","description":"Identifier (GUID) of the property this address belongs to.","format":"uuid","nullable":true},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"The address of the loan's subject property."},"RefinanceInfo":{"type":"object","properties":{"cashOutAmount":{"type":"number","description":"Cash the borrower takes out, in dollars.","format":"double","nullable":true},"purpose":{"$ref":"#/components/schemas/FieldType"},"purposeOtherDescription":{"type":"string","description":"Free-text refinance purpose when the purpose is Other.","nullable":true}},"additionalProperties":false,"description":"Details that apply to a refinance loan."},"Assignments":{"type":"object","properties":{"loanOfficer":{"$ref":"#/components/schemas/Contact"},"loanAssistant":{"$ref":"#/components/schemas/Contact"},"loanProcessor":{"$ref":"#/components/schemas/Contact"},"referredBy":{"$ref":"#/components/schemas/Contact"}},"additionalProperties":false,"description":"The people working a loan: its loan officer, assistant, processor and the referring contact. Each is null when none is assigned."},"PosBorrower":{"type":"object","properties":{"hdBorrowerId":{"type":"string","description":"Id of the borrower on this loan (GUID). Other endpoints take it as ownerBorrowerIds.","format":"uuid","nullable":true},"clientId":{"type":"string","description":"Id of the borrower's client record (GUID).","format":"uuid","nullable":true},"externalId":{"type":"string","description":"The borrower's (consumer) id in the LOS.","nullable":true},"externalLabel":{"type":"string","description":"A display label kept by Henge. Not sent to the LOS.","nullable":true},"externalApplicationId":{"type":"string","description":"Id of the LOS application (borrower pair) this person is on, used to match the person to the right pair in the LOS. A co-borrower carries its pair's. Null until the LOS has reported it.","nullable":true},"externalLegacyApplicationId":{"type":"string","description":"Id of the borrower pair's older-style application record in the LOS, kept for LOS writes. Null when it has not been read yet.","nullable":true},"firstName":{"type":"string","description":"Borrower's legal first name, as on their ID; sent to the LOS.","nullable":true},"lastName":{"type":"string","description":"Borrower's legal last name, as on their ID; sent to the LOS.","nullable":true},"middleName":{"type":"string","description":"Borrower's middle name or initial.","nullable":true},"suffixName":{"type":"string","description":"Name suffix, for example Jr, Sr or III.","nullable":true},"contacts":{"$ref":"#/components/schemas/Contacts"},"maritalStatus":{"$ref":"#/components/schemas/FieldType"},"citizenship":{"$ref":"#/components/schemas/FieldType"},"birthDate":{"type":"string","description":"Date of birth (ISO 8601 date).","nullable":true},"language":{"$ref":"#/components/schemas/Language"},"isMilitary":{"type":"boolean","description":"True when the borrower serves or has served in the military.","nullable":true},"currentAddress":{"$ref":"#/components/schemas/Residence"},"mailingAddress":{"$ref":"#/components/schemas/MailingAddress"},"previousAddresses":{"type":"array","items":{"$ref":"#/components/schemas/Residence"},"description":"Earlier residences, listed when the borrower has lived at the current address for a short time.","nullable":true},"ownedProperties":{"type":"array","items":{"$ref":"#/components/schemas/OwnedProperty"},"description":"Real estate the borrower owns.","nullable":true},"declaration":{"$ref":"#/components/schemas/Declaration"},"demographics":{"$ref":"#/components/schemas/Demographics"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/Employment"},"description":"The borrower's employers, current and previous.","nullable":true},"otherIncomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"},"description":"Income that does not come from an employer, such as Social Security or rental income.","nullable":true},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/PosLiability"},"description":"The borrower's debts.","nullable":true},"veteranDetail":{"$ref":"#/components/schemas/VeteranDetail"},"creditScores":{"type":"array","items":{"$ref":"#/components/schemas/PosCreditScore"},"description":"Credit scores on the borrower's file.","nullable":true},"hmdaApplicantCreditScore":{"$ref":"#/components/schemas/HmdaApplicantCreditScore"},"creditAuthorizationDate":{"type":"string","description":"Date the borrower authorized a credit check (ISO 8601 date). Null when they have not.","nullable":true},"isBeta":{"type":"boolean","description":"True when the borrower's account is flagged for beta features of the borrower app.","nullable":true},"fico":{"type":"integer","description":"The borrower's FICO score on file, as a whole number. Null when not set.","format":"int32","nullable":true},"softCreditExternalId":{"type":"string","description":"Id of the soft credit check recorded for the borrower in the LOS. Null when none.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower of the pair."},"borrowerType":{"type":"string","description":"The borrower's role on the loan, as a code, for example Borrower or CoSigner.","nullable":true},"assets":{"type":"array","items":{"$ref":"#/components/schemas/PosAsset"},"description":"The assets the borrower reports.","nullable":true},"numberOfDependents":{"type":"integer","description":"Number of people who depend on the borrower for support.","format":"int32","nullable":true},"dependentAges":{"type":"string","description":"Ages of the borrower's dependents, as entered (free text).","nullable":true},"ssn":{"type":"string","description":"Social Security number, digits only (dashes are removed when you send it). Sensitive: only some callers receive it.","nullable":true},"encryptedSsn":{"type":"string","description":"The Social Security number in encrypted form, for passing between Henge services. Do not rely on its format.","nullable":true},"pairId":{"type":"string","description":"The borrower pair this borrower is on. Set by the server; a co-borrower carries its pair's.","format":"uuid","nullable":true},"pairIndex":{"type":"integer","description":"The pair's position on the loan, 0 to 3; 0 is the primary pair.","format":"int32"},"vestingType":{"$ref":"#/components/schemas/BorrowerVestingType"},"coBorrower":{"allOf":[{"$ref":"#/components/schemas/PosBorrower"}],"description":"The co-borrower this borrower is paired with, in the same shape."}},"additionalProperties":false,"description":"A borrower on the loan: identity, contact details, addresses, employment, income, assets, liabilities, credit and declarations. A co-borrower is nested in coBorrower."},"Contacts":{"type":"object","properties":{"email":{"type":"string","description":"Email address.","nullable":true},"homePhone":{"type":"string","description":"Home phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"workPhone":{"type":"string","description":"Work phone number.","nullable":true}},"additionalProperties":false,"description":"How to reach a borrower."},"Language":{"type":"object","properties":{"code":{"type":"string","description":"Language code.","nullable":true},"otherDescription":{"type":"string","description":"Free-text language name when the code is Other.","nullable":true},"refuseToAnswer":{"type":"boolean","description":"True when the borrower chose not to answer."}},"additionalProperties":false,"description":"The language the borrower prefers."},"Residence":{"type":"object","properties":{"residencyDurationInMonths":{"type":"integer","description":"Months the borrower has lived at this address.","format":"int32","nullable":true},"residencyType":{"type":"string","description":"Whether the borrower owns, rents or lives rent-free at the address, as the LOS names it.","nullable":true},"monthlyRent":{"type":"number","description":"Monthly rent, in dollars.","format":"double","nullable":true},"startDate":{"type":"string","description":"Date the borrower moved in (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower moved out (ISO 8601 date). Empty for the current address.","nullable":true},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A place the borrower lives or has lived, with how long and what they pay."},"MailingAddress":{"type":"object","properties":{"isTheSameAsCurrentAddress":{"type":"boolean","description":"True when the mailing address is the borrower's current residence."},"isTheSameAsSubjectPropertyAddress":{"type":"boolean","description":"True when the mailing address is the subject property."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A borrower's mailing address, which can be flagged as the same as their current or subject property address."},"OwnedProperty":{"type":"object","properties":{"externalLabel":{"type":"string","description":"A display label kept by Henge. Not sent to the LOS.","nullable":true},"dispositionStatus":{"$ref":"#/components/schemas/FieldType"},"occupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancyOtherDescription":{"type":"string","description":"Free-text description when intendedOccupancy is Other.","nullable":true},"marketValue":{"type":"number","description":"Market value of the property, in dollars.","format":"double","nullable":true},"monthlyRentalGross":{"type":"number","description":"Gross monthly rental income from the property, in dollars.","format":"double"},"maintenanceExpense":{"type":"number","description":"Maintenance expense for the property, in dollars.","format":"double","nullable":true},"monthlyRentalNet":{"type":"number","description":"Monthly rental income net of the property's expenses, in dollars.","format":"double","nullable":true},"lienBalance":{"type":"number","description":"Unpaid balance of the liens on the property, in dollars, as entered.","format":"double","nullable":true},"lienMonthlyPayment":{"type":"number","description":"Monthly payment on the liens on the property, in dollars, as entered.","format":"double","nullable":true},"isSubject":{"type":"boolean","description":"True when this is the subject property of the loan."},"isCurrent":{"type":"boolean","description":"True when this is the borrower's current residence."},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/PosLiability"},"description":"The mortgages tied to this property. Null or empty when none.","nullable":true},"liability":{"$ref":"#/components/schemas/PosLiability"},"tieId":{"type":"string","description":"What to send as a liability's securedPropertyId to tie it to this property: the LOS id, or the address before the loan is in the LOS. Recomputed on every read.","nullable":true},"securingLiabilityIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids (GUIDs) of the stored liabilities tied to this property. Recomputed on every read; a save does not set it.","nullable":true},"derivedLienBalance":{"type":"number","description":"Sum of the tied liabilities' balances, in dollars; null when no liability is tied. lienBalance stays what was entered.","format":"double","nullable":true},"derivedLienMonthlyPayment":{"type":"number","description":"Sum of the tied liabilities' monthly payments, in dollars; null when no liability is tied or none has a payment.","format":"double","nullable":true},"hasLienDifference":{"type":"boolean","description":"True when an entered lien figure disagrees with the tied liabilities. It is reported, never corrected."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A property the borrower owns (real estate owned): where it is, how it is used, its value and rent, and the mortgages tied to it."},"PosLiability":{"type":"object","properties":{"amount":{"type":"number","description":"Unpaid balance, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Monthly payment, in dollars.","format":"double","nullable":true},"remainingMonths":{"type":"integer","description":"Months left on the debt. Null when the file does not say.","format":"int32","nullable":true},"isPaidOffAtClosing":{"type":"boolean","description":"True when the debt will be paid off at closing. Null leaves the LOS's value alone.","nullable":true},"isExcludedFromRatios":{"type":"boolean","description":"True when the payment is left out of the debt-to-income ratios. Null leaves the LOS's value alone.","nullable":true},"accountNumber":{"type":"string","description":"Account number of the debt, as reported.","nullable":true},"isExpense":{"type":"boolean","description":"True when the row is an expense rather than a debt, for example in an export."},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"borrowerExternalId":{"$ref":"#/components/schemas/BorrowerExternalId"},"borrowerExternalIds":{"type":"array","items":{"$ref":"#/components/schemas/BorrowerExternalId"},"description":"Every borrower who owns the debt. When empty, the borrower in borrowerExternalId owns it.","nullable":true},"cosmosDbLiabilityId":{"type":"string","description":"Id (GUID) of the matching liability on the loan, which links this entry to the liabilities endpoints.","format":"uuid"},"creditorName":{"type":"string","description":"Name of the creditor or lender.","nullable":true},"description":{"type":"string","description":"Free-text description of the debt.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A debt listed on the loan application."},"BorrowerExternalId":{"type":"object","properties":{"externalId":{"type":"string","description":"The borrower's id in the LOS.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower."}},"additionalProperties":false,"description":"Identifies a borrower (consumer) in the LOS."},"Declaration":{"type":"object","properties":{"hasIntentToOccupy":{"type":"boolean","description":"Borrower intends to occupy the subject property as their primary residence."},"isHomeownerPastThreeYears":{"type":"boolean","description":"Borrower has owned a home in the past three years."},"priorPropertyUsage":{"$ref":"#/components/schemas/FieldType"},"priorPropertyTitle":{"$ref":"#/components/schemas/FieldType"},"isBuyerSellerSpecialRelationship":{"type":"boolean","description":"Borrower has a family or business relationship with the seller of the subject property."},"hasUndisclosedBorrowedFunds":{"type":"boolean","description":"Borrower is borrowing money for this transaction (for example the down payment) that is not disclosed elsewhere in the application."},"undisclosedBorrowedFundsAmount":{"type":"number","description":"Amount of that borrowed money, in dollars.","format":"double","nullable":true},"hasUndisclosedCreditApplication":{"type":"boolean","description":"Borrower has applied, or will apply before closing, for other credit that is not disclosed."},"hasUndisclosedMortgageApplication":{"type":"boolean","description":"Borrower has applied for another mortgage on a property that is not disclosed."},"hasCleanEnergyLien":{"type":"boolean","description":"The subject property is subject to a lien that takes priority, such as a clean energy lien."},"isUndisclosedComakerOfNote":{"type":"boolean","description":"Borrower is a co-maker or endorser on a note whose debt is not disclosed."},"hasOutstandingJudgements":{"type":"boolean","description":"Borrower has outstanding judgments against them."},"isDelinquent":{"type":"boolean","description":"Borrower is delinquent or in default on a federal debt or loan."},"isPartyToLawsuit":{"type":"boolean","description":"Borrower is a party to a lawsuit."},"hasDeedInLieu":{"type":"boolean","description":"Borrower has transferred title to a property in lieu of foreclosure in the past seven years."},"hasShortSale":{"type":"boolean","description":"Borrower has completed a pre-foreclosure sale or short sale in the past seven years."},"hasForeclosure":{"type":"boolean","description":"Borrower has had a property foreclosed upon in the past seven years."},"hasBankruptcy":{"type":"boolean","description":"Borrower has declared bankruptcy in the past seven years."},"bankruptcyTypes":{"type":"array","items":{"type":"string"},"description":"The type (chapter) of each bankruptcy declared, when hasBankruptcy is true.","nullable":true},"hasHousingCounselingConsent":{"type":"boolean","description":"Housing counseling consent recorded for the borrower."}},"additionalProperties":false,"description":"A borrower's answers to the declarations on the loan application (Section 5 of the URLA)."},"Demographics":{"type":"object","properties":{"ethnicity":{"$ref":"#/components/schemas/Ethnicity"},"gender":{"$ref":"#/components/schemas/FieldType"},"races":{"type":"array","items":{"$ref":"#/components/schemas/Race"},"description":"The races the borrower reported.","nullable":true},"hasRefusedToDiscloseRace":{"type":"boolean","description":"True when the borrower chose not to provide their race."},"hasRefusedToDiscloseGender":{"type":"boolean","description":"True when the borrower chose not to provide their gender."},"hasRefusedToDiscloseEthnicity":{"type":"boolean","description":"True when the borrower chose not to provide their ethnicity."},"applicationTaken":{"$ref":"#/components/schemas/FieldType"},"isRaceBasedOnVisualOrSurname":{"type":"boolean","description":"True when the race was recorded from visual observation or surname rather than provided by the borrower."},"isGenderBasedOnVisualOrSurname":{"type":"boolean","description":"True when the gender was recorded from visual observation or surname rather than provided by the borrower."},"isEthnicityBasedOnVisualOrSurname":{"type":"boolean","description":"True when the ethnicity was recorded from visual observation or surname rather than provided by the borrower."}},"additionalProperties":false,"description":"The government monitoring (HMDA) information a borrower provided or declined to provide: ethnicity, race and gender."},"Ethnicity":{"type":"object","properties":{"origins":{"type":"array","items":{"$ref":"#/components/schemas/EthnicityOrigin"},"description":"The origins the borrower selected, for example Mexican or Puerto Rican.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"The borrower's ethnicity (HMDA), with the origins they selected."},"EthnicityOrigin":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text origin the borrower gave when the origin is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One ethnicity origin the borrower selected."},"Race":{"type":"object","properties":{"raceDesignations":{"type":"array","items":{"$ref":"#/components/schemas/RaceDesignation"},"description":"The designations the borrower selected within this race, for example Asian Indian or Chinese.","nullable":true},"additionalDescription":{"type":"string","description":"Free-text detail the borrower gave about this race.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A race the borrower reported (HMDA), with the designations they selected."},"RaceDesignation":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text designation the borrower gave when the designation is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One race designation the borrower selected."},"Employment":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the employment record in the LOS.","nullable":true},"isCurrent":{"type":"boolean","description":"True for a current job, false for a previous one."},"isSelfEmployed":{"type":"boolean","description":"True when the borrower is self-employed in this job."},"ownershipShare":{"$ref":"#/components/schemas/FieldType"},"isPrimary":{"type":"boolean","description":"True for the borrower's primary employment. Null when not stated.","nullable":true},"name":{"type":"string","description":"Name of the employer.","nullable":true},"position":{"type":"string","description":"The borrower's job title.","nullable":true},"address":{"$ref":"#/components/schemas/PosAddress"},"startDate":{"type":"string","description":"Date the borrower started this job (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower left this job (ISO 8601 date). Empty for a current job.","nullable":true},"professionStartDate":{"type":"string","description":"Date the borrower started working in this line of work (ISO 8601 date).","nullable":true},"lineOfWorkInMonths":{"type":"integer","description":"Months the borrower has worked in this line of work.","format":"int32","nullable":true},"businessPhone":{"type":"string","description":"The employer's phone number.","nullable":true},"email":{"type":"string","description":"Work email address for this employment.","nullable":true},"monthlyIncomeAmount":{"type":"number","description":"Total monthly income from this employment, in dollars.","format":"double","nullable":true},"incomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"},"description":"The income components from this employment, such as base pay, overtime or bonus.","nullable":true}},"additionalProperties":false,"description":"One job the borrower holds or has held, with the income it pays."},"PosAddress":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A postal address."},"Income":{"type":"object","properties":{"amount":{"type":"number","description":"Income amount, in dollars per month.","format":"double"},"otherDescription":{"type":"string","description":"Free-text description when the income type is Other.","nullable":true},"isAssociatedWithEmployment":{"type":"boolean","description":"True when the income belongs to an employment, such as overtime or bonus, rather than standing alone."},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One income amount, either tied to an employment or standing alone."},"VeteranDetail":{"type":"object","properties":{"isVeteran":{"type":"boolean","description":"True when the borrower is a veteran."},"activeDuty":{"type":"boolean","description":"True when the borrower is currently on active duty."},"activeDutyExpirationDate":{"type":"string","description":"Date the borrower's current active duty ends (ISO 8601 date).","nullable":true},"retiredDischargedOrSeparated":{"type":"boolean","description":"True when the borrower has retired, been discharged or separated from service."},"reserveNationalGuardNeverActivated":{"type":"boolean","description":"True when the borrower is in the Reserves or National Guard and has never been activated."},"isSurvivingSpouseOfVeteran":{"type":"boolean","description":"True when the borrower is the surviving spouse of a veteran."},"serviceType":{"$ref":"#/components/schemas/FieldType"}},"additionalProperties":false,"description":"A borrower's military service details, relevant to VA loans."},"PosCreditScore":{"type":"object","properties":{"source":{"type":"string","description":"Where the score came from, such as the credit agency that reported it.","nullable":true},"score":{"type":"string","description":"The score value, as text.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"Why there is no usable score, when there is none: NotApplicable, NoScore, ThinFile or Other.","nullable":true},"isBrokerEntered":{"type":"boolean","description":"True when a broker typed the score in rather than it being read from a credit agency. A broker-entered score is never sent to the LOS as an agency score."}},"additionalProperties":false,"description":"One credit score on a borrower's file."},"HmdaApplicantCreditScore":{"type":"object","properties":{"reliedOnCreditScore":{"type":"integer","description":"The credit score relied on in the credit decision for this applicant; null when none.","format":"int32","nullable":true},"reliedOnCreditScoreMode":{"type":"string","description":"Whether the relied-on score is the applicant's individual score or a single score for the loan.","nullable":true},"reliedOnCreditScoreModelType":{"type":"string","description":"The credit scoring model of the relied-on score, as a code.","nullable":true}},"additionalProperties":false,"description":"The credit score relied on for an applicant, as reported for HMDA."},"PosAsset":{"type":"object","properties":{"institutionName":{"type":"string","description":"Name of the bank or institution that holds the asset.","nullable":true},"accountNumber":{"type":"string","description":"Account number, as entered.","nullable":true},"amount":{"type":"number","description":"Current balance or value, in dollars.","format":"double"},"accountName":{"type":"string","description":"Name of the account.","nullable":true},"accountHolderName":{"type":"string","description":"Name of the account holder.","nullable":true},"source":{"type":"string","description":"How the asset got on the loan, for example entered manually, linked through the bank connection or synced from the LOS.","nullable":true},"giftSource":{"type":"string","description":"Who the gift came from, for a gift asset.","nullable":true},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account this asset belongs to.","format":"uuid"},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"ownerBorrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The hdBorrowerIds of the asset's owners. Empty means the primary borrower. A new asset is added in the LOS under the first owner named; the full list stays in Henge.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"An asset the borrower reports: an account balance, a gift or another asset."},"BorrowerVestingType":{"enum":["Individual","Trustee","Settlor","SettlorTrustee","TitleOnly","NonTitleSpouse","Other"],"type":"string","description":"How a person on the loan takes title: Individual (as themselves), Trustee, Settlor, SettlorTrustee (settlor and trustee of the same trust), TitleOnly (on title but not a borrower), NonTitleSpouse (a spouse who is not on title) or Other."},"ProposedHousingExpense":{"type":"object","properties":{"firstMortgagePrincipalAndInterest":{"type":"number","description":"Principal and interest on this mortgage, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"otherMortgageLoanPrincipalAndInterest":{"type":"number","description":"Principal and interest on subordinate financing, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"hazardInsurance":{"type":"number","description":"Monthly hazard insurance, in dollars. Calculated by the LOS from hazardInsuranceBasis.","format":"double","nullable":true},"propertyTax":{"type":"number","description":"Monthly property taxes, in dollars. Calculated by the LOS from propertyTaxBasis.","format":"double","nullable":true},"mortgageInsurance":{"type":"number","description":"Monthly mortgage insurance, in dollars. Can be overridden; lock it in fieldLocks or the LOS recalculates it.","format":"double","nullable":true},"hoa":{"type":"number","description":"Monthly homeowners association dues, in dollars.","format":"double","nullable":true},"other":{"type":"number","description":"Other monthly taxes and expenses, in dollars. Can be overridden; lock it in fieldLocks or the LOS recalculates it.","format":"double","nullable":true},"total":{"type":"number","description":"The total proposed monthly housing payment (principal, interest, taxes and insurance), in dollars. Calculated by the LOS; a write is ignored. It is not simply the sum of the components above, so read it rather than adding them up.","format":"double","nullable":true},"hazardInsuranceBasis":{"$ref":"#/components/schemas/EscrowExpenseBasis"},"propertyTaxBasis":{"$ref":"#/components/schemas/EscrowExpenseBasis"}},"additionalProperties":false,"description":"The proposed monthly housing payment, component by component. Every component is nullable: a real zero is returned as 0, so an absent value stays distinguishable from a zero one."},"EscrowExpenseBasis":{"type":"object","properties":{"baseTypeCode":{"type":"string","description":"The LOS code for the base amount the percentage applies to. baseTypeName gives its name.","nullable":true},"baseTypeName":{"type":"string","description":"The name of the base amount (for example \"Total Loan Amount\"), or null for a code with no known name. Read only.","nullable":true},"baseAmount":{"type":"number","description":"The base amount in dollars, as the LOS calculated it. Read only: a value sent is ignored.","format":"double","nullable":true},"ratePercent":{"type":"number","description":"Annual percentage applied to `baseAmount`.","format":"double","nullable":true},"monthlyAddend":{"type":"number","description":"Flat monthly amount added on top of the percentage result.","format":"double","nullable":true},"reserveMonths":{"type":"integer","description":"Months of this expense collected as reserves at closing (hazard insurance and property tax only).\r\nThe loan system derives a default and takes an override only with its lock flag, which the housing write sends with it.\r\nRead from the loan; the loan form save never writes it.","format":"int32","nullable":true},"prepaidMonths":{"type":"integer","description":"Months of this expense prepaid at closing (hazard insurance only).","format":"int32","nullable":true}},"additionalProperties":false,"description":"How the LOS works out one escrowed housing expense: a percentage of a chosen base amount plus a flat monthly amount, for example hazard insurance as Total Loan Amount x 0.500% + $0.00."},"CustomField":{"type":"object","properties":{"id":{"type":"string","description":"Id of the custom field.","nullable":true},"code":{"type":"string","description":"Short code of the custom field.","nullable":true},"externalId":{"type":"string","description":"Id of the field in the LOS.","nullable":true},"name":{"type":"string","description":"Display name of the custom field.","nullable":true},"value":{"type":"string","description":"The value stored in the field, as text.","nullable":true}},"additionalProperties":false,"description":"A custom field configured on the loan, with its value."},"DownPaymentSource":{"type":"object","properties":{"amount":{"type":"number","description":"Amount from this source, in dollars.","format":"double"},"source":{"type":"string","description":"The kind of source, for example savings, gift or sale of a property.","nullable":true},"explanation":{"type":"string","description":"Free-text explanation of the source, when one is needed.","nullable":true}},"additionalProperties":false},"LtvRatios":{"type":"object","properties":{"baseLTVRatio":{"type":"number","description":"Loan-to-value ratio on the base loan amount, as a percent.","format":"double","nullable":true},"grossLTVRatio":{"type":"number","description":"Loan-to-value ratio on the loan amount including financed upfront fees, as a percent.","format":"double","nullable":true},"baseCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio across all liens on the base loan amount, as a percent.","format":"double","nullable":true},"grossCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio across all liens including financed upfront fees, as a percent.","format":"double","nullable":true},"baseHomeEquityCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio counting the full credit limit of any home equity line, on the base loan amount, as a percent.","format":"double","nullable":true},"grossHomeEquityCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio counting the full credit limit of any home equity line, including financed upfront fees, as a percent.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's loan-to-value ratios, as percents."},"Qualification":{"type":"object","properties":{"housingExpenseRatio":{"type":"number","description":"Front-end ratio (housing expense to income), as a percent.","format":"double","nullable":true},"totalDebtExpenseRatio":{"type":"number","description":"Back-end ratio (total debt to income), as a percent.","format":"double","nullable":true},"totalMonthlyIncomeAmount":{"type":"number","description":"Total qualifying monthly income, in dollars.","format":"double","nullable":true},"qualifyingRatePercent":{"type":"number","description":"The rate the borrower is qualified at, as a percent. It is the note rate unless overridden; lock it in fieldLocks or the LOS recomputes it.","format":"double","nullable":true},"qualifyingTermInMonths":{"type":"integer","description":"The term in months the qualifying payment is amortized over.","format":"int32","nullable":true},"qualifyingTermCalculationTypeCode":{"type":"string","description":"Raw code for how the qualifying term is chosen, for example Standard Term.","nullable":true},"qualifyingTermCalculationTypeName":{"type":"string","description":"qualifyingTermCalculationTypeCode decoded, for example Standard Term. Null for a code not recognized. Read only.","nullable":true},"isQualifyingRateInterestOnly":{"type":"boolean","description":"True when the qualifying payment is interest-only.","nullable":true},"qualifyingPrincipalAndInterest":{"type":"number","description":"Qualifying principal and interest, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"qualifyingTotalPayment":{"type":"number","description":"Qualifying total monthly payment (principal, interest, taxes and insurance), in dollars. Calculated by the LOS; a write is ignored.","format":"double","nullable":true}},"additionalProperties":false,"description":"The ratios and payment figures the borrower is qualified on. The qualifying payment can differ from the proposed one when a qualifying rate or term overrides the note rate or term."},"SubjectPropertyRentalIncome":{"type":"object","properties":{"estimatedMonthlyMarketRent":{"type":"number","description":"Estimated market rent of the subject property per month, in dollars.","format":"double","nullable":true}},"additionalProperties":false,"description":"Rental income of the subject property."},"LoanLevelCredit":{"type":"object","properties":{"loanLevelCreditScoreValue":{"type":"string","description":"The credit score relied on for the loan, as reported for HMDA, as text.","nullable":true},"loanLevelCreditScoreSelectionMethodType":{"type":"string","description":"Whether the relied-on score is each applicant's individual score or a single score for the loan.","nullable":true},"creditScoreModelNameType":{"type":"string","description":"The credit scoring model of the relied-on score, as a code.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"The credit score impairment type recorded on the loan, as text.","nullable":true},"creditScoreCategoryType":{"type":"string","description":"The credit score category recorded on the loan, as text.","nullable":true},"creditScoreType1":{"type":"string","description":"Loan-level credit score of type 1 as held on the loan, as text; empty when none.","nullable":true},"creditScoreType2":{"type":"string","description":"Loan-level credit score of type 2 as held on the loan, as text; empty when none.","nullable":true},"creditScoreType2Soft":{"type":"string","description":"Loan-level credit score of type 2 from a soft pull, as text; empty when none.","nullable":true},"creditScore2Avg":{"type":"string","description":"Average of the type 2 scores, as text; empty when none.","nullable":true},"creditScoreType3":{"type":"string","description":"Loan-level credit score of type 3 as held on the loan, as text; empty when none.","nullable":true},"hmdaMultipleCreditScoresUsedIndicator":{"type":"boolean","description":"True when more than one credit score was used in the credit decision, as reported for HMDA.","nullable":true},"reliedOnCreditScoreSource":{"type":"string","description":"The source the relied-on credit score is calculated from: \"Type 2\" when it is that source, otherwise the value\r\nas the loan system holds it. The relied-on score is calculated from it unless it is Other.","nullable":true},"reliedOnCreditScoreModelName":{"type":"string","description":"The relied-on score's model name text (`sReliedOnCreditScoreModelName`).","nullable":true},"reliedOnCreditScoreSingleBorrower":{"type":"string","description":"Whose score is the single relied-on score (`sReliedOnCreditScoreSingleHmdaReportAsT`): Borrower or Coborrower.","nullable":true}},"additionalProperties":false,"description":"The credit score the loan relies on and how it was chosen, as held on the loan."},"LoanCredit":{"type":"object","properties":{"source":{"type":"string","description":"Report when the facts come from a credit report, Manual when they were entered by hand; null when the loan carries no credit at all.","nullable":true},"hasCreditReport":{"type":"boolean","description":"True when a credit report is on the loan, whether ordered through Henge or imported through the Loan Origination System."},"representativeScore":{"type":"integer","description":"The score pricing uses: the lowest representative score across the borrowers, by the usual rule\r\n(middle of three bureau scores, lower of two, the one when there is one). From the report when there\r\nis one, else from the broker's entry.","format":"int32","nullable":true},"pricingScore":{"type":"integer","description":"The score pricing uses (the lowest borrower's) when the scores are a manual entry; null otherwise.","format":"int32","nullable":true},"qualifyingScore":{"type":"integer","description":"The score qualification and the pre-approval check use: the average of the borrowers' middle scores, rounded half up. It differs from representativeScore (the lowest borrower's, used for pricing) on a loan with more than one borrower. Null when there are no scores.","format":"int32","nullable":true},"reports":{"type":"array","items":{"$ref":"#/components/schemas/LoanCreditReport"},"description":"Every credit report order on the loan, newest first, failed and cancelled ones included with their status. May be absent.","nullable":true},"mortgageLates":{"$ref":"#/components/schemas/MortgageLates"},"publicRecords":{"$ref":"#/components/schemas/CreditPublicRecords"},"manual":{"$ref":"#/components/schemas/ManualCreditEntry"},"reissue":{"$ref":"#/components/schemas/LoanCreditReissue"}},"additionalProperties":false,"description":"The loan's credit facts and where they come from: a credit report, or what a broker entered by hand to price and qualify before a report is on the loan. Rebuilt on every read. Once the loan has a report it always wins, and the broker's entry is kept with isCurrent false; broker-entered scores are never treated as bureau scores."},"LoanCreditReport":{"type":"object","properties":{"orderId":{"type":"string","description":"Id (GUID) of the credit report order.","format":"uuid"},"reportNumber":{"type":"string","description":"The agency's report number; null on a failed pull that was never issued one.","nullable":true},"status":{"type":"string","description":"The order's status by name, including Failed and Cancelled.","nullable":true},"isCurrent":{"type":"boolean","description":"True for the one order the rest of the platform reads scores from."},"source":{"type":"string","description":"How the order got onto the loan: Placed (ordered through Henge), Imported or Tracked.","nullable":true},"pullType":{"type":"string","description":"`Soft` or `Hard`; null when not known.","nullable":true},"agency":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"orderedAtUtc":{"type":"string","description":"When the report was ordered, in UTC (ISO 8601).","format":"date-time","nullable":true},"failureReason":{"type":"string","description":"The vendor's reason, on a failed order.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/OrdersCreditReportBorrower"},"description":"The borrowers the report covers, with the bureau scores returned for each.","nullable":true},"averageScore":{"type":"integer","description":"Average of the borrowers' middle scores: what qualification uses.","format":"int32","nullable":true},"pricingScore":{"type":"integer","description":"The lowest borrower's middle score: what pricing uses.","format":"int32","nullable":true},"referenceNumbers":{"type":"array","items":{"type":"string"},"description":"The agency's reference (file) numbers of the report; more than one when separate reports were reissued for separate borrowers.","nullable":true},"vaultDocumentId":{"type":"string","description":"Id of the loan document that holds the report; null when none was filed.","format":"uuid","nullable":true},"liabilityImport":{"$ref":"#/components/schemas/OrdersCreditReportLiabilityImport"}},"additionalProperties":false,"description":"One credit report order as the loan shows it: which pull, how it stands and what it returned. It never holds a login."},"OrdersCreditReportBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"The borrower's identifier on the loan, when the pull was matched to one.","format":"uuid","nullable":true},"name":{"type":"string","description":"The borrower's name as on the report.","nullable":true},"experian":{"type":"integer","description":"Null when the bureau returned no score for this borrower.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"score":{"type":"integer","description":"The borrower's single score derived from the bureau scores; null with no scores.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One borrower covered by a credit report, with the bureau scores it returned."},"OrdersCreditReportLiabilityImport":{"type":"object","properties":{"outcome":{"type":"string","description":"What the liability import did, as a short status word.","nullable":true},"imported":{"type":"integer","description":"Number of liabilities imported; null when none were attempted.","format":"int32","nullable":true},"message":{"type":"string","description":"An explanation of the outcome, such as a warning or the reason the import failed.","nullable":true}},"additionalProperties":false,"description":"What importing the report's liabilities into the loan did."},"MortgageLates":{"type":"object","properties":{"x30":{"type":"integer","description":"Mortgage payments 30 days late.","format":"int32","nullable":true},"x60":{"type":"integer","description":"Mortgage payments 60 days late.","format":"int32","nullable":true},"x90":{"type":"integer","description":"Mortgage payments 90 days late.","format":"int32","nullable":true},"x120":{"type":"integer","description":"Mortgage payments 120 days late.","format":"int32","nullable":true},"x150":{"type":"integer","description":"Mortgage payments 150 days late.","format":"int32","nullable":true},"rollingX30":{"type":"integer","description":"Mortgage payments 30 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX60":{"type":"integer","description":"Mortgage payments 60 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX90":{"type":"integer","description":"Mortgage payments 90 days late, counting rolling lates.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Counts of mortgage payments made late in the last 12 months. The x30 to x150 counts treat rolling lates as not allowed; the rollingX counts treat them as allowed. Null means not stated, 0 means none."},"CreditPublicRecords":{"type":"object","properties":{"foreclosure":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter7":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter13":{"$ref":"#/components/schemas/CreditPublicRecord"}},"additionalProperties":false,"description":"Foreclosure/NOD, Chapter 7 and Chapter 13 history."},"CreditPublicRecord":{"type":"object","properties":{"has":{"type":"boolean","description":"True when the borrower has this kind of public record."},"fileMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"fileYear":{"type":"integer","description":"Year the record was filed, four digits; null when not known.","format":"int32","nullable":true},"status":{"type":"string","description":"NotSatisfied, Discharged or Dismissed. Required when has is true.","nullable":true},"satisfiedMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"satisfiedYear":{"type":"integer","description":"Year the record was satisfied, four digits; null when it has not been or is not known.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One public record: whether the borrower has one, when it was filed, its status and when it was satisfied."},"ManualCreditEntry":{"type":"object","properties":{"isCurrent":{"type":"boolean","description":"False once a credit report supersedes the entry, or one was on the loan before it was saved without being corrected by it: the entry is kept, but the report's values are current."},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/ManualCreditBorrowerScores"},"description":"Bureau scores per borrower: the borrower first, then the co-borrower when one was entered.","nullable":true},"mortgageLates":{"$ref":"#/components/schemas/MortgageLates"},"publicRecords":{"$ref":"#/components/schemas/CreditPublicRecords"},"enteredAtUtc":{"type":"string","description":"When the broker saved the entry, in UTC (ISO 8601).","format":"date-time"},"enteredBy":{"type":"string","description":"Id of the user who saved the entry.","format":"uuid","nullable":true},"enteredByName":{"type":"string","description":"Name of the user who saved the entry.","nullable":true},"supersededAtUtc":{"type":"string","description":"When a report replaced the entry, and the report's number.","format":"date-time","nullable":true},"supersededByReportId":{"type":"string","description":"The number of the credit report that replaced the entry; null while the entry is current.","nullable":true}},"additionalProperties":false,"description":"What a broker entered by hand, and whether it is still what the loan goes by."},"ManualCreditBorrowerScores":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id of the borrower on the loan the scores belong to, when the loan had one.","format":"uuid","nullable":true},"isCoBorrower":{"type":"boolean","description":"True for the co-borrower's scores, false for the borrower's."},"experian":{"type":"integer","description":"The Experian score the broker entered; null when none was entered.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score the broker entered; null when none was entered.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score the broker entered; null when none was entered.","format":"int32","nullable":true},"representativeScore":{"type":"integer","description":"Middle of three, lower of two, the one when there is one; null when none were entered.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Broker-entered bureau scores for one borrower. Stored and reported as broker-entered, never as a bureau score."},"LoanCreditReissue":{"type":"object","properties":{"agencyId":{"type":"string","description":"Id (GUID) of the credit reporting agency the report was reissued from.","format":"uuid"},"agencyName":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"agencyDuCode":{"type":"string","description":"The agency's DU credit provider code.","nullable":true},"reportType":{"type":"string","description":"\"HardPull\" or \"SoftPull\".","nullable":true},"reissuedTimestamp":{"type":"string","description":"When the report was reissued, in UTC (ISO 8601).","format":"date-time"},"reissuedBy":{"type":"string","description":"Id of the user who reissued the report; null when unknown.","format":"uuid","nullable":true},"reissuedByName":{"type":"string","description":"Name of the user who reissued the report.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/LoanCreditReissueBorrower"},"description":"The borrowers the reissue landed for, each with the agency's reference number.","nullable":true}},"additionalProperties":false,"description":"The read-only view of the loan's latest credit report reissue: the agency, when and by whom, and the reference numbers. The agency login name, account id and password are never returned."},"LoanCreditReissueBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id (GUID) of the borrower on the loan.","format":"uuid"},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the report for this borrower.","nullable":true}},"additionalProperties":false,"description":"One borrower of a reissue: the borrower on the loan and the agency's reference number for them."},"PaymentShock":{"type":"object","properties":{"amount":{"type":"number","description":"Dollar increase over the present housing payment.","format":"double","nullable":true},"percent":{"type":"number","description":"Increase as a percentage of the present housing payment.","format":"double","nullable":true}},"additionalProperties":false,"description":"The jump from the borrower's present housing payment to the proposed one. Calculated by the LOS; read only."},"LoanFieldLocks":{"type":"object","properties":{"loanAmount":{"type":"boolean","description":"True when the loan amount is locked, so a change to the purchase price or down payment does not recalculate it.","nullable":true},"qualifyingRate":{"type":"boolean","description":"True when the qualifying rate is locked against its formula.","nullable":true},"mortgageInsurance":{"type":"boolean","description":"True when the monthly mortgage insurance is locked against the insurance schedule.","nullable":true},"otherHousingExpense":{"type":"boolean","description":"True when the other housing expense is locked.","nullable":true},"estimatedClosingDate":{"type":"boolean","description":"True when the estimated closing date is locked, so a status change does not recalculate it.","nullable":true},"higherPricedMortgageType":{"type":"boolean","description":"True when the higher-priced mortgage result is locked against the APR test.","nullable":true}},"additionalProperties":false,"description":"Which figures are locked in the LOS. A locked figure keeps the value it was given; an unlocked one is recalculated by the LOS from its inputs."},"LoanTrust":{"type":"object","properties":{"id":{"type":"string","description":"Stable id for the trust on this loan. Assigned on save when omitted.","format":"uuid","nullable":true},"name":{"type":"string","description":"The trust's exact name, including any amendment and restatement dates, as it will appear on title.","nullable":true},"classification":{"$ref":"#/components/schemas/LoanTrustClassification"},"establishedDate":{"type":"string","description":"The date the trust was established.","format":"date","nullable":true},"amendedDate":{"type":"string","description":"The date of the latest amendment or restatement, if any.","format":"date","nullable":true},"stateCode":{"type":"string","description":"Two-letter code of the state whose law governs the trust.","nullable":true},"parties":{"type":"array","items":{"$ref":"#/components/schemas/LoanTrustParty"},"description":"Trustees, settlors and beneficiaries.","nullable":true}},"additionalProperties":false,"description":"A trust that will hold title to the subject property. A trust is vesting, not a borrower: its settlors are ordinary borrowers, and the trust sits at loan level so it can name people from more than one borrower pair."},"LoanTrustClassification":{"enum":["InterVivosRevocable","Irrevocable","Land","Other"],"type":"string","description":"The legal classification of a trust: InterVivosRevocable (a living trust that can be changed or revoked), Irrevocable (cannot be revoked), Land (a land trust) or Other."},"LoanTrustParty":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/LoanTrustPartyRole"},"borrowerId":{"type":"string","description":"The hdBorrowerId of the borrower this party is, on any pair. Must be a borrower on the loan.","format":"uuid","nullable":true},"name":{"type":"string","description":"The party's name when it is not a borrower on the loan.","nullable":true},"isInstitution":{"type":"boolean","description":"True when the party is an institution (a bank or trust company acting as trustee)."}},"additionalProperties":false,"description":"One party to a `LoanTrust`. A party who is a borrower on any pair is named by\r\n`borrowerId` (the borrower's `hdBorrowerId`); anyone else, a non-borrowing person or an\r\ninstitutional trustee, by `name`."},"LoanTrustPartyRole":{"enum":["Trustee","CoTrustee","SuccessorTrustee","Settlor","SettlorTrustee","Beneficiary"],"type":"string","description":"A party's role in a trust: Trustee, CoTrustee, SuccessorTrustee (takes over from a trustee), Settlor (created the trust), SettlorTrustee (both settlor and trustee) or Beneficiary."},"LoanAusResult":{"type":"object","properties":{"duCasefileId":{"type":"string","description":"The DU casefile id of the loan's latest DU run. A resubmission reuses it.","nullable":true},"lpaKey":{"type":"string","description":"The Freddie Mac LPA key written onto the loan by an LPA import; null when none.","nullable":true},"recommendation":{"type":"string","description":"The underwriting recommendation as text, for example Approve/Eligible.","nullable":true},"resultCode":{"type":"integer","description":"Numeric code of the result: 0 not submitted, 1 to 9 the DU results, 10 to 13 and 15 to 19 the LPA results, 14 out of scope. Null when nothing was sent.","format":"int32","nullable":true},"result":{"type":"string","description":"The name of resultCode; null when there is no code.","nullable":true}},"additionalProperties":false,"description":"The latest automated underwriting result held on the loan. It is read from the Loan Origination System on every loan read and is never written back; the run history is the aus/runs list."},"LoanRateLock":{"type":"object","properties":{"status":{"type":"string","description":"Lock status: Not Locked, Locked, Lock Requested, Lock Suspended or Lock Cancelled. Calculated by the LOS; never written.","nullable":true},"isLocked":{"type":"boolean","description":"True when status is Locked, false for any other status, null when there is no status.","nullable":true},"lockDate":{"type":"string","description":"Date the rate was locked, ISO 8601.","format":"date","nullable":true},"lockTime":{"type":"string","description":"Time of day of the lock, as the LOS formats it.","nullable":true},"periodDays":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Date the lock expires, ISO 8601. The LOS calculates it from the lock date and period.","format":"date","nullable":true},"noteRate":{"type":"number","description":"Locked note rate, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"The locked price, as a percentage of par (100 = par). Read only.","format":"double","nullable":true},"lockIdentifier":{"type":"string","description":"The lock's own identifier, when the source has one, for example an imported file. Usually null.","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/RateLockHistoryEntry"},"description":"Every lock, extension, relock and break the LOS recorded, newest first. Empty when the loan was never locked.","nullable":true},"ladder":{"$ref":"#/components/schemas/LoanRateLockLadder"},"priceGrid":{"$ref":"#/components/schemas/LoanRateLockPriceGrid"},"investorLock":{"$ref":"#/components/schemas/LoanInvestorLock"},"lockOutcome":{"type":"string","description":"What a write that asked to lock did, when the written values do not say it, for example values written but the lock not set, with the reason. Set only on a write response.","nullable":true}},"additionalProperties":false,"description":"The loan's rate lock with the broker as the LOS holds it, plus the lock history. It is read with the loan; only staff can change the lock date, period and note rate, through the rate lock endpoints. Everything else is calculated."},"RateLockHistoryEntry":{"type":"object","properties":{"kind":{"type":"string","description":"What happened, as the LOS names it: a lock, an extension, a relock or a break.","nullable":true},"occurredAt":{"type":"string","description":"When it happened, ISO 8601.","format":"date-time","nullable":true},"rate":{"type":"number","description":"Note rate at the time, in percent.","format":"double","nullable":true},"price":{"type":"number","description":"Price at the time, where 100 is par.","format":"double","nullable":true},"periodDays":{"type":"integer","description":"Lock period after the entry, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Lock expiration date after the entry, ISO 8601.","format":"date","nullable":true},"extensionDays":{"type":"integer","description":"Days an extension added, when the entry is an extension and they were recorded.","format":"int32","nullable":true},"user":{"type":"string","description":"Who made the change, as the LOS recorded it.","nullable":true},"note":{"type":"string","description":"Note recorded with the entry.","nullable":true}},"additionalProperties":false,"description":"One entry of a lock's history: a lock, extension, relock or break."},"LoanRateLockLadder":{"type":"object","properties":{"takenAt":{"type":"string","description":"When the snapshot was taken, which is when the lock was placed (UTC).","format":"date-time"},"productName":{"type":"string","description":"Name of the locked product.","nullable":true},"investor":{"type":"string","description":"Name of the investor behind the locked product, when the caller is shown the investor.","nullable":true},"lockPeriod":{"type":"integer","description":"The locked lock period in days; every row has it.","format":"int32","nullable":true},"selectedQuoteId":{"type":"string","description":"quoteId of the selected row.","nullable":true},"selected":{"$ref":"#/components/schemas/LoanRateLockRow"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/LoanRateLockRow"},"description":"The rows of the locked lock period, lowest rate first.","nullable":true},"moves":{"type":"array","items":{"$ref":"#/components/schemas/LockPositionMove"},"description":"The moves of the selected row after the lock, oldest first.","nullable":true},"sourceInstruction":{"$ref":"#/components/schemas/SourceLockInstruction"},"productCode":{"type":"string","description":"The locked product's code. Shown with the source lock instruction only.","nullable":true},"rateSheetTime":{"type":"string","description":"When the product's rate sheet was published, ISO 8601. Shown with the source lock instruction only.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"The locked product's rate sheet at the time of the lock, as the rate lock read returns it: the rows of the locked lock period, the selected row and the moves. Absent on a loan locked before the snapshot was kept."},"LoanRateLockRow":{"type":"object","properties":{"quoteId":{"type":"string","description":"Identifier of this row; pass it to select the row or to request it as a change of circumstance.","nullable":true},"rate":{"type":"number","description":"Note rate of the row, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"Price of the row, where 100 is par.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount; negative when the row pays a rebate.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment of the row, in dollars.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate of the row, in percent.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance of this row, in dollars; 0 when the product has none.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"The buydown (discount) this row costs, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"The rebate (credit) this row gives, in dollars; 0 on a buydown or par row.","format":"double","nullable":true},"isSelected":{"type":"boolean","description":"True for the row the lock is currently on."}},"additionalProperties":false,"description":"One rate and price of the locked product's rate sheet."},"LockPositionMove":{"type":"object","properties":{"movedAt":{"type":"string","description":"When the selected row was moved, ISO 8601 UTC.","format":"date-time"},"movedBy":{"type":"string","description":"Identifier (GUID) of the user who moved it.","format":"uuid","nullable":true},"movedByName":{"type":"string","description":"Name of the user who moved it.","nullable":true},"fromQuoteId":{"type":"string","description":"quoteId of the row before the move.","nullable":true},"fromRate":{"type":"number","description":"Note rate before the move, in percent.","format":"double","nullable":true},"fromPrice":{"type":"number","description":"Price before the move, where 100 is par.","format":"double","nullable":true},"toQuoteId":{"type":"string","description":"quoteId of the row after the move.","nullable":true},"toRate":{"type":"number","description":"Note rate after the move, in percent.","format":"double","nullable":true},"toPrice":{"type":"number","description":"Price after the move, where 100 is par.","format":"double","nullable":true},"sourceFromPrice":{"type":"number","description":"The source lender's price before the move, from its frozen rate sheet. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceToPrice":{"type":"number","description":"The source lender's price after the move. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceNote":{"type":"string","description":"Set when the instruction has no price at the new rate, in words. Staff only.","nullable":true}},"additionalProperties":false,"description":"One move of the selected row: who, when, and from which rate and price to which."},"SourceLockInstruction":{"type":"object","properties":{"status":{"type":"string","description":"Outcome of looking for the source price: Priced (the price is set), Unmapped (no source product is mapped to the locked product), NoSourcePricingAccount (the company has no source pricing account), SourceSearchFailed, SourceProductNotReturned or RateNotOnSourceSheet.","nullable":true},"message":{"type":"string","description":"In words, what happened when there is no price.","nullable":true},"sourceInvestor":{"type":"string","description":"Name of the source lender.","nullable":true},"sourceInvestorId":{"type":"integer","description":"Identifier of the source lender in the pricing engine.","format":"int32","nullable":true},"sourceProductName":{"type":"string","description":"Name of the source lender's product to lock.","nullable":true},"sourceProductCode":{"type":"string","description":"Product code of the source lender's product.","nullable":true},"portfolioProductCode":{"type":"string","description":"Code of the portfolio product the row was found by.","nullable":true},"rate":{"type":"number","description":"The selected note rate, in percent.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"sourcePrice":{"type":"number","description":"The source lender's price at the selected rate and lock period, from its frozen rate sheet.","format":"double","nullable":true},"sourceRateSheetTime":{"type":"string","description":"When the source lender's rate sheet was published, ISO 8601.","format":"date-time","nullable":true},"portfolioPrice":{"type":"number","description":"The portfolio price the broker locked at, including the portfolio's margin.","format":"double","nullable":true},"priceDifference":{"type":"number","description":"portfolioPrice minus sourcePrice: the margin, in points.","format":"double","nullable":true}},"additionalProperties":false,"description":"The instruction for the lock desk: lock the source product with the source lender at the source price. It follows the selected row, so a move of the selected rate rewrites it from the source lender's frozen rate sheet. Shown to staff only."},"LoanRateLockPriceGrid":{"type":"object","properties":{"basePrice":{"type":"number","description":"The base price, where 100 is par.","format":"double","nullable":true},"priceRow":{"type":"string","description":"Which price the grid's row is locked on: Base, BrokerBase, BrokerFinal or OriginatorPrice.","nullable":true},"visibleAdjustmentsTotal":{"type":"number","description":"Total of the adjustments the broker sees, in points.","format":"double","nullable":true},"hiddenAdjustmentsTotal":{"type":"number","description":"Total of the hidden lender adjustments, in points.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The adjustment lines on the price grid.","nullable":true},"originatorPrice":{"type":"number","description":"The Originator Price: the price before the originator compensation.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"The Final Price: the price after the originator compensation.","format":"double","nullable":true},"investorPrice":{"type":"number","description":"The investor's price.","format":"double","nullable":true},"internalNote":{"type":"string","description":"The lock screen's internal notes.","nullable":true},"originatorCompensation":{"$ref":"#/components/schemas/LoanOriginatorCompensation"}},"additionalProperties":false,"description":"The front-end lock's price grid and the originator compensation, read live from the LOS. Set only on rate lock reads and writes. The investor price and the lender lines are not returned to third-party-originator (broker) callers."},"LockAdjustment":{"type":"object","properties":{"description":{"type":"string","description":"What the adjustment is for.","nullable":true},"points":{"type":"number","description":"The adjustment in points; a negative value adds to the price.","format":"double","nullable":true},"rate":{"type":"number","description":"Rate adjustment, in percentage points.","format":"double","nullable":true},"margin":{"type":"number","description":"Margin adjustment, in percentage points.","format":"double","nullable":true},"hidden":{"type":"boolean","description":"True for a hidden lender line the broker never sees (front-end lock only)."}},"additionalProperties":false,"description":"One adjustment line as the LOS holds it."},"LoanOriginatorCompensation":{"type":"object","properties":{"paidBy":{"type":"string","description":"Borrower or Lender (`sOriginatorCompensationPaymentSourceT`); null when not specified.","nullable":true},"percent":{"type":"number","description":"Compensation as a percent of the base amount, for example 2.0 for two percent.","format":"double","nullable":true},"minAmount":{"type":"number","description":"Minimum compensation in dollars.","format":"double","nullable":true},"fixedAmount":{"type":"number","description":"Fixed compensation in dollars.","format":"double","nullable":true},"baseType":{"type":"string","description":"LoanAmount or TotalLoanAmount (`sOriginatorCompensationBaseT`).","nullable":true},"lenderFeeOption":{"type":"string","description":"IncludedInLenderFees or InAdditionToLenderFees (`sOriginatorCompensationLenderFeeOptionT`).","nullable":true}},"additionalProperties":false,"description":"The loan's originator compensation inputs (`sOriginatorCompensation*`), as the LOS holds them."},"LoanInvestorLock":{"type":"object","properties":{"investorId":{"type":"integer","description":"Identifier of the investor in the LOS's investor list.","format":"int32","nullable":true},"investorName":{"type":"string","description":"Name of the investor.","nullable":true},"investorLoanNumber":{"type":"string","description":"The investor's loan number for this loan.","nullable":true},"confirmationNumber":{"type":"string","description":"Confirmation number the investor gave the lock.","nullable":true},"programName":{"type":"string","description":"Name of the investor program the loan is locked to.","nullable":true},"rateSheetTime":{"type":"string","description":"Effective time of the investor's rate sheet, as text in the form MM/dd/yyyy h:mm tt.","nullable":true},"commitmentType":{"type":"string","description":"Delivery commitment: BestEfforts, Mandatory, Hedged or Securitized.","nullable":true},"lockFee":{"type":"number","description":"Fee charged for the lock.","format":"double","nullable":true},"lockDate":{"type":"string","description":"Date the investor lock was made, ISO 8601.","format":"date","nullable":true},"periodDays":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Date the lock expires, ISO 8601: the lock date plus the period, with no weekend roll.","format":"date","nullable":true},"deliveryExpirationDate":{"type":"string","description":"Date delivery of the loan to the investor expires, ISO 8601, calculated as the expiration is.","format":"date","nullable":true},"noteRate":{"type":"number","description":"Locked note rate, in percent such as 6.875.","format":"double","nullable":true},"basePrice":{"type":"number","description":"Base price from the investor's rate sheet, where 100 is par.","format":"double","nullable":true},"totalAdjustments":{"type":"number","description":"Total of the price adjustments, in points.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"Price after all adjustments, where 100 is par.","format":"double","nullable":true},"projectedProfit":{"type":"number","description":"Projected profit on the lock, as the LOS calculates it.","format":"double","nullable":true},"status":{"type":"string","description":"Not Locked, Locked, Lock Requested, Lock Suspended or Lock Cancelled.","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The price adjustment lines on the investor lock.","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/RateLockHistoryEntry"},"description":"Every event on the investor lock, newest first.","nullable":true},"lockOutcome":{"type":"string","description":"What a write that asked to lock or break the lock did when the LOS did not do it. Set only on a write response.","nullable":true}},"additionalProperties":false,"description":"The back-end (investor) lock as the LOS holds it, read live. Set only on rate lock reads and writes, and never for third-party-originator (broker) callers."},"LoanTemporaryBuydown":{"type":"object","properties":{"steps":{"type":"array","items":{"$ref":"#/components/schemas/TemporaryBuydownStep"},"description":"The steps in order, each { rateReduction, months }: a 2-1 is [{ rateReduction: 2, months: 12 }, { rateReduction: 1, months: 12 }]. At most five. The list replaces the stored steps as a whole; empty slots are left out when read.","nullable":true},"contributorType":{"type":"string","description":"Who pays for the buydown, as the LOS's raw contributor code (sBuydownContributorT). Optional: left out, the LOS's value is not touched.","nullable":true},"totalFundsAmount":{"type":"number","description":"Total buydown funds in dollars (sBuydownTotalFundsAmt). Optional: left out, the LOS's value is not touched.","format":"double","nullable":true},"hasTemporaryBuydown":{"type":"boolean","description":"sHasTempBuydown - calculated by the LOS from the steps. Read only: a write is ignored.","nullable":true},"totalMonths":{"type":"integer","description":"sBuydwnTotalMon - calculated by the LOS. Read only.","format":"int32","nullable":true},"resultRate":{"type":"number","description":"sBuydownResultIR - calculated by the LOS. Read only.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's temporary buydown as the LOS holds it: up to five steps, who pays for it and how much, and what the LOS calculates from them. Changed only by a partial update that names it."},"TemporaryBuydownStep":{"type":"object","properties":{"rateReduction":{"type":"number","description":"Points the note rate is reduced by during this step (number, 2 means 2 points). Not negative.","format":"double"},"months":{"type":"integer","description":"Months this step lasts (integer). Required when rateReduction is above 0.","format":"int32"}},"additionalProperties":false,"description":"One step of a temporary buydown: how many points the rate is reduced for how many months."},"LoanApplicationTaskItem":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task or condition (GUID).","format":"uuid","nullable":true},"taskStatusTimestamp":{"type":"string","description":"When the task's status last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"When the task was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created (ISO 8601 date and time, UTC).","format":"date-time"},"item":{"$ref":"#/components/schemas/Item"},"assignedToBorrowerId":{"type":"string","description":"Id (GUID) of the borrower the task is assigned to. Null for a user task or a task for the loan's borrowers generally.","format":"uuid","nullable":true},"status":{"$ref":"#/components/schemas/TaskStatus"},"document":{"$ref":"#/components/schemas/Document"},"rejectionReasonNote":{"type":"string","description":"The reviewer's free-text note when the task's document was rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReason"},"creditReportType":{"$ref":"#/components/schemas/PosCreditReportType"},"isForPrimaryBorrower":{"type":"boolean","description":"True when the task is for the primary borrower, false when it is for the co-borrower. Null when it is for neither in particular.","nullable":true},"isRequired":{"type":"boolean","description":"Whether the task must be completed before the file can move forward."},"isAccountMainTask":{"type":"boolean","description":"True for the main task of an asset account, the one that requests the account's statements."},"questionType":{"$ref":"#/components/schemas/TaskQuestionType"},"yesNoResponse":{"type":"boolean","description":"The borrower's answer to a yes/no question task. Null until answered.","nullable":true},"shortAnswer":{"type":"string","description":"The borrower's answer to a short-answer question task. Null until answered.","nullable":true},"assignedToUser":{"$ref":"#/components/schemas/LoanAppUser"},"name":{"type":"string","description":"Display name of the task or condition.","nullable":true},"description":{"type":"string","description":"Description of the task. For a condition, the condition text: the reworded text when staff edited it in Henge, otherwise the LOS text.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the task among its siblings, lowest first.","format":"int32","nullable":true},"type":{"$ref":"#/components/schemas/TaskType"},"code":{"type":"string","description":"Short code of the task.","nullable":true},"conditionNo":{"type":"integer","description":"Condition number in the LOS. Conditions only.","format":"int32","nullable":true},"conditionCategory":{"type":"string","description":"Category of the condition in the LOS. Conditions only.","nullable":true},"conditionDueDate":{"type":"string","description":"Due date of the condition (ISO 8601 date). Conditions only.","format":"date","nullable":true},"conditionAssignedUserFullName":{"type":"string","description":"Full name of the user the condition is assigned to in the LOS. Conditions only.","nullable":true},"conditionBorrowerFullName":{"type":"string","description":"Full name of the borrower the condition is for. Conditions only.","nullable":true},"conditionIsHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower. Staff roles still see it; a caller that receives a hidden condition is entitled to it.","nullable":true},"conditionSourceText":{"type":"string","description":"The LOS's original condition text. Set only when staff reworded the condition in Henge, in which case description carries the rewording; null otherwise.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True when staff reworded this condition in Henge. The rewording is never sent to the LOS."},"notes":{"type":"string","description":"Notes on the task or condition.","nullable":true},"taskAssignmentType":{"$ref":"#/components/schemas/TaskAssignmentType"},"isSubscribed":{"type":"boolean","description":"Whether the calling user is subscribed to status-change notifications for this task. Null when not computed.","nullable":true},"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition this task belongs to. Null on conditions and on standalone tasks. Read on create; ignored on update.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account the task belongs to, if any. Needed on create only for a Transaction History task; ignored on update.","format":"uuid","nullable":true},"assetAccountName":{"type":"string","description":"Name of the asset account the task belongs to. Response only, and filled only where the response includes accounts.","nullable":true},"creditReportNumber":{"type":"string","description":"For credit report tasks, the credit agency's report number.","nullable":true},"requestTaskId":{"type":"string","description":"Id of the first task of the document request this task is a copy of (one task per document). Null on the first task itself. On create, naming any task of a request makes the new task a copy that joins that request.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"ownerPairId":{"type":"string","description":"Id (GUID) of the borrower pair staff made the owner of this task or condition. Empty when the owner is worked out on read.","format":"uuid","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True for a whole-loan task or condition that every borrower pair sees."}},"additionalProperties":false,"description":"A task or condition on a loan: a document request, a question, a user task or a condition from the LOS."},"Item":{"type":"object","properties":{"id":{"type":"string","description":"Id of the item (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the item; send it as the item code when you create a task.","nullable":true},"name":{"type":"string","description":"Display name of the item.","nullable":true},"groupCode":{"type":"string","description":"Code of the condition group the item's tasks are shown under. Null means Other.","nullable":true},"canCreateManually":{"type":"boolean","description":"True when staff can create a task for this item by hand."},"canUploadDocument":{"type":"boolean","description":"True when a document can be uploaded against this item."}},"additionalProperties":false,"description":"A kind of request a task can ask for, such as a specific document."},"TaskStatus":{"type":"object","properties":{"id":{"type":"string","description":"Id of the status (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the status.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a task, for example Requested, Uploaded, Submitted or Accepted."},"Document":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"externalId":{"type":"string","description":"The document's id in the Loan Origination System; empty until it has been sent there.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once an uploaded file has been converted to PDF and can be opened; false while conversion is still running."},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition the document is attached to; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"blobName":{"type":"string","description":"The name the file is stored under. An internal storage key: download through the document routes rather than using it.","nullable":true},"createdTimestamp":{"type":"string","description":"When the document was created, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the document was last changed, in UTC (ISO 8601).","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user who last changed the document; null when the change was automatic or unknown.","format":"uuid","nullable":true},"documentTypeId":{"type":"string","description":"Id of the platform's broad document category (such as a vault or task document). Not the loan document type, which is loanDocumentTypeId.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan's vault, false when it hangs off a\r\ntask, a condition or an asset account. Callers use it to decide what a user may do with the\r\ndocument: only a vault document can be deleted. Any document can be given a document type."},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document is filed under (from the loan document types list); null when it has none.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the loan document type; null when the document has none.","nullable":true},"loanDocumentTypeExternalId":{"type":"string","description":"The loan document type's id in the Loan Origination System.","nullable":true},"loanDocumentTypeFolderName":{"type":"string","description":"Name of the folder the loan document type belongs to; null when the document has no type.","nullable":true},"description":{"type":"string","description":"A free-text description of the document; may be empty.","nullable":true},"isDeleted":{"type":"boolean","description":"True when the document has been deleted. Deleted documents are normally left out of lists."},"isInternal":{"type":"boolean","description":"True for a staff-only document that is hidden from borrowers and partner applications."},"isObsolete":{"type":"boolean","description":"The LOS no longer considers this document active. It stays visible so users can still see\r\nit, but it is not current and is never pushed back to the LOS."},"isProtected":{"type":"boolean","description":"The LOS holds the document as Protected, locked there against edits and deletion. Set and\r\ncleared by Admin and Processor through the document status endpoints, or in the LOS itself."},"losStatus":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"title":{"type":"string","description":"The title shown for the document; may be empty, in which case the file name is shown.","nullable":true},"splitFromDocumentId":{"type":"string","description":"On a part of a split combined PDF: the id of the original document it was cut from. Null on every other document.","format":"uuid","nullable":true},"splitStartPage":{"type":"integer","description":"On a part of a split combined PDF: the first page of the original it holds. Null on every other document.","format":"int32","nullable":true},"splitEndPage":{"type":"integer","description":"On a part of a split combined PDF: the last page of the original it holds. Null on every other document.","format":"int32","nullable":true},"isUnsorted":{"type":"boolean","description":"True while the document was bulk-uploaded to the loan with no task and no type and nobody has\r\nsorted it. It is held out of the LOS until it is put on a task or given a type."},"hasNoFile":{"type":"boolean","description":"True for a staff-only entry the Loan Origination System holds with no file here (a non-PDF assigned to a condition): there is nothing to open, download or move."},"intakeStatus":{"type":"string","description":"NeedsPassword or Duplicate for a bulk-uploaded document that is held for that reason; null\r\notherwise. See DocumentIntakeStatuses.","nullable":true},"duplicateOfDocumentId":{"type":"string","description":"The existing document this one repeats, when IntakeStatus is Duplicate.","format":"uuid","nullable":true},"indexStatus":{"type":"string","description":"Whether the document's text is searchable: Indexed, Pending, Failed or NotSubmitted. Set by\r\nthe document lists for staff callers; null when it was not looked up, or the lookup failed.","nullable":true},"analysis":{"$ref":"#/components/schemas/DocumentAnalysisSummary"},"internalNotes":{"type":"string","description":"Staff-only internal notes on the document, verbatim from the Loan Origination System. Returned only to callers who may see internal notes; null for everyone else.","nullable":true}},"additionalProperties":false,"description":"A document on a loan: the file, the task or condition it is attached to, its type and its status."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."},"DocumentAnalysisSummary":{"type":"object","properties":{"status":{"type":"string","description":"Pending, Completed, Failed or Skipped. Failed reads \"Not analysed\".","nullable":true},"verdict":{"type":"string","description":"Whether the document is what was asked for: Matches, Mismatch, Unreadable or Unknown.","nullable":true},"reasonCode":{"type":"string","description":"On a Mismatch, why: WrongDocument, WrongPeriod, WrongAccount, WrongBorrower, MissingPages or Expired. On an Unreadable verdict from the page quality check, UnreadablePages.","nullable":true},"reason":{"type":"string","description":"One line in plain language explaining the verdict, written for the borrower.","nullable":true},"suggestedRejectionReasonCode":{"type":"string","description":"The seeded TaskRejectionReason code the panel pre-selects for a Mismatch.","nullable":true},"suggestedTaskId":{"type":"string","description":"Id of the task or condition the document appears to belong to; null when none matched.","format":"uuid","nullable":true},"suggestedTaskName":{"type":"string","description":"Name of the suggested task or condition.","nullable":true},"isOnSuggestedTask":{"type":"boolean","description":"False when the document sits on a different task than the best match: shown for confirmation."},"matchConfidence":{"type":"number","description":"How sure the analysis is of the suggested task, from 0 to 1.","format":"double","nullable":true},"suggestedLoanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document looks like; null when not determined.","format":"uuid","nullable":true},"suggestedLoanDocumentTypeName":{"type":"string","description":"Name of the suggested loan document type.","nullable":true},"suggestedTitle":{"type":"string","description":"The title the analysis suggests for the document, built from what it read (for example the account and statement period).","nullable":true},"titleAppliedAutomatically":{"type":"boolean","description":"True when the document's current title was set by the analysis rather than by a person."},"previousTitle":{"type":"string","description":"The title the document had before the analysis renamed it; null when it was not renamed.","nullable":true},"autoNameDisabled":{"type":"boolean","description":"True when a person undid an automatic name; the analysis never renames this document again."},"filedByType":{"type":"boolean","description":"Filed under the suggested LOS type and folder by the analysis, for a person to confirm or correct."},"duplicateOfDocumentId":{"type":"string","description":"Id of an earlier document on the loan with the same content, when this one repeats it; otherwise null.","format":"uuid","nullable":true},"supersedesDocumentId":{"type":"string","description":"Id of an earlier document this one replaces (a newer version of the same document); otherwise null.","format":"uuid","nullable":true},"supersededByDocumentId":{"type":"string","description":"Id of a newer document that replaces this one; otherwise null.","format":"uuid","nullable":true},"outcome":{"type":"string","description":"What a person did with the suggestion: Confirmed, Corrected, Rejected or Ignored; null while no one has acted.","nullable":true},"outcomeAt":{"type":"string","description":"When the person acted on the suggestion, in UTC (ISO 8601); null while no one has.","format":"date-time","nullable":true},"coveredPeriods":{"type":"array","items":{"type":"string"},"description":"For a request that needs a span of statements, the months the uploaded documents cover, each formatted yyyy-MM.","nullable":true},"missingPeriods":{"type":"array","items":{"type":"string"},"description":"The requested months no uploaded document covers yet, each formatted yyyy-MM.","nullable":true},"monthsMissing":{"type":"integer","description":"How many months of the request are still missing.","format":"int32","nullable":true},"analyzedAt":{"type":"string","description":"When the analysis was done, in UTC (ISO 8601).","format":"date-time"},"splitSuggestion":{"$ref":"#/components/schemas/SplitSuggestion"},"pageIssues":{"type":"array","items":{"$ref":"#/components/schemas/PageIssue"},"description":"The pages the quality check flagged, which the Unreadable-page request names.","nullable":true}},"additionalProperties":false,"description":"What the document review shows for a document: the suggested task, type and title, the verdict and whether the title was applied automatically. The evidence and page text the analysis read are not included."},"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."},"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."},"TaskRejectionReason":{"type":"object","properties":{"id":{"type":"string","description":"Id of the rejection reason (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the rejection reason.","nullable":true},"code":{"type":"string","description":"Stable code of the rejection reason.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the reason in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"A reason a reviewer gives for rejecting a task's document."},"PosCreditReportType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the report type (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the report type.","nullable":true},"name":{"type":"string","description":"Display name of the report type.","nullable":true}},"additionalProperties":false,"description":"The type of credit report a credit report task asks for."},"TaskQuestionType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the question type (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the question type.","nullable":true},"code":{"type":"string","description":"Stable code of the question type.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the question type in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"For a question task, the kind of answer it asks for, such as yes/no or a short answer."},"LoanAppUser":{"type":"object","properties":{"id":{"type":"string","description":"Id of the user (GUID).","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true}},"additionalProperties":false,"description":"A user, such as the staff member a task is assigned to."},"TaskType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the task type.","nullable":true},"name":{"type":"string","description":"Display name of the task type.","nullable":true}},"additionalProperties":false,"description":"The kind of task."},"TaskAssignmentType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the assignment type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the assignment type.","nullable":true},"name":{"type":"string","description":"Display name of the assignment type.","nullable":true}},"additionalProperties":false,"description":"Who a task is assigned to: a borrower or a user."},"TaskSummary":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/TaskStatus"},"count":{"type":"integer","description":"Number of tasks in this status.","format":"int32"},"isUserTask":{"type":"boolean","description":"True when the count is of tasks assigned to staff users, false when it is of tasks assigned to borrowers."}},"additionalProperties":false},"LoanTimeline":{"type":"object","properties":{"activeStatus":{"$ref":"#/components/schemas/LoanStatusBase"},"lastCompletedStatus":{"$ref":"#/components/schemas/LoanStatusBase"},"loanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/LoanStatus"},"description":"Every loan status with its order, completion and date.","nullable":true},"keyDates":{"$ref":"#/components/schemas/KeyDates"},"statusTracker":{"$ref":"#/components/schemas/StatusTracker"},"disclosureTracker":{"$ref":"#/components/schemas/DisclosureTracker"},"signaturePackages":{"type":"array","items":{"$ref":"#/components/schemas/SignaturePackage"},"description":"The loan's e-signature packages, built from its Disclosure tasks on a loan read.","nullable":true}},"additionalProperties":false,"description":"The loan's progress: its active and last completed status, all statuses, key dates and trackers."},"LoanStatusBase":{"type":"object","properties":{"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true}},"additionalProperties":false,"description":"A loan status: its code and display name."},"LoanStatus":{"type":"object","properties":{"displayOrder":{"type":"integer","description":"Position of the status in the loan timeline, starting at 0.","format":"int32"},"isComplete":{"type":"boolean","description":"True when the loan has passed this status."},"date":{"type":"string","description":"When the loan reached the status, ISO 8601; null if not yet.","format":"date-time","nullable":true},"statusDetails":{"type":"array","items":{"$ref":"#/components/schemas/StatusDetail"},"description":"Sub-steps of the status with their dates.","nullable":true},"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true}},"additionalProperties":false},"StatusDetail":{"type":"object","properties":{"displayOrder":{"type":"integer","description":"Position of the sub-step within its status.","format":"int32"},"code":{"type":"string","description":"Sub-step code.","nullable":true},"name":{"type":"string","description":"Sub-step display name.","nullable":true},"date":{"type":"string","description":"When the sub-step happened, ISO 8601; null if not yet.","format":"date-time","nullable":true}},"additionalProperties":false},"KeyDates":{"type":"object","properties":{"estimatedClosing":{"type":"string","description":"Estimated closing date, ISO 8601.","format":"date-time","nullable":true},"firstPaymentDate":{"type":"string","description":"Date the borrower's first payment is due, ISO 8601.","format":"date-time","nullable":true},"lockExpiration":{"type":"string","description":"Date the rate lock expires, ISO 8601; null when the loan is not locked.","format":"date-time","nullable":true},"rateLockedDate":{"type":"string","description":"Date the rate was locked, ISO 8601.","format":"date-time","nullable":true},"rateLockedTime":{"type":"string","description":"Time of day the rate was locked, as text.","nullable":true},"preApprovedDate":{"type":"string","description":"Date the loan was pre-approved (yyyy-MM-dd).","format":"date","nullable":true},"registeredDate":{"type":"string","description":"Date the loan was registered with the lender (yyyy-MM-dd).","format":"date","nullable":true},"appSubmittedDate":{"type":"string","description":"Date the application was submitted (yyyy-MM-dd).","format":"date","nullable":true},"closingDate":{"type":"string","description":"Scheduled closing date (yyyy-MM-dd).","format":"date","nullable":true}},"additionalProperties":false,"description":"The loan's key dates; each is null until it is known."},"StatusTracker":{"type":"object","properties":{"lastCompletedStep":{"type":"string","description":"Label of the last step the loan completed.","nullable":true},"currentStepLabel":{"type":"string","description":"Label of the step the loan is on now.","nullable":true},"summaryLoanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/StatusTrackerLoanStatus"},"description":"The statuses shown in the summary view, with their progress.","nullable":true},"allLoanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/StatusTrackerLoanStatusBase"},"description":"All statuses in the tracker, in display order.","nullable":true}},"additionalProperties":false,"description":"The borrower-facing progress tracker of a loan: the last completed step, the current step and the statuses shown."},"StatusTrackerLoanStatus":{"type":"object","properties":{"isComplete":{"type":"boolean","description":"True when the loan has passed this status."},"isInProgress":{"type":"boolean","description":"True when the loan is at this status now."},"isApproved":{"type":"boolean","description":"For the pre-approval status, true when approved and false when denied; null otherwise.","nullable":true},"subStatusLabel":{"type":"string","description":"A finer label for the status, when there is one.","nullable":true},"preApprovalDocumentId":{"type":"string","description":"Unique identifier (GUID) of the pre-approval letter document, when one was issued.","format":"uuid","nullable":true},"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the status in the tracker, starting at 0.","format":"int32"},"date":{"type":"string","description":"Date the loan reached the status (yyyy-MM-dd); null if not yet.","format":"date","nullable":true},"time":{"type":"string","description":"Time of day the loan reached the status, as text; null if not known.","nullable":true}},"additionalProperties":false},"StatusTrackerLoanStatusBase":{"type":"object","properties":{"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the status in the tracker, starting at 0.","format":"int32"},"date":{"type":"string","description":"Date the loan reached the status (yyyy-MM-dd); null if not yet.","format":"date","nullable":true},"time":{"type":"string","description":"Time of day the loan reached the status, as text; null if not known.","nullable":true}},"additionalProperties":false},"DisclosureTracker":{"type":"object","properties":{"loanEstimates":{"type":"array","items":{"$ref":"#/components/schemas/LoanEstimateDates"},"description":"Every Loan Estimate issued on the loan, in the order the Loan Origination System lists them.","nullable":true},"closingDisclosures":{"type":"array","items":{"$ref":"#/components/schemas/ClosingDisclosureDates"},"description":"Every Closing Disclosure issued on the loan, in the order the Loan Origination System lists them.","nullable":true}},"additionalProperties":false,"description":"The loan's disclosure history: each Loan Estimate and Closing Disclosure issued, with delivery, receipt and signature dates."},"LoanEstimateDates":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the Loan Estimate disclosure record.","nullable":true},"createdDate":{"type":"string","description":"Date the Loan Estimate was created (yyyy-MM-dd).","format":"date","nullable":true},"issuedDate":{"type":"string","description":"Date the Loan Estimate was issued (yyyy-MM-dd).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the Loan Estimate was delivered, for example email or mail.","nullable":true},"receivedDate":{"type":"string","description":"Date the borrower received it (yyyy-MM-dd).","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date the borrower signed it (yyyy-MM-dd).","format":"date","nullable":true},"isLastDisclosed":{"type":"boolean","description":"The LOS read returns no last-disclosed flag, so this is never filled; see MismoNotCarried.","nullable":true},"disclosedApr":{"type":"number","description":"APR disclosed on the Loan Estimate, in percent (for example 6.912).","format":"double","nullable":true},"archiveId":{"type":"string","description":"The archive the LOS issued this disclosure from; null when the LOS sends blank or an all-zero GUID (a hand-entered record).","nullable":true},"archiveDate":{"type":"string","description":"The archive's date (the LOS's `ArchiveUsed`); a date only, no time of day.","format":"date","nullable":true},"transactionId":{"type":"string","description":"The id the disclosure was generated under, also on the e-sign package it was sent in; null when blank.","nullable":true},"isInitial":{"type":"boolean","description":"True when this is the initial Loan Estimate.","nullable":true},"isManual":{"type":"boolean","description":"True when the record was entered by hand rather than generated.","nullable":true},"isValid":{"type":"boolean","description":"The LOS's `Valid`. A record marked not valid stays in the list.","nullable":true},"losApr":{"type":"number","description":"The LOS's own APR (`LqbApr`).","format":"double","nullable":true},"docVendorApr":{"type":"number","description":"APR calculated by the document provider, in percent.","format":"double","nullable":true},"consumerDates":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerDisclosureDates"},"description":"Per-borrower disclosure dates.","nullable":true}},"additionalProperties":false},"ConsumerDisclosureDates":{"type":"object","properties":{"consumerId":{"type":"string","description":"The borrower's id in the Loan Origination System.","nullable":true},"consumerName":{"type":"string","description":"The borrower's name.","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to this borrower (ISO 8601 date).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered to this borrower, as the Loan Origination System records it.","nullable":true},"receivedDate":{"type":"string","description":"Date this borrower received the disclosure (ISO 8601 date); null when not recorded.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date this borrower signed the disclosure (ISO 8601 date); null when not signed.","format":"date","nullable":true}},"additionalProperties":false},"ClosingDisclosureDates":{"type":"object","properties":{"id":{"type":"string","description":"The disclosure's id in the Loan Origination System.","nullable":true},"createdDate":{"type":"string","description":"Date the disclosure was created (ISO 8601 date, no time of day).","format":"date","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to the borrowers (ISO 8601 date); null when not yet issued.","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered, as the Loan Origination System records it (for example email or mail).","nullable":true},"receivedDate":{"type":"string","description":"Date the borrowers received the disclosure (ISO 8601 date); null when not recorded. When several borrowers are listed, each borrower's own date is in consumerDates.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date the disclosure was signed (ISO 8601 date); null when not signed.","format":"date","nullable":true},"isLastDisclosed":{"type":"boolean","description":"Never filled: the Loan Origination System returns no last-disclosed flag, so this is always null.","nullable":true},"eCloseStatus":{"type":"string","description":"The e-close status the Loan Origination System records for the disclosure; null when none.","nullable":true},"disclosedApr":{"type":"number","description":"The annual percentage rate disclosed, in percent (for example 6.912); null when not recorded.","format":"double","nullable":true},"archiveId":{"type":"string","description":"The id of the archive the Loan Origination System issued this disclosure from; null when it sent none (for example a hand-entered record).","nullable":true},"archiveDate":{"type":"string","description":"The archive's date (ISO 8601 date, no time of day).","format":"date","nullable":true},"transactionId":{"type":"string","description":"The id the disclosure was generated under, also on the e-sign package it was sent in; null when blank.","nullable":true},"isInitial":{"type":"boolean","description":"True when this is the initial Closing Disclosure.","nullable":true},"isManual":{"type":"boolean","description":"True when the record was entered by hand rather than generated by the Loan Origination System.","nullable":true},"isValid":{"type":"boolean","description":"False when the record is marked not valid in the Loan Origination System. Such a record stays in the list.","nullable":true},"losApr":{"type":"number","description":"The Loan Origination System's own annual percentage rate, in percent.","format":"double","nullable":true},"docVendorApr":{"type":"number","description":"The APR as the document vendor calculated it, in percent; null when not recorded.","format":"double","nullable":true},"isFinal":{"type":"boolean","description":"True when this is the final Closing Disclosure.","nullable":true},"isPreview":{"type":"boolean","description":"True when the disclosure was only a preview and was not issued to the borrowers.","nullable":true},"isPostClosing":{"type":"boolean","description":"True when the disclosure was issued after closing.","nullable":true},"consumerDates":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerDisclosureDates"},"description":"Issued, received and signed dates for each borrower on the disclosure.","nullable":true}},"additionalProperties":false},"SignaturePackage":{"type":"object","properties":{"packageId":{"type":"string","description":"The id of the e-sign package as the Loan Origination System holds it.","nullable":true},"name":{"type":"string","description":"The package's name.","nullable":true},"sentTimestamp":{"type":"string","description":"The earliest created timestamp of the package's tasks.","format":"date-time"},"status":{"type":"string","description":"Signed, AwaitingSignature, Reviewed or Cancelled. Reviewed and Cancelled are only reported by a live read of the package.","nullable":true},"signedTimestamp":{"type":"string","description":"The last signer's, only when the package is signed.","format":"date-time","nullable":true},"signers":{"type":"array","items":{"$ref":"#/components/schemas/SignaturePackageSigner"},"description":"The people who must sign the package and whether each has.","nullable":true}},"additionalProperties":false,"description":"One e-sign package sent from the LOS for a loan and who has signed it, built from the loan's\r\nDisclosure tasks (one per signer). Carries no access link and no participant id: nothing here\r\nopens a signing session. Not loan-file data, so it is never part of the MISMO export."},"SignaturePackageSigner":{"type":"object","properties":{"name":{"type":"string","description":"The signer's name.","nullable":true},"role":{"type":"string","description":"Borrower or LoanOfficer.","nullable":true},"signedTimestamp":{"type":"string","description":"When the signer signed, in UTC (ISO 8601); null while they have not.","format":"date-time","nullable":true}},"additionalProperties":false}}}}
```

## The GetLoanApplicationsResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetLoanApplicationsResponse":{"required":["count"],"type":"object","properties":{"count":{"type":"integer","description":"Number of matching loan applications across every page, the same as totalCount. Kept for existing callers; read totalCount.","format":"int32"},"totalCount":{"type":"integer","description":"Number of matching loan applications across every page (value holds one page of them when skip or top is sent).","format":"int32","readOnly":true},"value":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplication"},"description":"The loan applications.","nullable":true}},"additionalProperties":false,"description":"A list of loan applications."},"LoanApplication":{"type":"object","properties":{"id":{"type":"string","description":"Id of the loan application (GUID), as used in loan-applications/{id} paths. The LOS loan id is loanInfo.loanId.","format":"uuid"},"loanInfo":{"$ref":"#/components/schemas/LoanInfo"},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplicationTaskItem"},"description":"The loan's tasks and conditions.","nullable":true},"taskSummaries":{"type":"array","items":{"$ref":"#/components/schemas/TaskSummary"},"description":"Counts of the loan's tasks by status, split into user tasks and borrower tasks.","nullable":true},"loanTimeline":{"$ref":"#/components/schemas/LoanTimeline"},"isDeleted":{"type":"boolean","description":"True when the loan application has been deleted."},"createdTimestampUtc":{"type":"string","description":"When the loan application was created (ISO 8601 date and time, UTC).","format":"date-time"},"updatedTimestampUtc":{"type":"string","description":"When the loan application was last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedBy":{"type":"string","description":"Id (GUID) of the user who last changed the loan application.","format":"uuid","nullable":true},"isClientPortalHidden":{"type":"boolean","description":"True when the borrower's company does not use the borrower portal. False when that cannot be determined. Computed on read, never stored."},"isLosLead":{"type":"boolean","description":"True while the loan has a loan number but its application has not been submitted yet (its file was opened early, as a lead). False otherwise: a loan number then means the application was submitted."},"isSandbox":{"type":"boolean","description":"True when the loan is a sandbox, a copy made to try changes on. False on every ordinary loan. Read-only."},"sourceLoanApplicationId":{"type":"string","description":"For a sandbox, the id of the loan it was copied from. Null on every other loan.","format":"uuid","nullable":true},"sandboxSourceLoanNumber":{"type":"string","description":"For a sandbox, the LOS loan number of the loan it was copied from. Null on every other loan.","nullable":true}},"additionalProperties":false,"description":"A loan application: its loan details, tasks and conditions, and timeline."},"LoanInfo":{"type":"object","properties":{"loanId":{"type":"string","description":"The loan's id in the LOS (the same value as the loan's externalId). Null for a loan not in the LOS yet.","nullable":true},"loanNumber":{"type":"string","description":"The loan number the LOS assigned, shown to people.","nullable":true},"sourceLoanNumber":{"type":"string","description":"The loan number the originating system gave this loan, from an imported MISMO file. Never Henge's own loan number (loanNumber).","nullable":true},"loanAmount":{"type":"number","description":"Base loan amount, in dollars, before any financed mortgage insurance premium or funding fee.","format":"double","nullable":true},"loanType":{"$ref":"#/components/schemas/FieldType"},"mortgageLoanType":{"type":"string","description":"Raw product-class code of the loan, a number as text. It is not the loan type (loanType). Code 0 means government or unspecified.","nullable":true},"purpose":{"$ref":"#/components/schemas/FieldType"},"lienPosition":{"$ref":"#/components/schemas/FieldType"},"loanStatus":{"$ref":"#/components/schemas/FieldType"},"propertyType":{"$ref":"#/components/schemas/FieldType"},"loanStatusDate":{"type":"string","description":"When the loan reached its current status (ISO 8601 date and time).","format":"date-time","nullable":true},"appraisalValue":{"type":"number","description":"Appraised value of the subject property, in dollars.","format":"double","nullable":true},"purchasePrice":{"type":"number","description":"Purchase price of the subject property, in dollars. Purchase loans only.","format":"double","nullable":true},"subjectPropertyAddress":{"$ref":"#/components/schemas/SubjectPropertyAddress"},"occupancy":{"$ref":"#/components/schemas/FieldType"},"mannerOfTitle":{"type":"string","description":"How title will be held, as entered (free text). finalVesting is the newer field.","nullable":true},"refinance":{"$ref":"#/components/schemas/RefinanceInfo"},"assignments":{"$ref":"#/components/schemas/Assignments"},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/PosBorrower"},"description":"The loan's borrowers. A co-borrower is nested inside the borrower it is paired with, in coBorrower.","nullable":true},"proposedHousingExpense":{"$ref":"#/components/schemas/ProposedHousingExpense"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomField"},"description":"Custom fields configured on the loan, with their values.","nullable":true},"closingDate":{"type":"string","description":"Scheduled closing date (ISO 8601 date and time).","format":"date-time","nullable":true},"estimatedCompensation":{"type":"number","description":"Estimated originator compensation for the loan, in dollars.","format":"double","nullable":true},"lockedCompensation":{"type":"number","description":"Originator compensation fixed by the rate lock, in dollars.","format":"double","nullable":true},"lockStatus":{"type":"string","description":"Rate lock status as the LOS names it, for example Not Locked or Locked.","nullable":true},"confirmedLockPeriod":{"type":"string","description":"Length of the confirmed rate lock, in days, as text.","nullable":true},"downPayment":{"type":"number","description":"Down payment, in dollars.","format":"double","nullable":true},"downPaymentPercentage":{"type":"number","description":"Down payment as a percent of the purchase price, for example 20.","format":"double","nullable":true},"downPaymentSources":{"type":"array","items":{"$ref":"#/components/schemas/DownPaymentSource"},"description":"Where the down payment comes from.","nullable":true},"mortgageInsurance":{"type":"number","description":"Mortgage insurance amount, in dollars.","format":"double","nullable":true},"annualIncome":{"type":"number","description":"The borrower's total annual income, in dollars.","format":"double","nullable":true},"hasAssetsForDownPayment":{"type":"boolean","description":"True when the borrower has assets to cover the down payment."},"hoaAmount":{"type":"number","description":"Homeowners association dues, in dollars.","format":"double","nullable":true},"noteRate":{"type":"number","description":"Note rate as a percent, for example 6.875.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, as a percent, for example 7.012.","format":"double","nullable":true},"ltvRatios":{"$ref":"#/components/schemas/LtvRatios"},"numberOfUnits":{"type":"integer","description":"Number of units in the subject property.","format":"int32","nullable":true},"qualification":{"$ref":"#/components/schemas/Qualification"},"loanTerm":{"type":"integer","description":"Loan term, in months.","format":"int32","nullable":true},"loanProgram":{"type":"string","description":"Name of the loan program the loan is in.","nullable":true},"lockExpirationDate":{"type":"string","description":"Date the rate lock expires (ISO 8601 date).","format":"date","nullable":true},"amortizationType":{"$ref":"#/components/schemas/FieldType"},"isTestFile":{"type":"boolean","description":"True for a test loan: one created from a non-production environment or by a test user."},"isDscrLoan":{"type":"boolean","description":"True for a debt service coverage ratio (DSCR) loan, qualified on the property's rental income rather than the borrower's income."},"subjectPropertyRentalIncome":{"$ref":"#/components/schemas/SubjectPropertyRentalIncome"},"loanLevelCredit":{"$ref":"#/components/schemas/LoanLevelCredit"},"credit":{"$ref":"#/components/schemas/LoanCredit"},"escrowWaiver":{"type":"boolean","description":"True when the borrower waives escrow of taxes and insurance. Null when not set.","nullable":true},"totalLoanAmount":{"type":"number","description":"Loan amount in dollars including any financed upfront mortgage insurance premium or funding fee, labelled Total Loan Amt in the LOS. loanAmount is the base amount before that financing, so the two differ on FHA, VA and USDA loans and agree on conventional ones. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"investorLockProjectedProfit":{"type":"number","description":"Projected profit on the investor lock, in dollars; negative for a loss. Read-only.","format":"double","nullable":true},"branchChannel":{"$ref":"#/components/schemas/FieldType"},"financedUpfrontMipOrFundingFee":{"type":"number","description":"The upfront mortgage insurance premium or funding fee rolled into the loan amount, in dollars. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"maturityTermInMonths":{"type":"integer","description":"Term in months at which the balance comes due. Equals loanTerm on a fully amortising loan and is shorter on a balloon.","format":"int32","nullable":true},"loanTypeOtherDescription":{"type":"string","description":"Free text describing the loan type when loanType is Other.","nullable":true},"armDescription":{"type":"string","description":"Description of the adjustable rate, for example 5/1 ARM. Empty on fixed-rate loans.","nullable":true},"printAmortizationTypeAsOther":{"type":"boolean","description":"True to print the amortization type as Other on the loan application form.","nullable":true},"amortizationTypeOtherDescription":{"type":"string","description":"The text printed as the amortization type when printAmortizationTypeAsOther is set.","nullable":true},"urlaLoanPurposeCode":{"type":"string","description":"Raw code for the loan purpose as stated on the 2019 loan application form (URLA). It is not purpose: the form keeps a three-way Purchase, Refinance or Other answer apart from the finer-grained purpose list, and the two can disagree.","nullable":true},"urlaLoanPurposeName":{"type":"string","description":"urlaLoanPurposeCode decoded, for example Purchase or Refinance. Null for a code not recognized. Read only.","nullable":true},"urlaLoanPurposeOtherDescription":{"type":"string","description":"Free text when the form's loan purpose is Other.","nullable":true},"isRenovationLoan":{"type":"boolean","description":"True when the loan finances renovation work, for example a HomeStyle or FHA 203(k) loan.","nullable":true},"isLineOfCredit":{"type":"boolean","description":"True when the loan is a line of credit rather than a closed-end mortgage.","nullable":true},"isNewConstruction":{"type":"boolean","description":"True when the subject property is new construction.","nullable":true},"isEmployeeLoan":{"type":"boolean","description":"True when the borrower is an employee of the lender.","nullable":true},"isOptionArm":{"type":"boolean","description":"True when the loan is a payment-option adjustable rate mortgage.","nullable":true},"optionArmTeaserRate":{"type":"number","description":"The introductory rate on a payment-option ARM, as a percent.","format":"double","nullable":true},"higherPricedMortgageTypeCode":{"type":"string","description":"Raw code for the higher-priced or high-cost classification, for example None. Can be overridden; lock it with fieldLocks or the LOS recomputes it from the APR test.","nullable":true},"higherPricedMortgageTypeName":{"type":"string","description":"higherPricedMortgageTypeCode decoded, for example None or HPML. Null for a code not recognized. Read only.","nullable":true},"leadSource":{"type":"string","description":"Where the lead came from.","nullable":true},"totalMonthlyLiabilities":{"type":"number","description":"Total monthly liability payments across all borrowers, in dollars, which the LOS divides into income for the back-end ratio. Calculated by the LOS; a write is ignored. Summing the borrowers' liability amounts does not reproduce it, because the LOS leaves out liabilities marked paid off or omitted.","format":"double","nullable":true},"presentHousingExpense":{"type":"number","description":"The borrower's present total monthly housing expense, in dollars: the baseline the payment shock is measured against. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"paymentShock":{"$ref":"#/components/schemas/PaymentShock"},"fieldLocks":{"$ref":"#/components/schemas/LoanFieldLocks"},"trusts":{"type":"array","items":{"$ref":"#/components/schemas/LoanTrust"},"description":"Trusts that will hold title, at most two. Depending on your company's setup they are read from and written to the LOS, or kept in Henge only.","nullable":true},"titleHeldInTrust":{"type":"boolean","description":"Will title be held in a trust: true yes, false no, null not answered. Not sent to the LOS.","nullable":true},"finalVesting":{"type":"string","description":"The final vesting statement as it will read on title. Depending on your company's setup it is read from and written to the LOS, or kept in Henge only.","nullable":true},"aus":{"$ref":"#/components/schemas/LoanAusResult"},"rateLock":{"$ref":"#/components/schemas/LoanRateLock"},"temporaryBuydown":{"$ref":"#/components/schemas/LoanTemporaryBuydown"}},"additionalProperties":false,"description":"The loan's terms and figures: amount, type, purpose, property, borrowers, rate, lock, housing expense and qualification."},"FieldType":{"type":"object","properties":{"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A value chosen from a list in the LOS, with its code and display name. Also the base of records that carry an LOS id."},"SubjectPropertyAddress":{"type":"object","properties":{"propertyId":{"type":"string","description":"Identifier (GUID) of the property this address belongs to.","format":"uuid","nullable":true},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"The address of the loan's subject property."},"RefinanceInfo":{"type":"object","properties":{"cashOutAmount":{"type":"number","description":"Cash the borrower takes out, in dollars.","format":"double","nullable":true},"purpose":{"$ref":"#/components/schemas/FieldType"},"purposeOtherDescription":{"type":"string","description":"Free-text refinance purpose when the purpose is Other.","nullable":true}},"additionalProperties":false,"description":"Details that apply to a refinance loan."},"Assignments":{"type":"object","properties":{"loanOfficer":{"$ref":"#/components/schemas/Contact"},"loanAssistant":{"$ref":"#/components/schemas/Contact"},"loanProcessor":{"$ref":"#/components/schemas/Contact"},"referredBy":{"$ref":"#/components/schemas/Contact"}},"additionalProperties":false,"description":"The people working a loan: its loan officer, assistant, processor and the referring contact. Each is null when none is assigned."},"Contact":{"type":"object","properties":{"id":{"type":"string","description":"Id of the contact (GUID).","format":"uuid","nullable":true},"email":{"type":"string","description":"Email address.","nullable":true},"firstName":{"type":"string","description":"First name.","nullable":true},"lastName":{"type":"string","description":"Last name.","nullable":true},"agentName":{"type":"string","description":"Full name of the agent.","nullable":true},"roleName":{"type":"string","description":"Display name of the contact's role.","nullable":true},"agentNMLS":{"type":"string","description":"The agent's NMLS id.","nullable":true},"role":{"$ref":"#/components/schemas/ContactRole"},"phone":{"type":"string","description":"Phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"companyPhone":{"type":"string","description":"The agent's company phone number.","nullable":true},"zip":{"type":"string","description":"ZIP or postal code.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"street":{"type":"string","description":"Street address.","nullable":true},"companyNMLS":{"type":"string","description":"The agent's company NMLS id.","nullable":true}},"additionalProperties":false,"description":"A person on or tied to a loan, such as the referring agent."},"ContactRole":{"enum":["Other","Appraiser","Escrow","CreditReport","Title","MortgageInsurance","ListingAgent","SellingAgent","Builder","Underwriter","Investor","Servicing","BuyerAttorney","SellerAttorney","HomeOwnerInsurance","HazardInsurance","MarketingLead","Seller","Surveyor","LoanOfficer","Bank","Lender","Processor","CallCenterAgent","LoanOpener","Manager","Broker","BrokerRep","ECOA","Realtor","Mortgagee","HomeOwnerAssociation","BuyerAgent","ClosingAgent","FairHousingLending","HomeInspection","FloodProvider","CreditReportAgency2","CreditReportAgency3","Shipper","BrokerProcessor","Trustee","Funder","PostCloser","Insuring","CollateralAgent","DocDrawer","PropertyManagement","TitleUnderwriter","CreditAuditor","DisclosureDesk","JuniorProcessor","JuniorUnderwriter","LegalAuditor","LoanOfficerAssistant","Purchaser","QCCompliance","Secondary","PestInspection","Subservicer","ExternalSecondary","ExternalPostCloser","LoanPurchasePayee","AppraisalManagementCompany","Referral","Notary","TaxServicer","SupervisoryAppraiser","Attorney","PropertyInspector","CPATaxPreparer","LockDesk","MortgageServiceOrganization","Verifications","TaxCollector","TaxTranscripts"],"type":"string","description":"The role a contact plays on a loan. Each value names that role: Other (anything not listed), Appraiser, Escrow, CreditReport (credit agency), Title, MortgageInsurance, ListingAgent, SellingAgent, Builder, Underwriter, Investor, Servicing, BuyerAttorney, SellerAttorney, HomeOwnerInsurance (obsolete; use HazardInsurance), HazardInsurance (homeowner's insurance), MarketingLead, Seller, Surveyor, LoanOfficer, Bank, Lender, Processor, CallCenterAgent, LoanOpener, Manager, Broker, BrokerRep, ECOA, Realtor, Mortgagee, HomeOwnerAssociation, BuyerAgent, ClosingAgent, FairHousingLending, HomeInspection, FloodProvider, CreditReportAgency2, CreditReportAgency3, Shipper, BrokerProcessor (external processor), Trustee, Funder, PostCloser, Insuring, CollateralAgent, DocDrawer, PropertyManagement, TitleUnderwriter, CreditAuditor, DisclosureDesk, JuniorProcessor, JuniorUnderwriter, LegalAuditor, LoanOfficerAssistant, Purchaser, QCCompliance, Secondary, PestInspection, Subservicer, ExternalSecondary, ExternalPostCloser, LoanPurchasePayee, AppraisalManagementCompany, Referral, Notary, TaxServicer, SupervisoryAppraiser, Attorney, PropertyInspector, CPATaxPreparer, LockDesk, MortgageServiceOrganization, Verifications, TaxCollector and TaxTranscripts."},"PosBorrower":{"type":"object","properties":{"hdBorrowerId":{"type":"string","description":"Id of the borrower on this loan (GUID). Other endpoints take it as ownerBorrowerIds.","format":"uuid","nullable":true},"clientId":{"type":"string","description":"Id of the borrower's client record (GUID).","format":"uuid","nullable":true},"externalId":{"type":"string","description":"The borrower's (consumer) id in the LOS.","nullable":true},"externalLabel":{"type":"string","description":"A display label kept by Henge. Not sent to the LOS.","nullable":true},"externalApplicationId":{"type":"string","description":"Id of the LOS application (borrower pair) this person is on, used to match the person to the right pair in the LOS. A co-borrower carries its pair's. Null until the LOS has reported it.","nullable":true},"externalLegacyApplicationId":{"type":"string","description":"Id of the borrower pair's older-style application record in the LOS, kept for LOS writes. Null when it has not been read yet.","nullable":true},"firstName":{"type":"string","description":"Borrower's legal first name, as on their ID; sent to the LOS.","nullable":true},"lastName":{"type":"string","description":"Borrower's legal last name, as on their ID; sent to the LOS.","nullable":true},"middleName":{"type":"string","description":"Borrower's middle name or initial.","nullable":true},"suffixName":{"type":"string","description":"Name suffix, for example Jr, Sr or III.","nullable":true},"contacts":{"$ref":"#/components/schemas/Contacts"},"maritalStatus":{"$ref":"#/components/schemas/FieldType"},"citizenship":{"$ref":"#/components/schemas/FieldType"},"birthDate":{"type":"string","description":"Date of birth (ISO 8601 date).","nullable":true},"language":{"$ref":"#/components/schemas/Language"},"isMilitary":{"type":"boolean","description":"True when the borrower serves or has served in the military.","nullable":true},"currentAddress":{"$ref":"#/components/schemas/Residence"},"mailingAddress":{"$ref":"#/components/schemas/MailingAddress"},"previousAddresses":{"type":"array","items":{"$ref":"#/components/schemas/Residence"},"description":"Earlier residences, listed when the borrower has lived at the current address for a short time.","nullable":true},"ownedProperties":{"type":"array","items":{"$ref":"#/components/schemas/OwnedProperty"},"description":"Real estate the borrower owns.","nullable":true},"declaration":{"$ref":"#/components/schemas/Declaration"},"demographics":{"$ref":"#/components/schemas/Demographics"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/Employment"},"description":"The borrower's employers, current and previous.","nullable":true},"otherIncomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"},"description":"Income that does not come from an employer, such as Social Security or rental income.","nullable":true},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/PosLiability"},"description":"The borrower's debts.","nullable":true},"veteranDetail":{"$ref":"#/components/schemas/VeteranDetail"},"creditScores":{"type":"array","items":{"$ref":"#/components/schemas/PosCreditScore"},"description":"Credit scores on the borrower's file.","nullable":true},"hmdaApplicantCreditScore":{"$ref":"#/components/schemas/HmdaApplicantCreditScore"},"creditAuthorizationDate":{"type":"string","description":"Date the borrower authorized a credit check (ISO 8601 date). Null when they have not.","nullable":true},"isBeta":{"type":"boolean","description":"True when the borrower's account is flagged for beta features of the borrower app.","nullable":true},"fico":{"type":"integer","description":"The borrower's FICO score on file, as a whole number. Null when not set.","format":"int32","nullable":true},"softCreditExternalId":{"type":"string","description":"Id of the soft credit check recorded for the borrower in the LOS. Null when none.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower of the pair."},"borrowerType":{"type":"string","description":"The borrower's role on the loan, as a code, for example Borrower or CoSigner.","nullable":true},"assets":{"type":"array","items":{"$ref":"#/components/schemas/PosAsset"},"description":"The assets the borrower reports.","nullable":true},"numberOfDependents":{"type":"integer","description":"Number of people who depend on the borrower for support.","format":"int32","nullable":true},"dependentAges":{"type":"string","description":"Ages of the borrower's dependents, as entered (free text).","nullable":true},"ssn":{"type":"string","description":"Social Security number, digits only (dashes are removed when you send it). Sensitive: only some callers receive it.","nullable":true},"encryptedSsn":{"type":"string","description":"The Social Security number in encrypted form, for passing between Henge services. Do not rely on its format.","nullable":true},"pairId":{"type":"string","description":"The borrower pair this borrower is on. Set by the server; a co-borrower carries its pair's.","format":"uuid","nullable":true},"pairIndex":{"type":"integer","description":"The pair's position on the loan, 0 to 3; 0 is the primary pair.","format":"int32"},"vestingType":{"$ref":"#/components/schemas/BorrowerVestingType"},"coBorrower":{"allOf":[{"$ref":"#/components/schemas/PosBorrower"}],"description":"The co-borrower this borrower is paired with, in the same shape."}},"additionalProperties":false,"description":"A borrower on the loan: identity, contact details, addresses, employment, income, assets, liabilities, credit and declarations. A co-borrower is nested in coBorrower."},"Contacts":{"type":"object","properties":{"email":{"type":"string","description":"Email address.","nullable":true},"homePhone":{"type":"string","description":"Home phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"workPhone":{"type":"string","description":"Work phone number.","nullable":true}},"additionalProperties":false,"description":"How to reach a borrower."},"Language":{"type":"object","properties":{"code":{"type":"string","description":"Language code.","nullable":true},"otherDescription":{"type":"string","description":"Free-text language name when the code is Other.","nullable":true},"refuseToAnswer":{"type":"boolean","description":"True when the borrower chose not to answer."}},"additionalProperties":false,"description":"The language the borrower prefers."},"Residence":{"type":"object","properties":{"residencyDurationInMonths":{"type":"integer","description":"Months the borrower has lived at this address.","format":"int32","nullable":true},"residencyType":{"type":"string","description":"Whether the borrower owns, rents or lives rent-free at the address, as the LOS names it.","nullable":true},"monthlyRent":{"type":"number","description":"Monthly rent, in dollars.","format":"double","nullable":true},"startDate":{"type":"string","description":"Date the borrower moved in (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower moved out (ISO 8601 date). Empty for the current address.","nullable":true},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A place the borrower lives or has lived, with how long and what they pay."},"MailingAddress":{"type":"object","properties":{"isTheSameAsCurrentAddress":{"type":"boolean","description":"True when the mailing address is the borrower's current residence."},"isTheSameAsSubjectPropertyAddress":{"type":"boolean","description":"True when the mailing address is the subject property."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A borrower's mailing address, which can be flagged as the same as their current or subject property address."},"OwnedProperty":{"type":"object","properties":{"externalLabel":{"type":"string","description":"A display label kept by Henge. Not sent to the LOS.","nullable":true},"dispositionStatus":{"$ref":"#/components/schemas/FieldType"},"occupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancyOtherDescription":{"type":"string","description":"Free-text description when intendedOccupancy is Other.","nullable":true},"marketValue":{"type":"number","description":"Market value of the property, in dollars.","format":"double","nullable":true},"monthlyRentalGross":{"type":"number","description":"Gross monthly rental income from the property, in dollars.","format":"double"},"maintenanceExpense":{"type":"number","description":"Maintenance expense for the property, in dollars.","format":"double","nullable":true},"monthlyRentalNet":{"type":"number","description":"Monthly rental income net of the property's expenses, in dollars.","format":"double","nullable":true},"lienBalance":{"type":"number","description":"Unpaid balance of the liens on the property, in dollars, as entered.","format":"double","nullable":true},"lienMonthlyPayment":{"type":"number","description":"Monthly payment on the liens on the property, in dollars, as entered.","format":"double","nullable":true},"isSubject":{"type":"boolean","description":"True when this is the subject property of the loan."},"isCurrent":{"type":"boolean","description":"True when this is the borrower's current residence."},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/PosLiability"},"description":"The mortgages tied to this property. Null or empty when none.","nullable":true},"liability":{"$ref":"#/components/schemas/PosLiability"},"tieId":{"type":"string","description":"What to send as a liability's securedPropertyId to tie it to this property: the LOS id, or the address before the loan is in the LOS. Recomputed on every read.","nullable":true},"securingLiabilityIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids (GUIDs) of the stored liabilities tied to this property. Recomputed on every read; a save does not set it.","nullable":true},"derivedLienBalance":{"type":"number","description":"Sum of the tied liabilities' balances, in dollars; null when no liability is tied. lienBalance stays what was entered.","format":"double","nullable":true},"derivedLienMonthlyPayment":{"type":"number","description":"Sum of the tied liabilities' monthly payments, in dollars; null when no liability is tied or none has a payment.","format":"double","nullable":true},"hasLienDifference":{"type":"boolean","description":"True when an entered lien figure disagrees with the tied liabilities. It is reported, never corrected."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A property the borrower owns (real estate owned): where it is, how it is used, its value and rent, and the mortgages tied to it."},"PosLiability":{"type":"object","properties":{"amount":{"type":"number","description":"Unpaid balance, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Monthly payment, in dollars.","format":"double","nullable":true},"remainingMonths":{"type":"integer","description":"Months left on the debt. Null when the file does not say.","format":"int32","nullable":true},"isPaidOffAtClosing":{"type":"boolean","description":"True when the debt will be paid off at closing. Null leaves the LOS's value alone.","nullable":true},"isExcludedFromRatios":{"type":"boolean","description":"True when the payment is left out of the debt-to-income ratios. Null leaves the LOS's value alone.","nullable":true},"accountNumber":{"type":"string","description":"Account number of the debt, as reported.","nullable":true},"isExpense":{"type":"boolean","description":"True when the row is an expense rather than a debt, for example in an export."},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"borrowerExternalId":{"$ref":"#/components/schemas/BorrowerExternalId"},"borrowerExternalIds":{"type":"array","items":{"$ref":"#/components/schemas/BorrowerExternalId"},"description":"Every borrower who owns the debt. When empty, the borrower in borrowerExternalId owns it.","nullable":true},"cosmosDbLiabilityId":{"type":"string","description":"Id (GUID) of the matching liability on the loan, which links this entry to the liabilities endpoints.","format":"uuid"},"creditorName":{"type":"string","description":"Name of the creditor or lender.","nullable":true},"description":{"type":"string","description":"Free-text description of the debt.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A debt listed on the loan application."},"BorrowerExternalId":{"type":"object","properties":{"externalId":{"type":"string","description":"The borrower's id in the LOS.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower."}},"additionalProperties":false,"description":"Identifies a borrower (consumer) in the LOS."},"Declaration":{"type":"object","properties":{"hasIntentToOccupy":{"type":"boolean","description":"Borrower intends to occupy the subject property as their primary residence."},"isHomeownerPastThreeYears":{"type":"boolean","description":"Borrower has owned a home in the past three years."},"priorPropertyUsage":{"$ref":"#/components/schemas/FieldType"},"priorPropertyTitle":{"$ref":"#/components/schemas/FieldType"},"isBuyerSellerSpecialRelationship":{"type":"boolean","description":"Borrower has a family or business relationship with the seller of the subject property."},"hasUndisclosedBorrowedFunds":{"type":"boolean","description":"Borrower is borrowing money for this transaction (for example the down payment) that is not disclosed elsewhere in the application."},"undisclosedBorrowedFundsAmount":{"type":"number","description":"Amount of that borrowed money, in dollars.","format":"double","nullable":true},"hasUndisclosedCreditApplication":{"type":"boolean","description":"Borrower has applied, or will apply before closing, for other credit that is not disclosed."},"hasUndisclosedMortgageApplication":{"type":"boolean","description":"Borrower has applied for another mortgage on a property that is not disclosed."},"hasCleanEnergyLien":{"type":"boolean","description":"The subject property is subject to a lien that takes priority, such as a clean energy lien."},"isUndisclosedComakerOfNote":{"type":"boolean","description":"Borrower is a co-maker or endorser on a note whose debt is not disclosed."},"hasOutstandingJudgements":{"type":"boolean","description":"Borrower has outstanding judgments against them."},"isDelinquent":{"type":"boolean","description":"Borrower is delinquent or in default on a federal debt or loan."},"isPartyToLawsuit":{"type":"boolean","description":"Borrower is a party to a lawsuit."},"hasDeedInLieu":{"type":"boolean","description":"Borrower has transferred title to a property in lieu of foreclosure in the past seven years."},"hasShortSale":{"type":"boolean","description":"Borrower has completed a pre-foreclosure sale or short sale in the past seven years."},"hasForeclosure":{"type":"boolean","description":"Borrower has had a property foreclosed upon in the past seven years."},"hasBankruptcy":{"type":"boolean","description":"Borrower has declared bankruptcy in the past seven years."},"bankruptcyTypes":{"type":"array","items":{"type":"string"},"description":"The type (chapter) of each bankruptcy declared, when hasBankruptcy is true.","nullable":true},"hasHousingCounselingConsent":{"type":"boolean","description":"Housing counseling consent recorded for the borrower."}},"additionalProperties":false,"description":"A borrower's answers to the declarations on the loan application (Section 5 of the URLA)."},"Demographics":{"type":"object","properties":{"ethnicity":{"$ref":"#/components/schemas/Ethnicity"},"gender":{"$ref":"#/components/schemas/FieldType"},"races":{"type":"array","items":{"$ref":"#/components/schemas/Race"},"description":"The races the borrower reported.","nullable":true},"hasRefusedToDiscloseRace":{"type":"boolean","description":"True when the borrower chose not to provide their race."},"hasRefusedToDiscloseGender":{"type":"boolean","description":"True when the borrower chose not to provide their gender."},"hasRefusedToDiscloseEthnicity":{"type":"boolean","description":"True when the borrower chose not to provide their ethnicity."},"applicationTaken":{"$ref":"#/components/schemas/FieldType"},"isRaceBasedOnVisualOrSurname":{"type":"boolean","description":"True when the race was recorded from visual observation or surname rather than provided by the borrower."},"isGenderBasedOnVisualOrSurname":{"type":"boolean","description":"True when the gender was recorded from visual observation or surname rather than provided by the borrower."},"isEthnicityBasedOnVisualOrSurname":{"type":"boolean","description":"True when the ethnicity was recorded from visual observation or surname rather than provided by the borrower."}},"additionalProperties":false,"description":"The government monitoring (HMDA) information a borrower provided or declined to provide: ethnicity, race and gender."},"Ethnicity":{"type":"object","properties":{"origins":{"type":"array","items":{"$ref":"#/components/schemas/EthnicityOrigin"},"description":"The origins the borrower selected, for example Mexican or Puerto Rican.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"The borrower's ethnicity (HMDA), with the origins they selected."},"EthnicityOrigin":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text origin the borrower gave when the origin is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One ethnicity origin the borrower selected."},"Race":{"type":"object","properties":{"raceDesignations":{"type":"array","items":{"$ref":"#/components/schemas/RaceDesignation"},"description":"The designations the borrower selected within this race, for example Asian Indian or Chinese.","nullable":true},"additionalDescription":{"type":"string","description":"Free-text detail the borrower gave about this race.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A race the borrower reported (HMDA), with the designations they selected."},"RaceDesignation":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text designation the borrower gave when the designation is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One race designation the borrower selected."},"Employment":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the employment record in the LOS.","nullable":true},"isCurrent":{"type":"boolean","description":"True for a current job, false for a previous one."},"isSelfEmployed":{"type":"boolean","description":"True when the borrower is self-employed in this job."},"ownershipShare":{"$ref":"#/components/schemas/FieldType"},"isPrimary":{"type":"boolean","description":"True for the borrower's primary employment. Null when not stated.","nullable":true},"name":{"type":"string","description":"Name of the employer.","nullable":true},"position":{"type":"string","description":"The borrower's job title.","nullable":true},"address":{"$ref":"#/components/schemas/PosAddress"},"startDate":{"type":"string","description":"Date the borrower started this job (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower left this job (ISO 8601 date). Empty for a current job.","nullable":true},"professionStartDate":{"type":"string","description":"Date the borrower started working in this line of work (ISO 8601 date).","nullable":true},"lineOfWorkInMonths":{"type":"integer","description":"Months the borrower has worked in this line of work.","format":"int32","nullable":true},"businessPhone":{"type":"string","description":"The employer's phone number.","nullable":true},"email":{"type":"string","description":"Work email address for this employment.","nullable":true},"monthlyIncomeAmount":{"type":"number","description":"Total monthly income from this employment, in dollars.","format":"double","nullable":true},"incomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"},"description":"The income components from this employment, such as base pay, overtime or bonus.","nullable":true}},"additionalProperties":false,"description":"One job the borrower holds or has held, with the income it pays."},"PosAddress":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A postal address."},"Income":{"type":"object","properties":{"amount":{"type":"number","description":"Income amount, in dollars per month.","format":"double"},"otherDescription":{"type":"string","description":"Free-text description when the income type is Other.","nullable":true},"isAssociatedWithEmployment":{"type":"boolean","description":"True when the income belongs to an employment, such as overtime or bonus, rather than standing alone."},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One income amount, either tied to an employment or standing alone."},"VeteranDetail":{"type":"object","properties":{"isVeteran":{"type":"boolean","description":"True when the borrower is a veteran."},"activeDuty":{"type":"boolean","description":"True when the borrower is currently on active duty."},"activeDutyExpirationDate":{"type":"string","description":"Date the borrower's current active duty ends (ISO 8601 date).","nullable":true},"retiredDischargedOrSeparated":{"type":"boolean","description":"True when the borrower has retired, been discharged or separated from service."},"reserveNationalGuardNeverActivated":{"type":"boolean","description":"True when the borrower is in the Reserves or National Guard and has never been activated."},"isSurvivingSpouseOfVeteran":{"type":"boolean","description":"True when the borrower is the surviving spouse of a veteran."},"serviceType":{"$ref":"#/components/schemas/FieldType"}},"additionalProperties":false,"description":"A borrower's military service details, relevant to VA loans."},"PosCreditScore":{"type":"object","properties":{"source":{"type":"string","description":"Where the score came from, such as the credit agency that reported it.","nullable":true},"score":{"type":"string","description":"The score value, as text.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"Why there is no usable score, when there is none: NotApplicable, NoScore, ThinFile or Other.","nullable":true},"isBrokerEntered":{"type":"boolean","description":"True when a broker typed the score in rather than it being read from a credit agency. A broker-entered score is never sent to the LOS as an agency score."}},"additionalProperties":false,"description":"One credit score on a borrower's file."},"HmdaApplicantCreditScore":{"type":"object","properties":{"reliedOnCreditScore":{"type":"integer","description":"The credit score relied on in the credit decision for this applicant; null when none.","format":"int32","nullable":true},"reliedOnCreditScoreMode":{"type":"string","description":"Whether the relied-on score is the applicant's individual score or a single score for the loan.","nullable":true},"reliedOnCreditScoreModelType":{"type":"string","description":"The credit scoring model of the relied-on score, as a code.","nullable":true}},"additionalProperties":false,"description":"The credit score relied on for an applicant, as reported for HMDA."},"PosAsset":{"type":"object","properties":{"institutionName":{"type":"string","description":"Name of the bank or institution that holds the asset.","nullable":true},"accountNumber":{"type":"string","description":"Account number, as entered.","nullable":true},"amount":{"type":"number","description":"Current balance or value, in dollars.","format":"double"},"accountName":{"type":"string","description":"Name of the account.","nullable":true},"accountHolderName":{"type":"string","description":"Name of the account holder.","nullable":true},"source":{"type":"string","description":"How the asset got on the loan, for example entered manually, linked through the bank connection or synced from the LOS.","nullable":true},"giftSource":{"type":"string","description":"Who the gift came from, for a gift asset.","nullable":true},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account this asset belongs to.","format":"uuid"},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"ownerBorrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The hdBorrowerIds of the asset's owners. Empty means the primary borrower. A new asset is added in the LOS under the first owner named; the full list stays in Henge.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"An asset the borrower reports: an account balance, a gift or another asset."},"BorrowerVestingType":{"enum":["Individual","Trustee","Settlor","SettlorTrustee","TitleOnly","NonTitleSpouse","Other"],"type":"string","description":"How a person on the loan takes title: Individual (as themselves), Trustee, Settlor, SettlorTrustee (settlor and trustee of the same trust), TitleOnly (on title but not a borrower), NonTitleSpouse (a spouse who is not on title) or Other."},"ProposedHousingExpense":{"type":"object","properties":{"firstMortgagePrincipalAndInterest":{"type":"number","description":"Principal and interest on this mortgage, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"otherMortgageLoanPrincipalAndInterest":{"type":"number","description":"Principal and interest on subordinate financing, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"hazardInsurance":{"type":"number","description":"Monthly hazard insurance, in dollars. Calculated by the LOS from hazardInsuranceBasis.","format":"double","nullable":true},"propertyTax":{"type":"number","description":"Monthly property taxes, in dollars. Calculated by the LOS from propertyTaxBasis.","format":"double","nullable":true},"mortgageInsurance":{"type":"number","description":"Monthly mortgage insurance, in dollars. Can be overridden; lock it in fieldLocks or the LOS recalculates it.","format":"double","nullable":true},"hoa":{"type":"number","description":"Monthly homeowners association dues, in dollars.","format":"double","nullable":true},"other":{"type":"number","description":"Other monthly taxes and expenses, in dollars. Can be overridden; lock it in fieldLocks or the LOS recalculates it.","format":"double","nullable":true},"total":{"type":"number","description":"The total proposed monthly housing payment (principal, interest, taxes and insurance), in dollars. Calculated by the LOS; a write is ignored. It is not simply the sum of the components above, so read it rather than adding them up.","format":"double","nullable":true},"hazardInsuranceBasis":{"$ref":"#/components/schemas/EscrowExpenseBasis"},"propertyTaxBasis":{"$ref":"#/components/schemas/EscrowExpenseBasis"}},"additionalProperties":false,"description":"The proposed monthly housing payment, component by component. Every component is nullable: a real zero is returned as 0, so an absent value stays distinguishable from a zero one."},"EscrowExpenseBasis":{"type":"object","properties":{"baseTypeCode":{"type":"string","description":"The LOS code for the base amount the percentage applies to. baseTypeName gives its name.","nullable":true},"baseTypeName":{"type":"string","description":"The name of the base amount (for example \"Total Loan Amount\"), or null for a code with no known name. Read only.","nullable":true},"baseAmount":{"type":"number","description":"The base amount in dollars, as the LOS calculated it. Read only: a value sent is ignored.","format":"double","nullable":true},"ratePercent":{"type":"number","description":"Annual percentage applied to `baseAmount`.","format":"double","nullable":true},"monthlyAddend":{"type":"number","description":"Flat monthly amount added on top of the percentage result.","format":"double","nullable":true},"reserveMonths":{"type":"integer","description":"Months of this expense collected as reserves at closing (hazard insurance and property tax only).\r\nThe loan system derives a default and takes an override only with its lock flag, which the housing write sends with it.\r\nRead from the loan; the loan form save never writes it.","format":"int32","nullable":true},"prepaidMonths":{"type":"integer","description":"Months of this expense prepaid at closing (hazard insurance only).","format":"int32","nullable":true}},"additionalProperties":false,"description":"How the LOS works out one escrowed housing expense: a percentage of a chosen base amount plus a flat monthly amount, for example hazard insurance as Total Loan Amount x 0.500% + $0.00."},"CustomField":{"type":"object","properties":{"id":{"type":"string","description":"Id of the custom field.","nullable":true},"code":{"type":"string","description":"Short code of the custom field.","nullable":true},"externalId":{"type":"string","description":"Id of the field in the LOS.","nullable":true},"name":{"type":"string","description":"Display name of the custom field.","nullable":true},"value":{"type":"string","description":"The value stored in the field, as text.","nullable":true}},"additionalProperties":false,"description":"A custom field configured on the loan, with its value."},"DownPaymentSource":{"type":"object","properties":{"amount":{"type":"number","description":"Amount from this source, in dollars.","format":"double"},"source":{"type":"string","description":"The kind of source, for example savings, gift or sale of a property.","nullable":true},"explanation":{"type":"string","description":"Free-text explanation of the source, when one is needed.","nullable":true}},"additionalProperties":false},"LtvRatios":{"type":"object","properties":{"baseLTVRatio":{"type":"number","description":"Loan-to-value ratio on the base loan amount, as a percent.","format":"double","nullable":true},"grossLTVRatio":{"type":"number","description":"Loan-to-value ratio on the loan amount including financed upfront fees, as a percent.","format":"double","nullable":true},"baseCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio across all liens on the base loan amount, as a percent.","format":"double","nullable":true},"grossCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio across all liens including financed upfront fees, as a percent.","format":"double","nullable":true},"baseHomeEquityCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio counting the full credit limit of any home equity line, on the base loan amount, as a percent.","format":"double","nullable":true},"grossHomeEquityCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio counting the full credit limit of any home equity line, including financed upfront fees, as a percent.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's loan-to-value ratios, as percents."},"Qualification":{"type":"object","properties":{"housingExpenseRatio":{"type":"number","description":"Front-end ratio (housing expense to income), as a percent.","format":"double","nullable":true},"totalDebtExpenseRatio":{"type":"number","description":"Back-end ratio (total debt to income), as a percent.","format":"double","nullable":true},"totalMonthlyIncomeAmount":{"type":"number","description":"Total qualifying monthly income, in dollars.","format":"double","nullable":true},"qualifyingRatePercent":{"type":"number","description":"The rate the borrower is qualified at, as a percent. It is the note rate unless overridden; lock it in fieldLocks or the LOS recomputes it.","format":"double","nullable":true},"qualifyingTermInMonths":{"type":"integer","description":"The term in months the qualifying payment is amortized over.","format":"int32","nullable":true},"qualifyingTermCalculationTypeCode":{"type":"string","description":"Raw code for how the qualifying term is chosen, for example Standard Term.","nullable":true},"qualifyingTermCalculationTypeName":{"type":"string","description":"qualifyingTermCalculationTypeCode decoded, for example Standard Term. Null for a code not recognized. Read only.","nullable":true},"isQualifyingRateInterestOnly":{"type":"boolean","description":"True when the qualifying payment is interest-only.","nullable":true},"qualifyingPrincipalAndInterest":{"type":"number","description":"Qualifying principal and interest, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"qualifyingTotalPayment":{"type":"number","description":"Qualifying total monthly payment (principal, interest, taxes and insurance), in dollars. Calculated by the LOS; a write is ignored.","format":"double","nullable":true}},"additionalProperties":false,"description":"The ratios and payment figures the borrower is qualified on. The qualifying payment can differ from the proposed one when a qualifying rate or term overrides the note rate or term."},"SubjectPropertyRentalIncome":{"type":"object","properties":{"estimatedMonthlyMarketRent":{"type":"number","description":"Estimated market rent of the subject property per month, in dollars.","format":"double","nullable":true}},"additionalProperties":false,"description":"Rental income of the subject property."},"LoanLevelCredit":{"type":"object","properties":{"loanLevelCreditScoreValue":{"type":"string","description":"The credit score relied on for the loan, as reported for HMDA, as text.","nullable":true},"loanLevelCreditScoreSelectionMethodType":{"type":"string","description":"Whether the relied-on score is each applicant's individual score or a single score for the loan.","nullable":true},"creditScoreModelNameType":{"type":"string","description":"The credit scoring model of the relied-on score, as a code.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"The credit score impairment type recorded on the loan, as text.","nullable":true},"creditScoreCategoryType":{"type":"string","description":"The credit score category recorded on the loan, as text.","nullable":true},"creditScoreType1":{"type":"string","description":"Loan-level credit score of type 1 as held on the loan, as text; empty when none.","nullable":true},"creditScoreType2":{"type":"string","description":"Loan-level credit score of type 2 as held on the loan, as text; empty when none.","nullable":true},"creditScoreType2Soft":{"type":"string","description":"Loan-level credit score of type 2 from a soft pull, as text; empty when none.","nullable":true},"creditScore2Avg":{"type":"string","description":"Average of the type 2 scores, as text; empty when none.","nullable":true},"creditScoreType3":{"type":"string","description":"Loan-level credit score of type 3 as held on the loan, as text; empty when none.","nullable":true},"hmdaMultipleCreditScoresUsedIndicator":{"type":"boolean","description":"True when more than one credit score was used in the credit decision, as reported for HMDA.","nullable":true},"reliedOnCreditScoreSource":{"type":"string","description":"The source the relied-on credit score is calculated from: \"Type 2\" when it is that source, otherwise the value\r\nas the loan system holds it. The relied-on score is calculated from it unless it is Other.","nullable":true},"reliedOnCreditScoreModelName":{"type":"string","description":"The relied-on score's model name text (`sReliedOnCreditScoreModelName`).","nullable":true},"reliedOnCreditScoreSingleBorrower":{"type":"string","description":"Whose score is the single relied-on score (`sReliedOnCreditScoreSingleHmdaReportAsT`): Borrower or Coborrower.","nullable":true}},"additionalProperties":false,"description":"The credit score the loan relies on and how it was chosen, as held on the loan."},"LoanCredit":{"type":"object","properties":{"source":{"type":"string","description":"Report when the facts come from a credit report, Manual when they were entered by hand; null when the loan carries no credit at all.","nullable":true},"hasCreditReport":{"type":"boolean","description":"True when a credit report is on the loan, whether ordered through Henge or imported through the Loan Origination System."},"representativeScore":{"type":"integer","description":"The score pricing uses: the lowest representative score across the borrowers, by the usual rule\r\n(middle of three bureau scores, lower of two, the one when there is one). From the report when there\r\nis one, else from the broker's entry.","format":"int32","nullable":true},"pricingScore":{"type":"integer","description":"The score pricing uses (the lowest borrower's) when the scores are a manual entry; null otherwise.","format":"int32","nullable":true},"qualifyingScore":{"type":"integer","description":"The score qualification and the pre-approval check use: the average of the borrowers' middle scores, rounded half up. It differs from representativeScore (the lowest borrower's, used for pricing) on a loan with more than one borrower. Null when there are no scores.","format":"int32","nullable":true},"reports":{"type":"array","items":{"$ref":"#/components/schemas/LoanCreditReport"},"description":"Every credit report order on the loan, newest first, failed and cancelled ones included with their status. May be absent.","nullable":true},"mortgageLates":{"$ref":"#/components/schemas/MortgageLates"},"publicRecords":{"$ref":"#/components/schemas/CreditPublicRecords"},"manual":{"$ref":"#/components/schemas/ManualCreditEntry"},"reissue":{"$ref":"#/components/schemas/LoanCreditReissue"}},"additionalProperties":false,"description":"The loan's credit facts and where they come from: a credit report, or what a broker entered by hand to price and qualify before a report is on the loan. Rebuilt on every read. Once the loan has a report it always wins, and the broker's entry is kept with isCurrent false; broker-entered scores are never treated as bureau scores."},"LoanCreditReport":{"type":"object","properties":{"orderId":{"type":"string","description":"Id (GUID) of the credit report order.","format":"uuid"},"reportNumber":{"type":"string","description":"The agency's report number; null on a failed pull that was never issued one.","nullable":true},"status":{"type":"string","description":"The order's status by name, including Failed and Cancelled.","nullable":true},"isCurrent":{"type":"boolean","description":"True for the one order the rest of the platform reads scores from."},"source":{"type":"string","description":"How the order got onto the loan: Placed (ordered through Henge), Imported or Tracked.","nullable":true},"pullType":{"type":"string","description":"`Soft` or `Hard`; null when not known.","nullable":true},"agency":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"orderedAtUtc":{"type":"string","description":"When the report was ordered, in UTC (ISO 8601).","format":"date-time","nullable":true},"failureReason":{"type":"string","description":"The vendor's reason, on a failed order.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/OrdersCreditReportBorrower"},"description":"The borrowers the report covers, with the bureau scores returned for each.","nullable":true},"averageScore":{"type":"integer","description":"Average of the borrowers' middle scores: what qualification uses.","format":"int32","nullable":true},"pricingScore":{"type":"integer","description":"The lowest borrower's middle score: what pricing uses.","format":"int32","nullable":true},"referenceNumbers":{"type":"array","items":{"type":"string"},"description":"The agency's reference (file) numbers of the report; more than one when separate reports were reissued for separate borrowers.","nullable":true},"vaultDocumentId":{"type":"string","description":"Id of the loan document that holds the report; null when none was filed.","format":"uuid","nullable":true},"liabilityImport":{"$ref":"#/components/schemas/OrdersCreditReportLiabilityImport"}},"additionalProperties":false,"description":"One credit report order as the loan shows it: which pull, how it stands and what it returned. It never holds a login."},"OrdersCreditReportBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"The borrower's identifier on the loan, when the pull was matched to one.","format":"uuid","nullable":true},"name":{"type":"string","description":"The borrower's name as on the report.","nullable":true},"experian":{"type":"integer","description":"Null when the bureau returned no score for this borrower.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"score":{"type":"integer","description":"The borrower's single score derived from the bureau scores; null with no scores.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One borrower covered by a credit report, with the bureau scores it returned."},"OrdersCreditReportLiabilityImport":{"type":"object","properties":{"outcome":{"type":"string","description":"What the liability import did, as a short status word.","nullable":true},"imported":{"type":"integer","description":"Number of liabilities imported; null when none were attempted.","format":"int32","nullable":true},"message":{"type":"string","description":"An explanation of the outcome, such as a warning or the reason the import failed.","nullable":true}},"additionalProperties":false,"description":"What importing the report's liabilities into the loan did."},"MortgageLates":{"type":"object","properties":{"x30":{"type":"integer","description":"Mortgage payments 30 days late.","format":"int32","nullable":true},"x60":{"type":"integer","description":"Mortgage payments 60 days late.","format":"int32","nullable":true},"x90":{"type":"integer","description":"Mortgage payments 90 days late.","format":"int32","nullable":true},"x120":{"type":"integer","description":"Mortgage payments 120 days late.","format":"int32","nullable":true},"x150":{"type":"integer","description":"Mortgage payments 150 days late.","format":"int32","nullable":true},"rollingX30":{"type":"integer","description":"Mortgage payments 30 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX60":{"type":"integer","description":"Mortgage payments 60 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX90":{"type":"integer","description":"Mortgage payments 90 days late, counting rolling lates.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Counts of mortgage payments made late in the last 12 months. The x30 to x150 counts treat rolling lates as not allowed; the rollingX counts treat them as allowed. Null means not stated, 0 means none."},"CreditPublicRecords":{"type":"object","properties":{"foreclosure":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter7":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter13":{"$ref":"#/components/schemas/CreditPublicRecord"}},"additionalProperties":false,"description":"Foreclosure/NOD, Chapter 7 and Chapter 13 history."},"CreditPublicRecord":{"type":"object","properties":{"has":{"type":"boolean","description":"True when the borrower has this kind of public record."},"fileMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"fileYear":{"type":"integer","description":"Year the record was filed, four digits; null when not known.","format":"int32","nullable":true},"status":{"type":"string","description":"NotSatisfied, Discharged or Dismissed. Required when has is true.","nullable":true},"satisfiedMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"satisfiedYear":{"type":"integer","description":"Year the record was satisfied, four digits; null when it has not been or is not known.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One public record: whether the borrower has one, when it was filed, its status and when it was satisfied."},"ManualCreditEntry":{"type":"object","properties":{"isCurrent":{"type":"boolean","description":"False once a credit report supersedes the entry, or one was on the loan before it was saved without being corrected by it: the entry is kept, but the report's values are current."},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/ManualCreditBorrowerScores"},"description":"Bureau scores per borrower: the borrower first, then the co-borrower when one was entered.","nullable":true},"mortgageLates":{"$ref":"#/components/schemas/MortgageLates"},"publicRecords":{"$ref":"#/components/schemas/CreditPublicRecords"},"enteredAtUtc":{"type":"string","description":"When the broker saved the entry, in UTC (ISO 8601).","format":"date-time"},"enteredBy":{"type":"string","description":"Id of the user who saved the entry.","format":"uuid","nullable":true},"enteredByName":{"type":"string","description":"Name of the user who saved the entry.","nullable":true},"supersededAtUtc":{"type":"string","description":"When a report replaced the entry, and the report's number.","format":"date-time","nullable":true},"supersededByReportId":{"type":"string","description":"The number of the credit report that replaced the entry; null while the entry is current.","nullable":true}},"additionalProperties":false,"description":"What a broker entered by hand, and whether it is still what the loan goes by."},"ManualCreditBorrowerScores":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id of the borrower on the loan the scores belong to, when the loan had one.","format":"uuid","nullable":true},"isCoBorrower":{"type":"boolean","description":"True for the co-borrower's scores, false for the borrower's."},"experian":{"type":"integer","description":"The Experian score the broker entered; null when none was entered.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score the broker entered; null when none was entered.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score the broker entered; null when none was entered.","format":"int32","nullable":true},"representativeScore":{"type":"integer","description":"Middle of three, lower of two, the one when there is one; null when none were entered.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Broker-entered bureau scores for one borrower. Stored and reported as broker-entered, never as a bureau score."},"LoanCreditReissue":{"type":"object","properties":{"agencyId":{"type":"string","description":"Id (GUID) of the credit reporting agency the report was reissued from.","format":"uuid"},"agencyName":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"agencyDuCode":{"type":"string","description":"The agency's DU credit provider code.","nullable":true},"reportType":{"type":"string","description":"\"HardPull\" or \"SoftPull\".","nullable":true},"reissuedTimestamp":{"type":"string","description":"When the report was reissued, in UTC (ISO 8601).","format":"date-time"},"reissuedBy":{"type":"string","description":"Id of the user who reissued the report; null when unknown.","format":"uuid","nullable":true},"reissuedByName":{"type":"string","description":"Name of the user who reissued the report.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/LoanCreditReissueBorrower"},"description":"The borrowers the reissue landed for, each with the agency's reference number.","nullable":true}},"additionalProperties":false,"description":"The read-only view of the loan's latest credit report reissue: the agency, when and by whom, and the reference numbers. The agency login name, account id and password are never returned."},"LoanCreditReissueBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id (GUID) of the borrower on the loan.","format":"uuid"},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the report for this borrower.","nullable":true}},"additionalProperties":false,"description":"One borrower of a reissue: the borrower on the loan and the agency's reference number for them."},"PaymentShock":{"type":"object","properties":{"amount":{"type":"number","description":"Dollar increase over the present housing payment.","format":"double","nullable":true},"percent":{"type":"number","description":"Increase as a percentage of the present housing payment.","format":"double","nullable":true}},"additionalProperties":false,"description":"The jump from the borrower's present housing payment to the proposed one. Calculated by the LOS; read only."},"LoanFieldLocks":{"type":"object","properties":{"loanAmount":{"type":"boolean","description":"True when the loan amount is locked, so a change to the purchase price or down payment does not recalculate it.","nullable":true},"qualifyingRate":{"type":"boolean","description":"True when the qualifying rate is locked against its formula.","nullable":true},"mortgageInsurance":{"type":"boolean","description":"True when the monthly mortgage insurance is locked against the insurance schedule.","nullable":true},"otherHousingExpense":{"type":"boolean","description":"True when the other housing expense is locked.","nullable":true},"estimatedClosingDate":{"type":"boolean","description":"True when the estimated closing date is locked, so a status change does not recalculate it.","nullable":true},"higherPricedMortgageType":{"type":"boolean","description":"True when the higher-priced mortgage result is locked against the APR test.","nullable":true}},"additionalProperties":false,"description":"Which figures are locked in the LOS. A locked figure keeps the value it was given; an unlocked one is recalculated by the LOS from its inputs."},"LoanTrust":{"type":"object","properties":{"id":{"type":"string","description":"Stable id for the trust on this loan. Assigned on save when omitted.","format":"uuid","nullable":true},"name":{"type":"string","description":"The trust's exact name, including any amendment and restatement dates, as it will appear on title.","nullable":true},"classification":{"$ref":"#/components/schemas/LoanTrustClassification"},"establishedDate":{"type":"string","description":"The date the trust was established.","format":"date","nullable":true},"amendedDate":{"type":"string","description":"The date of the latest amendment or restatement, if any.","format":"date","nullable":true},"stateCode":{"type":"string","description":"Two-letter code of the state whose law governs the trust.","nullable":true},"parties":{"type":"array","items":{"$ref":"#/components/schemas/LoanTrustParty"},"description":"Trustees, settlors and beneficiaries.","nullable":true}},"additionalProperties":false,"description":"A trust that will hold title to the subject property. A trust is vesting, not a borrower: its settlors are ordinary borrowers, and the trust sits at loan level so it can name people from more than one borrower pair."},"LoanTrustClassification":{"enum":["InterVivosRevocable","Irrevocable","Land","Other"],"type":"string","description":"The legal classification of a trust: InterVivosRevocable (a living trust that can be changed or revoked), Irrevocable (cannot be revoked), Land (a land trust) or Other."},"LoanTrustParty":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/LoanTrustPartyRole"},"borrowerId":{"type":"string","description":"The hdBorrowerId of the borrower this party is, on any pair. Must be a borrower on the loan.","format":"uuid","nullable":true},"name":{"type":"string","description":"The party's name when it is not a borrower on the loan.","nullable":true},"isInstitution":{"type":"boolean","description":"True when the party is an institution (a bank or trust company acting as trustee)."}},"additionalProperties":false,"description":"One party to a `LoanTrust`. A party who is a borrower on any pair is named by\r\n`borrowerId` (the borrower's `hdBorrowerId`); anyone else, a non-borrowing person or an\r\ninstitutional trustee, by `name`."},"LoanTrustPartyRole":{"enum":["Trustee","CoTrustee","SuccessorTrustee","Settlor","SettlorTrustee","Beneficiary"],"type":"string","description":"A party's role in a trust: Trustee, CoTrustee, SuccessorTrustee (takes over from a trustee), Settlor (created the trust), SettlorTrustee (both settlor and trustee) or Beneficiary."},"LoanAusResult":{"type":"object","properties":{"duCasefileId":{"type":"string","description":"The DU casefile id of the loan's latest DU run. A resubmission reuses it.","nullable":true},"lpaKey":{"type":"string","description":"The Freddie Mac LPA key written onto the loan by an LPA import; null when none.","nullable":true},"recommendation":{"type":"string","description":"The underwriting recommendation as text, for example Approve/Eligible.","nullable":true},"resultCode":{"type":"integer","description":"Numeric code of the result: 0 not submitted, 1 to 9 the DU results, 10 to 13 and 15 to 19 the LPA results, 14 out of scope. Null when nothing was sent.","format":"int32","nullable":true},"result":{"type":"string","description":"The name of resultCode; null when there is no code.","nullable":true}},"additionalProperties":false,"description":"The latest automated underwriting result held on the loan. It is read from the Loan Origination System on every loan read and is never written back; the run history is the aus/runs list."},"LoanRateLock":{"type":"object","properties":{"status":{"type":"string","description":"Lock status: Not Locked, Locked, Lock Requested, Lock Suspended or Lock Cancelled. Calculated by the LOS; never written.","nullable":true},"isLocked":{"type":"boolean","description":"True when status is Locked, false for any other status, null when there is no status.","nullable":true},"lockDate":{"type":"string","description":"Date the rate was locked, ISO 8601.","format":"date","nullable":true},"lockTime":{"type":"string","description":"Time of day of the lock, as the LOS formats it.","nullable":true},"periodDays":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Date the lock expires, ISO 8601. The LOS calculates it from the lock date and period.","format":"date","nullable":true},"noteRate":{"type":"number","description":"Locked note rate, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"The locked price, as a percentage of par (100 = par). Read only.","format":"double","nullable":true},"lockIdentifier":{"type":"string","description":"The lock's own identifier, when the source has one, for example an imported file. Usually null.","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/RateLockHistoryEntry"},"description":"Every lock, extension, relock and break the LOS recorded, newest first. Empty when the loan was never locked.","nullable":true},"ladder":{"$ref":"#/components/schemas/LoanRateLockLadder"},"priceGrid":{"$ref":"#/components/schemas/LoanRateLockPriceGrid"},"investorLock":{"$ref":"#/components/schemas/LoanInvestorLock"},"lockOutcome":{"type":"string","description":"What a write that asked to lock did, when the written values do not say it, for example values written but the lock not set, with the reason. Set only on a write response.","nullable":true}},"additionalProperties":false,"description":"The loan's rate lock with the broker as the LOS holds it, plus the lock history. It is read with the loan; only staff can change the lock date, period and note rate, through the rate lock endpoints. Everything else is calculated."},"RateLockHistoryEntry":{"type":"object","properties":{"kind":{"type":"string","description":"What happened, as the LOS names it: a lock, an extension, a relock or a break.","nullable":true},"occurredAt":{"type":"string","description":"When it happened, ISO 8601.","format":"date-time","nullable":true},"rate":{"type":"number","description":"Note rate at the time, in percent.","format":"double","nullable":true},"price":{"type":"number","description":"Price at the time, where 100 is par.","format":"double","nullable":true},"periodDays":{"type":"integer","description":"Lock period after the entry, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Lock expiration date after the entry, ISO 8601.","format":"date","nullable":true},"extensionDays":{"type":"integer","description":"Days an extension added, when the entry is an extension and they were recorded.","format":"int32","nullable":true},"user":{"type":"string","description":"Who made the change, as the LOS recorded it.","nullable":true},"note":{"type":"string","description":"Note recorded with the entry.","nullable":true}},"additionalProperties":false,"description":"One entry of a lock's history: a lock, extension, relock or break."},"LoanRateLockLadder":{"type":"object","properties":{"takenAt":{"type":"string","description":"When the snapshot was taken, which is when the lock was placed (UTC).","format":"date-time"},"productName":{"type":"string","description":"Name of the locked product.","nullable":true},"investor":{"type":"string","description":"Name of the investor behind the locked product, when the caller is shown the investor.","nullable":true},"lockPeriod":{"type":"integer","description":"The locked lock period in days; every row has it.","format":"int32","nullable":true},"selectedQuoteId":{"type":"string","description":"quoteId of the selected row.","nullable":true},"selected":{"$ref":"#/components/schemas/LoanRateLockRow"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/LoanRateLockRow"},"description":"The rows of the locked lock period, lowest rate first.","nullable":true},"moves":{"type":"array","items":{"$ref":"#/components/schemas/LockPositionMove"},"description":"The moves of the selected row after the lock, oldest first.","nullable":true},"sourceInstruction":{"$ref":"#/components/schemas/SourceLockInstruction"},"productCode":{"type":"string","description":"The locked product's code. Shown with the source lock instruction only.","nullable":true},"rateSheetTime":{"type":"string","description":"When the product's rate sheet was published, ISO 8601. Shown with the source lock instruction only.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"The locked product's rate sheet at the time of the lock, as the rate lock read returns it: the rows of the locked lock period, the selected row and the moves. Absent on a loan locked before the snapshot was kept."},"LoanRateLockRow":{"type":"object","properties":{"quoteId":{"type":"string","description":"Identifier of this row; pass it to select the row or to request it as a change of circumstance.","nullable":true},"rate":{"type":"number","description":"Note rate of the row, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"Price of the row, where 100 is par.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount; negative when the row pays a rebate.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment of the row, in dollars.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate of the row, in percent.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance of this row, in dollars; 0 when the product has none.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"The buydown (discount) this row costs, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"The rebate (credit) this row gives, in dollars; 0 on a buydown or par row.","format":"double","nullable":true},"isSelected":{"type":"boolean","description":"True for the row the lock is currently on."}},"additionalProperties":false,"description":"One rate and price of the locked product's rate sheet."},"LockPositionMove":{"type":"object","properties":{"movedAt":{"type":"string","description":"When the selected row was moved, ISO 8601 UTC.","format":"date-time"},"movedBy":{"type":"string","description":"Identifier (GUID) of the user who moved it.","format":"uuid","nullable":true},"movedByName":{"type":"string","description":"Name of the user who moved it.","nullable":true},"fromQuoteId":{"type":"string","description":"quoteId of the row before the move.","nullable":true},"fromRate":{"type":"number","description":"Note rate before the move, in percent.","format":"double","nullable":true},"fromPrice":{"type":"number","description":"Price before the move, where 100 is par.","format":"double","nullable":true},"toQuoteId":{"type":"string","description":"quoteId of the row after the move.","nullable":true},"toRate":{"type":"number","description":"Note rate after the move, in percent.","format":"double","nullable":true},"toPrice":{"type":"number","description":"Price after the move, where 100 is par.","format":"double","nullable":true},"sourceFromPrice":{"type":"number","description":"The source lender's price before the move, from its frozen rate sheet. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceToPrice":{"type":"number","description":"The source lender's price after the move. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceNote":{"type":"string","description":"Set when the instruction has no price at the new rate, in words. Staff only.","nullable":true}},"additionalProperties":false,"description":"One move of the selected row: who, when, and from which rate and price to which."},"SourceLockInstruction":{"type":"object","properties":{"status":{"type":"string","description":"Outcome of looking for the source price: Priced (the price is set), Unmapped (no source product is mapped to the locked product), NoSourcePricingAccount (the company has no source pricing account), SourceSearchFailed, SourceProductNotReturned or RateNotOnSourceSheet.","nullable":true},"message":{"type":"string","description":"In words, what happened when there is no price.","nullable":true},"sourceInvestor":{"type":"string","description":"Name of the source lender.","nullable":true},"sourceInvestorId":{"type":"integer","description":"Identifier of the source lender in the pricing engine.","format":"int32","nullable":true},"sourceProductName":{"type":"string","description":"Name of the source lender's product to lock.","nullable":true},"sourceProductCode":{"type":"string","description":"Product code of the source lender's product.","nullable":true},"portfolioProductCode":{"type":"string","description":"Code of the portfolio product the row was found by.","nullable":true},"rate":{"type":"number","description":"The selected note rate, in percent.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"sourcePrice":{"type":"number","description":"The source lender's price at the selected rate and lock period, from its frozen rate sheet.","format":"double","nullable":true},"sourceRateSheetTime":{"type":"string","description":"When the source lender's rate sheet was published, ISO 8601.","format":"date-time","nullable":true},"portfolioPrice":{"type":"number","description":"The portfolio price the broker locked at, including the portfolio's margin.","format":"double","nullable":true},"priceDifference":{"type":"number","description":"portfolioPrice minus sourcePrice: the margin, in points.","format":"double","nullable":true}},"additionalProperties":false,"description":"The instruction for the lock desk: lock the source product with the source lender at the source price. It follows the selected row, so a move of the selected rate rewrites it from the source lender's frozen rate sheet. Shown to staff only."},"LoanRateLockPriceGrid":{"type":"object","properties":{"basePrice":{"type":"number","description":"The base price, where 100 is par.","format":"double","nullable":true},"priceRow":{"type":"string","description":"Which price the grid's row is locked on: Base, BrokerBase, BrokerFinal or OriginatorPrice.","nullable":true},"visibleAdjustmentsTotal":{"type":"number","description":"Total of the adjustments the broker sees, in points.","format":"double","nullable":true},"hiddenAdjustmentsTotal":{"type":"number","description":"Total of the hidden lender adjustments, in points.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The adjustment lines on the price grid.","nullable":true},"originatorPrice":{"type":"number","description":"The Originator Price: the price before the originator compensation.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"The Final Price: the price after the originator compensation.","format":"double","nullable":true},"investorPrice":{"type":"number","description":"The investor's price.","format":"double","nullable":true},"internalNote":{"type":"string","description":"The lock screen's internal notes.","nullable":true},"originatorCompensation":{"$ref":"#/components/schemas/LoanOriginatorCompensation"}},"additionalProperties":false,"description":"The front-end lock's price grid and the originator compensation, read live from the LOS. Set only on rate lock reads and writes. The investor price and the lender lines are not returned to third-party-originator (broker) callers."},"LockAdjustment":{"type":"object","properties":{"description":{"type":"string","description":"What the adjustment is for.","nullable":true},"points":{"type":"number","description":"The adjustment in points; a negative value adds to the price.","format":"double","nullable":true},"rate":{"type":"number","description":"Rate adjustment, in percentage points.","format":"double","nullable":true},"margin":{"type":"number","description":"Margin adjustment, in percentage points.","format":"double","nullable":true},"hidden":{"type":"boolean","description":"True for a hidden lender line the broker never sees (front-end lock only)."}},"additionalProperties":false,"description":"One adjustment line as the LOS holds it."},"LoanOriginatorCompensation":{"type":"object","properties":{"paidBy":{"type":"string","description":"Borrower or Lender (`sOriginatorCompensationPaymentSourceT`); null when not specified.","nullable":true},"percent":{"type":"number","description":"Compensation as a percent of the base amount, for example 2.0 for two percent.","format":"double","nullable":true},"minAmount":{"type":"number","description":"Minimum compensation in dollars.","format":"double","nullable":true},"fixedAmount":{"type":"number","description":"Fixed compensation in dollars.","format":"double","nullable":true},"baseType":{"type":"string","description":"LoanAmount or TotalLoanAmount (`sOriginatorCompensationBaseT`).","nullable":true},"lenderFeeOption":{"type":"string","description":"IncludedInLenderFees or InAdditionToLenderFees (`sOriginatorCompensationLenderFeeOptionT`).","nullable":true}},"additionalProperties":false,"description":"The loan's originator compensation inputs (`sOriginatorCompensation*`), as the LOS holds them."},"LoanInvestorLock":{"type":"object","properties":{"investorId":{"type":"integer","description":"Identifier of the investor in the LOS's investor list.","format":"int32","nullable":true},"investorName":{"type":"string","description":"Name of the investor.","nullable":true},"investorLoanNumber":{"type":"string","description":"The investor's loan number for this loan.","nullable":true},"confirmationNumber":{"type":"string","description":"Confirmation number the investor gave the lock.","nullable":true},"programName":{"type":"string","description":"Name of the investor program the loan is locked to.","nullable":true},"rateSheetTime":{"type":"string","description":"Effective time of the investor's rate sheet, as text in the form MM/dd/yyyy h:mm tt.","nullable":true},"commitmentType":{"type":"string","description":"Delivery commitment: BestEfforts, Mandatory, Hedged or Securitized.","nullable":true},"lockFee":{"type":"number","description":"Fee charged for the lock.","format":"double","nullable":true},"lockDate":{"type":"string","description":"Date the investor lock was made, ISO 8601.","format":"date","nullable":true},"periodDays":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Date the lock expires, ISO 8601: the lock date plus the period, with no weekend roll.","format":"date","nullable":true},"deliveryExpirationDate":{"type":"string","description":"Date delivery of the loan to the investor expires, ISO 8601, calculated as the expiration is.","format":"date","nullable":true},"noteRate":{"type":"number","description":"Locked note rate, in percent such as 6.875.","format":"double","nullable":true},"basePrice":{"type":"number","description":"Base price from the investor's rate sheet, where 100 is par.","format":"double","nullable":true},"totalAdjustments":{"type":"number","description":"Total of the price adjustments, in points.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"Price after all adjustments, where 100 is par.","format":"double","nullable":true},"projectedProfit":{"type":"number","description":"Projected profit on the lock, as the LOS calculates it.","format":"double","nullable":true},"status":{"type":"string","description":"Not Locked, Locked, Lock Requested, Lock Suspended or Lock Cancelled.","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The price adjustment lines on the investor lock.","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/RateLockHistoryEntry"},"description":"Every event on the investor lock, newest first.","nullable":true},"lockOutcome":{"type":"string","description":"What a write that asked to lock or break the lock did when the LOS did not do it. Set only on a write response.","nullable":true}},"additionalProperties":false,"description":"The back-end (investor) lock as the LOS holds it, read live. Set only on rate lock reads and writes, and never for third-party-originator (broker) callers."},"LoanTemporaryBuydown":{"type":"object","properties":{"steps":{"type":"array","items":{"$ref":"#/components/schemas/TemporaryBuydownStep"},"description":"The steps in order, each { rateReduction, months }: a 2-1 is [{ rateReduction: 2, months: 12 }, { rateReduction: 1, months: 12 }]. At most five. The list replaces the stored steps as a whole; empty slots are left out when read.","nullable":true},"contributorType":{"type":"string","description":"Who pays for the buydown, as the LOS's raw contributor code (sBuydownContributorT). Optional: left out, the LOS's value is not touched.","nullable":true},"totalFundsAmount":{"type":"number","description":"Total buydown funds in dollars (sBuydownTotalFundsAmt). Optional: left out, the LOS's value is not touched.","format":"double","nullable":true},"hasTemporaryBuydown":{"type":"boolean","description":"sHasTempBuydown - calculated by the LOS from the steps. Read only: a write is ignored.","nullable":true},"totalMonths":{"type":"integer","description":"sBuydwnTotalMon - calculated by the LOS. Read only.","format":"int32","nullable":true},"resultRate":{"type":"number","description":"sBuydownResultIR - calculated by the LOS. Read only.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's temporary buydown as the LOS holds it: up to five steps, who pays for it and how much, and what the LOS calculates from them. Changed only by a partial update that names it."},"TemporaryBuydownStep":{"type":"object","properties":{"rateReduction":{"type":"number","description":"Points the note rate is reduced by during this step (number, 2 means 2 points). Not negative.","format":"double"},"months":{"type":"integer","description":"Months this step lasts (integer). Required when rateReduction is above 0.","format":"int32"}},"additionalProperties":false,"description":"One step of a temporary buydown: how many points the rate is reduced for how many months."},"LoanApplicationTaskItem":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task or condition (GUID).","format":"uuid","nullable":true},"taskStatusTimestamp":{"type":"string","description":"When the task's status last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"When the task was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created (ISO 8601 date and time, UTC).","format":"date-time"},"item":{"$ref":"#/components/schemas/Item"},"assignedToBorrowerId":{"type":"string","description":"Id (GUID) of the borrower the task is assigned to. Null for a user task or a task for the loan's borrowers generally.","format":"uuid","nullable":true},"status":{"$ref":"#/components/schemas/TaskStatus"},"document":{"$ref":"#/components/schemas/Document"},"rejectionReasonNote":{"type":"string","description":"The reviewer's free-text note when the task's document was rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReason"},"creditReportType":{"$ref":"#/components/schemas/PosCreditReportType"},"isForPrimaryBorrower":{"type":"boolean","description":"True when the task is for the primary borrower, false when it is for the co-borrower. Null when it is for neither in particular.","nullable":true},"isRequired":{"type":"boolean","description":"Whether the task must be completed before the file can move forward."},"isAccountMainTask":{"type":"boolean","description":"True for the main task of an asset account, the one that requests the account's statements."},"questionType":{"$ref":"#/components/schemas/TaskQuestionType"},"yesNoResponse":{"type":"boolean","description":"The borrower's answer to a yes/no question task. Null until answered.","nullable":true},"shortAnswer":{"type":"string","description":"The borrower's answer to a short-answer question task. Null until answered.","nullable":true},"assignedToUser":{"$ref":"#/components/schemas/LoanAppUser"},"name":{"type":"string","description":"Display name of the task or condition.","nullable":true},"description":{"type":"string","description":"Description of the task. For a condition, the condition text: the reworded text when staff edited it in Henge, otherwise the LOS text.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the task among its siblings, lowest first.","format":"int32","nullable":true},"type":{"$ref":"#/components/schemas/TaskType"},"code":{"type":"string","description":"Short code of the task.","nullable":true},"conditionNo":{"type":"integer","description":"Condition number in the LOS. Conditions only.","format":"int32","nullable":true},"conditionCategory":{"type":"string","description":"Category of the condition in the LOS. Conditions only.","nullable":true},"conditionDueDate":{"type":"string","description":"Due date of the condition (ISO 8601 date). Conditions only.","format":"date","nullable":true},"conditionAssignedUserFullName":{"type":"string","description":"Full name of the user the condition is assigned to in the LOS. Conditions only.","nullable":true},"conditionBorrowerFullName":{"type":"string","description":"Full name of the borrower the condition is for. Conditions only.","nullable":true},"conditionIsHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower. Staff roles still see it; a caller that receives a hidden condition is entitled to it.","nullable":true},"conditionSourceText":{"type":"string","description":"The LOS's original condition text. Set only when staff reworded the condition in Henge, in which case description carries the rewording; null otherwise.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True when staff reworded this condition in Henge. The rewording is never sent to the LOS."},"notes":{"type":"string","description":"Notes on the task or condition.","nullable":true},"taskAssignmentType":{"$ref":"#/components/schemas/TaskAssignmentType"},"isSubscribed":{"type":"boolean","description":"Whether the calling user is subscribed to status-change notifications for this task. Null when not computed.","nullable":true},"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition this task belongs to. Null on conditions and on standalone tasks. Read on create; ignored on update.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account the task belongs to, if any. Needed on create only for a Transaction History task; ignored on update.","format":"uuid","nullable":true},"assetAccountName":{"type":"string","description":"Name of the asset account the task belongs to. Response only, and filled only where the response includes accounts.","nullable":true},"creditReportNumber":{"type":"string","description":"For credit report tasks, the credit agency's report number.","nullable":true},"requestTaskId":{"type":"string","description":"Id of the first task of the document request this task is a copy of (one task per document). Null on the first task itself. On create, naming any task of a request makes the new task a copy that joins that request.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"ownerPairId":{"type":"string","description":"Id (GUID) of the borrower pair staff made the owner of this task or condition. Empty when the owner is worked out on read.","format":"uuid","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True for a whole-loan task or condition that every borrower pair sees."}},"additionalProperties":false,"description":"A task or condition on a loan: a document request, a question, a user task or a condition from the LOS."},"Item":{"type":"object","properties":{"id":{"type":"string","description":"Id of the item (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the item; send it as the item code when you create a task.","nullable":true},"name":{"type":"string","description":"Display name of the item.","nullable":true},"groupCode":{"type":"string","description":"Code of the condition group the item's tasks are shown under. Null means Other.","nullable":true},"canCreateManually":{"type":"boolean","description":"True when staff can create a task for this item by hand."},"canUploadDocument":{"type":"boolean","description":"True when a document can be uploaded against this item."}},"additionalProperties":false,"description":"A kind of request a task can ask for, such as a specific document."},"TaskStatus":{"type":"object","properties":{"id":{"type":"string","description":"Id of the status (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the status.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a task, for example Requested, Uploaded, Submitted or Accepted."},"Document":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"externalId":{"type":"string","description":"The document's id in the Loan Origination System; empty until it has been sent there.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once an uploaded file has been converted to PDF and can be opened; false while conversion is still running."},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition the document is attached to; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"blobName":{"type":"string","description":"The name the file is stored under. An internal storage key: download through the document routes rather than using it.","nullable":true},"createdTimestamp":{"type":"string","description":"When the document was created, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the document was last changed, in UTC (ISO 8601).","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user who last changed the document; null when the change was automatic or unknown.","format":"uuid","nullable":true},"documentTypeId":{"type":"string","description":"Id of the platform's broad document category (such as a vault or task document). Not the loan document type, which is loanDocumentTypeId.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan's vault, false when it hangs off a\r\ntask, a condition or an asset account. Callers use it to decide what a user may do with the\r\ndocument: only a vault document can be deleted. Any document can be given a document type."},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document is filed under (from the loan document types list); null when it has none.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the loan document type; null when the document has none.","nullable":true},"loanDocumentTypeExternalId":{"type":"string","description":"The loan document type's id in the Loan Origination System.","nullable":true},"loanDocumentTypeFolderName":{"type":"string","description":"Name of the folder the loan document type belongs to; null when the document has no type.","nullable":true},"description":{"type":"string","description":"A free-text description of the document; may be empty.","nullable":true},"isDeleted":{"type":"boolean","description":"True when the document has been deleted. Deleted documents are normally left out of lists."},"isInternal":{"type":"boolean","description":"True for a staff-only document that is hidden from borrowers and partner applications."},"isObsolete":{"type":"boolean","description":"The LOS no longer considers this document active. It stays visible so users can still see\r\nit, but it is not current and is never pushed back to the LOS."},"isProtected":{"type":"boolean","description":"The LOS holds the document as Protected, locked there against edits and deletion. Set and\r\ncleared by Admin and Processor through the document status endpoints, or in the LOS itself."},"losStatus":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"title":{"type":"string","description":"The title shown for the document; may be empty, in which case the file name is shown.","nullable":true},"splitFromDocumentId":{"type":"string","description":"On a part of a split combined PDF: the id of the original document it was cut from. Null on every other document.","format":"uuid","nullable":true},"splitStartPage":{"type":"integer","description":"On a part of a split combined PDF: the first page of the original it holds. Null on every other document.","format":"int32","nullable":true},"splitEndPage":{"type":"integer","description":"On a part of a split combined PDF: the last page of the original it holds. Null on every other document.","format":"int32","nullable":true},"isUnsorted":{"type":"boolean","description":"True while the document was bulk-uploaded to the loan with no task and no type and nobody has\r\nsorted it. It is held out of the LOS until it is put on a task or given a type."},"hasNoFile":{"type":"boolean","description":"True for a staff-only entry the Loan Origination System holds with no file here (a non-PDF assigned to a condition): there is nothing to open, download or move."},"intakeStatus":{"type":"string","description":"NeedsPassword or Duplicate for a bulk-uploaded document that is held for that reason; null\r\notherwise. See DocumentIntakeStatuses.","nullable":true},"duplicateOfDocumentId":{"type":"string","description":"The existing document this one repeats, when IntakeStatus is Duplicate.","format":"uuid","nullable":true},"indexStatus":{"type":"string","description":"Whether the document's text is searchable: Indexed, Pending, Failed or NotSubmitted. Set by\r\nthe document lists for staff callers; null when it was not looked up, or the lookup failed.","nullable":true},"analysis":{"$ref":"#/components/schemas/DocumentAnalysisSummary"},"internalNotes":{"type":"string","description":"Staff-only internal notes on the document, verbatim from the Loan Origination System. Returned only to callers who may see internal notes; null for everyone else.","nullable":true}},"additionalProperties":false,"description":"A document on a loan: the file, the task or condition it is attached to, its type and its status."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."},"DocumentAnalysisSummary":{"type":"object","properties":{"status":{"type":"string","description":"Pending, Completed, Failed or Skipped. Failed reads \"Not analysed\".","nullable":true},"verdict":{"type":"string","description":"Whether the document is what was asked for: Matches, Mismatch, Unreadable or Unknown.","nullable":true},"reasonCode":{"type":"string","description":"On a Mismatch, why: WrongDocument, WrongPeriod, WrongAccount, WrongBorrower, MissingPages or Expired. On an Unreadable verdict from the page quality check, UnreadablePages.","nullable":true},"reason":{"type":"string","description":"One line in plain language explaining the verdict, written for the borrower.","nullable":true},"suggestedRejectionReasonCode":{"type":"string","description":"The seeded TaskRejectionReason code the panel pre-selects for a Mismatch.","nullable":true},"suggestedTaskId":{"type":"string","description":"Id of the task or condition the document appears to belong to; null when none matched.","format":"uuid","nullable":true},"suggestedTaskName":{"type":"string","description":"Name of the suggested task or condition.","nullable":true},"isOnSuggestedTask":{"type":"boolean","description":"False when the document sits on a different task than the best match: shown for confirmation."},"matchConfidence":{"type":"number","description":"How sure the analysis is of the suggested task, from 0 to 1.","format":"double","nullable":true},"suggestedLoanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document looks like; null when not determined.","format":"uuid","nullable":true},"suggestedLoanDocumentTypeName":{"type":"string","description":"Name of the suggested loan document type.","nullable":true},"suggestedTitle":{"type":"string","description":"The title the analysis suggests for the document, built from what it read (for example the account and statement period).","nullable":true},"titleAppliedAutomatically":{"type":"boolean","description":"True when the document's current title was set by the analysis rather than by a person."},"previousTitle":{"type":"string","description":"The title the document had before the analysis renamed it; null when it was not renamed.","nullable":true},"autoNameDisabled":{"type":"boolean","description":"True when a person undid an automatic name; the analysis never renames this document again."},"filedByType":{"type":"boolean","description":"Filed under the suggested LOS type and folder by the analysis, for a person to confirm or correct."},"duplicateOfDocumentId":{"type":"string","description":"Id of an earlier document on the loan with the same content, when this one repeats it; otherwise null.","format":"uuid","nullable":true},"supersedesDocumentId":{"type":"string","description":"Id of an earlier document this one replaces (a newer version of the same document); otherwise null.","format":"uuid","nullable":true},"supersededByDocumentId":{"type":"string","description":"Id of a newer document that replaces this one; otherwise null.","format":"uuid","nullable":true},"outcome":{"type":"string","description":"What a person did with the suggestion: Confirmed, Corrected, Rejected or Ignored; null while no one has acted.","nullable":true},"outcomeAt":{"type":"string","description":"When the person acted on the suggestion, in UTC (ISO 8601); null while no one has.","format":"date-time","nullable":true},"coveredPeriods":{"type":"array","items":{"type":"string"},"description":"For a request that needs a span of statements, the months the uploaded documents cover, each formatted yyyy-MM.","nullable":true},"missingPeriods":{"type":"array","items":{"type":"string"},"description":"The requested months no uploaded document covers yet, each formatted yyyy-MM.","nullable":true},"monthsMissing":{"type":"integer","description":"How many months of the request are still missing.","format":"int32","nullable":true},"analyzedAt":{"type":"string","description":"When the analysis was done, in UTC (ISO 8601).","format":"date-time"},"splitSuggestion":{"$ref":"#/components/schemas/SplitSuggestion"},"pageIssues":{"type":"array","items":{"$ref":"#/components/schemas/PageIssue"},"description":"The pages the quality check flagged, which the Unreadable-page request names.","nullable":true}},"additionalProperties":false,"description":"What the document review shows for a document: the suggested task, type and title, the verdict and whether the title was applied automatically. The evidence and page text the analysis read are not included."},"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."},"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."},"TaskRejectionReason":{"type":"object","properties":{"id":{"type":"string","description":"Id of the rejection reason (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the rejection reason.","nullable":true},"code":{"type":"string","description":"Stable code of the rejection reason.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the reason in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"A reason a reviewer gives for rejecting a task's document."},"PosCreditReportType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the report type (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the report type.","nullable":true},"name":{"type":"string","description":"Display name of the report type.","nullable":true}},"additionalProperties":false,"description":"The type of credit report a credit report task asks for."},"TaskQuestionType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the question type (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the question type.","nullable":true},"code":{"type":"string","description":"Stable code of the question type.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the question type in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"For a question task, the kind of answer it asks for, such as yes/no or a short answer."},"LoanAppUser":{"type":"object","properties":{"id":{"type":"string","description":"Id of the user (GUID).","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true}},"additionalProperties":false,"description":"A user, such as the staff member a task is assigned to."},"TaskType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the task type.","nullable":true},"name":{"type":"string","description":"Display name of the task type.","nullable":true}},"additionalProperties":false,"description":"The kind of task."},"TaskAssignmentType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the assignment type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the assignment type.","nullable":true},"name":{"type":"string","description":"Display name of the assignment type.","nullable":true}},"additionalProperties":false,"description":"Who a task is assigned to: a borrower or a user."},"TaskSummary":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/TaskStatus"},"count":{"type":"integer","description":"Number of tasks in this status.","format":"int32"},"isUserTask":{"type":"boolean","description":"True when the count is of tasks assigned to staff users, false when it is of tasks assigned to borrowers."}},"additionalProperties":false},"LoanTimeline":{"type":"object","properties":{"activeStatus":{"$ref":"#/components/schemas/LoanStatusBase"},"lastCompletedStatus":{"$ref":"#/components/schemas/LoanStatusBase"},"loanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/LoanStatus"},"description":"Every loan status with its order, completion and date.","nullable":true},"keyDates":{"$ref":"#/components/schemas/KeyDates"},"statusTracker":{"$ref":"#/components/schemas/StatusTracker"},"disclosureTracker":{"$ref":"#/components/schemas/DisclosureTracker"},"signaturePackages":{"type":"array","items":{"$ref":"#/components/schemas/SignaturePackage"},"description":"The loan's e-signature packages, built from its Disclosure tasks on a loan read.","nullable":true}},"additionalProperties":false,"description":"The loan's progress: its active and last completed status, all statuses, key dates and trackers."},"LoanStatusBase":{"type":"object","properties":{"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true}},"additionalProperties":false,"description":"A loan status: its code and display name."},"LoanStatus":{"type":"object","properties":{"displayOrder":{"type":"integer","description":"Position of the status in the loan timeline, starting at 0.","format":"int32"},"isComplete":{"type":"boolean","description":"True when the loan has passed this status."},"date":{"type":"string","description":"When the loan reached the status, ISO 8601; null if not yet.","format":"date-time","nullable":true},"statusDetails":{"type":"array","items":{"$ref":"#/components/schemas/StatusDetail"},"description":"Sub-steps of the status with their dates.","nullable":true},"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true}},"additionalProperties":false},"StatusDetail":{"type":"object","properties":{"displayOrder":{"type":"integer","description":"Position of the sub-step within its status.","format":"int32"},"code":{"type":"string","description":"Sub-step code.","nullable":true},"name":{"type":"string","description":"Sub-step display name.","nullable":true},"date":{"type":"string","description":"When the sub-step happened, ISO 8601; null if not yet.","format":"date-time","nullable":true}},"additionalProperties":false},"KeyDates":{"type":"object","properties":{"estimatedClosing":{"type":"string","description":"Estimated closing date, ISO 8601.","format":"date-time","nullable":true},"firstPaymentDate":{"type":"string","description":"Date the borrower's first payment is due, ISO 8601.","format":"date-time","nullable":true},"lockExpiration":{"type":"string","description":"Date the rate lock expires, ISO 8601; null when the loan is not locked.","format":"date-time","nullable":true},"rateLockedDate":{"type":"string","description":"Date the rate was locked, ISO 8601.","format":"date-time","nullable":true},"rateLockedTime":{"type":"string","description":"Time of day the rate was locked, as text.","nullable":true},"preApprovedDate":{"type":"string","description":"Date the loan was pre-approved (yyyy-MM-dd).","format":"date","nullable":true},"registeredDate":{"type":"string","description":"Date the loan was registered with the lender (yyyy-MM-dd).","format":"date","nullable":true},"appSubmittedDate":{"type":"string","description":"Date the application was submitted (yyyy-MM-dd).","format":"date","nullable":true},"closingDate":{"type":"string","description":"Scheduled closing date (yyyy-MM-dd).","format":"date","nullable":true}},"additionalProperties":false,"description":"The loan's key dates; each is null until it is known."},"StatusTracker":{"type":"object","properties":{"lastCompletedStep":{"type":"string","description":"Label of the last step the loan completed.","nullable":true},"currentStepLabel":{"type":"string","description":"Label of the step the loan is on now.","nullable":true},"summaryLoanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/StatusTrackerLoanStatus"},"description":"The statuses shown in the summary view, with their progress.","nullable":true},"allLoanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/StatusTrackerLoanStatusBase"},"description":"All statuses in the tracker, in display order.","nullable":true}},"additionalProperties":false,"description":"The borrower-facing progress tracker of a loan: the last completed step, the current step and the statuses shown."},"StatusTrackerLoanStatus":{"type":"object","properties":{"isComplete":{"type":"boolean","description":"True when the loan has passed this status."},"isInProgress":{"type":"boolean","description":"True when the loan is at this status now."},"isApproved":{"type":"boolean","description":"For the pre-approval status, true when approved and false when denied; null otherwise.","nullable":true},"subStatusLabel":{"type":"string","description":"A finer label for the status, when there is one.","nullable":true},"preApprovalDocumentId":{"type":"string","description":"Unique identifier (GUID) of the pre-approval letter document, when one was issued.","format":"uuid","nullable":true},"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the status in the tracker, starting at 0.","format":"int32"},"date":{"type":"string","description":"Date the loan reached the status (yyyy-MM-dd); null if not yet.","format":"date","nullable":true},"time":{"type":"string","description":"Time of day the loan reached the status, as text; null if not known.","nullable":true}},"additionalProperties":false},"StatusTrackerLoanStatusBase":{"type":"object","properties":{"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the status in the tracker, starting at 0.","format":"int32"},"date":{"type":"string","description":"Date the loan reached the status (yyyy-MM-dd); null if not yet.","format":"date","nullable":true},"time":{"type":"string","description":"Time of day the loan reached the status, as text; null if not known.","nullable":true}},"additionalProperties":false},"DisclosureTracker":{"type":"object","properties":{"loanEstimates":{"type":"array","items":{"$ref":"#/components/schemas/LoanEstimateDates"},"description":"Every Loan Estimate issued on the loan, in the order the Loan Origination System lists them.","nullable":true},"closingDisclosures":{"type":"array","items":{"$ref":"#/components/schemas/ClosingDisclosureDates"},"description":"Every Closing Disclosure issued on the loan, in the order the Loan Origination System lists them.","nullable":true}},"additionalProperties":false,"description":"The loan's disclosure history: each Loan Estimate and Closing Disclosure issued, with delivery, receipt and signature dates."},"LoanEstimateDates":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the Loan Estimate disclosure record.","nullable":true},"createdDate":{"type":"string","description":"Date the Loan Estimate was created (yyyy-MM-dd).","format":"date","nullable":true},"issuedDate":{"type":"string","description":"Date the Loan Estimate was issued (yyyy-MM-dd).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the Loan Estimate was delivered, for example email or mail.","nullable":true},"receivedDate":{"type":"string","description":"Date the borrower received it (yyyy-MM-dd).","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date the borrower signed it (yyyy-MM-dd).","format":"date","nullable":true},"isLastDisclosed":{"type":"boolean","description":"The LOS read returns no last-disclosed flag, so this is never filled; see MismoNotCarried.","nullable":true},"disclosedApr":{"type":"number","description":"APR disclosed on the Loan Estimate, in percent (for example 6.912).","format":"double","nullable":true},"archiveId":{"type":"string","description":"The archive the LOS issued this disclosure from; null when the LOS sends blank or an all-zero GUID (a hand-entered record).","nullable":true},"archiveDate":{"type":"string","description":"The archive's date (the LOS's `ArchiveUsed`); a date only, no time of day.","format":"date","nullable":true},"transactionId":{"type":"string","description":"The id the disclosure was generated under, also on the e-sign package it was sent in; null when blank.","nullable":true},"isInitial":{"type":"boolean","description":"True when this is the initial Loan Estimate.","nullable":true},"isManual":{"type":"boolean","description":"True when the record was entered by hand rather than generated.","nullable":true},"isValid":{"type":"boolean","description":"The LOS's `Valid`. A record marked not valid stays in the list.","nullable":true},"losApr":{"type":"number","description":"The LOS's own APR (`LqbApr`).","format":"double","nullable":true},"docVendorApr":{"type":"number","description":"APR calculated by the document provider, in percent.","format":"double","nullable":true},"consumerDates":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerDisclosureDates"},"description":"Per-borrower disclosure dates.","nullable":true}},"additionalProperties":false},"ConsumerDisclosureDates":{"type":"object","properties":{"consumerId":{"type":"string","description":"The borrower's id in the Loan Origination System.","nullable":true},"consumerName":{"type":"string","description":"The borrower's name.","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to this borrower (ISO 8601 date).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered to this borrower, as the Loan Origination System records it.","nullable":true},"receivedDate":{"type":"string","description":"Date this borrower received the disclosure (ISO 8601 date); null when not recorded.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date this borrower signed the disclosure (ISO 8601 date); null when not signed.","format":"date","nullable":true}},"additionalProperties":false},"ClosingDisclosureDates":{"type":"object","properties":{"id":{"type":"string","description":"The disclosure's id in the Loan Origination System.","nullable":true},"createdDate":{"type":"string","description":"Date the disclosure was created (ISO 8601 date, no time of day).","format":"date","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to the borrowers (ISO 8601 date); null when not yet issued.","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered, as the Loan Origination System records it (for example email or mail).","nullable":true},"receivedDate":{"type":"string","description":"Date the borrowers received the disclosure (ISO 8601 date); null when not recorded. When several borrowers are listed, each borrower's own date is in consumerDates.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date the disclosure was signed (ISO 8601 date); null when not signed.","format":"date","nullable":true},"isLastDisclosed":{"type":"boolean","description":"Never filled: the Loan Origination System returns no last-disclosed flag, so this is always null.","nullable":true},"eCloseStatus":{"type":"string","description":"The e-close status the Loan Origination System records for the disclosure; null when none.","nullable":true},"disclosedApr":{"type":"number","description":"The annual percentage rate disclosed, in percent (for example 6.912); null when not recorded.","format":"double","nullable":true},"archiveId":{"type":"string","description":"The id of the archive the Loan Origination System issued this disclosure from; null when it sent none (for example a hand-entered record).","nullable":true},"archiveDate":{"type":"string","description":"The archive's date (ISO 8601 date, no time of day).","format":"date","nullable":true},"transactionId":{"type":"string","description":"The id the disclosure was generated under, also on the e-sign package it was sent in; null when blank.","nullable":true},"isInitial":{"type":"boolean","description":"True when this is the initial Closing Disclosure.","nullable":true},"isManual":{"type":"boolean","description":"True when the record was entered by hand rather than generated by the Loan Origination System.","nullable":true},"isValid":{"type":"boolean","description":"False when the record is marked not valid in the Loan Origination System. Such a record stays in the list.","nullable":true},"losApr":{"type":"number","description":"The Loan Origination System's own annual percentage rate, in percent.","format":"double","nullable":true},"docVendorApr":{"type":"number","description":"The APR as the document vendor calculated it, in percent; null when not recorded.","format":"double","nullable":true},"isFinal":{"type":"boolean","description":"True when this is the final Closing Disclosure.","nullable":true},"isPreview":{"type":"boolean","description":"True when the disclosure was only a preview and was not issued to the borrowers.","nullable":true},"isPostClosing":{"type":"boolean","description":"True when the disclosure was issued after closing.","nullable":true},"consumerDates":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerDisclosureDates"},"description":"Issued, received and signed dates for each borrower on the disclosure.","nullable":true}},"additionalProperties":false},"SignaturePackage":{"type":"object","properties":{"packageId":{"type":"string","description":"The id of the e-sign package as the Loan Origination System holds it.","nullable":true},"name":{"type":"string","description":"The package's name.","nullable":true},"sentTimestamp":{"type":"string","description":"The earliest created timestamp of the package's tasks.","format":"date-time"},"status":{"type":"string","description":"Signed, AwaitingSignature, Reviewed or Cancelled. Reviewed and Cancelled are only reported by a live read of the package.","nullable":true},"signedTimestamp":{"type":"string","description":"The last signer's, only when the package is signed.","format":"date-time","nullable":true},"signers":{"type":"array","items":{"$ref":"#/components/schemas/SignaturePackageSigner"},"description":"The people who must sign the package and whether each has.","nullable":true}},"additionalProperties":false,"description":"One e-sign package sent from the LOS for a loan and who has signed it, built from the loan's\r\nDisclosure tasks (one per signer). Carries no access link and no participant id: nothing here\r\nopens a signing session. Not loan-file data, so it is never part of the MISMO export."},"SignaturePackageSigner":{"type":"object","properties":{"name":{"type":"string","description":"The signer's name.","nullable":true},"role":{"type":"string","description":"Borrower or LoanOfficer.","nullable":true},"signedTimestamp":{"type":"string","description":"When the signer signed, in UTC (ISO 8601); null while they have not.","format":"date-time","nullable":true}},"additionalProperties":false}}}}
```

## The GetLoanPrintFormsResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetLoanPrintFormsResponse":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan.","format":"uuid"},"forms":{"type":"array","items":{"$ref":"#/components/schemas/LoanPrintForm"},"description":"The forms that can be printed for the loan, each with whether it is available now.","nullable":true}},"additionalProperties":false},"LoanPrintForm":{"type":"object","properties":{"form":{"type":"string","description":"The short name the form is known by (for example 1003), or its LOS name when it has none.","nullable":true},"pdfName":{"type":"string","description":"The LOS form name to request when printing, for example _1003_19_Pdf.","nullable":true},"description":{"type":"string","description":"What the form is.","nullable":true},"isAvailable":{"type":"boolean","description":"True when the form can be printed for this loan now; otherwise see unavailableReason."},"unavailableReason":{"type":"string","description":"Why the form cannot be printed yet; null when it can.","nullable":true}},"additionalProperties":false,"description":"A form the LOS can print, and whether this loan can print it yet."}}}}
```

## The GetTasksPipelineResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetTasksPipelineResponse":{"type":"object","properties":{"count":{"type":"integer","description":"Total number of tasks or conditions matching the query, before paging.","format":"int32"},"value":{"type":"array","items":{"$ref":"#/components/schemas/TaskPipelineItem"},"description":"The page of tasks or conditions returned.","nullable":true}},"additionalProperties":false},"TaskPipelineItem":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the task or condition belongs to.","format":"uuid"},"externalLoanNumber":{"type":"string","description":"The loan's number in the Loan Origination System.","nullable":true},"borrowers":{"type":"array","items":{"type":"string"},"description":"Names of the loan's borrowers.","nullable":true},"agent":{"$ref":"#/components/schemas/LoanAppUser"},"referredBy":{"$ref":"#/components/schemas/LoanAppUser"},"isLocalCondition":{"type":"boolean","description":"True for a condition row that groups the loan's document requests by document type. It is not a task: its id is empty and its status is null."},"groupCode":{"type":"string","description":"For a grouped condition row, the code of the document type group it stands for; null otherwise.","nullable":true},"taskCount":{"type":"integer","description":"For a grouped condition row, the number of document requests in it. A request with several documents counts once.","format":"int32"},"requestedTaskCount":{"type":"integer","description":"For a grouped condition row, how many of its document requests are still in the Requested status.","format":"int32"},"id":{"type":"string","description":"Id of the task or condition (GUID).","format":"uuid","nullable":true},"taskStatusTimestamp":{"type":"string","description":"When the task's status last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"When the task was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created (ISO 8601 date and time, UTC).","format":"date-time"},"item":{"$ref":"#/components/schemas/Item"},"assignedToBorrowerId":{"type":"string","description":"Id (GUID) of the borrower the task is assigned to. Null for a user task or a task for the loan's borrowers generally.","format":"uuid","nullable":true},"status":{"$ref":"#/components/schemas/TaskStatus"},"document":{"$ref":"#/components/schemas/Document"},"rejectionReasonNote":{"type":"string","description":"The reviewer's free-text note when the task's document was rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReason"},"creditReportType":{"$ref":"#/components/schemas/PosCreditReportType"},"isForPrimaryBorrower":{"type":"boolean","description":"True when the task is for the primary borrower, false when it is for the co-borrower. Null when it is for neither in particular.","nullable":true},"isRequired":{"type":"boolean","description":"Whether the task must be completed before the file can move forward."},"isAccountMainTask":{"type":"boolean","description":"True for the main task of an asset account, the one that requests the account's statements."},"questionType":{"$ref":"#/components/schemas/TaskQuestionType"},"yesNoResponse":{"type":"boolean","description":"The borrower's answer to a yes/no question task. Null until answered.","nullable":true},"shortAnswer":{"type":"string","description":"The borrower's answer to a short-answer question task. Null until answered.","nullable":true},"assignedToUser":{"$ref":"#/components/schemas/LoanAppUser"},"name":{"type":"string","description":"Display name of the task or condition.","nullable":true},"description":{"type":"string","description":"Description of the task. For a condition, the condition text: the reworded text when staff edited it in Henge, otherwise the LOS text.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the task among its siblings, lowest first.","format":"int32","nullable":true},"type":{"$ref":"#/components/schemas/TaskType"},"code":{"type":"string","description":"Short code of the task.","nullable":true},"conditionNo":{"type":"integer","description":"Condition number in the LOS. Conditions only.","format":"int32","nullable":true},"conditionCategory":{"type":"string","description":"Category of the condition in the LOS. Conditions only.","nullable":true},"conditionDueDate":{"type":"string","description":"Due date of the condition (ISO 8601 date). Conditions only.","format":"date","nullable":true},"conditionAssignedUserFullName":{"type":"string","description":"Full name of the user the condition is assigned to in the LOS. Conditions only.","nullable":true},"conditionBorrowerFullName":{"type":"string","description":"Full name of the borrower the condition is for. Conditions only.","nullable":true},"conditionIsHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower. Staff roles still see it; a caller that receives a hidden condition is entitled to it.","nullable":true},"conditionSourceText":{"type":"string","description":"The LOS's original condition text. Set only when staff reworded the condition in Henge, in which case description carries the rewording; null otherwise.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True when staff reworded this condition in Henge. The rewording is never sent to the LOS."},"notes":{"type":"string","description":"Notes on the task or condition.","nullable":true},"taskAssignmentType":{"$ref":"#/components/schemas/TaskAssignmentType"},"isSubscribed":{"type":"boolean","description":"Whether the calling user is subscribed to status-change notifications for this task. Null when not computed.","nullable":true},"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition this task belongs to. Null on conditions and on standalone tasks. Read on create; ignored on update.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account the task belongs to, if any. Needed on create only for a Transaction History task; ignored on update.","format":"uuid","nullable":true},"assetAccountName":{"type":"string","description":"Name of the asset account the task belongs to. Response only, and filled only where the response includes accounts.","nullable":true},"creditReportNumber":{"type":"string","description":"For credit report tasks, the credit agency's report number.","nullable":true},"requestTaskId":{"type":"string","description":"Id of the first task of the document request this task is a copy of (one task per document). Null on the first task itself. On create, naming any task of a request makes the new task a copy that joins that request.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"ownerPairId":{"type":"string","description":"Id (GUID) of the borrower pair staff made the owner of this task or condition. Empty when the owner is worked out on read.","format":"uuid","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True for a whole-loan task or condition that every borrower pair sees."}},"additionalProperties":false},"LoanAppUser":{"type":"object","properties":{"id":{"type":"string","description":"Id of the user (GUID).","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true}},"additionalProperties":false,"description":"A user, such as the staff member a task is assigned to."},"Item":{"type":"object","properties":{"id":{"type":"string","description":"Id of the item (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the item; send it as the item code when you create a task.","nullable":true},"name":{"type":"string","description":"Display name of the item.","nullable":true},"groupCode":{"type":"string","description":"Code of the condition group the item's tasks are shown under. Null means Other.","nullable":true},"canCreateManually":{"type":"boolean","description":"True when staff can create a task for this item by hand."},"canUploadDocument":{"type":"boolean","description":"True when a document can be uploaded against this item."}},"additionalProperties":false,"description":"A kind of request a task can ask for, such as a specific document."},"TaskStatus":{"type":"object","properties":{"id":{"type":"string","description":"Id of the status (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the status.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a task, for example Requested, Uploaded, Submitted or Accepted."},"Document":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"externalId":{"type":"string","description":"The document's id in the Loan Origination System; empty until it has been sent there.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once an uploaded file has been converted to PDF and can be opened; false while conversion is still running."},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition the document is attached to; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"blobName":{"type":"string","description":"The name the file is stored under. An internal storage key: download through the document routes rather than using it.","nullable":true},"createdTimestamp":{"type":"string","description":"When the document was created, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the document was last changed, in UTC (ISO 8601).","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user who last changed the document; null when the change was automatic or unknown.","format":"uuid","nullable":true},"documentTypeId":{"type":"string","description":"Id of the platform's broad document category (such as a vault or task document). Not the loan document type, which is loanDocumentTypeId.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan's vault, false when it hangs off a\r\ntask, a condition or an asset account. Callers use it to decide what a user may do with the\r\ndocument: only a vault document can be deleted. Any document can be given a document type."},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document is filed under (from the loan document types list); null when it has none.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the loan document type; null when the document has none.","nullable":true},"loanDocumentTypeExternalId":{"type":"string","description":"The loan document type's id in the Loan Origination System.","nullable":true},"loanDocumentTypeFolderName":{"type":"string","description":"Name of the folder the loan document type belongs to; null when the document has no type.","nullable":true},"description":{"type":"string","description":"A free-text description of the document; may be empty.","nullable":true},"isDeleted":{"type":"boolean","description":"True when the document has been deleted. Deleted documents are normally left out of lists."},"isInternal":{"type":"boolean","description":"True for a staff-only document that is hidden from borrowers and partner applications."},"isObsolete":{"type":"boolean","description":"The LOS no longer considers this document active. It stays visible so users can still see\r\nit, but it is not current and is never pushed back to the LOS."},"isProtected":{"type":"boolean","description":"The LOS holds the document as Protected, locked there against edits and deletion. Set and\r\ncleared by Admin and Processor through the document status endpoints, or in the LOS itself."},"losStatus":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"title":{"type":"string","description":"The title shown for the document; may be empty, in which case the file name is shown.","nullable":true},"splitFromDocumentId":{"type":"string","description":"On a part of a split combined PDF: the id of the original document it was cut from. Null on every other document.","format":"uuid","nullable":true},"splitStartPage":{"type":"integer","description":"On a part of a split combined PDF: the first page of the original it holds. Null on every other document.","format":"int32","nullable":true},"splitEndPage":{"type":"integer","description":"On a part of a split combined PDF: the last page of the original it holds. Null on every other document.","format":"int32","nullable":true},"isUnsorted":{"type":"boolean","description":"True while the document was bulk-uploaded to the loan with no task and no type and nobody has\r\nsorted it. It is held out of the LOS until it is put on a task or given a type."},"hasNoFile":{"type":"boolean","description":"True for a staff-only entry the Loan Origination System holds with no file here (a non-PDF assigned to a condition): there is nothing to open, download or move."},"intakeStatus":{"type":"string","description":"NeedsPassword or Duplicate for a bulk-uploaded document that is held for that reason; null\r\notherwise. See DocumentIntakeStatuses.","nullable":true},"duplicateOfDocumentId":{"type":"string","description":"The existing document this one repeats, when IntakeStatus is Duplicate.","format":"uuid","nullable":true},"indexStatus":{"type":"string","description":"Whether the document's text is searchable: Indexed, Pending, Failed or NotSubmitted. Set by\r\nthe document lists for staff callers; null when it was not looked up, or the lookup failed.","nullable":true},"analysis":{"$ref":"#/components/schemas/DocumentAnalysisSummary"},"internalNotes":{"type":"string","description":"Staff-only internal notes on the document, verbatim from the Loan Origination System. Returned only to callers who may see internal notes; null for everyone else.","nullable":true}},"additionalProperties":false,"description":"A document on a loan: the file, the task or condition it is attached to, its type and its status."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."},"DocumentAnalysisSummary":{"type":"object","properties":{"status":{"type":"string","description":"Pending, Completed, Failed or Skipped. Failed reads \"Not analysed\".","nullable":true},"verdict":{"type":"string","description":"Whether the document is what was asked for: Matches, Mismatch, Unreadable or Unknown.","nullable":true},"reasonCode":{"type":"string","description":"On a Mismatch, why: WrongDocument, WrongPeriod, WrongAccount, WrongBorrower, MissingPages or Expired. On an Unreadable verdict from the page quality check, UnreadablePages.","nullable":true},"reason":{"type":"string","description":"One line in plain language explaining the verdict, written for the borrower.","nullable":true},"suggestedRejectionReasonCode":{"type":"string","description":"The seeded TaskRejectionReason code the panel pre-selects for a Mismatch.","nullable":true},"suggestedTaskId":{"type":"string","description":"Id of the task or condition the document appears to belong to; null when none matched.","format":"uuid","nullable":true},"suggestedTaskName":{"type":"string","description":"Name of the suggested task or condition.","nullable":true},"isOnSuggestedTask":{"type":"boolean","description":"False when the document sits on a different task than the best match: shown for confirmation."},"matchConfidence":{"type":"number","description":"How sure the analysis is of the suggested task, from 0 to 1.","format":"double","nullable":true},"suggestedLoanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document looks like; null when not determined.","format":"uuid","nullable":true},"suggestedLoanDocumentTypeName":{"type":"string","description":"Name of the suggested loan document type.","nullable":true},"suggestedTitle":{"type":"string","description":"The title the analysis suggests for the document, built from what it read (for example the account and statement period).","nullable":true},"titleAppliedAutomatically":{"type":"boolean","description":"True when the document's current title was set by the analysis rather than by a person."},"previousTitle":{"type":"string","description":"The title the document had before the analysis renamed it; null when it was not renamed.","nullable":true},"autoNameDisabled":{"type":"boolean","description":"True when a person undid an automatic name; the analysis never renames this document again."},"filedByType":{"type":"boolean","description":"Filed under the suggested LOS type and folder by the analysis, for a person to confirm or correct."},"duplicateOfDocumentId":{"type":"string","description":"Id of an earlier document on the loan with the same content, when this one repeats it; otherwise null.","format":"uuid","nullable":true},"supersedesDocumentId":{"type":"string","description":"Id of an earlier document this one replaces (a newer version of the same document); otherwise null.","format":"uuid","nullable":true},"supersededByDocumentId":{"type":"string","description":"Id of a newer document that replaces this one; otherwise null.","format":"uuid","nullable":true},"outcome":{"type":"string","description":"What a person did with the suggestion: Confirmed, Corrected, Rejected or Ignored; null while no one has acted.","nullable":true},"outcomeAt":{"type":"string","description":"When the person acted on the suggestion, in UTC (ISO 8601); null while no one has.","format":"date-time","nullable":true},"coveredPeriods":{"type":"array","items":{"type":"string"},"description":"For a request that needs a span of statements, the months the uploaded documents cover, each formatted yyyy-MM.","nullable":true},"missingPeriods":{"type":"array","items":{"type":"string"},"description":"The requested months no uploaded document covers yet, each formatted yyyy-MM.","nullable":true},"monthsMissing":{"type":"integer","description":"How many months of the request are still missing.","format":"int32","nullable":true},"analyzedAt":{"type":"string","description":"When the analysis was done, in UTC (ISO 8601).","format":"date-time"},"splitSuggestion":{"$ref":"#/components/schemas/SplitSuggestion"},"pageIssues":{"type":"array","items":{"$ref":"#/components/schemas/PageIssue"},"description":"The pages the quality check flagged, which the Unreadable-page request names.","nullable":true}},"additionalProperties":false,"description":"What the document review shows for a document: the suggested task, type and title, the verdict and whether the title was applied automatically. The evidence and page text the analysis read are not included."},"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."},"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."},"TaskRejectionReason":{"type":"object","properties":{"id":{"type":"string","description":"Id of the rejection reason (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the rejection reason.","nullable":true},"code":{"type":"string","description":"Stable code of the rejection reason.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the reason in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"A reason a reviewer gives for rejecting a task's document."},"PosCreditReportType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the report type (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the report type.","nullable":true},"name":{"type":"string","description":"Display name of the report type.","nullable":true}},"additionalProperties":false,"description":"The type of credit report a credit report task asks for."},"TaskQuestionType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the question type (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the question type.","nullable":true},"code":{"type":"string","description":"Stable code of the question type.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the question type in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"For a question task, the kind of answer it asks for, such as yes/no or a short answer."},"TaskType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the task type.","nullable":true},"name":{"type":"string","description":"Display name of the task type.","nullable":true}},"additionalProperties":false,"description":"The kind of task."},"TaskAssignmentType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the assignment type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the assignment type.","nullable":true},"name":{"type":"string","description":"Display name of the assignment type.","nullable":true}},"additionalProperties":false,"description":"Who a task is assigned to: a borrower or a user."}}}}
```

## The GetUserLicensesResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetUserLicensesResponse":{"type":"object","properties":{"userId":{"type":"string","description":"Unique identifier (GUID) of the user the licenses belong to.","format":"uuid"},"count":{"type":"integer","description":"Number of licenses returned.","format":"int32"},"licenses":{"type":"array","items":{"$ref":"#/components/schemas/UserLicenseInfo"},"description":"The user's state licenses.","nullable":true}},"additionalProperties":false},"UserLicenseInfo":{"type":"object","properties":{"state":{"type":"string","description":"2-letter state code (e.g. \"CA\"). Matches the property state passed to search_pricing.","nullable":true},"stateLicenseNumber":{"type":"string","description":"The license number the state issued.","nullable":true},"expirationYear":{"type":"string","description":"Four-digit year the license expires.","nullable":true},"licenseId":{"type":"string","description":"Unique identifier (GUID) of the license; returned only when inactive licenses are included.","format":"uuid","nullable":true},"licenseType":{"type":"string","description":"The license type; returned only when inactive licenses are included.","nullable":true},"issueDate":{"type":"string","description":"Date the license was issued; returned only when inactive licenses are included.","nullable":true},"expirationDate":{"type":"string","description":"Date the license expires; returned only when inactive licenses are included.","nullable":true},"isActive":{"type":"boolean","description":"True when the license is active; returned only when inactive licenses are included.","nullable":true},"isExpired":{"type":"boolean","description":"True when the license has expired; returned only when inactive licenses are included.","nullable":true}},"additionalProperties":false}}}}
```

## The GetWebhookResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GetWebhookResponse":{"required":["createdTimestamp","hasApiKey","hasSigningSecret","updatedTimestamp"],"type":"object","properties":{"targetUrl":{"type":"string","description":"The POST URL on the partner’s system that will receive webhook payloads.","nullable":true},"hasApiKey":{"type":"boolean","description":"Whether an API key is configured for this webhook. The key itself is never returned."},"hasSigningSecret":{"type":"boolean","description":"Whether a signing secret exists, so that deliveries carry the `Henge-Signature` header. Create or rotate one\r\nwith `POST /webhook/signing-secret`. The secret itself is never returned here."},"signingSecretCreatedTimestamp":{"type":"string","description":"When the current signing secret was created (UTC); null when there is none.","format":"date-time","nullable":true},"createdTimestamp":{"type":"string","description":"The timestamp when the webhook subscription was created.","format":"date-time"},"updatedTimestamp":{"type":"string","description":"The timestamp when the webhook subscription was last updated.","format":"date-time"},"subscriptions":{"type":"array","items":{"$ref":"#/components/schemas/EventSubscriptionResponse"},"description":"The list of event subscriptions currently associated with this webhook.","nullable":true}},"additionalProperties":false,"description":"Response containing webhook details and associated event subscriptions."},"EventSubscriptionResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of this subscription.","format":"uuid"},"updatedTimestamp":{"type":"string","description":"The timestamp when this subscription was last updated.","format":"date-time"},"createdTimestamp":{"type":"string","description":"The timestamp when this subscription was created.","format":"date-time"},"objectType":{"$ref":"#/components/schemas/ObjectTypeResponse"},"eventType":{"$ref":"#/components/schemas/EventTypeResponse"}},"additionalProperties":false},"ObjectTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the object type.","format":"uuid"},"name":{"type":"string","description":"The name of the object type (e.g., “LoanApp”, “LoanAppTask”, “LoanAppVault”).","nullable":true}},"additionalProperties":false,"description":"A kind of object a webhook can watch, for example LoanApp, LoanAppTask or LoanAppVault."},"EventTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the event type.","format":"uuid"},"name":{"type":"string","description":"The name of the event type (e.g., “Created”, “Deleted”, “Changed”).","nullable":true}},"additionalProperties":false,"description":"A webhook event type: what happened to an object, for example Created, Deleted or Changed."}}}}
```

## The GroupAdjustmentProperty object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"GroupAdjustmentProperty":{"type":"object","properties":{"id":{"type":"string","description":"Name of the adjustment group, for example the category its adjustments fall under.","nullable":true},"finalAdjustment":{"type":"number","description":"Net adjustment of the group once all its adjustments are applied.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/Adjustment"},"description":"The individual adjustments in the group.","nullable":true}},"additionalProperties":false,"description":"A named group of adjustments that together move a quote's price or rate."},"Adjustment":{"type":"object","properties":{"key":{"type":"string","description":"Name of the adjustment, saying what it is for.","nullable":true},"adj":{"type":"number","description":"Size of the adjustment, in the unit of the group it belongs to (price points or rate).","format":"double","nullable":true}},"additionalProperties":false,"description":"One price or rate adjustment applied to a quote."}}}}
```

## The Guideline object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Guideline":{"type":"object","properties":{"documentDescription":{"type":"string","description":"Title of the guideline document.","nullable":true},"guidelineLink":{"$ref":"#/components/schemas/Link"}},"additionalProperties":false,"description":"A lender guideline document that applies to a product."},"Link":{"type":"object","properties":{"href":{"type":"string","description":"URL of the document.","format":"uri","nullable":true},"action":{"type":"string","description":"HTTP method to use on the URL, for example GET.","nullable":true},"fileExtension":{"type":"string","description":"File extension of the document, for example pdf.","nullable":true},"types":{"type":"array","items":{"type":"string"},"description":"Media types the link serves.","nullable":true}},"additionalProperties":false,"description":"A link to a document, with how to follow it."}}}}
```

## The HmdaApplicantCreditScore object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"HmdaApplicantCreditScore":{"type":"object","properties":{"reliedOnCreditScore":{"type":"integer","description":"The credit score relied on in the credit decision for this applicant; null when none.","format":"int32","nullable":true},"reliedOnCreditScoreMode":{"type":"string","description":"Whether the relied-on score is the applicant's individual score or a single score for the loan.","nullable":true},"reliedOnCreditScoreModelType":{"type":"string","description":"The credit scoring model of the relied-on score, as a code.","nullable":true}},"additionalProperties":false,"description":"The credit score relied on for an applicant, as reported for HMDA."}}}}
```

## The ImportCreditReportLiabilitiesRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ImportCreditReportLiabilitiesRequest":{"required":["creditReportNumber"],"type":"object","properties":{"creditReportNumber":{"type":"string","description":"The agency's number (file number) of the report whose liabilities are imported."},"reportType":{"$ref":"#/components/schemas/CreditReportType"},"pairIndex":{"type":"integer","description":"Which borrower pair the report is for, 0 to 3. Read only on a loan with more than one borrower pair, where leaving it out means the pair of the credit report task that carries the number, else pair 0. A loan with one pair has only pair 0.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Imports the liabilities on a credit report the credit agency already holds, by report number. Nothing else changes: the report is not uploaded, no task changes hands and nothing is ordered or billed. `reportType`: Left out, the type of the credit report task that carries the number is used, else HardPull."},"CreditReportType":{"enum":["SoftPull","HardPull"],"type":"string","description":"How a credit report is pulled: SoftPull (no inquiry on the borrower's file) or HardPull (leaves an inquiry and is billed with the card in billingInformation)."}}}}
```

## The Income object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Income":{"type":"object","properties":{"amount":{"type":"number","description":"Income amount, in dollars per month.","format":"double"},"otherDescription":{"type":"string","description":"Free-text description when the income type is Other.","nullable":true},"isAssociatedWithEmployment":{"type":"boolean","description":"True when the income belongs to an employment, such as overtime or bonus, rather than standing alone."},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One income amount, either tied to an employment or standing alone."}}}}
```

## The IncomeVerificationOrderSummary object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"IncomeVerificationOrderSummary":{"type":"object","properties":{"orderId":{"type":"string","description":"Id of the verification order (GUID).","format":"uuid"},"loanApplicationId":{"type":"string","description":"Id of the loan application the order is for (GUID).","format":"uuid"},"borrowerId":{"type":"string","description":"Id of the borrower being verified (GUID).","format":"uuid","nullable":true},"status":{"type":"string","description":"Order status, for example Ordered, InProgress, Completed, Failed or Cancelled.","nullable":true},"providerStatus":{"type":"string","description":"The vendor's own status code, e.g. `user_session_started`.","nullable":true},"reportReferenceNumber":{"type":"string","description":"The reference number the automated underwriting systems take. Set once the report is ready.","nullable":true},"hasReportDeficiencies":{"type":"boolean","description":"The report is ready but the vendor says it may contain deficiencies."},"failureMessage":{"type":"string","description":"The vendor's message when the order failed.","nullable":true},"verifiedDate":{"type":"string","description":"When the vendor verified the borrower's income and employment. No validity or expiry is computed from it.","format":"date","nullable":true},"verifiedEmployer":{"type":"string","description":"The employer the vendor verified.","nullable":true},"reportDocumentId":{"type":"string","description":"The vault document the report was filed as.","format":"uuid","nullable":true},"satisfiedTaskIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The borrower's tasks this verification satisfied.","nullable":true},"referenceInLos":{"type":"boolean","description":"Whether the report reference was written to the LOS and read back. Null when none was attempted.","nullable":true},"alreadyOrdered":{"type":"boolean","description":"This call found an order already in place and placed nothing."},"needsAttention":{"type":"boolean","description":"True when the order is still open well past when the verification provider should have answered, so staff should look at it. Computed on read from the order's age."},"attentionMessage":{"type":"string","description":"What staff should do about an order that needsAttention; null otherwise.","nullable":true},"createdUtc":{"type":"string","description":"When the order was placed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedUtc":{"type":"string","description":"When the order was last updated (ISO 8601 date and time, UTC).","format":"date-time","nullable":true}},"additionalProperties":false,"description":"An income and employment verification order and its result."}}}}
```

## The IneligibleProductSummary object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"IneligibleProductSummary":{"type":"object","properties":{"productName":{"type":"string","description":"Name of the product.","nullable":true},"ineligibleReasons":{"type":"array","items":{"type":"string"},"description":"The reasons the loan is not eligible, as text.","nullable":true}},"additionalProperties":false,"description":"An ineligible product and why the loan does not qualify for it."}}}}
```

## The IneligibleProductTypeGroup object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"IneligibleProductTypeGroup":{"type":"object","properties":{"productType":{"type":"string","description":"Product type label, e.g. \"15 Year Fixed Conforming\".","nullable":true},"products":{"type":"array","items":{"$ref":"#/components/schemas/IneligibleProductSummary"},"description":"The ineligible products of this type.","nullable":true}},"additionalProperties":false,"description":"Ineligible products of one product type, for example 15 Year Fixed Conforming."},"IneligibleProductSummary":{"type":"object","properties":{"productName":{"type":"string","description":"Name of the product.","nullable":true},"ineligibleReasons":{"type":"array","items":{"type":"string"},"description":"The reasons the loan is not eligible, as text.","nullable":true}},"additionalProperties":false,"description":"An ineligible product and why the loan does not qualify for it."}}}}
```

## The IneligibleProductsResult object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"IneligibleProductsResult":{"type":"object","properties":{"searchId":{"type":"string","description":"Identifier of the pricing search these results come from.","nullable":true},"totalProducts":{"type":"integer","description":"Total ineligible products found, regardless of how many are returned.","format":"int32"},"returnedProducts":{"type":"integer","description":"Number of products included across all product type groups. Capped per group unless includeAll is set.","format":"int32"},"truncated":{"type":"boolean","description":"True when products were capped (returnedProducts < totalProducts); call again with includeAll=true to get the rest."},"productTypes":{"type":"array","items":{"$ref":"#/components/schemas/IneligibleProductTypeGroup"},"description":"The groups of ineligible products.","nullable":true}},"additionalProperties":false,"description":"The products a loan is not eligible for, grouped by term, amortization type and loan type (for example 15 Year Fixed Conforming). Each product keeps only its name and the reasons it was rejected."},"IneligibleProductTypeGroup":{"type":"object","properties":{"productType":{"type":"string","description":"Product type label, e.g. \"15 Year Fixed Conforming\".","nullable":true},"products":{"type":"array","items":{"$ref":"#/components/schemas/IneligibleProductSummary"},"description":"The ineligible products of this type.","nullable":true}},"additionalProperties":false,"description":"Ineligible products of one product type, for example 15 Year Fixed Conforming."},"IneligibleProductSummary":{"type":"object","properties":{"productName":{"type":"string","description":"Name of the product.","nullable":true},"ineligibleReasons":{"type":"array","items":{"type":"string"},"description":"The reasons the loan is not eligible, as text.","nullable":true}},"additionalProperties":false,"description":"An ineligible product and why the loan does not qualify for it."}}}}
```

## The Item object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Item":{"type":"object","properties":{"id":{"type":"string","description":"Id of the item (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the item; send it as the item code when you create a task.","nullable":true},"name":{"type":"string","description":"Display name of the item.","nullable":true},"groupCode":{"type":"string","description":"Code of the condition group the item's tasks are shown under. Null means Other.","nullable":true},"canCreateManually":{"type":"boolean","description":"True when staff can create a task for this item by hand."},"canUploadDocument":{"type":"boolean","description":"True when a document can be uploaded against this item."}},"additionalProperties":false,"description":"A kind of request a task can ask for, such as a specific document."}}}}
```

## The ItemRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ItemRequest":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the item.","format":"uuid"},"name":{"type":"string","description":"Display name of the item.","nullable":true}},"additionalProperties":false,"description":"A reference to an item a task is about, by id."}}}}
```

## The ItemResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ItemResponse":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the item.","format":"uuid"},"name":{"type":"string","description":"Display name of the item.","nullable":true}},"additionalProperties":false,"description":"The item a task is about."}}}}
```

## The KeyDates object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"KeyDates":{"type":"object","properties":{"estimatedClosing":{"type":"string","description":"Estimated closing date, ISO 8601.","format":"date-time","nullable":true},"firstPaymentDate":{"type":"string","description":"Date the borrower's first payment is due, ISO 8601.","format":"date-time","nullable":true},"lockExpiration":{"type":"string","description":"Date the rate lock expires, ISO 8601; null when the loan is not locked.","format":"date-time","nullable":true},"rateLockedDate":{"type":"string","description":"Date the rate was locked, ISO 8601.","format":"date-time","nullable":true},"rateLockedTime":{"type":"string","description":"Time of day the rate was locked, as text.","nullable":true},"preApprovedDate":{"type":"string","description":"Date the loan was pre-approved (yyyy-MM-dd).","format":"date","nullable":true},"registeredDate":{"type":"string","description":"Date the loan was registered with the lender (yyyy-MM-dd).","format":"date","nullable":true},"appSubmittedDate":{"type":"string","description":"Date the application was submitted (yyyy-MM-dd).","format":"date","nullable":true},"closingDate":{"type":"string","description":"Scheduled closing date (yyyy-MM-dd).","format":"date","nullable":true}},"additionalProperties":false,"description":"The loan's key dates; each is null until it is known."}}}}
```

## The Language object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Language":{"type":"object","properties":{"code":{"type":"string","description":"Language code.","nullable":true},"otherDescription":{"type":"string","description":"Free-text language name when the code is Other.","nullable":true},"refuseToAnswer":{"type":"boolean","description":"True when the borrower chose not to answer."}},"additionalProperties":false,"description":"The language the borrower prefers."}}}}
```

## The LenderFeeDetail object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LenderFeeDetail":{"type":"object","properties":{"feeDetailNumber":{"type":"integer","description":"Sequence number of the fee in the product's fee list.","format":"int32"},"feeTotalAmountPercent":{"type":"number","description":"Fee as a percent of the base named in feePercentageBasedOn, when it is percentage-based.","format":"double"},"feeSpecifiedFixedAmount":{"type":"number","description":"Fixed fee amount in dollars, when the fee is a fixed amount.","format":"double"},"feeTotalCalculatedAmount":{"type":"number","description":"Total fee in dollars after calculation.","format":"double"},"feePaymentFinancedIndicator":{"type":"boolean","description":"True when the fee is financed into the loan amount."},"feePaidBy":{"type":"string","description":"Who pays the fee: Buyer or Seller.","nullable":true},"feePaidTo":{"type":"string","description":"Who receives the fee: Lender, Broker, Affiliate, ThirdParty or Other.","nullable":true},"rebatePriority":{"type":"integer","description":"Priority of this fee when a rebate is applied.","format":"int32"},"feeDescription":{"type":"string","description":"Name of the fee as the lender describes it.","nullable":true},"prepaidFinanceChargeIndicator":{"type":"boolean","description":"True when the fee is a prepaid finance charge, which counts toward APR."},"includedInQMPointsAndFeesTest":{"type":"boolean","description":"True when the fee counts toward the Qualified Mortgage points-and-fees test."},"feePercentageBasedOn":{"type":"string","description":"Amount a percentage fee is calculated on: PurchasePriceAmount, PropertyAppraisedValueAmount, OriginalLoanAmount, BaseLoanAmount or Other.","nullable":true},"feeType":{"type":"string","description":"Standard fee category, for example LoanOriginationFee or UnderwritingFee.","nullable":true}},"additionalProperties":false,"description":"One lender fee charged on a product."}}}}
```

## The LiabilitiesCreditReportLiabilityImport object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LiabilitiesCreditReportLiabilityImport":{"type":"object","properties":{"creditReportNumber":{"type":"string","description":"Number of the credit report the import used.","nullable":true},"reportType":{"type":"string","description":"Whether the report was a HardPull or a SoftPull.","nullable":true},"status":{"type":"string","description":"Outcome of the import.","nullable":true},"issues":{"type":"array","items":{"type":"string"},"description":"Plain-English problems found, one per entry, with Social Security numbers shown as the last four digits only.","nullable":true},"importedLiabilityCount":{"type":"integer","description":"How many liabilities the import created.","format":"int32"},"importedTimestamp":{"type":"string","description":"When the import ran (ISO 8601 date and time, UTC).","format":"date-time"}},"additionalProperties":false,"description":"The outcome of the last attempt to import liabilities from a credit report, kept only while it needs attention."}}}}
```

## The LiabilitiesLiability object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LiabilitiesLiability":{"type":"object","properties":{"id":{"type":"string","description":"Id of the liability (GUID).","format":"uuid"},"createdTimestamp":{"type":"string","description":"When the liability was created (ISO 8601 date and time, UTC).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the liability was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"borrowerId":{"type":"string","description":"Id of the first owner of the debt (GUID). Kept for older readers; use borrowerIds.","format":"uuid"},"borrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids of every borrower who owns the debt (GUIDs), in order.","nullable":true},"amount":{"type":"number","description":"Unpaid balance, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Monthly payment, in dollars.","format":"double","nullable":true},"isPaidOffAtClosing":{"type":"boolean","description":"True when the debt will be paid off at closing. Null when not stated.","nullable":true},"isExcludedFromRatios":{"type":"boolean","description":"True when the payment is left out of the debt-to-income ratios. Null when not stated.","nullable":true},"remainingMonths":{"type":"integer","description":"Months left on the debt.","format":"int32","nullable":true},"source":{"type":"string","description":"How the liability got on the loan, for example entered manually, imported from a credit report or synced from the LOS.","nullable":true},"liabilityType":{"type":"string","description":"The kind of debt, for example a mortgage, revolving or installment account.","nullable":true},"isUpdatedExternally":{"type":"boolean","description":"True when the row was changed by an external update, such as a sync from the LOS, after it was created."},"creditorName":{"type":"string","description":"Name of the creditor or lender.","nullable":true},"description":{"type":"string","description":"Free-text description of the debt.","nullable":true},"securedPropertyId":{"type":"string","description":"The owned property this debt is secured by (its tieId on the loan), or null.","nullable":true},"losLinkPending":{"type":"boolean","description":"True while the tie's link record has not reached the LOS (the write failed; the next sync retries). False otherwise."},"potentialDuplicates":{"type":"array","items":{"$ref":"#/components/schemas/PotentialDuplicate"},"description":"Other liabilities on the loan that look like the same debt. Worked out on every read.","nullable":true},"notes":{"type":"array","items":{"$ref":"#/components/schemas/RecordNote"},"description":"Notes on this row from people, agents and the system, oldest first. Never sent to the LOS; empty for a borrower.","nullable":true}},"additionalProperties":false,"description":"A debt on the loan, with its owners, payment and the property it is secured by."},"PotentialDuplicate":{"type":"object","properties":{"liabilityId":{"type":"string","description":"Id (GUID) of the liability this one may duplicate.","format":"uuid"},"confidenceScore":{"type":"number","description":"How confident the duplicate check is that the two liabilities are the same debt; a higher number is more likely.","format":"double"},"reasoning":{"type":"string","description":"The check's explanation, in plain language, of why the two look like the same debt.","nullable":true},"differences":{"type":"array","items":{"$ref":"#/components/schemas/DuplicateDifference"},"description":"How this liability differs from the possible duplicate, worked out from both as they are now on every read; never stored, so a change made after the check shows. Empty when the two agree on every field.","nullable":true}},"additionalProperties":false},"DuplicateDifference":{"type":"object","properties":{"field":{"type":"string","description":"The name of the field on which the two liabilities differ.","nullable":true},"thisValue":{"type":"string","description":"The field's value on this liability, as text.","nullable":true},"otherValue":{"type":"string","description":"The field's value on the possible duplicate, as text.","nullable":true}},"additionalProperties":false,"description":"One field on which a duplicate differs from the row it is read with: the values of both rows, as text."},"RecordNote":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the note.","format":"uuid"},"text":{"type":"string","description":"The note text.","nullable":true},"authorId":{"type":"string","description":"Who wrote it; null for a system note.","format":"uuid","nullable":true},"authorName":{"type":"string","description":"Name of the note's author; null for a system note.","nullable":true},"createdTimestamp":{"type":"string","description":"When the note was written, ISO 8601 in UTC.","format":"date-time"},"source":{"type":"string","description":"Where the note was written: `UI`, `MCP` (an AI agent tool) or `System`.","nullable":true}},"additionalProperties":false,"description":"A note on a liability or an asset account, returned with that record. It stays in Henge and is not sent to the LOS."}}}}
```

## The LiabilityCreateRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LiabilityCreateRequest":{"type":"object","properties":{"borrowerId":{"type":"string","description":"The borrower the debt belongs to. Omitted, or a borrower not on the loan, files it against the\r\nloan's first borrower, as the web app does.","format":"uuid"},"borrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Every borrower who owns the debt: a joint debt is one liability owned by all of them. Used in place of\r\n`BorrowerId` when it has any; omitted, `BorrowerId` alone owns it.","nullable":true},"amount":{"type":"number","description":"The unpaid balance of the debt (the payoff for a debt paid off at closing); the LOS stores it as the balance. The monthly payment is `MonthlyPayment`.","format":"double"},"liabilityType":{"type":"string","description":"The kind of debt, as the loan origination system names it: Mortgage, Heloc, Installment,\r\nRevolving, Open, Lease, Alimony, ChildSupport, SeparateMaintenance, JobRelatedExpense,\r\nOtherExpenseLiability or Other.","nullable":true},"creditorName":{"type":"string","description":"Who the debt is owed to.","nullable":true},"description":{"type":"string","description":"A free-text note about the debt.","nullable":true},"monthlyPayment":{"type":"number","description":"The monthly payment on the debt, which counts toward the debt ratios; the balance is `Amount`.","format":"double","nullable":true},"isPaidOffAtClosing":{"type":"boolean","description":"True when the debt is paid off from the loan proceeds at closing. On a loan in the loan origination system, true without `IsExcludedFromRatios` also leaves the debt out of the debt ratios.","nullable":true},"isExcludedFromRatios":{"type":"boolean","description":"True when the debt is left out of the debt ratios.","nullable":true},"remainingMonths":{"type":"integer","description":"Payments left on the debt, in months.","format":"int32","nullable":true},"securedPropertyId":{"type":"string","description":"The owned property this debt is secured by, by its tieId on the loan. Mortgage and Heloc only.","nullable":true}},"additionalProperties":false,"description":"A debt to add to a loan application. It is recorded with source Manual, as one entered on the\r\nweb app's Liabilities page is."}}}}
```

## The LiabilityUpdateRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LiabilityUpdateRequest":{"type":"object","properties":{"borrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Every borrower who owns the debt. Omitted or empty keeps the stored owners.","nullable":true},"amount":{"type":"number","description":"The unpaid balance of the debt (the payoff for a debt paid off at closing); the LOS stores it as the balance. The monthly payment is `MonthlyPayment`.","format":"double"},"liabilityType":{"type":"string","description":"The kind of debt; see `liabilityType`.","nullable":true},"creditorName":{"type":"string","description":"Who the debt is owed to.","nullable":true},"description":{"type":"string","description":"A free-text note about the debt.","nullable":true},"monthlyPayment":{"type":"number","description":"The monthly payment on the debt, which counts toward the debt ratios; the balance is `Amount`. Omitted keeps the stored value.","format":"double","nullable":true},"isPaidOffAtClosing":{"type":"boolean","description":"True when the debt is paid off from the loan proceeds at closing. Omitted keeps the stored value. On a loan in the loan origination system, changing it to true without `IsExcludedFromRatios` also leaves the debt out of the debt ratios.","nullable":true},"isExcludedFromRatios":{"type":"boolean","description":"True when the debt is left out of the debt ratios. Omitted keeps the stored value.","nullable":true},"remainingMonths":{"type":"integer","description":"Payments left on the debt, in months. Omitted keeps the stored value.","format":"int32","nullable":true},"securedPropertyId":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."}},"additionalProperties":false,"description":"The new values of a liability. A liability imported from a credit report cannot be changed here. Not every field is kept when left out: amount becomes 0, and liabilityType, creditorName and description are cleared. monthlyPayment, isPaidOffAtClosing, isExcludedFromRatios, remainingMonths, borrowerIds and securedPropertyId keep their stored value, except that on a loan in the loan origination system changing isPaidOffAtClosing to true without isExcludedFromRatios sets isExcludedFromRatios to true."}}}}
```

## The Link object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Link":{"type":"object","properties":{"href":{"type":"string","description":"URL of the document.","format":"uri","nullable":true},"action":{"type":"string","description":"HTTP method to use on the URL, for example GET.","nullable":true},"fileExtension":{"type":"string","description":"File extension of the document, for example pdf.","nullable":true},"types":{"type":"array","items":{"type":"string"},"description":"Media types the link serves.","nullable":true}},"additionalProperties":false,"description":"A link to a document, with how to follow it."}}}}
```

## The LoanActivityAgent object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanActivityAgent":{"type":"object","properties":{"toolName":{"type":"string","description":"Name of the agent tool that was called.","nullable":true},"oAuthClientId":{"type":"string","description":"Identifier of the OAuth client the call was made through.","nullable":true},"outcome":{"type":"string","description":"`Success` or `Error`.","nullable":true},"timestampUtc":{"type":"string","description":"When the call was made, ISO 8601 in UTC.","format":"date-time"},"agent":{"type":"string","description":"Stated by the client, not verified.","nullable":true},"platform":{"type":"string","description":"Stated by the client, not verified.","nullable":true},"sessionId":{"type":"string","description":"The agent's session id, as the client sent it.","nullable":true},"taskId":{"type":"string","description":"The queued task the work belonged to, as the client sent it.","nullable":true},"requestedBy":{"type":"string","description":"The person the agent says it acted for, as the client sent it. Stated, not verified.","nullable":true},"requestedByName":{"type":"string","description":"That person's name, as the client sent it. Stated, not verified.","nullable":true},"asked":{"type":"string","description":"What the agent says it was asked, as the client sent it. Stated, not verified. Masked and capped when stored.","nullable":true},"statedReason":{"type":"string","description":"The reason the agent gave for the change. Stated, not proven: a model's account of its reasons is not a reliable\r\nrecord of why it acted, so read it beside what changed, never in place of it. Masked and capped when stored.","nullable":true}},"additionalProperties":false,"description":"The automated agent call behind a loan activity entry: which tool, through which OAuth client, how it ended, and what the client said about itself. Never returned to a borrower or on the Partner API."}}}}
```

## The LoanActivityEntry object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanActivityEntry":{"type":"object","properties":{"timestampUtc":{"type":"string","description":"When the change was made, ISO 8601 in UTC.","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user or client who made the change. Withheld from borrowers.","format":"uuid","nullable":true},"updatedByEmail":{"type":"string","description":"Withheld from borrowers: the Activities tab shows them a name, never an address.","nullable":true},"updatedByFirstName":{"type":"string","description":"First name of the user who made the change.","nullable":true},"updatedByLastName":{"type":"string","description":"Last name of the user who made the change.","nullable":true},"source":{"type":"string","description":"Where the change came from: `UI`, `PartnerApi`, `MCP` (an AI agent tool), `LOS` (a change found by reconciling with the LOS) or `System`. Null on entries written before it was recorded.","nullable":true},"agent":{"$ref":"#/components/schemas/LoanActivityAgent"},"subjects":{"type":"array","items":{"$ref":"#/components/schemas/ActivitySubject"},"description":"The items the change touched (a task, document, liability, asset or LOS field), each with type, id and name. Internal callers only, and only on entries that recorded them.","nullable":true},"values":{"type":"array","items":{"$ref":"#/components/schemas/ActivityValueChange"},"description":"What the change did to each field it touched: the field, its old and new value, and the type and id of the item the field belongs to. Internal callers only; values are cut to 500 characters.","nullable":true},"automation":{"type":"string","description":"The automatic check that wrote the entry, by name. Internal callers only.","nullable":true},"observation":{"type":"boolean","description":"True when the entry records something read or checked rather than a change, for example a document's text read or a document checked against its request. Internal callers only.","nullable":true},"losUserName":{"type":"string","description":"For an entry read from the LOS audit log, the name of the LOS user who made the change. Internal callers only.","nullable":true},"losCategory":{"type":"string","description":"For an entry from the LOS's audit log: its category, such as Field Change or Loan Status. Internal callers only.","nullable":true},"losOwnChange":{"type":"boolean","description":"True on an audit log row our own integration account made, present only when the caller asked for those. Internal callers only.","nullable":true},"changes":{"type":"array","items":{"type":"string"},"description":"Plain-language lines describing what changed.","nullable":true}},"additionalProperties":false,"description":"One entry of a loan's activity history: who did it, when, and what changed, in the words the\r\nweb app's Activities tab shows."},"LoanActivityAgent":{"type":"object","properties":{"toolName":{"type":"string","description":"Name of the agent tool that was called.","nullable":true},"oAuthClientId":{"type":"string","description":"Identifier of the OAuth client the call was made through.","nullable":true},"outcome":{"type":"string","description":"`Success` or `Error`.","nullable":true},"timestampUtc":{"type":"string","description":"When the call was made, ISO 8601 in UTC.","format":"date-time"},"agent":{"type":"string","description":"Stated by the client, not verified.","nullable":true},"platform":{"type":"string","description":"Stated by the client, not verified.","nullable":true},"sessionId":{"type":"string","description":"The agent's session id, as the client sent it.","nullable":true},"taskId":{"type":"string","description":"The queued task the work belonged to, as the client sent it.","nullable":true},"requestedBy":{"type":"string","description":"The person the agent says it acted for, as the client sent it. Stated, not verified.","nullable":true},"requestedByName":{"type":"string","description":"That person's name, as the client sent it. Stated, not verified.","nullable":true},"asked":{"type":"string","description":"What the agent says it was asked, as the client sent it. Stated, not verified. Masked and capped when stored.","nullable":true},"statedReason":{"type":"string","description":"The reason the agent gave for the change. Stated, not proven: a model's account of its reasons is not a reliable\r\nrecord of why it acted, so read it beside what changed, never in place of it. Masked and capped when stored.","nullable":true}},"additionalProperties":false,"description":"The automated agent call behind a loan activity entry: which tool, through which OAuth client, how it ended, and what the client said about itself. Never returned to a borrower or on the Partner API."},"ActivitySubject":{"type":"object","properties":{"type":{"type":"string","description":"Kind of item the change touched: Task, Document, Liability, Asset or LosField.","nullable":true},"id":{"type":"string","description":"Identifier of the item: a GUID for tasks, documents and assets, the LOS field id for a LosField.","nullable":true},"name":{"type":"string","description":"The item's display name when the entry was written; informational only.","nullable":true}},"additionalProperties":false,"description":"One item a loan change touched (a task, document, liability, asset or LOS field), with its type, id and display name. The name is for display only."},"ActivityValueChange":{"type":"object","properties":{"field":{"type":"string","description":"A plain label for what changed: \"Wording\", \"Due date\", \"Status\", an LOS field's label.","nullable":true},"oldValue":{"type":"string","description":"What the field held before; null when it held nothing.","nullable":true},"newValue":{"type":"string","description":"What the field holds now; null when it holds nothing.","nullable":true},"oldValueNotRead":{"type":"boolean","description":"True when the write path did not read what the field held before: `OldValue` is then null\r\nbecause it is unknown, not because the field was empty. Absent means it was read."},"subjectType":{"type":"string","description":"One of `ActivitySubjectTypes`: the type of the item the field belongs to.","nullable":true},"subjectId":{"type":"string","description":"The id of the item the field belongs to, as its `Id` spells it.","nullable":true}},"additionalProperties":false,"description":"A before-and-after value of one field of an item that a loan change touched; each value is cut to 500 characters."}}}}
```

## The LoanActivityPage object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanActivityPage":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan.","format":"uuid"},"totalCount":{"type":"integer","description":"Entries matching the search, across every page.","format":"int32"},"skip":{"type":"integer","description":"Number of entries skipped before this page.","format":"int32"},"top":{"type":"integer","description":"Maximum number of entries on this page.","format":"int32"},"entries":{"type":"array","items":{"$ref":"#/components/schemas/LoanActivityEntry"},"description":"The activity entries on this page, newest first.","nullable":true}},"additionalProperties":false,"description":"One page of a loan's activity history, newest first."},"LoanActivityEntry":{"type":"object","properties":{"timestampUtc":{"type":"string","description":"When the change was made, ISO 8601 in UTC.","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user or client who made the change. Withheld from borrowers.","format":"uuid","nullable":true},"updatedByEmail":{"type":"string","description":"Withheld from borrowers: the Activities tab shows them a name, never an address.","nullable":true},"updatedByFirstName":{"type":"string","description":"First name of the user who made the change.","nullable":true},"updatedByLastName":{"type":"string","description":"Last name of the user who made the change.","nullable":true},"source":{"type":"string","description":"Where the change came from: `UI`, `PartnerApi`, `MCP` (an AI agent tool), `LOS` (a change found by reconciling with the LOS) or `System`. Null on entries written before it was recorded.","nullable":true},"agent":{"$ref":"#/components/schemas/LoanActivityAgent"},"subjects":{"type":"array","items":{"$ref":"#/components/schemas/ActivitySubject"},"description":"The items the change touched (a task, document, liability, asset or LOS field), each with type, id and name. Internal callers only, and only on entries that recorded them.","nullable":true},"values":{"type":"array","items":{"$ref":"#/components/schemas/ActivityValueChange"},"description":"What the change did to each field it touched: the field, its old and new value, and the type and id of the item the field belongs to. Internal callers only; values are cut to 500 characters.","nullable":true},"automation":{"type":"string","description":"The automatic check that wrote the entry, by name. Internal callers only.","nullable":true},"observation":{"type":"boolean","description":"True when the entry records something read or checked rather than a change, for example a document's text read or a document checked against its request. Internal callers only.","nullable":true},"losUserName":{"type":"string","description":"For an entry read from the LOS audit log, the name of the LOS user who made the change. Internal callers only.","nullable":true},"losCategory":{"type":"string","description":"For an entry from the LOS's audit log: its category, such as Field Change or Loan Status. Internal callers only.","nullable":true},"losOwnChange":{"type":"boolean","description":"True on an audit log row our own integration account made, present only when the caller asked for those. Internal callers only.","nullable":true},"changes":{"type":"array","items":{"type":"string"},"description":"Plain-language lines describing what changed.","nullable":true}},"additionalProperties":false,"description":"One entry of a loan's activity history: who did it, when, and what changed, in the words the\r\nweb app's Activities tab shows."},"LoanActivityAgent":{"type":"object","properties":{"toolName":{"type":"string","description":"Name of the agent tool that was called.","nullable":true},"oAuthClientId":{"type":"string","description":"Identifier of the OAuth client the call was made through.","nullable":true},"outcome":{"type":"string","description":"`Success` or `Error`.","nullable":true},"timestampUtc":{"type":"string","description":"When the call was made, ISO 8601 in UTC.","format":"date-time"},"agent":{"type":"string","description":"Stated by the client, not verified.","nullable":true},"platform":{"type":"string","description":"Stated by the client, not verified.","nullable":true},"sessionId":{"type":"string","description":"The agent's session id, as the client sent it.","nullable":true},"taskId":{"type":"string","description":"The queued task the work belonged to, as the client sent it.","nullable":true},"requestedBy":{"type":"string","description":"The person the agent says it acted for, as the client sent it. Stated, not verified.","nullable":true},"requestedByName":{"type":"string","description":"That person's name, as the client sent it. Stated, not verified.","nullable":true},"asked":{"type":"string","description":"What the agent says it was asked, as the client sent it. Stated, not verified. Masked and capped when stored.","nullable":true},"statedReason":{"type":"string","description":"The reason the agent gave for the change. Stated, not proven: a model's account of its reasons is not a reliable\r\nrecord of why it acted, so read it beside what changed, never in place of it. Masked and capped when stored.","nullable":true}},"additionalProperties":false,"description":"The automated agent call behind a loan activity entry: which tool, through which OAuth client, how it ended, and what the client said about itself. Never returned to a borrower or on the Partner API."},"ActivitySubject":{"type":"object","properties":{"type":{"type":"string","description":"Kind of item the change touched: Task, Document, Liability, Asset or LosField.","nullable":true},"id":{"type":"string","description":"Identifier of the item: a GUID for tasks, documents and assets, the LOS field id for a LosField.","nullable":true},"name":{"type":"string","description":"The item's display name when the entry was written; informational only.","nullable":true}},"additionalProperties":false,"description":"One item a loan change touched (a task, document, liability, asset or LOS field), with its type, id and display name. The name is for display only."},"ActivityValueChange":{"type":"object","properties":{"field":{"type":"string","description":"A plain label for what changed: \"Wording\", \"Due date\", \"Status\", an LOS field's label.","nullable":true},"oldValue":{"type":"string","description":"What the field held before; null when it held nothing.","nullable":true},"newValue":{"type":"string","description":"What the field holds now; null when it holds nothing.","nullable":true},"oldValueNotRead":{"type":"boolean","description":"True when the write path did not read what the field held before: `OldValue` is then null\r\nbecause it is unknown, not because the field was empty. Absent means it was read."},"subjectType":{"type":"string","description":"One of `ActivitySubjectTypes`: the type of the item the field belongs to.","nullable":true},"subjectId":{"type":"string","description":"The id of the item the field belongs to, as its `Id` spells it.","nullable":true}},"additionalProperties":false,"description":"A before-and-after value of one field of an item that a loan change touched; each value is cut to 500 characters."}}}}
```

## The LoanAggregationBucket object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAggregationBucket":{"type":"object","properties":{"key":{"type":"string","description":"Bucket label: status name, \"2026-06\", \"2026-Q2\", \"2026\", a loan-officer name, or \"all\".","nullable":true},"keyId":{"type":"string","description":"Set when grouping by LoanOfficer / ReferringAgent so the caller can drill back via search_loans.","format":"uuid","nullable":true},"count":{"type":"integer","description":"Number of loans in the bucket.","format":"int32"},"inLosCount":{"type":"integer","description":"Loans in the bucket that have a loan number in the LOS, that is, that have reached it.","format":"int32"},"keys":{"type":"array","items":{"$ref":"#/components/schemas/LoanAggregationKey"},"description":"One entry per grouping dimension (groupBy, then each thenBy), in order. `Key` and\r\n`KeyId` repeat the first, so single-dimension callers read what they always read.","nullable":true},"sum":{"type":"number","description":"Sum of the chosen metric field over the bucket's loans; null when no loan has a value.","format":"double","nullable":true},"average":{"type":"number","description":"Average of the chosen metric field over the bucket's loans.","format":"double","nullable":true},"min":{"type":"number","description":"Smallest value of the chosen metric field in the bucket.","format":"double","nullable":true},"max":{"type":"number","description":"Largest value of the chosen metric field in the bucket.","format":"double","nullable":true}},"additionalProperties":false},"LoanAggregationKey":{"type":"object","properties":{"dimension":{"type":"string","description":"The grouping dimension this key belongs to.","nullable":true},"key":{"type":"string","description":"The bucket's value on this dimension: a name for officers, referrers and companies when resolvable.","nullable":true},"keyId":{"type":"string","description":"Set for LoanOfficer, ReferringAgent and Company.","format":"uuid","nullable":true}},"additionalProperties":false}}}}
```

## The LoanAggregationKey object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAggregationKey":{"type":"object","properties":{"dimension":{"type":"string","description":"The grouping dimension this key belongs to.","nullable":true},"key":{"type":"string","description":"The bucket's value on this dimension: a name for officers, referrers and companies when resolvable.","nullable":true},"keyId":{"type":"string","description":"Set for LoanOfficer, ReferringAgent and Company.","format":"uuid","nullable":true}},"additionalProperties":false}}}}
```

## The LoanAggregationResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAggregationResponse":{"type":"object","properties":{"groupBy":{"type":"string","description":"The dimension the loans were grouped by.","nullable":true},"metric":{"type":"string","description":"The loan field that was measured, for example LoanAmount.","nullable":true},"function":{"type":"string","description":"The function applied to the metric: Count, Sum, Average, Min or Max.","nullable":true},"totalCount":{"type":"integer","description":"Total loans matched by the filter (sum across buckets).","format":"int32"},"bucketCount":{"type":"integer","description":"Number of buckets returned.","format":"int32"},"truncated":{"type":"boolean","description":"True when buckets were capped (high-cardinality group-by); see BucketCount."},"buckets":{"type":"array","items":{"$ref":"#/components/schemas/LoanAggregationBucket"},"description":"The result buckets.","nullable":true}},"additionalProperties":false},"LoanAggregationBucket":{"type":"object","properties":{"key":{"type":"string","description":"Bucket label: status name, \"2026-06\", \"2026-Q2\", \"2026\", a loan-officer name, or \"all\".","nullable":true},"keyId":{"type":"string","description":"Set when grouping by LoanOfficer / ReferringAgent so the caller can drill back via search_loans.","format":"uuid","nullable":true},"count":{"type":"integer","description":"Number of loans in the bucket.","format":"int32"},"inLosCount":{"type":"integer","description":"Loans in the bucket that have a loan number in the LOS, that is, that have reached it.","format":"int32"},"keys":{"type":"array","items":{"$ref":"#/components/schemas/LoanAggregationKey"},"description":"One entry per grouping dimension (groupBy, then each thenBy), in order. `Key` and\r\n`KeyId` repeat the first, so single-dimension callers read what they always read.","nullable":true},"sum":{"type":"number","description":"Sum of the chosen metric field over the bucket's loans; null when no loan has a value.","format":"double","nullable":true},"average":{"type":"number","description":"Average of the chosen metric field over the bucket's loans.","format":"double","nullable":true},"min":{"type":"number","description":"Smallest value of the chosen metric field in the bucket.","format":"double","nullable":true},"max":{"type":"number","description":"Largest value of the chosen metric field in the bucket.","format":"double","nullable":true}},"additionalProperties":false},"LoanAggregationKey":{"type":"object","properties":{"dimension":{"type":"string","description":"The grouping dimension this key belongs to.","nullable":true},"key":{"type":"string","description":"The bucket's value on this dimension: a name for officers, referrers and companies when resolvable.","nullable":true},"keyId":{"type":"string","description":"Set for LoanOfficer, ReferringAgent and Company.","format":"uuid","nullable":true}},"additionalProperties":false}}}}
```

## The LoanAppContact object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppContact":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the contact on the loan (GUID).","format":"uuid","nullable":true},"role":{"$ref":"#/components/schemas/ContactRole"},"roleName":{"type":"string","description":"Display name of the contact's role.","nullable":true},"otherRoleName":{"type":"string","description":"Free-text label for a contact whose role is Other; without it they show as a bare Other.","nullable":true},"name":{"type":"string","description":"Full name of the contact.","nullable":true},"email":{"type":"string","description":"Email address.","nullable":true},"phone":{"type":"string","description":"Phone number.","nullable":true},"cellPhone":{"type":"string","description":"Cell phone number.","nullable":true},"fax":{"type":"string","description":"Fax number.","nullable":true},"pager":{"type":"string","description":"Pager number.","nullable":true},"companyName":{"type":"string","description":"Name of the contact's company.","nullable":true},"companyPhone":{"type":"string","description":"The company's phone number.","nullable":true},"companyFax":{"type":"string","description":"The company's fax number.","nullable":true},"branchName":{"type":"string","description":"Name of the branch the contact works at.","nullable":true},"departmentName":{"type":"string","description":"Name of the department the contact works in.","nullable":true},"employeeIdInCompany":{"type":"string","description":"The contact's employee id within their company.","nullable":true},"companyId":{"type":"string","description":"Identifier of the contact's company, as recorded on the contact.","nullable":true},"street":{"type":"string","description":"Street address.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zip":{"type":"string","description":"ZIP or postal code.","nullable":true},"notes":{"type":"string","description":"Free-text notes on the contact.","nullable":true},"isImported":{"type":"boolean","description":"True when the contact came from an imported file rather than from the LOS. A sync with the LOS keeps these rather than deleting what it did not create."},"isSystemCreated":{"type":"boolean","description":"True when the row is one the loan must not carry, such as a system integration account. Returned only when staff ask for system contacts; absent otherwise.","nullable":true},"isNotifyWhenLoanStatusChange":{"type":"boolean","description":"True when the LOS emails this contact when the loan status changes. Check it before sending a second notification."},"agentNMLS":{"type":"string","description":"The contact's NMLS id.","nullable":true},"companyNMLS":{"type":"string","description":"The contact's company NMLS id.","nullable":true},"agentLicenseNumber":{"type":"string","description":"The contact's license number.","nullable":true},"companyLicenseNumber":{"type":"string","description":"The company's license number.","nullable":true},"isAgentLicenseExpired":{"type":"boolean","description":"True when the contact's license has expired. A license number alone does not say whether it is still valid."},"isCompanyLicenseExpired":{"type":"boolean","description":"True when the company's license has expired."},"chumsId":{"type":"string","description":"The contact's CHUMS id (the id the FHA program uses for lenders and agents).","nullable":true},"caseNumber":{"type":"string","description":"Case number recorded on the contact.","nullable":true},"isLender":{"type":"boolean","description":"True when the contact is the lender."},"isOriginator":{"type":"boolean","description":"True when the contact is the loan originator."},"isLenderAffiliate":{"type":"boolean","description":"True when the contact is an affiliate of the lender."},"isOriginatorAffiliate":{"type":"boolean","description":"True when the contact is an affiliate of the originator."},"isListedInGFEProviderForm":{"type":"boolean","description":"True when the service provider has a relationship with the lender. The relationship fields below only mean something when this is set."},"providerItemNumber":{"type":"string","description":"Item number recorded for the provider's service on the disclosure.","nullable":true},"isLenderAssociation":{"type":"boolean","description":"True when the provider has an association with the lender (a disclosure fact)."},"isLenderRelative":{"type":"boolean","description":"True when the provider is a relative of the lender (a disclosure fact)."},"hasLenderRelationship":{"type":"boolean","description":"True when the provider has a business relationship with the lender (a disclosure fact)."},"hasLenderAccountLast12Months":{"type":"boolean","description":"True when the provider has had an account with the lender in the last 12 months (a disclosure fact)."},"isUsedRepeatlyByLenderLast12Months":{"type":"boolean","description":"True when the lender has used this provider repeatedly in the last 12 months. The property name keeps its original spelling."},"investorSoldDate":{"type":"string","description":"Date the loan was sold to this contact when it is the investor, as recorded.","nullable":true},"taxId":{"type":"string","description":"Tax id of the contact. Returned only to staff with compensation access; absent for other callers.","nullable":true},"commission":{"type":"string","description":"Commission amount for the contact. Returned only to staff with compensation access; absent for other callers.","nullable":true},"commissionMinBase":{"type":"string","description":"Minimum base amount for the commission. Returned only to staff with compensation access; absent for other callers.","nullable":true},"commissionPointOfLoanAmount":{"type":"string","description":"Commission expressed as points of the loan amount. Returned only to staff with compensation access; absent for other callers.","nullable":true},"commissionPointOfGrossProfit":{"type":"string","description":"Commission expressed as points of gross profit. Returned only to staff with compensation access; absent for other callers.","nullable":true},"commissionPaid":{"type":"string","description":"Amount of commission paid. Returned only to staff with compensation access; absent for other callers.","nullable":true},"isCommissionPaid":{"type":"boolean","description":"True when the commission has been paid. Returned only to staff with compensation access; absent for other callers.","nullable":true},"isUseOriginatorCompensationAmount":{"type":"boolean","description":"True when the originator compensation amount is used as the commission. Returned only to staff with compensation access; absent for other callers.","nullable":true},"investorBasisPoints":{"type":"string","description":"Investor compensation, in basis points. Returned only to staff with compensation access; absent for other callers.","nullable":true},"paymentNotes":{"type":"string","description":"Free-text notes about how the contact is paid. Returned only to staff with compensation access; absent for other callers.","nullable":true},"payToBankName":{"type":"string","description":"Name of the bank the contact is paid through. Returned only to staff with compensation access; absent for other callers.","nullable":true},"payToBankCityState":{"type":"string","description":"City and state of that bank. Returned only to staff with compensation access; absent for other callers.","nullable":true},"payToABANumber":{"type":"string","description":"ABA routing number of that bank. Returned only to staff with compensation access; absent for other callers.","nullable":true},"payToAccountNumber":{"type":"string","description":"Account number to pay. Returned only to staff with compensation access; absent for other callers.","nullable":true},"payToAccountName":{"type":"string","description":"Account name to pay. Returned only to staff with compensation access; absent for other callers.","nullable":true},"furtherCreditToAccountNumber":{"type":"string","description":"Account number to credit further, when payment goes through an intermediary. Returned only to staff with compensation access; absent for other callers.","nullable":true},"furtherCreditToAccountName":{"type":"string","description":"Account name to credit further, when payment goes through an intermediary. Returned only to staff with compensation access; absent for other callers.","nullable":true}},"additionalProperties":false,"description":"One party on a loan, such as the loan officer, an agent, a title company or an investor. Compensation, banking and tax detail is returned only to staff with compensation access, and is absent (not null) for other callers."},"ContactRole":{"enum":["Other","Appraiser","Escrow","CreditReport","Title","MortgageInsurance","ListingAgent","SellingAgent","Builder","Underwriter","Investor","Servicing","BuyerAttorney","SellerAttorney","HomeOwnerInsurance","HazardInsurance","MarketingLead","Seller","Surveyor","LoanOfficer","Bank","Lender","Processor","CallCenterAgent","LoanOpener","Manager","Broker","BrokerRep","ECOA","Realtor","Mortgagee","HomeOwnerAssociation","BuyerAgent","ClosingAgent","FairHousingLending","HomeInspection","FloodProvider","CreditReportAgency2","CreditReportAgency3","Shipper","BrokerProcessor","Trustee","Funder","PostCloser","Insuring","CollateralAgent","DocDrawer","PropertyManagement","TitleUnderwriter","CreditAuditor","DisclosureDesk","JuniorProcessor","JuniorUnderwriter","LegalAuditor","LoanOfficerAssistant","Purchaser","QCCompliance","Secondary","PestInspection","Subservicer","ExternalSecondary","ExternalPostCloser","LoanPurchasePayee","AppraisalManagementCompany","Referral","Notary","TaxServicer","SupervisoryAppraiser","Attorney","PropertyInspector","CPATaxPreparer","LockDesk","MortgageServiceOrganization","Verifications","TaxCollector","TaxTranscripts"],"type":"string","description":"The role a contact plays on a loan. Each value names that role: Other (anything not listed), Appraiser, Escrow, CreditReport (credit agency), Title, MortgageInsurance, ListingAgent, SellingAgent, Builder, Underwriter, Investor, Servicing, BuyerAttorney, SellerAttorney, HomeOwnerInsurance (obsolete; use HazardInsurance), HazardInsurance (homeowner's insurance), MarketingLead, Seller, Surveyor, LoanOfficer, Bank, Lender, Processor, CallCenterAgent, LoanOpener, Manager, Broker, BrokerRep, ECOA, Realtor, Mortgagee, HomeOwnerAssociation, BuyerAgent, ClosingAgent, FairHousingLending, HomeInspection, FloodProvider, CreditReportAgency2, CreditReportAgency3, Shipper, BrokerProcessor (external processor), Trustee, Funder, PostCloser, Insuring, CollateralAgent, DocDrawer, PropertyManagement, TitleUnderwriter, CreditAuditor, DisclosureDesk, JuniorProcessor, JuniorUnderwriter, LegalAuditor, LoanOfficerAssistant, Purchaser, QCCompliance, Secondary, PestInspection, Subservicer, ExternalSecondary, ExternalPostCloser, LoanPurchasePayee, AppraisalManagementCompany, Referral, Notary, TaxServicer, SupervisoryAppraiser, Attorney, PropertyInspector, CPATaxPreparer, LockDesk, MortgageServiceOrganization, Verifications, TaxCollector and TaxTranscripts."}}}}
```

## The LoanAppContactPatch object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppContactPatch":{"type":"object","properties":{"name":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"email":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"phone":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"cellPhone":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"fax":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"pager":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"companyName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"companyPhone":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"companyFax":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"branchName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"departmentName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"employeeIdInCompany":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"street":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"city":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"county":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"state":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"zip":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"notes":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isNotifyWhenLoanStatusChange":{"type":"boolean","description":"Cannot be null."},"agentNMLS":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"companyNMLS":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"agentLicenseNumber":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"companyLicenseNumber":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"chumsId":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"caseNumber":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"taxId":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"commissionMinBase":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"commissionPointOfLoanAmount":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"commissionPointOfGrossProfit":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"commissionPaid":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isCommissionPaid":{"type":"boolean","description":"Cannot be null."},"isUseOriginatorCompensationAmount":{"type":"boolean","description":"Cannot be null."},"investorBasisPoints":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"paymentNotes":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"payToBankName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"payToBankCityState":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"payToABANumber":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"payToAccountNumber":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"payToAccountName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"furtherCreditToAccountNumber":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"furtherCreditToAccountName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."}},"additionalProperties":false,"description":"A partial update of one loan contact: a field left out keeps its LOS value, one sent as null is cleared, and only the fields sent are written. The role, the role label and the lender flags cannot be changed, and the commission total and licence-expired flags are calculated by the LOS. Send at least one property."}}}}
```

## The LoanAppFieldStatus object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppFieldStatus":{"type":"object","properties":{"path":{"type":"string","description":"Dot-path of the field, e.g. 'loanInfo.borrowers[0].currentAddress.zipCode'. Matches the frontend validation key and doubles as the camelCase JSON path into this same response.","nullable":true},"label":{"type":"string","description":"Human-readable label for the field, e.g. 'Co-Borrower Current Address ZIP Code'.","nullable":true},"required":{"type":"boolean","description":"Whether this field is required for THIS loan, with conditional rules already resolved (e.g. purchase price is not required on a Refinance, dependent ages only when the borrower has dependents). A field that is required and has no value blocks section completion."},"hasValue":{"type":"boolean","description":"Whether the field currently holds an acceptable value. False when empty AND when a value fails its format check (e.g. a malformed SSN or email), matching the wizard's treatment of invalid values as missing. required && !hasValue means the field is blocking section completion."},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the field belongs to a specific applicant; null for loan-level fields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the field belongs to; null for loan-level fields.","format":"int32","nullable":true}},"additionalProperties":false}}}}
```

## The LoanAppMissingField object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppMissingField":{"type":"object","properties":{"fieldPath":{"type":"string","description":"Dot-path of the required field that has no value, e.g. 'loanInfo.borrowers[0].currentAddress.zipCode'. Matches the frontend validation key and doubles as the camelCase JSON path into this same response.","nullable":true},"label":{"type":"string","description":"Human-readable label for the field, e.g. 'Co-Borrower Current Address ZIP Code'.","nullable":true},"section":{"type":"string","description":"The wizard section the field is on, e.g. 'About You'.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the field belongs to a specific applicant; null for loan-level fields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the field belongs to; null for loan-level fields.","format":"int32","nullable":true}},"additionalProperties":false}}}}
```

## The LoanAppNoteResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppNoteResponse":{"required":["canDelete","canEdit","createdAt","createdBy","id","isEdited","loanApplicationId","subjectId","subjectType","updatedAt"],"type":"object","properties":{"id":{"type":"string","description":"Id of the note (GUID).","format":"uuid"},"loanApplicationId":{"type":"string","description":"Id of the loan application the note is on (GUID).","format":"uuid"},"subjectType":{"$ref":"#/components/schemas/LoanAppNoteSubjectType"},"subjectId":{"type":"string","description":"Id of what the note is about; subjectType says what kind of thing it is.","format":"uuid"},"body":{"type":"string","description":"Text of the note.","nullable":true},"createdBy":{"type":"string","description":"Id of the user who wrote the note (GUID).","format":"uuid"},"createdByName":{"type":"string","description":"Name of the user who wrote the note.","nullable":true},"createdAt":{"type":"string","description":"When the note was written (ISO 8601 date and time, UTC).","format":"date-time"},"updatedAt":{"type":"string","description":"When the note was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"isEdited":{"type":"boolean","description":"True when the note was edited after it was written."},"canEdit":{"type":"boolean","description":"The caller may edit this note (they wrote it)."},"canDelete":{"type":"boolean","description":"The caller may delete this note (they wrote it, or they are an Admin or CompanyAdmin)."}},"additionalProperties":false,"description":"A note on a loan application, or on something in it such as a document."},"LoanAppNoteSubjectType":{"enum":["LoanApplication","AiCall","Document"],"type":"string","description":"What a note is attached to. Each new place notes appear adds a value here (conditions and tasks next) plus a check that the subject belongs to the loan; nothing else changes."}}}}
```

## The LoanAppNoteSubjectType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppNoteSubjectType":{"enum":["LoanApplication","AiCall","Document"],"type":"string","description":"What a note is attached to. Each new place notes appear adds a value here (conditions and tasks next) plus a check that the subject belongs to the loan; nothing else changes."}}}}
```

## The LoanAppNoteVersion object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppNoteVersion":{"type":"object","properties":{"body":{"type":"string","description":"The note's text as it was before that edit.","nullable":true},"editedBy":{"type":"string","description":"Id of the user who made the edit (GUID).","format":"uuid"},"editedByName":{"type":"string","description":"Name of the user who made the edit.","nullable":true},"editedAt":{"type":"string","description":"When the edit was made (ISO 8601 date and time, UTC).","format":"date-time"}},"additionalProperties":false,"description":"An earlier version of a note."}}}}
```

## The LoanAppOrderStatus object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppOrderStatus":{"enum":["Draft","Submitting","Submitted","Ordered","InProgress","Received","Completed","Failed","Cancelled","Unconfirmed"],"type":"string","description":"Where an order is in its life. A tracked order (dates only) moves through `Draft`,\r\n`Ordered` and `Received` as its dates are filled in; a placed one is moved\r\nby the vendor integration. Stored by name."}}}}
```

## The LoanAppPairCompletion object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppPairCompletion":{"type":"object","properties":{"pairIndex":{"type":"integer","description":"The borrower pair's position on the loan; 0 is the primary pair.","format":"int32"},"isValid":{"type":"boolean","description":"True when this pair has no missing required field and no rule error."},"missingRequiredFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"The required fields of this pair's borrower and co-borrower that still have no value.","nullable":true},"ruleErrors":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionRuleError"},"description":"The cross-field rule violations of this pair's borrower and co-borrower.","nullable":true},"status":{"type":"string","description":"Normalized status of this pair's own verification task for the section ('NotStarted', 'InProgress', 'Submitted', 'Completed', 'Accepted'). Set only when pairs are enabled, and only on sections that have one task per pair.","nullable":true},"rawTaskStatusName":{"type":"string","description":"This pair's verification task's raw status name; null when the pair has no task for the section yet.","nullable":true},"taskId":{"type":"string","description":"Id of this pair's verification task for the section, the id sign_off_loan_section takes; null when the pair has no task yet.","format":"uuid","nullable":true}},"additionalProperties":false},"LoanAppMissingField":{"type":"object","properties":{"fieldPath":{"type":"string","description":"Dot-path of the required field that has no value, e.g. 'loanInfo.borrowers[0].currentAddress.zipCode'. Matches the frontend validation key and doubles as the camelCase JSON path into this same response.","nullable":true},"label":{"type":"string","description":"Human-readable label for the field, e.g. 'Co-Borrower Current Address ZIP Code'.","nullable":true},"section":{"type":"string","description":"The wizard section the field is on, e.g. 'About You'.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the field belongs to a specific applicant; null for loan-level fields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the field belongs to; null for loan-level fields.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppSectionRuleError":{"type":"object","properties":{"message":{"type":"string","description":"Cross-field rule violation message, identical to the text the borrower-facing wizard shows (e.g. 'Address history must be at least 2 years', 'Missing March 2024 - May 2024'). Month-coverage rules are evaluated with the server clock, so results near a month boundary can differ by one month from a browser in another timezone.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the rule applies to a specific applicant; null for loan-level rules.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the rule belongs to; null for loan-level rules.","format":"int32","nullable":true}},"additionalProperties":false}}}}
```

## The LoanAppReadinessBlocker object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppReadinessBlocker":{"type":"object","properties":{"kind":{"type":"string","description":"'AlreadySubmitted', 'SectionNotSignedOff', 'MissingFields', 'RequiredTask' or 'InvalidAsset'.","nullable":true},"section":{"type":"string","description":"Wizard section name, for SectionNotSignedOff and MissingFields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) a MissingFields blocker belongs to; null for a loan-level blocker.","format":"int32","nullable":true},"taskCode":{"type":"string","description":"Code of the section's verification task, for SectionNotSignedOff and MissingFields.","nullable":true},"taskId":{"type":"string","description":"The blocking task's id, for SectionNotSignedOff and RequiredTask; null when the section has no task.","format":"uuid","nullable":true},"task":{"type":"string","description":"The blocking task's name, for RequiredTask.","nullable":true},"status":{"type":"string","description":"The blocking task's status: the normalized section status for SectionNotSignedOff, the raw task status name for RequiredTask.","nullable":true},"assetAccountId":{"type":"string","description":"The asset account that cannot be submitted, for InvalidAsset; the message names the asset.","format":"uuid","nullable":true},"missingFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"Required fields with no value, for MissingFields.","nullable":true},"ruleErrors":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionRuleError"},"description":"Cross-field rule violations, for MissingFields.","nullable":true},"message":{"type":"string","description":"Human-readable form of this blocker.","nullable":true}},"additionalProperties":false,"description":"One reason a loan application cannot move forward (a section sign-off or the final submit).\r\nStructured so a client can render it without parsing text; `message` is the\r\nhuman-readable form."},"LoanAppMissingField":{"type":"object","properties":{"fieldPath":{"type":"string","description":"Dot-path of the required field that has no value, e.g. 'loanInfo.borrowers[0].currentAddress.zipCode'. Matches the frontend validation key and doubles as the camelCase JSON path into this same response.","nullable":true},"label":{"type":"string","description":"Human-readable label for the field, e.g. 'Co-Borrower Current Address ZIP Code'.","nullable":true},"section":{"type":"string","description":"The wizard section the field is on, e.g. 'About You'.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the field belongs to a specific applicant; null for loan-level fields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the field belongs to; null for loan-level fields.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppSectionRuleError":{"type":"object","properties":{"message":{"type":"string","description":"Cross-field rule violation message, identical to the text the borrower-facing wizard shows (e.g. 'Address history must be at least 2 years', 'Missing March 2024 - May 2024'). Month-coverage rules are evaluated with the server clock, so results near a month boundary can differ by one month from a browser in another timezone.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the rule applies to a specific applicant; null for loan-level rules.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the rule belongs to; null for loan-level rules.","format":"int32","nullable":true}},"additionalProperties":false}}}}
```

## The LoanAppSectionCompletion object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppSectionCompletion":{"type":"object","properties":{"sectionName":{"type":"string","description":"Wizard section name as shown in the borrower UI sidebar: 'About You', 'Loan & Property', 'Work & Income', 'Assets', 'Liabilities', 'Real Estate', or 'Additional Details'.","nullable":true},"taskCode":{"type":"string","description":"Code of the verification task that tracks this section, e.g. 'LoanAndPropertyVerification'.","nullable":true},"taskName":{"type":"string","description":"Name of the verification task that tracks this section, e.g. 'Loan and Property Verification'.","nullable":true},"status":{"type":"string","description":"Normalized section status as the borrower UI sidebar shows it: 'NotStarted', 'InProgress', 'Submitted', 'Completed', or 'Accepted'. Derived from the verification task status; sections in 'Completed' or 'Accepted' count toward overall loan app completion.","nullable":true},"rawTaskStatusName":{"type":"string","description":"The verification task's raw status name as stored (e.g. 'Uploaded', 'Requested'); null when the loan has no verification task for this section (e.g. loans synced from the LOS that never went through the wizard).","nullable":true},"isValid":{"type":"boolean","description":"True when every required field in this section has a value and no section rule is violated, i.e. the borrower could press 'Complete Section' right now. Always true for Assets and Liabilities, which have no field-level validation here (use the section status for them)."},"fields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppFieldStatus"},"description":"Every wizard field in this section with its per-loan required flag and whether it currently holds a value. Empty for Assets and Liabilities, which have no field-level validation.","nullable":true},"missingRequiredFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"Convenience list: the entries from 'fields' that are required and have no value. Empty when the section's data is complete.","nullable":true},"ruleErrors":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionRuleError"},"description":"Cross-field rule violations in this section (e.g. 2-year address/employment history gaps, loan amount above purchase price). Empty when no rules are violated.","nullable":true},"pairs":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppPairCompletion"},"description":"The same missing fields and rule errors grouped by borrower pair. The flat lists above keep every entry; this adds the grouping. Empty for sections with no per-borrower fields.","nullable":true},"notes":{"type":"array","items":{"type":"string"},"description":"Caveats about how this section's completion is evaluated, when applicable.","nullable":true}},"additionalProperties":false},"LoanAppFieldStatus":{"type":"object","properties":{"path":{"type":"string","description":"Dot-path of the field, e.g. 'loanInfo.borrowers[0].currentAddress.zipCode'. Matches the frontend validation key and doubles as the camelCase JSON path into this same response.","nullable":true},"label":{"type":"string","description":"Human-readable label for the field, e.g. 'Co-Borrower Current Address ZIP Code'.","nullable":true},"required":{"type":"boolean","description":"Whether this field is required for THIS loan, with conditional rules already resolved (e.g. purchase price is not required on a Refinance, dependent ages only when the borrower has dependents). A field that is required and has no value blocks section completion."},"hasValue":{"type":"boolean","description":"Whether the field currently holds an acceptable value. False when empty AND when a value fails its format check (e.g. a malformed SSN or email), matching the wizard's treatment of invalid values as missing. required && !hasValue means the field is blocking section completion."},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the field belongs to a specific applicant; null for loan-level fields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the field belongs to; null for loan-level fields.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppMissingField":{"type":"object","properties":{"fieldPath":{"type":"string","description":"Dot-path of the required field that has no value, e.g. 'loanInfo.borrowers[0].currentAddress.zipCode'. Matches the frontend validation key and doubles as the camelCase JSON path into this same response.","nullable":true},"label":{"type":"string","description":"Human-readable label for the field, e.g. 'Co-Borrower Current Address ZIP Code'.","nullable":true},"section":{"type":"string","description":"The wizard section the field is on, e.g. 'About You'.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the field belongs to a specific applicant; null for loan-level fields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the field belongs to; null for loan-level fields.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppSectionRuleError":{"type":"object","properties":{"message":{"type":"string","description":"Cross-field rule violation message, identical to the text the borrower-facing wizard shows (e.g. 'Address history must be at least 2 years', 'Missing March 2024 - May 2024'). Month-coverage rules are evaluated with the server clock, so results near a month boundary can differ by one month from a browser in another timezone.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the rule applies to a specific applicant; null for loan-level rules.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the rule belongs to; null for loan-level rules.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppPairCompletion":{"type":"object","properties":{"pairIndex":{"type":"integer","description":"The borrower pair's position on the loan; 0 is the primary pair.","format":"int32"},"isValid":{"type":"boolean","description":"True when this pair has no missing required field and no rule error."},"missingRequiredFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"The required fields of this pair's borrower and co-borrower that still have no value.","nullable":true},"ruleErrors":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionRuleError"},"description":"The cross-field rule violations of this pair's borrower and co-borrower.","nullable":true},"status":{"type":"string","description":"Normalized status of this pair's own verification task for the section ('NotStarted', 'InProgress', 'Submitted', 'Completed', 'Accepted'). Set only when pairs are enabled, and only on sections that have one task per pair.","nullable":true},"rawTaskStatusName":{"type":"string","description":"This pair's verification task's raw status name; null when the pair has no task for the section yet.","nullable":true},"taskId":{"type":"string","description":"Id of this pair's verification task for the section, the id sign_off_loan_section takes; null when the pair has no task yet.","format":"uuid","nullable":true}},"additionalProperties":false}}}}
```

## The LoanAppSectionCompletionReport object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppSectionCompletionReport":{"type":"object","properties":{"sections":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionCompletion"},"description":"Per-section completion report for the 7 borrower wizard sections, in sidebar order. Each entry carries the section status plus the required fields that still have no value, mirroring the frontend's section validation exactly.","nullable":true},"missingRequiredFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"Every required field that still has no value, across all sections, in the order the application asks for them (section by section, top to bottom). The first entry is the next field to fill in.","nullable":true},"pairs":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppPairCompletion"},"description":"The missing required fields and rule errors of all sections grouped by borrower pair. missingRequiredFields keeps every entry; this adds the grouping.","nullable":true},"allSectionsComplete":{"type":"boolean","description":"True when every section's status is 'Completed' or 'Accepted' (the agent-side completion bar used for submission)."},"isReadyToSubmit":{"type":"boolean","description":"True when the loan application can be submitted right now: not already submitted, every section signed off, every validated section's required fields answered, and every required borrower task Uploaded/Submitted/Accepted. The server refuses a submit while this is false."},"submitBlockers":{"type":"array","items":{"type":"string"},"description":"Human-readable reasons the loan application cannot be submitted yet. Empty when isReadyToSubmit is true.","nullable":true},"blockers":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppReadinessBlocker"},"description":"The same reasons as submitBlockers, structured: kind, section or task, status, and the missing fields.","nullable":true}},"additionalProperties":false,"description":"How complete the borrower's loan application is, section by section, and whether it can be submitted."},"LoanAppSectionCompletion":{"type":"object","properties":{"sectionName":{"type":"string","description":"Wizard section name as shown in the borrower UI sidebar: 'About You', 'Loan & Property', 'Work & Income', 'Assets', 'Liabilities', 'Real Estate', or 'Additional Details'.","nullable":true},"taskCode":{"type":"string","description":"Code of the verification task that tracks this section, e.g. 'LoanAndPropertyVerification'.","nullable":true},"taskName":{"type":"string","description":"Name of the verification task that tracks this section, e.g. 'Loan and Property Verification'.","nullable":true},"status":{"type":"string","description":"Normalized section status as the borrower UI sidebar shows it: 'NotStarted', 'InProgress', 'Submitted', 'Completed', or 'Accepted'. Derived from the verification task status; sections in 'Completed' or 'Accepted' count toward overall loan app completion.","nullable":true},"rawTaskStatusName":{"type":"string","description":"The verification task's raw status name as stored (e.g. 'Uploaded', 'Requested'); null when the loan has no verification task for this section (e.g. loans synced from the LOS that never went through the wizard).","nullable":true},"isValid":{"type":"boolean","description":"True when every required field in this section has a value and no section rule is violated, i.e. the borrower could press 'Complete Section' right now. Always true for Assets and Liabilities, which have no field-level validation here (use the section status for them)."},"fields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppFieldStatus"},"description":"Every wizard field in this section with its per-loan required flag and whether it currently holds a value. Empty for Assets and Liabilities, which have no field-level validation.","nullable":true},"missingRequiredFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"Convenience list: the entries from 'fields' that are required and have no value. Empty when the section's data is complete.","nullable":true},"ruleErrors":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionRuleError"},"description":"Cross-field rule violations in this section (e.g. 2-year address/employment history gaps, loan amount above purchase price). Empty when no rules are violated.","nullable":true},"pairs":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppPairCompletion"},"description":"The same missing fields and rule errors grouped by borrower pair. The flat lists above keep every entry; this adds the grouping. Empty for sections with no per-borrower fields.","nullable":true},"notes":{"type":"array","items":{"type":"string"},"description":"Caveats about how this section's completion is evaluated, when applicable.","nullable":true}},"additionalProperties":false},"LoanAppFieldStatus":{"type":"object","properties":{"path":{"type":"string","description":"Dot-path of the field, e.g. 'loanInfo.borrowers[0].currentAddress.zipCode'. Matches the frontend validation key and doubles as the camelCase JSON path into this same response.","nullable":true},"label":{"type":"string","description":"Human-readable label for the field, e.g. 'Co-Borrower Current Address ZIP Code'.","nullable":true},"required":{"type":"boolean","description":"Whether this field is required for THIS loan, with conditional rules already resolved (e.g. purchase price is not required on a Refinance, dependent ages only when the borrower has dependents). A field that is required and has no value blocks section completion."},"hasValue":{"type":"boolean","description":"Whether the field currently holds an acceptable value. False when empty AND when a value fails its format check (e.g. a malformed SSN or email), matching the wizard's treatment of invalid values as missing. required && !hasValue means the field is blocking section completion."},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the field belongs to a specific applicant; null for loan-level fields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the field belongs to; null for loan-level fields.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppMissingField":{"type":"object","properties":{"fieldPath":{"type":"string","description":"Dot-path of the required field that has no value, e.g. 'loanInfo.borrowers[0].currentAddress.zipCode'. Matches the frontend validation key and doubles as the camelCase JSON path into this same response.","nullable":true},"label":{"type":"string","description":"Human-readable label for the field, e.g. 'Co-Borrower Current Address ZIP Code'.","nullable":true},"section":{"type":"string","description":"The wizard section the field is on, e.g. 'About You'.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the field belongs to a specific applicant; null for loan-level fields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the field belongs to; null for loan-level fields.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppSectionRuleError":{"type":"object","properties":{"message":{"type":"string","description":"Cross-field rule violation message, identical to the text the borrower-facing wizard shows (e.g. 'Address history must be at least 2 years', 'Missing March 2024 - May 2024'). Month-coverage rules are evaluated with the server clock, so results near a month boundary can differ by one month from a browser in another timezone.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the rule applies to a specific applicant; null for loan-level rules.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the rule belongs to; null for loan-level rules.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppPairCompletion":{"type":"object","properties":{"pairIndex":{"type":"integer","description":"The borrower pair's position on the loan; 0 is the primary pair.","format":"int32"},"isValid":{"type":"boolean","description":"True when this pair has no missing required field and no rule error."},"missingRequiredFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"The required fields of this pair's borrower and co-borrower that still have no value.","nullable":true},"ruleErrors":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionRuleError"},"description":"The cross-field rule violations of this pair's borrower and co-borrower.","nullable":true},"status":{"type":"string","description":"Normalized status of this pair's own verification task for the section ('NotStarted', 'InProgress', 'Submitted', 'Completed', 'Accepted'). Set only when pairs are enabled, and only on sections that have one task per pair.","nullable":true},"rawTaskStatusName":{"type":"string","description":"This pair's verification task's raw status name; null when the pair has no task for the section yet.","nullable":true},"taskId":{"type":"string","description":"Id of this pair's verification task for the section, the id sign_off_loan_section takes; null when the pair has no task yet.","format":"uuid","nullable":true}},"additionalProperties":false},"LoanAppReadinessBlocker":{"type":"object","properties":{"kind":{"type":"string","description":"'AlreadySubmitted', 'SectionNotSignedOff', 'MissingFields', 'RequiredTask' or 'InvalidAsset'.","nullable":true},"section":{"type":"string","description":"Wizard section name, for SectionNotSignedOff and MissingFields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) a MissingFields blocker belongs to; null for a loan-level blocker.","format":"int32","nullable":true},"taskCode":{"type":"string","description":"Code of the section's verification task, for SectionNotSignedOff and MissingFields.","nullable":true},"taskId":{"type":"string","description":"The blocking task's id, for SectionNotSignedOff and RequiredTask; null when the section has no task.","format":"uuid","nullable":true},"task":{"type":"string","description":"The blocking task's name, for RequiredTask.","nullable":true},"status":{"type":"string","description":"The blocking task's status: the normalized section status for SectionNotSignedOff, the raw task status name for RequiredTask.","nullable":true},"assetAccountId":{"type":"string","description":"The asset account that cannot be submitted, for InvalidAsset; the message names the asset.","format":"uuid","nullable":true},"missingFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"Required fields with no value, for MissingFields.","nullable":true},"ruleErrors":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionRuleError"},"description":"Cross-field rule violations, for MissingFields.","nullable":true},"message":{"type":"string","description":"Human-readable form of this blocker.","nullable":true}},"additionalProperties":false,"description":"One reason a loan application cannot move forward (a section sign-off or the final submit).\r\nStructured so a client can render it without parsing text; `message` is the\r\nhuman-readable form."}}}}
```

## The LoanAppSectionRuleError object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppSectionRuleError":{"type":"object","properties":{"message":{"type":"string","description":"Cross-field rule violation message, identical to the text the borrower-facing wizard shows (e.g. 'Address history must be at least 2 years', 'Missing March 2024 - May 2024'). Month-coverage rules are evaluated with the server clock, so results near a month boundary can differ by one month from a browser in another timezone.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the rule applies to a specific applicant; null for loan-level rules.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the rule belongs to; null for loan-level rules.","format":"int32","nullable":true}},"additionalProperties":false}}}}
```

## The LoanAppUser object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppUser":{"type":"object","properties":{"id":{"type":"string","description":"Id of the user (GUID).","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true}},"additionalProperties":false,"description":"A user, such as the staff member a task is assigned to."}}}}
```

## The LoanApplication object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanApplication":{"type":"object","properties":{"id":{"type":"string","description":"Id of the loan application (GUID), as used in loan-applications/{id} paths. The LOS loan id is loanInfo.loanId.","format":"uuid"},"loanInfo":{"$ref":"#/components/schemas/LoanInfo"},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplicationTaskItem"},"description":"The loan's tasks and conditions.","nullable":true},"taskSummaries":{"type":"array","items":{"$ref":"#/components/schemas/TaskSummary"},"description":"Counts of the loan's tasks by status, split into user tasks and borrower tasks.","nullable":true},"loanTimeline":{"$ref":"#/components/schemas/LoanTimeline"},"isDeleted":{"type":"boolean","description":"True when the loan application has been deleted."},"createdTimestampUtc":{"type":"string","description":"When the loan application was created (ISO 8601 date and time, UTC).","format":"date-time"},"updatedTimestampUtc":{"type":"string","description":"When the loan application was last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedBy":{"type":"string","description":"Id (GUID) of the user who last changed the loan application.","format":"uuid","nullable":true},"isClientPortalHidden":{"type":"boolean","description":"True when the borrower's company does not use the borrower portal. False when that cannot be determined. Computed on read, never stored."},"isLosLead":{"type":"boolean","description":"True while the loan has a loan number but its application has not been submitted yet (its file was opened early, as a lead). False otherwise: a loan number then means the application was submitted."},"isSandbox":{"type":"boolean","description":"True when the loan is a sandbox, a copy made to try changes on. False on every ordinary loan. Read-only."},"sourceLoanApplicationId":{"type":"string","description":"For a sandbox, the id of the loan it was copied from. Null on every other loan.","format":"uuid","nullable":true},"sandboxSourceLoanNumber":{"type":"string","description":"For a sandbox, the LOS loan number of the loan it was copied from. Null on every other loan.","nullable":true}},"additionalProperties":false,"description":"A loan application: its loan details, tasks and conditions, and timeline."},"LoanInfo":{"type":"object","properties":{"loanId":{"type":"string","description":"The loan's id in the LOS (the same value as the loan's externalId). Null for a loan not in the LOS yet.","nullable":true},"loanNumber":{"type":"string","description":"The loan number the LOS assigned, shown to people.","nullable":true},"sourceLoanNumber":{"type":"string","description":"The loan number the originating system gave this loan, from an imported MISMO file. Never Henge's own loan number (loanNumber).","nullable":true},"loanAmount":{"type":"number","description":"Base loan amount, in dollars, before any financed mortgage insurance premium or funding fee.","format":"double","nullable":true},"loanType":{"$ref":"#/components/schemas/FieldType"},"mortgageLoanType":{"type":"string","description":"Raw product-class code of the loan, a number as text. It is not the loan type (loanType). Code 0 means government or unspecified.","nullable":true},"purpose":{"$ref":"#/components/schemas/FieldType"},"lienPosition":{"$ref":"#/components/schemas/FieldType"},"loanStatus":{"$ref":"#/components/schemas/FieldType"},"propertyType":{"$ref":"#/components/schemas/FieldType"},"loanStatusDate":{"type":"string","description":"When the loan reached its current status (ISO 8601 date and time).","format":"date-time","nullable":true},"appraisalValue":{"type":"number","description":"Appraised value of the subject property, in dollars.","format":"double","nullable":true},"purchasePrice":{"type":"number","description":"Purchase price of the subject property, in dollars. Purchase loans only.","format":"double","nullable":true},"subjectPropertyAddress":{"$ref":"#/components/schemas/SubjectPropertyAddress"},"occupancy":{"$ref":"#/components/schemas/FieldType"},"mannerOfTitle":{"type":"string","description":"How title will be held, as entered (free text). finalVesting is the newer field.","nullable":true},"refinance":{"$ref":"#/components/schemas/RefinanceInfo"},"assignments":{"$ref":"#/components/schemas/Assignments"},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/PosBorrower"},"description":"The loan's borrowers. A co-borrower is nested inside the borrower it is paired with, in coBorrower.","nullable":true},"proposedHousingExpense":{"$ref":"#/components/schemas/ProposedHousingExpense"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomField"},"description":"Custom fields configured on the loan, with their values.","nullable":true},"closingDate":{"type":"string","description":"Scheduled closing date (ISO 8601 date and time).","format":"date-time","nullable":true},"estimatedCompensation":{"type":"number","description":"Estimated originator compensation for the loan, in dollars.","format":"double","nullable":true},"lockedCompensation":{"type":"number","description":"Originator compensation fixed by the rate lock, in dollars.","format":"double","nullable":true},"lockStatus":{"type":"string","description":"Rate lock status as the LOS names it, for example Not Locked or Locked.","nullable":true},"confirmedLockPeriod":{"type":"string","description":"Length of the confirmed rate lock, in days, as text.","nullable":true},"downPayment":{"type":"number","description":"Down payment, in dollars.","format":"double","nullable":true},"downPaymentPercentage":{"type":"number","description":"Down payment as a percent of the purchase price, for example 20.","format":"double","nullable":true},"downPaymentSources":{"type":"array","items":{"$ref":"#/components/schemas/DownPaymentSource"},"description":"Where the down payment comes from.","nullable":true},"mortgageInsurance":{"type":"number","description":"Mortgage insurance amount, in dollars.","format":"double","nullable":true},"annualIncome":{"type":"number","description":"The borrower's total annual income, in dollars.","format":"double","nullable":true},"hasAssetsForDownPayment":{"type":"boolean","description":"True when the borrower has assets to cover the down payment."},"hoaAmount":{"type":"number","description":"Homeowners association dues, in dollars.","format":"double","nullable":true},"noteRate":{"type":"number","description":"Note rate as a percent, for example 6.875.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, as a percent, for example 7.012.","format":"double","nullable":true},"ltvRatios":{"$ref":"#/components/schemas/LtvRatios"},"numberOfUnits":{"type":"integer","description":"Number of units in the subject property.","format":"int32","nullable":true},"qualification":{"$ref":"#/components/schemas/Qualification"},"loanTerm":{"type":"integer","description":"Loan term, in months.","format":"int32","nullable":true},"loanProgram":{"type":"string","description":"Name of the loan program the loan is in.","nullable":true},"lockExpirationDate":{"type":"string","description":"Date the rate lock expires (ISO 8601 date).","format":"date","nullable":true},"amortizationType":{"$ref":"#/components/schemas/FieldType"},"isTestFile":{"type":"boolean","description":"True for a test loan: one created from a non-production environment or by a test user."},"isDscrLoan":{"type":"boolean","description":"True for a debt service coverage ratio (DSCR) loan, qualified on the property's rental income rather than the borrower's income."},"subjectPropertyRentalIncome":{"$ref":"#/components/schemas/SubjectPropertyRentalIncome"},"loanLevelCredit":{"$ref":"#/components/schemas/LoanLevelCredit"},"credit":{"$ref":"#/components/schemas/LoanCredit"},"escrowWaiver":{"type":"boolean","description":"True when the borrower waives escrow of taxes and insurance. Null when not set.","nullable":true},"totalLoanAmount":{"type":"number","description":"Loan amount in dollars including any financed upfront mortgage insurance premium or funding fee, labelled Total Loan Amt in the LOS. loanAmount is the base amount before that financing, so the two differ on FHA, VA and USDA loans and agree on conventional ones. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"investorLockProjectedProfit":{"type":"number","description":"Projected profit on the investor lock, in dollars; negative for a loss. Read-only.","format":"double","nullable":true},"branchChannel":{"$ref":"#/components/schemas/FieldType"},"financedUpfrontMipOrFundingFee":{"type":"number","description":"The upfront mortgage insurance premium or funding fee rolled into the loan amount, in dollars. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"maturityTermInMonths":{"type":"integer","description":"Term in months at which the balance comes due. Equals loanTerm on a fully amortising loan and is shorter on a balloon.","format":"int32","nullable":true},"loanTypeOtherDescription":{"type":"string","description":"Free text describing the loan type when loanType is Other.","nullable":true},"armDescription":{"type":"string","description":"Description of the adjustable rate, for example 5/1 ARM. Empty on fixed-rate loans.","nullable":true},"printAmortizationTypeAsOther":{"type":"boolean","description":"True to print the amortization type as Other on the loan application form.","nullable":true},"amortizationTypeOtherDescription":{"type":"string","description":"The text printed as the amortization type when printAmortizationTypeAsOther is set.","nullable":true},"urlaLoanPurposeCode":{"type":"string","description":"Raw code for the loan purpose as stated on the 2019 loan application form (URLA). It is not purpose: the form keeps a three-way Purchase, Refinance or Other answer apart from the finer-grained purpose list, and the two can disagree.","nullable":true},"urlaLoanPurposeName":{"type":"string","description":"urlaLoanPurposeCode decoded, for example Purchase or Refinance. Null for a code not recognized. Read only.","nullable":true},"urlaLoanPurposeOtherDescription":{"type":"string","description":"Free text when the form's loan purpose is Other.","nullable":true},"isRenovationLoan":{"type":"boolean","description":"True when the loan finances renovation work, for example a HomeStyle or FHA 203(k) loan.","nullable":true},"isLineOfCredit":{"type":"boolean","description":"True when the loan is a line of credit rather than a closed-end mortgage.","nullable":true},"isNewConstruction":{"type":"boolean","description":"True when the subject property is new construction.","nullable":true},"isEmployeeLoan":{"type":"boolean","description":"True when the borrower is an employee of the lender.","nullable":true},"isOptionArm":{"type":"boolean","description":"True when the loan is a payment-option adjustable rate mortgage.","nullable":true},"optionArmTeaserRate":{"type":"number","description":"The introductory rate on a payment-option ARM, as a percent.","format":"double","nullable":true},"higherPricedMortgageTypeCode":{"type":"string","description":"Raw code for the higher-priced or high-cost classification, for example None. Can be overridden; lock it with fieldLocks or the LOS recomputes it from the APR test.","nullable":true},"higherPricedMortgageTypeName":{"type":"string","description":"higherPricedMortgageTypeCode decoded, for example None or HPML. Null for a code not recognized. Read only.","nullable":true},"leadSource":{"type":"string","description":"Where the lead came from.","nullable":true},"totalMonthlyLiabilities":{"type":"number","description":"Total monthly liability payments across all borrowers, in dollars, which the LOS divides into income for the back-end ratio. Calculated by the LOS; a write is ignored. Summing the borrowers' liability amounts does not reproduce it, because the LOS leaves out liabilities marked paid off or omitted.","format":"double","nullable":true},"presentHousingExpense":{"type":"number","description":"The borrower's present total monthly housing expense, in dollars: the baseline the payment shock is measured against. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"paymentShock":{"$ref":"#/components/schemas/PaymentShock"},"fieldLocks":{"$ref":"#/components/schemas/LoanFieldLocks"},"trusts":{"type":"array","items":{"$ref":"#/components/schemas/LoanTrust"},"description":"Trusts that will hold title, at most two. Depending on your company's setup they are read from and written to the LOS, or kept in Henge only.","nullable":true},"titleHeldInTrust":{"type":"boolean","description":"Will title be held in a trust: true yes, false no, null not answered. Not sent to the LOS.","nullable":true},"finalVesting":{"type":"string","description":"The final vesting statement as it will read on title. Depending on your company's setup it is read from and written to the LOS, or kept in Henge only.","nullable":true},"aus":{"$ref":"#/components/schemas/LoanAusResult"},"rateLock":{"$ref":"#/components/schemas/LoanRateLock"},"temporaryBuydown":{"$ref":"#/components/schemas/LoanTemporaryBuydown"}},"additionalProperties":false,"description":"The loan's terms and figures: amount, type, purpose, property, borrowers, rate, lock, housing expense and qualification."},"FieldType":{"type":"object","properties":{"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A value chosen from a list in the LOS, with its code and display name. Also the base of records that carry an LOS id."},"SubjectPropertyAddress":{"type":"object","properties":{"propertyId":{"type":"string","description":"Identifier (GUID) of the property this address belongs to.","format":"uuid","nullable":true},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"The address of the loan's subject property."},"RefinanceInfo":{"type":"object","properties":{"cashOutAmount":{"type":"number","description":"Cash the borrower takes out, in dollars.","format":"double","nullable":true},"purpose":{"$ref":"#/components/schemas/FieldType"},"purposeOtherDescription":{"type":"string","description":"Free-text refinance purpose when the purpose is Other.","nullable":true}},"additionalProperties":false,"description":"Details that apply to a refinance loan."},"Assignments":{"type":"object","properties":{"loanOfficer":{"$ref":"#/components/schemas/Contact"},"loanAssistant":{"$ref":"#/components/schemas/Contact"},"loanProcessor":{"$ref":"#/components/schemas/Contact"},"referredBy":{"$ref":"#/components/schemas/Contact"}},"additionalProperties":false,"description":"The people working a loan: its loan officer, assistant, processor and the referring contact. Each is null when none is assigned."},"Contact":{"type":"object","properties":{"id":{"type":"string","description":"Id of the contact (GUID).","format":"uuid","nullable":true},"email":{"type":"string","description":"Email address.","nullable":true},"firstName":{"type":"string","description":"First name.","nullable":true},"lastName":{"type":"string","description":"Last name.","nullable":true},"agentName":{"type":"string","description":"Full name of the agent.","nullable":true},"roleName":{"type":"string","description":"Display name of the contact's role.","nullable":true},"agentNMLS":{"type":"string","description":"The agent's NMLS id.","nullable":true},"role":{"$ref":"#/components/schemas/ContactRole"},"phone":{"type":"string","description":"Phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"companyPhone":{"type":"string","description":"The agent's company phone number.","nullable":true},"zip":{"type":"string","description":"ZIP or postal code.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"street":{"type":"string","description":"Street address.","nullable":true},"companyNMLS":{"type":"string","description":"The agent's company NMLS id.","nullable":true}},"additionalProperties":false,"description":"A person on or tied to a loan, such as the referring agent."},"ContactRole":{"enum":["Other","Appraiser","Escrow","CreditReport","Title","MortgageInsurance","ListingAgent","SellingAgent","Builder","Underwriter","Investor","Servicing","BuyerAttorney","SellerAttorney","HomeOwnerInsurance","HazardInsurance","MarketingLead","Seller","Surveyor","LoanOfficer","Bank","Lender","Processor","CallCenterAgent","LoanOpener","Manager","Broker","BrokerRep","ECOA","Realtor","Mortgagee","HomeOwnerAssociation","BuyerAgent","ClosingAgent","FairHousingLending","HomeInspection","FloodProvider","CreditReportAgency2","CreditReportAgency3","Shipper","BrokerProcessor","Trustee","Funder","PostCloser","Insuring","CollateralAgent","DocDrawer","PropertyManagement","TitleUnderwriter","CreditAuditor","DisclosureDesk","JuniorProcessor","JuniorUnderwriter","LegalAuditor","LoanOfficerAssistant","Purchaser","QCCompliance","Secondary","PestInspection","Subservicer","ExternalSecondary","ExternalPostCloser","LoanPurchasePayee","AppraisalManagementCompany","Referral","Notary","TaxServicer","SupervisoryAppraiser","Attorney","PropertyInspector","CPATaxPreparer","LockDesk","MortgageServiceOrganization","Verifications","TaxCollector","TaxTranscripts"],"type":"string","description":"The role a contact plays on a loan. Each value names that role: Other (anything not listed), Appraiser, Escrow, CreditReport (credit agency), Title, MortgageInsurance, ListingAgent, SellingAgent, Builder, Underwriter, Investor, Servicing, BuyerAttorney, SellerAttorney, HomeOwnerInsurance (obsolete; use HazardInsurance), HazardInsurance (homeowner's insurance), MarketingLead, Seller, Surveyor, LoanOfficer, Bank, Lender, Processor, CallCenterAgent, LoanOpener, Manager, Broker, BrokerRep, ECOA, Realtor, Mortgagee, HomeOwnerAssociation, BuyerAgent, ClosingAgent, FairHousingLending, HomeInspection, FloodProvider, CreditReportAgency2, CreditReportAgency3, Shipper, BrokerProcessor (external processor), Trustee, Funder, PostCloser, Insuring, CollateralAgent, DocDrawer, PropertyManagement, TitleUnderwriter, CreditAuditor, DisclosureDesk, JuniorProcessor, JuniorUnderwriter, LegalAuditor, LoanOfficerAssistant, Purchaser, QCCompliance, Secondary, PestInspection, Subservicer, ExternalSecondary, ExternalPostCloser, LoanPurchasePayee, AppraisalManagementCompany, Referral, Notary, TaxServicer, SupervisoryAppraiser, Attorney, PropertyInspector, CPATaxPreparer, LockDesk, MortgageServiceOrganization, Verifications, TaxCollector and TaxTranscripts."},"PosBorrower":{"type":"object","properties":{"hdBorrowerId":{"type":"string","description":"Id of the borrower on this loan (GUID). Other endpoints take it as ownerBorrowerIds.","format":"uuid","nullable":true},"clientId":{"type":"string","description":"Id of the borrower's client record (GUID).","format":"uuid","nullable":true},"externalId":{"type":"string","description":"The borrower's (consumer) id in the LOS.","nullable":true},"externalLabel":{"type":"string","description":"A display label kept by Henge. Not sent to the LOS.","nullable":true},"externalApplicationId":{"type":"string","description":"Id of the LOS application (borrower pair) this person is on, used to match the person to the right pair in the LOS. A co-borrower carries its pair's. Null until the LOS has reported it.","nullable":true},"externalLegacyApplicationId":{"type":"string","description":"Id of the borrower pair's older-style application record in the LOS, kept for LOS writes. Null when it has not been read yet.","nullable":true},"firstName":{"type":"string","description":"Borrower's legal first name, as on their ID; sent to the LOS.","nullable":true},"lastName":{"type":"string","description":"Borrower's legal last name, as on their ID; sent to the LOS.","nullable":true},"middleName":{"type":"string","description":"Borrower's middle name or initial.","nullable":true},"suffixName":{"type":"string","description":"Name suffix, for example Jr, Sr or III.","nullable":true},"contacts":{"$ref":"#/components/schemas/Contacts"},"maritalStatus":{"$ref":"#/components/schemas/FieldType"},"citizenship":{"$ref":"#/components/schemas/FieldType"},"birthDate":{"type":"string","description":"Date of birth (ISO 8601 date).","nullable":true},"language":{"$ref":"#/components/schemas/Language"},"isMilitary":{"type":"boolean","description":"True when the borrower serves or has served in the military.","nullable":true},"currentAddress":{"$ref":"#/components/schemas/Residence"},"mailingAddress":{"$ref":"#/components/schemas/MailingAddress"},"previousAddresses":{"type":"array","items":{"$ref":"#/components/schemas/Residence"},"description":"Earlier residences, listed when the borrower has lived at the current address for a short time.","nullable":true},"ownedProperties":{"type":"array","items":{"$ref":"#/components/schemas/OwnedProperty"},"description":"Real estate the borrower owns.","nullable":true},"declaration":{"$ref":"#/components/schemas/Declaration"},"demographics":{"$ref":"#/components/schemas/Demographics"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/Employment"},"description":"The borrower's employers, current and previous.","nullable":true},"otherIncomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"},"description":"Income that does not come from an employer, such as Social Security or rental income.","nullable":true},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/PosLiability"},"description":"The borrower's debts.","nullable":true},"veteranDetail":{"$ref":"#/components/schemas/VeteranDetail"},"creditScores":{"type":"array","items":{"$ref":"#/components/schemas/PosCreditScore"},"description":"Credit scores on the borrower's file.","nullable":true},"hmdaApplicantCreditScore":{"$ref":"#/components/schemas/HmdaApplicantCreditScore"},"creditAuthorizationDate":{"type":"string","description":"Date the borrower authorized a credit check (ISO 8601 date). Null when they have not.","nullable":true},"isBeta":{"type":"boolean","description":"True when the borrower's account is flagged for beta features of the borrower app.","nullable":true},"fico":{"type":"integer","description":"The borrower's FICO score on file, as a whole number. Null when not set.","format":"int32","nullable":true},"softCreditExternalId":{"type":"string","description":"Id of the soft credit check recorded for the borrower in the LOS. Null when none.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower of the pair."},"borrowerType":{"type":"string","description":"The borrower's role on the loan, as a code, for example Borrower or CoSigner.","nullable":true},"assets":{"type":"array","items":{"$ref":"#/components/schemas/PosAsset"},"description":"The assets the borrower reports.","nullable":true},"numberOfDependents":{"type":"integer","description":"Number of people who depend on the borrower for support.","format":"int32","nullable":true},"dependentAges":{"type":"string","description":"Ages of the borrower's dependents, as entered (free text).","nullable":true},"ssn":{"type":"string","description":"Social Security number, digits only (dashes are removed when you send it). Sensitive: only some callers receive it.","nullable":true},"encryptedSsn":{"type":"string","description":"The Social Security number in encrypted form, for passing between Henge services. Do not rely on its format.","nullable":true},"pairId":{"type":"string","description":"The borrower pair this borrower is on. Set by the server; a co-borrower carries its pair's.","format":"uuid","nullable":true},"pairIndex":{"type":"integer","description":"The pair's position on the loan, 0 to 3; 0 is the primary pair.","format":"int32"},"vestingType":{"$ref":"#/components/schemas/BorrowerVestingType"},"coBorrower":{"allOf":[{"$ref":"#/components/schemas/PosBorrower"}],"description":"The co-borrower this borrower is paired with, in the same shape."}},"additionalProperties":false,"description":"A borrower on the loan: identity, contact details, addresses, employment, income, assets, liabilities, credit and declarations. A co-borrower is nested in coBorrower."},"Contacts":{"type":"object","properties":{"email":{"type":"string","description":"Email address.","nullable":true},"homePhone":{"type":"string","description":"Home phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"workPhone":{"type":"string","description":"Work phone number.","nullable":true}},"additionalProperties":false,"description":"How to reach a borrower."},"Language":{"type":"object","properties":{"code":{"type":"string","description":"Language code.","nullable":true},"otherDescription":{"type":"string","description":"Free-text language name when the code is Other.","nullable":true},"refuseToAnswer":{"type":"boolean","description":"True when the borrower chose not to answer."}},"additionalProperties":false,"description":"The language the borrower prefers."},"Residence":{"type":"object","properties":{"residencyDurationInMonths":{"type":"integer","description":"Months the borrower has lived at this address.","format":"int32","nullable":true},"residencyType":{"type":"string","description":"Whether the borrower owns, rents or lives rent-free at the address, as the LOS names it.","nullable":true},"monthlyRent":{"type":"number","description":"Monthly rent, in dollars.","format":"double","nullable":true},"startDate":{"type":"string","description":"Date the borrower moved in (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower moved out (ISO 8601 date). Empty for the current address.","nullable":true},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A place the borrower lives or has lived, with how long and what they pay."},"MailingAddress":{"type":"object","properties":{"isTheSameAsCurrentAddress":{"type":"boolean","description":"True when the mailing address is the borrower's current residence."},"isTheSameAsSubjectPropertyAddress":{"type":"boolean","description":"True when the mailing address is the subject property."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A borrower's mailing address, which can be flagged as the same as their current or subject property address."},"OwnedProperty":{"type":"object","properties":{"externalLabel":{"type":"string","description":"A display label kept by Henge. Not sent to the LOS.","nullable":true},"dispositionStatus":{"$ref":"#/components/schemas/FieldType"},"occupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancyOtherDescription":{"type":"string","description":"Free-text description when intendedOccupancy is Other.","nullable":true},"marketValue":{"type":"number","description":"Market value of the property, in dollars.","format":"double","nullable":true},"monthlyRentalGross":{"type":"number","description":"Gross monthly rental income from the property, in dollars.","format":"double"},"maintenanceExpense":{"type":"number","description":"Maintenance expense for the property, in dollars.","format":"double","nullable":true},"monthlyRentalNet":{"type":"number","description":"Monthly rental income net of the property's expenses, in dollars.","format":"double","nullable":true},"lienBalance":{"type":"number","description":"Unpaid balance of the liens on the property, in dollars, as entered.","format":"double","nullable":true},"lienMonthlyPayment":{"type":"number","description":"Monthly payment on the liens on the property, in dollars, as entered.","format":"double","nullable":true},"isSubject":{"type":"boolean","description":"True when this is the subject property of the loan."},"isCurrent":{"type":"boolean","description":"True when this is the borrower's current residence."},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/PosLiability"},"description":"The mortgages tied to this property. Null or empty when none.","nullable":true},"liability":{"$ref":"#/components/schemas/PosLiability"},"tieId":{"type":"string","description":"What to send as a liability's securedPropertyId to tie it to this property: the LOS id, or the address before the loan is in the LOS. Recomputed on every read.","nullable":true},"securingLiabilityIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids (GUIDs) of the stored liabilities tied to this property. Recomputed on every read; a save does not set it.","nullable":true},"derivedLienBalance":{"type":"number","description":"Sum of the tied liabilities' balances, in dollars; null when no liability is tied. lienBalance stays what was entered.","format":"double","nullable":true},"derivedLienMonthlyPayment":{"type":"number","description":"Sum of the tied liabilities' monthly payments, in dollars; null when no liability is tied or none has a payment.","format":"double","nullable":true},"hasLienDifference":{"type":"boolean","description":"True when an entered lien figure disagrees with the tied liabilities. It is reported, never corrected."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A property the borrower owns (real estate owned): where it is, how it is used, its value and rent, and the mortgages tied to it."},"PosLiability":{"type":"object","properties":{"amount":{"type":"number","description":"Unpaid balance, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Monthly payment, in dollars.","format":"double","nullable":true},"remainingMonths":{"type":"integer","description":"Months left on the debt. Null when the file does not say.","format":"int32","nullable":true},"isPaidOffAtClosing":{"type":"boolean","description":"True when the debt will be paid off at closing. Null leaves the LOS's value alone.","nullable":true},"isExcludedFromRatios":{"type":"boolean","description":"True when the payment is left out of the debt-to-income ratios. Null leaves the LOS's value alone.","nullable":true},"accountNumber":{"type":"string","description":"Account number of the debt, as reported.","nullable":true},"isExpense":{"type":"boolean","description":"True when the row is an expense rather than a debt, for example in an export."},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"borrowerExternalId":{"$ref":"#/components/schemas/BorrowerExternalId"},"borrowerExternalIds":{"type":"array","items":{"$ref":"#/components/schemas/BorrowerExternalId"},"description":"Every borrower who owns the debt. When empty, the borrower in borrowerExternalId owns it.","nullable":true},"cosmosDbLiabilityId":{"type":"string","description":"Id (GUID) of the matching liability on the loan, which links this entry to the liabilities endpoints.","format":"uuid"},"creditorName":{"type":"string","description":"Name of the creditor or lender.","nullable":true},"description":{"type":"string","description":"Free-text description of the debt.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A debt listed on the loan application."},"BorrowerExternalId":{"type":"object","properties":{"externalId":{"type":"string","description":"The borrower's id in the LOS.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower."}},"additionalProperties":false,"description":"Identifies a borrower (consumer) in the LOS."},"Declaration":{"type":"object","properties":{"hasIntentToOccupy":{"type":"boolean","description":"Borrower intends to occupy the subject property as their primary residence."},"isHomeownerPastThreeYears":{"type":"boolean","description":"Borrower has owned a home in the past three years."},"priorPropertyUsage":{"$ref":"#/components/schemas/FieldType"},"priorPropertyTitle":{"$ref":"#/components/schemas/FieldType"},"isBuyerSellerSpecialRelationship":{"type":"boolean","description":"Borrower has a family or business relationship with the seller of the subject property."},"hasUndisclosedBorrowedFunds":{"type":"boolean","description":"Borrower is borrowing money for this transaction (for example the down payment) that is not disclosed elsewhere in the application."},"undisclosedBorrowedFundsAmount":{"type":"number","description":"Amount of that borrowed money, in dollars.","format":"double","nullable":true},"hasUndisclosedCreditApplication":{"type":"boolean","description":"Borrower has applied, or will apply before closing, for other credit that is not disclosed."},"hasUndisclosedMortgageApplication":{"type":"boolean","description":"Borrower has applied for another mortgage on a property that is not disclosed."},"hasCleanEnergyLien":{"type":"boolean","description":"The subject property is subject to a lien that takes priority, such as a clean energy lien."},"isUndisclosedComakerOfNote":{"type":"boolean","description":"Borrower is a co-maker or endorser on a note whose debt is not disclosed."},"hasOutstandingJudgements":{"type":"boolean","description":"Borrower has outstanding judgments against them."},"isDelinquent":{"type":"boolean","description":"Borrower is delinquent or in default on a federal debt or loan."},"isPartyToLawsuit":{"type":"boolean","description":"Borrower is a party to a lawsuit."},"hasDeedInLieu":{"type":"boolean","description":"Borrower has transferred title to a property in lieu of foreclosure in the past seven years."},"hasShortSale":{"type":"boolean","description":"Borrower has completed a pre-foreclosure sale or short sale in the past seven years."},"hasForeclosure":{"type":"boolean","description":"Borrower has had a property foreclosed upon in the past seven years."},"hasBankruptcy":{"type":"boolean","description":"Borrower has declared bankruptcy in the past seven years."},"bankruptcyTypes":{"type":"array","items":{"type":"string"},"description":"The type (chapter) of each bankruptcy declared, when hasBankruptcy is true.","nullable":true},"hasHousingCounselingConsent":{"type":"boolean","description":"Housing counseling consent recorded for the borrower."}},"additionalProperties":false,"description":"A borrower's answers to the declarations on the loan application (Section 5 of the URLA)."},"Demographics":{"type":"object","properties":{"ethnicity":{"$ref":"#/components/schemas/Ethnicity"},"gender":{"$ref":"#/components/schemas/FieldType"},"races":{"type":"array","items":{"$ref":"#/components/schemas/Race"},"description":"The races the borrower reported.","nullable":true},"hasRefusedToDiscloseRace":{"type":"boolean","description":"True when the borrower chose not to provide their race."},"hasRefusedToDiscloseGender":{"type":"boolean","description":"True when the borrower chose not to provide their gender."},"hasRefusedToDiscloseEthnicity":{"type":"boolean","description":"True when the borrower chose not to provide their ethnicity."},"applicationTaken":{"$ref":"#/components/schemas/FieldType"},"isRaceBasedOnVisualOrSurname":{"type":"boolean","description":"True when the race was recorded from visual observation or surname rather than provided by the borrower."},"isGenderBasedOnVisualOrSurname":{"type":"boolean","description":"True when the gender was recorded from visual observation or surname rather than provided by the borrower."},"isEthnicityBasedOnVisualOrSurname":{"type":"boolean","description":"True when the ethnicity was recorded from visual observation or surname rather than provided by the borrower."}},"additionalProperties":false,"description":"The government monitoring (HMDA) information a borrower provided or declined to provide: ethnicity, race and gender."},"Ethnicity":{"type":"object","properties":{"origins":{"type":"array","items":{"$ref":"#/components/schemas/EthnicityOrigin"},"description":"The origins the borrower selected, for example Mexican or Puerto Rican.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"The borrower's ethnicity (HMDA), with the origins they selected."},"EthnicityOrigin":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text origin the borrower gave when the origin is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One ethnicity origin the borrower selected."},"Race":{"type":"object","properties":{"raceDesignations":{"type":"array","items":{"$ref":"#/components/schemas/RaceDesignation"},"description":"The designations the borrower selected within this race, for example Asian Indian or Chinese.","nullable":true},"additionalDescription":{"type":"string","description":"Free-text detail the borrower gave about this race.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A race the borrower reported (HMDA), with the designations they selected."},"RaceDesignation":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text designation the borrower gave when the designation is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One race designation the borrower selected."},"Employment":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the employment record in the LOS.","nullable":true},"isCurrent":{"type":"boolean","description":"True for a current job, false for a previous one."},"isSelfEmployed":{"type":"boolean","description":"True when the borrower is self-employed in this job."},"ownershipShare":{"$ref":"#/components/schemas/FieldType"},"isPrimary":{"type":"boolean","description":"True for the borrower's primary employment. Null when not stated.","nullable":true},"name":{"type":"string","description":"Name of the employer.","nullable":true},"position":{"type":"string","description":"The borrower's job title.","nullable":true},"address":{"$ref":"#/components/schemas/PosAddress"},"startDate":{"type":"string","description":"Date the borrower started this job (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower left this job (ISO 8601 date). Empty for a current job.","nullable":true},"professionStartDate":{"type":"string","description":"Date the borrower started working in this line of work (ISO 8601 date).","nullable":true},"lineOfWorkInMonths":{"type":"integer","description":"Months the borrower has worked in this line of work.","format":"int32","nullable":true},"businessPhone":{"type":"string","description":"The employer's phone number.","nullable":true},"email":{"type":"string","description":"Work email address for this employment.","nullable":true},"monthlyIncomeAmount":{"type":"number","description":"Total monthly income from this employment, in dollars.","format":"double","nullable":true},"incomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"},"description":"The income components from this employment, such as base pay, overtime or bonus.","nullable":true}},"additionalProperties":false,"description":"One job the borrower holds or has held, with the income it pays."},"PosAddress":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A postal address."},"Income":{"type":"object","properties":{"amount":{"type":"number","description":"Income amount, in dollars per month.","format":"double"},"otherDescription":{"type":"string","description":"Free-text description when the income type is Other.","nullable":true},"isAssociatedWithEmployment":{"type":"boolean","description":"True when the income belongs to an employment, such as overtime or bonus, rather than standing alone."},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One income amount, either tied to an employment or standing alone."},"VeteranDetail":{"type":"object","properties":{"isVeteran":{"type":"boolean","description":"True when the borrower is a veteran."},"activeDuty":{"type":"boolean","description":"True when the borrower is currently on active duty."},"activeDutyExpirationDate":{"type":"string","description":"Date the borrower's current active duty ends (ISO 8601 date).","nullable":true},"retiredDischargedOrSeparated":{"type":"boolean","description":"True when the borrower has retired, been discharged or separated from service."},"reserveNationalGuardNeverActivated":{"type":"boolean","description":"True when the borrower is in the Reserves or National Guard and has never been activated."},"isSurvivingSpouseOfVeteran":{"type":"boolean","description":"True when the borrower is the surviving spouse of a veteran."},"serviceType":{"$ref":"#/components/schemas/FieldType"}},"additionalProperties":false,"description":"A borrower's military service details, relevant to VA loans."},"PosCreditScore":{"type":"object","properties":{"source":{"type":"string","description":"Where the score came from, such as the credit agency that reported it.","nullable":true},"score":{"type":"string","description":"The score value, as text.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"Why there is no usable score, when there is none: NotApplicable, NoScore, ThinFile or Other.","nullable":true},"isBrokerEntered":{"type":"boolean","description":"True when a broker typed the score in rather than it being read from a credit agency. A broker-entered score is never sent to the LOS as an agency score."}},"additionalProperties":false,"description":"One credit score on a borrower's file."},"HmdaApplicantCreditScore":{"type":"object","properties":{"reliedOnCreditScore":{"type":"integer","description":"The credit score relied on in the credit decision for this applicant; null when none.","format":"int32","nullable":true},"reliedOnCreditScoreMode":{"type":"string","description":"Whether the relied-on score is the applicant's individual score or a single score for the loan.","nullable":true},"reliedOnCreditScoreModelType":{"type":"string","description":"The credit scoring model of the relied-on score, as a code.","nullable":true}},"additionalProperties":false,"description":"The credit score relied on for an applicant, as reported for HMDA."},"PosAsset":{"type":"object","properties":{"institutionName":{"type":"string","description":"Name of the bank or institution that holds the asset.","nullable":true},"accountNumber":{"type":"string","description":"Account number, as entered.","nullable":true},"amount":{"type":"number","description":"Current balance or value, in dollars.","format":"double"},"accountName":{"type":"string","description":"Name of the account.","nullable":true},"accountHolderName":{"type":"string","description":"Name of the account holder.","nullable":true},"source":{"type":"string","description":"How the asset got on the loan, for example entered manually, linked through the bank connection or synced from the LOS.","nullable":true},"giftSource":{"type":"string","description":"Who the gift came from, for a gift asset.","nullable":true},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account this asset belongs to.","format":"uuid"},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"ownerBorrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The hdBorrowerIds of the asset's owners. Empty means the primary borrower. A new asset is added in the LOS under the first owner named; the full list stays in Henge.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"An asset the borrower reports: an account balance, a gift or another asset."},"BorrowerVestingType":{"enum":["Individual","Trustee","Settlor","SettlorTrustee","TitleOnly","NonTitleSpouse","Other"],"type":"string","description":"How a person on the loan takes title: Individual (as themselves), Trustee, Settlor, SettlorTrustee (settlor and trustee of the same trust), TitleOnly (on title but not a borrower), NonTitleSpouse (a spouse who is not on title) or Other."},"ProposedHousingExpense":{"type":"object","properties":{"firstMortgagePrincipalAndInterest":{"type":"number","description":"Principal and interest on this mortgage, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"otherMortgageLoanPrincipalAndInterest":{"type":"number","description":"Principal and interest on subordinate financing, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"hazardInsurance":{"type":"number","description":"Monthly hazard insurance, in dollars. Calculated by the LOS from hazardInsuranceBasis.","format":"double","nullable":true},"propertyTax":{"type":"number","description":"Monthly property taxes, in dollars. Calculated by the LOS from propertyTaxBasis.","format":"double","nullable":true},"mortgageInsurance":{"type":"number","description":"Monthly mortgage insurance, in dollars. Can be overridden; lock it in fieldLocks or the LOS recalculates it.","format":"double","nullable":true},"hoa":{"type":"number","description":"Monthly homeowners association dues, in dollars.","format":"double","nullable":true},"other":{"type":"number","description":"Other monthly taxes and expenses, in dollars. Can be overridden; lock it in fieldLocks or the LOS recalculates it.","format":"double","nullable":true},"total":{"type":"number","description":"The total proposed monthly housing payment (principal, interest, taxes and insurance), in dollars. Calculated by the LOS; a write is ignored. It is not simply the sum of the components above, so read it rather than adding them up.","format":"double","nullable":true},"hazardInsuranceBasis":{"$ref":"#/components/schemas/EscrowExpenseBasis"},"propertyTaxBasis":{"$ref":"#/components/schemas/EscrowExpenseBasis"}},"additionalProperties":false,"description":"The proposed monthly housing payment, component by component. Every component is nullable: a real zero is returned as 0, so an absent value stays distinguishable from a zero one."},"EscrowExpenseBasis":{"type":"object","properties":{"baseTypeCode":{"type":"string","description":"The LOS code for the base amount the percentage applies to. baseTypeName gives its name.","nullable":true},"baseTypeName":{"type":"string","description":"The name of the base amount (for example \"Total Loan Amount\"), or null for a code with no known name. Read only.","nullable":true},"baseAmount":{"type":"number","description":"The base amount in dollars, as the LOS calculated it. Read only: a value sent is ignored.","format":"double","nullable":true},"ratePercent":{"type":"number","description":"Annual percentage applied to `baseAmount`.","format":"double","nullable":true},"monthlyAddend":{"type":"number","description":"Flat monthly amount added on top of the percentage result.","format":"double","nullable":true},"reserveMonths":{"type":"integer","description":"Months of this expense collected as reserves at closing (hazard insurance and property tax only).\r\nThe loan system derives a default and takes an override only with its lock flag, which the housing write sends with it.\r\nRead from the loan; the loan form save never writes it.","format":"int32","nullable":true},"prepaidMonths":{"type":"integer","description":"Months of this expense prepaid at closing (hazard insurance only).","format":"int32","nullable":true}},"additionalProperties":false,"description":"How the LOS works out one escrowed housing expense: a percentage of a chosen base amount plus a flat monthly amount, for example hazard insurance as Total Loan Amount x 0.500% + $0.00."},"CustomField":{"type":"object","properties":{"id":{"type":"string","description":"Id of the custom field.","nullable":true},"code":{"type":"string","description":"Short code of the custom field.","nullable":true},"externalId":{"type":"string","description":"Id of the field in the LOS.","nullable":true},"name":{"type":"string","description":"Display name of the custom field.","nullable":true},"value":{"type":"string","description":"The value stored in the field, as text.","nullable":true}},"additionalProperties":false,"description":"A custom field configured on the loan, with its value."},"DownPaymentSource":{"type":"object","properties":{"amount":{"type":"number","description":"Amount from this source, in dollars.","format":"double"},"source":{"type":"string","description":"The kind of source, for example savings, gift or sale of a property.","nullable":true},"explanation":{"type":"string","description":"Free-text explanation of the source, when one is needed.","nullable":true}},"additionalProperties":false},"LtvRatios":{"type":"object","properties":{"baseLTVRatio":{"type":"number","description":"Loan-to-value ratio on the base loan amount, as a percent.","format":"double","nullable":true},"grossLTVRatio":{"type":"number","description":"Loan-to-value ratio on the loan amount including financed upfront fees, as a percent.","format":"double","nullable":true},"baseCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio across all liens on the base loan amount, as a percent.","format":"double","nullable":true},"grossCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio across all liens including financed upfront fees, as a percent.","format":"double","nullable":true},"baseHomeEquityCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio counting the full credit limit of any home equity line, on the base loan amount, as a percent.","format":"double","nullable":true},"grossHomeEquityCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio counting the full credit limit of any home equity line, including financed upfront fees, as a percent.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's loan-to-value ratios, as percents."},"Qualification":{"type":"object","properties":{"housingExpenseRatio":{"type":"number","description":"Front-end ratio (housing expense to income), as a percent.","format":"double","nullable":true},"totalDebtExpenseRatio":{"type":"number","description":"Back-end ratio (total debt to income), as a percent.","format":"double","nullable":true},"totalMonthlyIncomeAmount":{"type":"number","description":"Total qualifying monthly income, in dollars.","format":"double","nullable":true},"qualifyingRatePercent":{"type":"number","description":"The rate the borrower is qualified at, as a percent. It is the note rate unless overridden; lock it in fieldLocks or the LOS recomputes it.","format":"double","nullable":true},"qualifyingTermInMonths":{"type":"integer","description":"The term in months the qualifying payment is amortized over.","format":"int32","nullable":true},"qualifyingTermCalculationTypeCode":{"type":"string","description":"Raw code for how the qualifying term is chosen, for example Standard Term.","nullable":true},"qualifyingTermCalculationTypeName":{"type":"string","description":"qualifyingTermCalculationTypeCode decoded, for example Standard Term. Null for a code not recognized. Read only.","nullable":true},"isQualifyingRateInterestOnly":{"type":"boolean","description":"True when the qualifying payment is interest-only.","nullable":true},"qualifyingPrincipalAndInterest":{"type":"number","description":"Qualifying principal and interest, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"qualifyingTotalPayment":{"type":"number","description":"Qualifying total monthly payment (principal, interest, taxes and insurance), in dollars. Calculated by the LOS; a write is ignored.","format":"double","nullable":true}},"additionalProperties":false,"description":"The ratios and payment figures the borrower is qualified on. The qualifying payment can differ from the proposed one when a qualifying rate or term overrides the note rate or term."},"SubjectPropertyRentalIncome":{"type":"object","properties":{"estimatedMonthlyMarketRent":{"type":"number","description":"Estimated market rent of the subject property per month, in dollars.","format":"double","nullable":true}},"additionalProperties":false,"description":"Rental income of the subject property."},"LoanLevelCredit":{"type":"object","properties":{"loanLevelCreditScoreValue":{"type":"string","description":"The credit score relied on for the loan, as reported for HMDA, as text.","nullable":true},"loanLevelCreditScoreSelectionMethodType":{"type":"string","description":"Whether the relied-on score is each applicant's individual score or a single score for the loan.","nullable":true},"creditScoreModelNameType":{"type":"string","description":"The credit scoring model of the relied-on score, as a code.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"The credit score impairment type recorded on the loan, as text.","nullable":true},"creditScoreCategoryType":{"type":"string","description":"The credit score category recorded on the loan, as text.","nullable":true},"creditScoreType1":{"type":"string","description":"Loan-level credit score of type 1 as held on the loan, as text; empty when none.","nullable":true},"creditScoreType2":{"type":"string","description":"Loan-level credit score of type 2 as held on the loan, as text; empty when none.","nullable":true},"creditScoreType2Soft":{"type":"string","description":"Loan-level credit score of type 2 from a soft pull, as text; empty when none.","nullable":true},"creditScore2Avg":{"type":"string","description":"Average of the type 2 scores, as text; empty when none.","nullable":true},"creditScoreType3":{"type":"string","description":"Loan-level credit score of type 3 as held on the loan, as text; empty when none.","nullable":true},"hmdaMultipleCreditScoresUsedIndicator":{"type":"boolean","description":"True when more than one credit score was used in the credit decision, as reported for HMDA.","nullable":true},"reliedOnCreditScoreSource":{"type":"string","description":"The source the relied-on credit score is calculated from: \"Type 2\" when it is that source, otherwise the value\r\nas the loan system holds it. The relied-on score is calculated from it unless it is Other.","nullable":true},"reliedOnCreditScoreModelName":{"type":"string","description":"The relied-on score's model name text (`sReliedOnCreditScoreModelName`).","nullable":true},"reliedOnCreditScoreSingleBorrower":{"type":"string","description":"Whose score is the single relied-on score (`sReliedOnCreditScoreSingleHmdaReportAsT`): Borrower or Coborrower.","nullable":true}},"additionalProperties":false,"description":"The credit score the loan relies on and how it was chosen, as held on the loan."},"LoanCredit":{"type":"object","properties":{"source":{"type":"string","description":"Report when the facts come from a credit report, Manual when they were entered by hand; null when the loan carries no credit at all.","nullable":true},"hasCreditReport":{"type":"boolean","description":"True when a credit report is on the loan, whether ordered through Henge or imported through the Loan Origination System."},"representativeScore":{"type":"integer","description":"The score pricing uses: the lowest representative score across the borrowers, by the usual rule\r\n(middle of three bureau scores, lower of two, the one when there is one). From the report when there\r\nis one, else from the broker's entry.","format":"int32","nullable":true},"pricingScore":{"type":"integer","description":"The score pricing uses (the lowest borrower's) when the scores are a manual entry; null otherwise.","format":"int32","nullable":true},"qualifyingScore":{"type":"integer","description":"The score qualification and the pre-approval check use: the average of the borrowers' middle scores, rounded half up. It differs from representativeScore (the lowest borrower's, used for pricing) on a loan with more than one borrower. Null when there are no scores.","format":"int32","nullable":true},"reports":{"type":"array","items":{"$ref":"#/components/schemas/LoanCreditReport"},"description":"Every credit report order on the loan, newest first, failed and cancelled ones included with their status. May be absent.","nullable":true},"mortgageLates":{"$ref":"#/components/schemas/MortgageLates"},"publicRecords":{"$ref":"#/components/schemas/CreditPublicRecords"},"manual":{"$ref":"#/components/schemas/ManualCreditEntry"},"reissue":{"$ref":"#/components/schemas/LoanCreditReissue"}},"additionalProperties":false,"description":"The loan's credit facts and where they come from: a credit report, or what a broker entered by hand to price and qualify before a report is on the loan. Rebuilt on every read. Once the loan has a report it always wins, and the broker's entry is kept with isCurrent false; broker-entered scores are never treated as bureau scores."},"LoanCreditReport":{"type":"object","properties":{"orderId":{"type":"string","description":"Id (GUID) of the credit report order.","format":"uuid"},"reportNumber":{"type":"string","description":"The agency's report number; null on a failed pull that was never issued one.","nullable":true},"status":{"type":"string","description":"The order's status by name, including Failed and Cancelled.","nullable":true},"isCurrent":{"type":"boolean","description":"True for the one order the rest of the platform reads scores from."},"source":{"type":"string","description":"How the order got onto the loan: Placed (ordered through Henge), Imported or Tracked.","nullable":true},"pullType":{"type":"string","description":"`Soft` or `Hard`; null when not known.","nullable":true},"agency":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"orderedAtUtc":{"type":"string","description":"When the report was ordered, in UTC (ISO 8601).","format":"date-time","nullable":true},"failureReason":{"type":"string","description":"The vendor's reason, on a failed order.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/OrdersCreditReportBorrower"},"description":"The borrowers the report covers, with the bureau scores returned for each.","nullable":true},"averageScore":{"type":"integer","description":"Average of the borrowers' middle scores: what qualification uses.","format":"int32","nullable":true},"pricingScore":{"type":"integer","description":"The lowest borrower's middle score: what pricing uses.","format":"int32","nullable":true},"referenceNumbers":{"type":"array","items":{"type":"string"},"description":"The agency's reference (file) numbers of the report; more than one when separate reports were reissued for separate borrowers.","nullable":true},"vaultDocumentId":{"type":"string","description":"Id of the loan document that holds the report; null when none was filed.","format":"uuid","nullable":true},"liabilityImport":{"$ref":"#/components/schemas/OrdersCreditReportLiabilityImport"}},"additionalProperties":false,"description":"One credit report order as the loan shows it: which pull, how it stands and what it returned. It never holds a login."},"OrdersCreditReportBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"The borrower's identifier on the loan, when the pull was matched to one.","format":"uuid","nullable":true},"name":{"type":"string","description":"The borrower's name as on the report.","nullable":true},"experian":{"type":"integer","description":"Null when the bureau returned no score for this borrower.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"score":{"type":"integer","description":"The borrower's single score derived from the bureau scores; null with no scores.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One borrower covered by a credit report, with the bureau scores it returned."},"OrdersCreditReportLiabilityImport":{"type":"object","properties":{"outcome":{"type":"string","description":"What the liability import did, as a short status word.","nullable":true},"imported":{"type":"integer","description":"Number of liabilities imported; null when none were attempted.","format":"int32","nullable":true},"message":{"type":"string","description":"An explanation of the outcome, such as a warning or the reason the import failed.","nullable":true}},"additionalProperties":false,"description":"What importing the report's liabilities into the loan did."},"MortgageLates":{"type":"object","properties":{"x30":{"type":"integer","description":"Mortgage payments 30 days late.","format":"int32","nullable":true},"x60":{"type":"integer","description":"Mortgage payments 60 days late.","format":"int32","nullable":true},"x90":{"type":"integer","description":"Mortgage payments 90 days late.","format":"int32","nullable":true},"x120":{"type":"integer","description":"Mortgage payments 120 days late.","format":"int32","nullable":true},"x150":{"type":"integer","description":"Mortgage payments 150 days late.","format":"int32","nullable":true},"rollingX30":{"type":"integer","description":"Mortgage payments 30 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX60":{"type":"integer","description":"Mortgage payments 60 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX90":{"type":"integer","description":"Mortgage payments 90 days late, counting rolling lates.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Counts of mortgage payments made late in the last 12 months. The x30 to x150 counts treat rolling lates as not allowed; the rollingX counts treat them as allowed. Null means not stated, 0 means none."},"CreditPublicRecords":{"type":"object","properties":{"foreclosure":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter7":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter13":{"$ref":"#/components/schemas/CreditPublicRecord"}},"additionalProperties":false,"description":"Foreclosure/NOD, Chapter 7 and Chapter 13 history."},"CreditPublicRecord":{"type":"object","properties":{"has":{"type":"boolean","description":"True when the borrower has this kind of public record."},"fileMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"fileYear":{"type":"integer","description":"Year the record was filed, four digits; null when not known.","format":"int32","nullable":true},"status":{"type":"string","description":"NotSatisfied, Discharged or Dismissed. Required when has is true.","nullable":true},"satisfiedMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"satisfiedYear":{"type":"integer","description":"Year the record was satisfied, four digits; null when it has not been or is not known.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One public record: whether the borrower has one, when it was filed, its status and when it was satisfied."},"ManualCreditEntry":{"type":"object","properties":{"isCurrent":{"type":"boolean","description":"False once a credit report supersedes the entry, or one was on the loan before it was saved without being corrected by it: the entry is kept, but the report's values are current."},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/ManualCreditBorrowerScores"},"description":"Bureau scores per borrower: the borrower first, then the co-borrower when one was entered.","nullable":true},"mortgageLates":{"$ref":"#/components/schemas/MortgageLates"},"publicRecords":{"$ref":"#/components/schemas/CreditPublicRecords"},"enteredAtUtc":{"type":"string","description":"When the broker saved the entry, in UTC (ISO 8601).","format":"date-time"},"enteredBy":{"type":"string","description":"Id of the user who saved the entry.","format":"uuid","nullable":true},"enteredByName":{"type":"string","description":"Name of the user who saved the entry.","nullable":true},"supersededAtUtc":{"type":"string","description":"When a report replaced the entry, and the report's number.","format":"date-time","nullable":true},"supersededByReportId":{"type":"string","description":"The number of the credit report that replaced the entry; null while the entry is current.","nullable":true}},"additionalProperties":false,"description":"What a broker entered by hand, and whether it is still what the loan goes by."},"ManualCreditBorrowerScores":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id of the borrower on the loan the scores belong to, when the loan had one.","format":"uuid","nullable":true},"isCoBorrower":{"type":"boolean","description":"True for the co-borrower's scores, false for the borrower's."},"experian":{"type":"integer","description":"The Experian score the broker entered; null when none was entered.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score the broker entered; null when none was entered.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score the broker entered; null when none was entered.","format":"int32","nullable":true},"representativeScore":{"type":"integer","description":"Middle of three, lower of two, the one when there is one; null when none were entered.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Broker-entered bureau scores for one borrower. Stored and reported as broker-entered, never as a bureau score."},"LoanCreditReissue":{"type":"object","properties":{"agencyId":{"type":"string","description":"Id (GUID) of the credit reporting agency the report was reissued from.","format":"uuid"},"agencyName":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"agencyDuCode":{"type":"string","description":"The agency's DU credit provider code.","nullable":true},"reportType":{"type":"string","description":"\"HardPull\" or \"SoftPull\".","nullable":true},"reissuedTimestamp":{"type":"string","description":"When the report was reissued, in UTC (ISO 8601).","format":"date-time"},"reissuedBy":{"type":"string","description":"Id of the user who reissued the report; null when unknown.","format":"uuid","nullable":true},"reissuedByName":{"type":"string","description":"Name of the user who reissued the report.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/LoanCreditReissueBorrower"},"description":"The borrowers the reissue landed for, each with the agency's reference number.","nullable":true}},"additionalProperties":false,"description":"The read-only view of the loan's latest credit report reissue: the agency, when and by whom, and the reference numbers. The agency login name, account id and password are never returned."},"LoanCreditReissueBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id (GUID) of the borrower on the loan.","format":"uuid"},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the report for this borrower.","nullable":true}},"additionalProperties":false,"description":"One borrower of a reissue: the borrower on the loan and the agency's reference number for them."},"PaymentShock":{"type":"object","properties":{"amount":{"type":"number","description":"Dollar increase over the present housing payment.","format":"double","nullable":true},"percent":{"type":"number","description":"Increase as a percentage of the present housing payment.","format":"double","nullable":true}},"additionalProperties":false,"description":"The jump from the borrower's present housing payment to the proposed one. Calculated by the LOS; read only."},"LoanFieldLocks":{"type":"object","properties":{"loanAmount":{"type":"boolean","description":"True when the loan amount is locked, so a change to the purchase price or down payment does not recalculate it.","nullable":true},"qualifyingRate":{"type":"boolean","description":"True when the qualifying rate is locked against its formula.","nullable":true},"mortgageInsurance":{"type":"boolean","description":"True when the monthly mortgage insurance is locked against the insurance schedule.","nullable":true},"otherHousingExpense":{"type":"boolean","description":"True when the other housing expense is locked.","nullable":true},"estimatedClosingDate":{"type":"boolean","description":"True when the estimated closing date is locked, so a status change does not recalculate it.","nullable":true},"higherPricedMortgageType":{"type":"boolean","description":"True when the higher-priced mortgage result is locked against the APR test.","nullable":true}},"additionalProperties":false,"description":"Which figures are locked in the LOS. A locked figure keeps the value it was given; an unlocked one is recalculated by the LOS from its inputs."},"LoanTrust":{"type":"object","properties":{"id":{"type":"string","description":"Stable id for the trust on this loan. Assigned on save when omitted.","format":"uuid","nullable":true},"name":{"type":"string","description":"The trust's exact name, including any amendment and restatement dates, as it will appear on title.","nullable":true},"classification":{"$ref":"#/components/schemas/LoanTrustClassification"},"establishedDate":{"type":"string","description":"The date the trust was established.","format":"date","nullable":true},"amendedDate":{"type":"string","description":"The date of the latest amendment or restatement, if any.","format":"date","nullable":true},"stateCode":{"type":"string","description":"Two-letter code of the state whose law governs the trust.","nullable":true},"parties":{"type":"array","items":{"$ref":"#/components/schemas/LoanTrustParty"},"description":"Trustees, settlors and beneficiaries.","nullable":true}},"additionalProperties":false,"description":"A trust that will hold title to the subject property. A trust is vesting, not a borrower: its settlors are ordinary borrowers, and the trust sits at loan level so it can name people from more than one borrower pair."},"LoanTrustClassification":{"enum":["InterVivosRevocable","Irrevocable","Land","Other"],"type":"string","description":"The legal classification of a trust: InterVivosRevocable (a living trust that can be changed or revoked), Irrevocable (cannot be revoked), Land (a land trust) or Other."},"LoanTrustParty":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/LoanTrustPartyRole"},"borrowerId":{"type":"string","description":"The hdBorrowerId of the borrower this party is, on any pair. Must be a borrower on the loan.","format":"uuid","nullable":true},"name":{"type":"string","description":"The party's name when it is not a borrower on the loan.","nullable":true},"isInstitution":{"type":"boolean","description":"True when the party is an institution (a bank or trust company acting as trustee)."}},"additionalProperties":false,"description":"One party to a `LoanTrust`. A party who is a borrower on any pair is named by\r\n`borrowerId` (the borrower's `hdBorrowerId`); anyone else, a non-borrowing person or an\r\ninstitutional trustee, by `name`."},"LoanTrustPartyRole":{"enum":["Trustee","CoTrustee","SuccessorTrustee","Settlor","SettlorTrustee","Beneficiary"],"type":"string","description":"A party's role in a trust: Trustee, CoTrustee, SuccessorTrustee (takes over from a trustee), Settlor (created the trust), SettlorTrustee (both settlor and trustee) or Beneficiary."},"LoanAusResult":{"type":"object","properties":{"duCasefileId":{"type":"string","description":"The DU casefile id of the loan's latest DU run. A resubmission reuses it.","nullable":true},"lpaKey":{"type":"string","description":"The Freddie Mac LPA key written onto the loan by an LPA import; null when none.","nullable":true},"recommendation":{"type":"string","description":"The underwriting recommendation as text, for example Approve/Eligible.","nullable":true},"resultCode":{"type":"integer","description":"Numeric code of the result: 0 not submitted, 1 to 9 the DU results, 10 to 13 and 15 to 19 the LPA results, 14 out of scope. Null when nothing was sent.","format":"int32","nullable":true},"result":{"type":"string","description":"The name of resultCode; null when there is no code.","nullable":true}},"additionalProperties":false,"description":"The latest automated underwriting result held on the loan. It is read from the Loan Origination System on every loan read and is never written back; the run history is the aus/runs list."},"LoanRateLock":{"type":"object","properties":{"status":{"type":"string","description":"Lock status: Not Locked, Locked, Lock Requested, Lock Suspended or Lock Cancelled. Calculated by the LOS; never written.","nullable":true},"isLocked":{"type":"boolean","description":"True when status is Locked, false for any other status, null when there is no status.","nullable":true},"lockDate":{"type":"string","description":"Date the rate was locked, ISO 8601.","format":"date","nullable":true},"lockTime":{"type":"string","description":"Time of day of the lock, as the LOS formats it.","nullable":true},"periodDays":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Date the lock expires, ISO 8601. The LOS calculates it from the lock date and period.","format":"date","nullable":true},"noteRate":{"type":"number","description":"Locked note rate, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"The locked price, as a percentage of par (100 = par). Read only.","format":"double","nullable":true},"lockIdentifier":{"type":"string","description":"The lock's own identifier, when the source has one, for example an imported file. Usually null.","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/RateLockHistoryEntry"},"description":"Every lock, extension, relock and break the LOS recorded, newest first. Empty when the loan was never locked.","nullable":true},"ladder":{"$ref":"#/components/schemas/LoanRateLockLadder"},"priceGrid":{"$ref":"#/components/schemas/LoanRateLockPriceGrid"},"investorLock":{"$ref":"#/components/schemas/LoanInvestorLock"},"lockOutcome":{"type":"string","description":"What a write that asked to lock did, when the written values do not say it, for example values written but the lock not set, with the reason. Set only on a write response.","nullable":true}},"additionalProperties":false,"description":"The loan's rate lock with the broker as the LOS holds it, plus the lock history. It is read with the loan; only staff can change the lock date, period and note rate, through the rate lock endpoints. Everything else is calculated."},"RateLockHistoryEntry":{"type":"object","properties":{"kind":{"type":"string","description":"What happened, as the LOS names it: a lock, an extension, a relock or a break.","nullable":true},"occurredAt":{"type":"string","description":"When it happened, ISO 8601.","format":"date-time","nullable":true},"rate":{"type":"number","description":"Note rate at the time, in percent.","format":"double","nullable":true},"price":{"type":"number","description":"Price at the time, where 100 is par.","format":"double","nullable":true},"periodDays":{"type":"integer","description":"Lock period after the entry, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Lock expiration date after the entry, ISO 8601.","format":"date","nullable":true},"extensionDays":{"type":"integer","description":"Days an extension added, when the entry is an extension and they were recorded.","format":"int32","nullable":true},"user":{"type":"string","description":"Who made the change, as the LOS recorded it.","nullable":true},"note":{"type":"string","description":"Note recorded with the entry.","nullable":true}},"additionalProperties":false,"description":"One entry of a lock's history: a lock, extension, relock or break."},"LoanRateLockLadder":{"type":"object","properties":{"takenAt":{"type":"string","description":"When the snapshot was taken, which is when the lock was placed (UTC).","format":"date-time"},"productName":{"type":"string","description":"Name of the locked product.","nullable":true},"investor":{"type":"string","description":"Name of the investor behind the locked product, when the caller is shown the investor.","nullable":true},"lockPeriod":{"type":"integer","description":"The locked lock period in days; every row has it.","format":"int32","nullable":true},"selectedQuoteId":{"type":"string","description":"quoteId of the selected row.","nullable":true},"selected":{"$ref":"#/components/schemas/LoanRateLockRow"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/LoanRateLockRow"},"description":"The rows of the locked lock period, lowest rate first.","nullable":true},"moves":{"type":"array","items":{"$ref":"#/components/schemas/LockPositionMove"},"description":"The moves of the selected row after the lock, oldest first.","nullable":true},"sourceInstruction":{"$ref":"#/components/schemas/SourceLockInstruction"},"productCode":{"type":"string","description":"The locked product's code. Shown with the source lock instruction only.","nullable":true},"rateSheetTime":{"type":"string","description":"When the product's rate sheet was published, ISO 8601. Shown with the source lock instruction only.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"The locked product's rate sheet at the time of the lock, as the rate lock read returns it: the rows of the locked lock period, the selected row and the moves. Absent on a loan locked before the snapshot was kept."},"LoanRateLockRow":{"type":"object","properties":{"quoteId":{"type":"string","description":"Identifier of this row; pass it to select the row or to request it as a change of circumstance.","nullable":true},"rate":{"type":"number","description":"Note rate of the row, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"Price of the row, where 100 is par.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount; negative when the row pays a rebate.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment of the row, in dollars.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate of the row, in percent.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance of this row, in dollars; 0 when the product has none.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"The buydown (discount) this row costs, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"The rebate (credit) this row gives, in dollars; 0 on a buydown or par row.","format":"double","nullable":true},"isSelected":{"type":"boolean","description":"True for the row the lock is currently on."}},"additionalProperties":false,"description":"One rate and price of the locked product's rate sheet."},"LockPositionMove":{"type":"object","properties":{"movedAt":{"type":"string","description":"When the selected row was moved, ISO 8601 UTC.","format":"date-time"},"movedBy":{"type":"string","description":"Identifier (GUID) of the user who moved it.","format":"uuid","nullable":true},"movedByName":{"type":"string","description":"Name of the user who moved it.","nullable":true},"fromQuoteId":{"type":"string","description":"quoteId of the row before the move.","nullable":true},"fromRate":{"type":"number","description":"Note rate before the move, in percent.","format":"double","nullable":true},"fromPrice":{"type":"number","description":"Price before the move, where 100 is par.","format":"double","nullable":true},"toQuoteId":{"type":"string","description":"quoteId of the row after the move.","nullable":true},"toRate":{"type":"number","description":"Note rate after the move, in percent.","format":"double","nullable":true},"toPrice":{"type":"number","description":"Price after the move, where 100 is par.","format":"double","nullable":true},"sourceFromPrice":{"type":"number","description":"The source lender's price before the move, from its frozen rate sheet. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceToPrice":{"type":"number","description":"The source lender's price after the move. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceNote":{"type":"string","description":"Set when the instruction has no price at the new rate, in words. Staff only.","nullable":true}},"additionalProperties":false,"description":"One move of the selected row: who, when, and from which rate and price to which."},"SourceLockInstruction":{"type":"object","properties":{"status":{"type":"string","description":"Outcome of looking for the source price: Priced (the price is set), Unmapped (no source product is mapped to the locked product), NoSourcePricingAccount (the company has no source pricing account), SourceSearchFailed, SourceProductNotReturned or RateNotOnSourceSheet.","nullable":true},"message":{"type":"string","description":"In words, what happened when there is no price.","nullable":true},"sourceInvestor":{"type":"string","description":"Name of the source lender.","nullable":true},"sourceInvestorId":{"type":"integer","description":"Identifier of the source lender in the pricing engine.","format":"int32","nullable":true},"sourceProductName":{"type":"string","description":"Name of the source lender's product to lock.","nullable":true},"sourceProductCode":{"type":"string","description":"Product code of the source lender's product.","nullable":true},"portfolioProductCode":{"type":"string","description":"Code of the portfolio product the row was found by.","nullable":true},"rate":{"type":"number","description":"The selected note rate, in percent.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"sourcePrice":{"type":"number","description":"The source lender's price at the selected rate and lock period, from its frozen rate sheet.","format":"double","nullable":true},"sourceRateSheetTime":{"type":"string","description":"When the source lender's rate sheet was published, ISO 8601.","format":"date-time","nullable":true},"portfolioPrice":{"type":"number","description":"The portfolio price the broker locked at, including the portfolio's margin.","format":"double","nullable":true},"priceDifference":{"type":"number","description":"portfolioPrice minus sourcePrice: the margin, in points.","format":"double","nullable":true}},"additionalProperties":false,"description":"The instruction for the lock desk: lock the source product with the source lender at the source price. It follows the selected row, so a move of the selected rate rewrites it from the source lender's frozen rate sheet. Shown to staff only."},"LoanRateLockPriceGrid":{"type":"object","properties":{"basePrice":{"type":"number","description":"The base price, where 100 is par.","format":"double","nullable":true},"priceRow":{"type":"string","description":"Which price the grid's row is locked on: Base, BrokerBase, BrokerFinal or OriginatorPrice.","nullable":true},"visibleAdjustmentsTotal":{"type":"number","description":"Total of the adjustments the broker sees, in points.","format":"double","nullable":true},"hiddenAdjustmentsTotal":{"type":"number","description":"Total of the hidden lender adjustments, in points.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The adjustment lines on the price grid.","nullable":true},"originatorPrice":{"type":"number","description":"The Originator Price: the price before the originator compensation.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"The Final Price: the price after the originator compensation.","format":"double","nullable":true},"investorPrice":{"type":"number","description":"The investor's price.","format":"double","nullable":true},"internalNote":{"type":"string","description":"The lock screen's internal notes.","nullable":true},"originatorCompensation":{"$ref":"#/components/schemas/LoanOriginatorCompensation"}},"additionalProperties":false,"description":"The front-end lock's price grid and the originator compensation, read live from the LOS. Set only on rate lock reads and writes. The investor price and the lender lines are not returned to third-party-originator (broker) callers."},"LockAdjustment":{"type":"object","properties":{"description":{"type":"string","description":"What the adjustment is for.","nullable":true},"points":{"type":"number","description":"The adjustment in points; a negative value adds to the price.","format":"double","nullable":true},"rate":{"type":"number","description":"Rate adjustment, in percentage points.","format":"double","nullable":true},"margin":{"type":"number","description":"Margin adjustment, in percentage points.","format":"double","nullable":true},"hidden":{"type":"boolean","description":"True for a hidden lender line the broker never sees (front-end lock only)."}},"additionalProperties":false,"description":"One adjustment line as the LOS holds it."},"LoanOriginatorCompensation":{"type":"object","properties":{"paidBy":{"type":"string","description":"Borrower or Lender (`sOriginatorCompensationPaymentSourceT`); null when not specified.","nullable":true},"percent":{"type":"number","description":"Compensation as a percent of the base amount, for example 2.0 for two percent.","format":"double","nullable":true},"minAmount":{"type":"number","description":"Minimum compensation in dollars.","format":"double","nullable":true},"fixedAmount":{"type":"number","description":"Fixed compensation in dollars.","format":"double","nullable":true},"baseType":{"type":"string","description":"LoanAmount or TotalLoanAmount (`sOriginatorCompensationBaseT`).","nullable":true},"lenderFeeOption":{"type":"string","description":"IncludedInLenderFees or InAdditionToLenderFees (`sOriginatorCompensationLenderFeeOptionT`).","nullable":true}},"additionalProperties":false,"description":"The loan's originator compensation inputs (`sOriginatorCompensation*`), as the LOS holds them."},"LoanInvestorLock":{"type":"object","properties":{"investorId":{"type":"integer","description":"Identifier of the investor in the LOS's investor list.","format":"int32","nullable":true},"investorName":{"type":"string","description":"Name of the investor.","nullable":true},"investorLoanNumber":{"type":"string","description":"The investor's loan number for this loan.","nullable":true},"confirmationNumber":{"type":"string","description":"Confirmation number the investor gave the lock.","nullable":true},"programName":{"type":"string","description":"Name of the investor program the loan is locked to.","nullable":true},"rateSheetTime":{"type":"string","description":"Effective time of the investor's rate sheet, as text in the form MM/dd/yyyy h:mm tt.","nullable":true},"commitmentType":{"type":"string","description":"Delivery commitment: BestEfforts, Mandatory, Hedged or Securitized.","nullable":true},"lockFee":{"type":"number","description":"Fee charged for the lock.","format":"double","nullable":true},"lockDate":{"type":"string","description":"Date the investor lock was made, ISO 8601.","format":"date","nullable":true},"periodDays":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Date the lock expires, ISO 8601: the lock date plus the period, with no weekend roll.","format":"date","nullable":true},"deliveryExpirationDate":{"type":"string","description":"Date delivery of the loan to the investor expires, ISO 8601, calculated as the expiration is.","format":"date","nullable":true},"noteRate":{"type":"number","description":"Locked note rate, in percent such as 6.875.","format":"double","nullable":true},"basePrice":{"type":"number","description":"Base price from the investor's rate sheet, where 100 is par.","format":"double","nullable":true},"totalAdjustments":{"type":"number","description":"Total of the price adjustments, in points.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"Price after all adjustments, where 100 is par.","format":"double","nullable":true},"projectedProfit":{"type":"number","description":"Projected profit on the lock, as the LOS calculates it.","format":"double","nullable":true},"status":{"type":"string","description":"Not Locked, Locked, Lock Requested, Lock Suspended or Lock Cancelled.","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The price adjustment lines on the investor lock.","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/RateLockHistoryEntry"},"description":"Every event on the investor lock, newest first.","nullable":true},"lockOutcome":{"type":"string","description":"What a write that asked to lock or break the lock did when the LOS did not do it. Set only on a write response.","nullable":true}},"additionalProperties":false,"description":"The back-end (investor) lock as the LOS holds it, read live. Set only on rate lock reads and writes, and never for third-party-originator (broker) callers."},"LoanTemporaryBuydown":{"type":"object","properties":{"steps":{"type":"array","items":{"$ref":"#/components/schemas/TemporaryBuydownStep"},"description":"The steps in order, each { rateReduction, months }: a 2-1 is [{ rateReduction: 2, months: 12 }, { rateReduction: 1, months: 12 }]. At most five. The list replaces the stored steps as a whole; empty slots are left out when read.","nullable":true},"contributorType":{"type":"string","description":"Who pays for the buydown, as the LOS's raw contributor code (sBuydownContributorT). Optional: left out, the LOS's value is not touched.","nullable":true},"totalFundsAmount":{"type":"number","description":"Total buydown funds in dollars (sBuydownTotalFundsAmt). Optional: left out, the LOS's value is not touched.","format":"double","nullable":true},"hasTemporaryBuydown":{"type":"boolean","description":"sHasTempBuydown - calculated by the LOS from the steps. Read only: a write is ignored.","nullable":true},"totalMonths":{"type":"integer","description":"sBuydwnTotalMon - calculated by the LOS. Read only.","format":"int32","nullable":true},"resultRate":{"type":"number","description":"sBuydownResultIR - calculated by the LOS. Read only.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's temporary buydown as the LOS holds it: up to five steps, who pays for it and how much, and what the LOS calculates from them. Changed only by a partial update that names it."},"TemporaryBuydownStep":{"type":"object","properties":{"rateReduction":{"type":"number","description":"Points the note rate is reduced by during this step (number, 2 means 2 points). Not negative.","format":"double"},"months":{"type":"integer","description":"Months this step lasts (integer). Required when rateReduction is above 0.","format":"int32"}},"additionalProperties":false,"description":"One step of a temporary buydown: how many points the rate is reduced for how many months."},"LoanApplicationTaskItem":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task or condition (GUID).","format":"uuid","nullable":true},"taskStatusTimestamp":{"type":"string","description":"When the task's status last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"When the task was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created (ISO 8601 date and time, UTC).","format":"date-time"},"item":{"$ref":"#/components/schemas/Item"},"assignedToBorrowerId":{"type":"string","description":"Id (GUID) of the borrower the task is assigned to. Null for a user task or a task for the loan's borrowers generally.","format":"uuid","nullable":true},"status":{"$ref":"#/components/schemas/TaskStatus"},"document":{"$ref":"#/components/schemas/Document"},"rejectionReasonNote":{"type":"string","description":"The reviewer's free-text note when the task's document was rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReason"},"creditReportType":{"$ref":"#/components/schemas/PosCreditReportType"},"isForPrimaryBorrower":{"type":"boolean","description":"True when the task is for the primary borrower, false when it is for the co-borrower. Null when it is for neither in particular.","nullable":true},"isRequired":{"type":"boolean","description":"Whether the task must be completed before the file can move forward."},"isAccountMainTask":{"type":"boolean","description":"True for the main task of an asset account, the one that requests the account's statements."},"questionType":{"$ref":"#/components/schemas/TaskQuestionType"},"yesNoResponse":{"type":"boolean","description":"The borrower's answer to a yes/no question task. Null until answered.","nullable":true},"shortAnswer":{"type":"string","description":"The borrower's answer to a short-answer question task. Null until answered.","nullable":true},"assignedToUser":{"$ref":"#/components/schemas/LoanAppUser"},"name":{"type":"string","description":"Display name of the task or condition.","nullable":true},"description":{"type":"string","description":"Description of the task. For a condition, the condition text: the reworded text when staff edited it in Henge, otherwise the LOS text.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the task among its siblings, lowest first.","format":"int32","nullable":true},"type":{"$ref":"#/components/schemas/TaskType"},"code":{"type":"string","description":"Short code of the task.","nullable":true},"conditionNo":{"type":"integer","description":"Condition number in the LOS. Conditions only.","format":"int32","nullable":true},"conditionCategory":{"type":"string","description":"Category of the condition in the LOS. Conditions only.","nullable":true},"conditionDueDate":{"type":"string","description":"Due date of the condition (ISO 8601 date). Conditions only.","format":"date","nullable":true},"conditionAssignedUserFullName":{"type":"string","description":"Full name of the user the condition is assigned to in the LOS. Conditions only.","nullable":true},"conditionBorrowerFullName":{"type":"string","description":"Full name of the borrower the condition is for. Conditions only.","nullable":true},"conditionIsHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower. Staff roles still see it; a caller that receives a hidden condition is entitled to it.","nullable":true},"conditionSourceText":{"type":"string","description":"The LOS's original condition text. Set only when staff reworded the condition in Henge, in which case description carries the rewording; null otherwise.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True when staff reworded this condition in Henge. The rewording is never sent to the LOS."},"notes":{"type":"string","description":"Notes on the task or condition.","nullable":true},"taskAssignmentType":{"$ref":"#/components/schemas/TaskAssignmentType"},"isSubscribed":{"type":"boolean","description":"Whether the calling user is subscribed to status-change notifications for this task. Null when not computed.","nullable":true},"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition this task belongs to. Null on conditions and on standalone tasks. Read on create; ignored on update.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account the task belongs to, if any. Needed on create only for a Transaction History task; ignored on update.","format":"uuid","nullable":true},"assetAccountName":{"type":"string","description":"Name of the asset account the task belongs to. Response only, and filled only where the response includes accounts.","nullable":true},"creditReportNumber":{"type":"string","description":"For credit report tasks, the credit agency's report number.","nullable":true},"requestTaskId":{"type":"string","description":"Id of the first task of the document request this task is a copy of (one task per document). Null on the first task itself. On create, naming any task of a request makes the new task a copy that joins that request.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"ownerPairId":{"type":"string","description":"Id (GUID) of the borrower pair staff made the owner of this task or condition. Empty when the owner is worked out on read.","format":"uuid","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True for a whole-loan task or condition that every borrower pair sees."}},"additionalProperties":false,"description":"A task or condition on a loan: a document request, a question, a user task or a condition from the LOS."},"Item":{"type":"object","properties":{"id":{"type":"string","description":"Id of the item (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the item; send it as the item code when you create a task.","nullable":true},"name":{"type":"string","description":"Display name of the item.","nullable":true},"groupCode":{"type":"string","description":"Code of the condition group the item's tasks are shown under. Null means Other.","nullable":true},"canCreateManually":{"type":"boolean","description":"True when staff can create a task for this item by hand."},"canUploadDocument":{"type":"boolean","description":"True when a document can be uploaded against this item."}},"additionalProperties":false,"description":"A kind of request a task can ask for, such as a specific document."},"TaskStatus":{"type":"object","properties":{"id":{"type":"string","description":"Id of the status (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the status.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a task, for example Requested, Uploaded, Submitted or Accepted."},"Document":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"externalId":{"type":"string","description":"The document's id in the Loan Origination System; empty until it has been sent there.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once an uploaded file has been converted to PDF and can be opened; false while conversion is still running."},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition the document is attached to; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"blobName":{"type":"string","description":"The name the file is stored under. An internal storage key: download through the document routes rather than using it.","nullable":true},"createdTimestamp":{"type":"string","description":"When the document was created, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the document was last changed, in UTC (ISO 8601).","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user who last changed the document; null when the change was automatic or unknown.","format":"uuid","nullable":true},"documentTypeId":{"type":"string","description":"Id of the platform's broad document category (such as a vault or task document). Not the loan document type, which is loanDocumentTypeId.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan's vault, false when it hangs off a\r\ntask, a condition or an asset account. Callers use it to decide what a user may do with the\r\ndocument: only a vault document can be deleted. Any document can be given a document type."},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document is filed under (from the loan document types list); null when it has none.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the loan document type; null when the document has none.","nullable":true},"loanDocumentTypeExternalId":{"type":"string","description":"The loan document type's id in the Loan Origination System.","nullable":true},"loanDocumentTypeFolderName":{"type":"string","description":"Name of the folder the loan document type belongs to; null when the document has no type.","nullable":true},"description":{"type":"string","description":"A free-text description of the document; may be empty.","nullable":true},"isDeleted":{"type":"boolean","description":"True when the document has been deleted. Deleted documents are normally left out of lists."},"isInternal":{"type":"boolean","description":"True for a staff-only document that is hidden from borrowers and partner applications."},"isObsolete":{"type":"boolean","description":"The LOS no longer considers this document active. It stays visible so users can still see\r\nit, but it is not current and is never pushed back to the LOS."},"isProtected":{"type":"boolean","description":"The LOS holds the document as Protected, locked there against edits and deletion. Set and\r\ncleared by Admin and Processor through the document status endpoints, or in the LOS itself."},"losStatus":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"title":{"type":"string","description":"The title shown for the document; may be empty, in which case the file name is shown.","nullable":true},"splitFromDocumentId":{"type":"string","description":"On a part of a split combined PDF: the id of the original document it was cut from. Null on every other document.","format":"uuid","nullable":true},"splitStartPage":{"type":"integer","description":"On a part of a split combined PDF: the first page of the original it holds. Null on every other document.","format":"int32","nullable":true},"splitEndPage":{"type":"integer","description":"On a part of a split combined PDF: the last page of the original it holds. Null on every other document.","format":"int32","nullable":true},"isUnsorted":{"type":"boolean","description":"True while the document was bulk-uploaded to the loan with no task and no type and nobody has\r\nsorted it. It is held out of the LOS until it is put on a task or given a type."},"hasNoFile":{"type":"boolean","description":"True for a staff-only entry the Loan Origination System holds with no file here (a non-PDF assigned to a condition): there is nothing to open, download or move."},"intakeStatus":{"type":"string","description":"NeedsPassword or Duplicate for a bulk-uploaded document that is held for that reason; null\r\notherwise. See DocumentIntakeStatuses.","nullable":true},"duplicateOfDocumentId":{"type":"string","description":"The existing document this one repeats, when IntakeStatus is Duplicate.","format":"uuid","nullable":true},"indexStatus":{"type":"string","description":"Whether the document's text is searchable: Indexed, Pending, Failed or NotSubmitted. Set by\r\nthe document lists for staff callers; null when it was not looked up, or the lookup failed.","nullable":true},"analysis":{"$ref":"#/components/schemas/DocumentAnalysisSummary"},"internalNotes":{"type":"string","description":"Staff-only internal notes on the document, verbatim from the Loan Origination System. Returned only to callers who may see internal notes; null for everyone else.","nullable":true}},"additionalProperties":false,"description":"A document on a loan: the file, the task or condition it is attached to, its type and its status."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."},"DocumentAnalysisSummary":{"type":"object","properties":{"status":{"type":"string","description":"Pending, Completed, Failed or Skipped. Failed reads \"Not analysed\".","nullable":true},"verdict":{"type":"string","description":"Whether the document is what was asked for: Matches, Mismatch, Unreadable or Unknown.","nullable":true},"reasonCode":{"type":"string","description":"On a Mismatch, why: WrongDocument, WrongPeriod, WrongAccount, WrongBorrower, MissingPages or Expired. On an Unreadable verdict from the page quality check, UnreadablePages.","nullable":true},"reason":{"type":"string","description":"One line in plain language explaining the verdict, written for the borrower.","nullable":true},"suggestedRejectionReasonCode":{"type":"string","description":"The seeded TaskRejectionReason code the panel pre-selects for a Mismatch.","nullable":true},"suggestedTaskId":{"type":"string","description":"Id of the task or condition the document appears to belong to; null when none matched.","format":"uuid","nullable":true},"suggestedTaskName":{"type":"string","description":"Name of the suggested task or condition.","nullable":true},"isOnSuggestedTask":{"type":"boolean","description":"False when the document sits on a different task than the best match: shown for confirmation."},"matchConfidence":{"type":"number","description":"How sure the analysis is of the suggested task, from 0 to 1.","format":"double","nullable":true},"suggestedLoanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document looks like; null when not determined.","format":"uuid","nullable":true},"suggestedLoanDocumentTypeName":{"type":"string","description":"Name of the suggested loan document type.","nullable":true},"suggestedTitle":{"type":"string","description":"The title the analysis suggests for the document, built from what it read (for example the account and statement period).","nullable":true},"titleAppliedAutomatically":{"type":"boolean","description":"True when the document's current title was set by the analysis rather than by a person."},"previousTitle":{"type":"string","description":"The title the document had before the analysis renamed it; null when it was not renamed.","nullable":true},"autoNameDisabled":{"type":"boolean","description":"True when a person undid an automatic name; the analysis never renames this document again."},"filedByType":{"type":"boolean","description":"Filed under the suggested LOS type and folder by the analysis, for a person to confirm or correct."},"duplicateOfDocumentId":{"type":"string","description":"Id of an earlier document on the loan with the same content, when this one repeats it; otherwise null.","format":"uuid","nullable":true},"supersedesDocumentId":{"type":"string","description":"Id of an earlier document this one replaces (a newer version of the same document); otherwise null.","format":"uuid","nullable":true},"supersededByDocumentId":{"type":"string","description":"Id of a newer document that replaces this one; otherwise null.","format":"uuid","nullable":true},"outcome":{"type":"string","description":"What a person did with the suggestion: Confirmed, Corrected, Rejected or Ignored; null while no one has acted.","nullable":true},"outcomeAt":{"type":"string","description":"When the person acted on the suggestion, in UTC (ISO 8601); null while no one has.","format":"date-time","nullable":true},"coveredPeriods":{"type":"array","items":{"type":"string"},"description":"For a request that needs a span of statements, the months the uploaded documents cover, each formatted yyyy-MM.","nullable":true},"missingPeriods":{"type":"array","items":{"type":"string"},"description":"The requested months no uploaded document covers yet, each formatted yyyy-MM.","nullable":true},"monthsMissing":{"type":"integer","description":"How many months of the request are still missing.","format":"int32","nullable":true},"analyzedAt":{"type":"string","description":"When the analysis was done, in UTC (ISO 8601).","format":"date-time"},"splitSuggestion":{"$ref":"#/components/schemas/SplitSuggestion"},"pageIssues":{"type":"array","items":{"$ref":"#/components/schemas/PageIssue"},"description":"The pages the quality check flagged, which the Unreadable-page request names.","nullable":true}},"additionalProperties":false,"description":"What the document review shows for a document: the suggested task, type and title, the verdict and whether the title was applied automatically. The evidence and page text the analysis read are not included."},"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."},"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."},"TaskRejectionReason":{"type":"object","properties":{"id":{"type":"string","description":"Id of the rejection reason (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the rejection reason.","nullable":true},"code":{"type":"string","description":"Stable code of the rejection reason.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the reason in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"A reason a reviewer gives for rejecting a task's document."},"PosCreditReportType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the report type (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the report type.","nullable":true},"name":{"type":"string","description":"Display name of the report type.","nullable":true}},"additionalProperties":false,"description":"The type of credit report a credit report task asks for."},"TaskQuestionType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the question type (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the question type.","nullable":true},"code":{"type":"string","description":"Stable code of the question type.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the question type in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"For a question task, the kind of answer it asks for, such as yes/no or a short answer."},"LoanAppUser":{"type":"object","properties":{"id":{"type":"string","description":"Id of the user (GUID).","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true}},"additionalProperties":false,"description":"A user, such as the staff member a task is assigned to."},"TaskType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the task type.","nullable":true},"name":{"type":"string","description":"Display name of the task type.","nullable":true}},"additionalProperties":false,"description":"The kind of task."},"TaskAssignmentType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the assignment type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the assignment type.","nullable":true},"name":{"type":"string","description":"Display name of the assignment type.","nullable":true}},"additionalProperties":false,"description":"Who a task is assigned to: a borrower or a user."},"TaskSummary":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/TaskStatus"},"count":{"type":"integer","description":"Number of tasks in this status.","format":"int32"},"isUserTask":{"type":"boolean","description":"True when the count is of tasks assigned to staff users, false when it is of tasks assigned to borrowers."}},"additionalProperties":false},"LoanTimeline":{"type":"object","properties":{"activeStatus":{"$ref":"#/components/schemas/LoanStatusBase"},"lastCompletedStatus":{"$ref":"#/components/schemas/LoanStatusBase"},"loanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/LoanStatus"},"description":"Every loan status with its order, completion and date.","nullable":true},"keyDates":{"$ref":"#/components/schemas/KeyDates"},"statusTracker":{"$ref":"#/components/schemas/StatusTracker"},"disclosureTracker":{"$ref":"#/components/schemas/DisclosureTracker"},"signaturePackages":{"type":"array","items":{"$ref":"#/components/schemas/SignaturePackage"},"description":"The loan's e-signature packages, built from its Disclosure tasks on a loan read.","nullable":true}},"additionalProperties":false,"description":"The loan's progress: its active and last completed status, all statuses, key dates and trackers."},"LoanStatusBase":{"type":"object","properties":{"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true}},"additionalProperties":false,"description":"A loan status: its code and display name."},"LoanStatus":{"type":"object","properties":{"displayOrder":{"type":"integer","description":"Position of the status in the loan timeline, starting at 0.","format":"int32"},"isComplete":{"type":"boolean","description":"True when the loan has passed this status."},"date":{"type":"string","description":"When the loan reached the status, ISO 8601; null if not yet.","format":"date-time","nullable":true},"statusDetails":{"type":"array","items":{"$ref":"#/components/schemas/StatusDetail"},"description":"Sub-steps of the status with their dates.","nullable":true},"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true}},"additionalProperties":false},"StatusDetail":{"type":"object","properties":{"displayOrder":{"type":"integer","description":"Position of the sub-step within its status.","format":"int32"},"code":{"type":"string","description":"Sub-step code.","nullable":true},"name":{"type":"string","description":"Sub-step display name.","nullable":true},"date":{"type":"string","description":"When the sub-step happened, ISO 8601; null if not yet.","format":"date-time","nullable":true}},"additionalProperties":false},"KeyDates":{"type":"object","properties":{"estimatedClosing":{"type":"string","description":"Estimated closing date, ISO 8601.","format":"date-time","nullable":true},"firstPaymentDate":{"type":"string","description":"Date the borrower's first payment is due, ISO 8601.","format":"date-time","nullable":true},"lockExpiration":{"type":"string","description":"Date the rate lock expires, ISO 8601; null when the loan is not locked.","format":"date-time","nullable":true},"rateLockedDate":{"type":"string","description":"Date the rate was locked, ISO 8601.","format":"date-time","nullable":true},"rateLockedTime":{"type":"string","description":"Time of day the rate was locked, as text.","nullable":true},"preApprovedDate":{"type":"string","description":"Date the loan was pre-approved (yyyy-MM-dd).","format":"date","nullable":true},"registeredDate":{"type":"string","description":"Date the loan was registered with the lender (yyyy-MM-dd).","format":"date","nullable":true},"appSubmittedDate":{"type":"string","description":"Date the application was submitted (yyyy-MM-dd).","format":"date","nullable":true},"closingDate":{"type":"string","description":"Scheduled closing date (yyyy-MM-dd).","format":"date","nullable":true}},"additionalProperties":false,"description":"The loan's key dates; each is null until it is known."},"StatusTracker":{"type":"object","properties":{"lastCompletedStep":{"type":"string","description":"Label of the last step the loan completed.","nullable":true},"currentStepLabel":{"type":"string","description":"Label of the step the loan is on now.","nullable":true},"summaryLoanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/StatusTrackerLoanStatus"},"description":"The statuses shown in the summary view, with their progress.","nullable":true},"allLoanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/StatusTrackerLoanStatusBase"},"description":"All statuses in the tracker, in display order.","nullable":true}},"additionalProperties":false,"description":"The borrower-facing progress tracker of a loan: the last completed step, the current step and the statuses shown."},"StatusTrackerLoanStatus":{"type":"object","properties":{"isComplete":{"type":"boolean","description":"True when the loan has passed this status."},"isInProgress":{"type":"boolean","description":"True when the loan is at this status now."},"isApproved":{"type":"boolean","description":"For the pre-approval status, true when approved and false when denied; null otherwise.","nullable":true},"subStatusLabel":{"type":"string","description":"A finer label for the status, when there is one.","nullable":true},"preApprovalDocumentId":{"type":"string","description":"Unique identifier (GUID) of the pre-approval letter document, when one was issued.","format":"uuid","nullable":true},"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the status in the tracker, starting at 0.","format":"int32"},"date":{"type":"string","description":"Date the loan reached the status (yyyy-MM-dd); null if not yet.","format":"date","nullable":true},"time":{"type":"string","description":"Time of day the loan reached the status, as text; null if not known.","nullable":true}},"additionalProperties":false},"StatusTrackerLoanStatusBase":{"type":"object","properties":{"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the status in the tracker, starting at 0.","format":"int32"},"date":{"type":"string","description":"Date the loan reached the status (yyyy-MM-dd); null if not yet.","format":"date","nullable":true},"time":{"type":"string","description":"Time of day the loan reached the status, as text; null if not known.","nullable":true}},"additionalProperties":false},"DisclosureTracker":{"type":"object","properties":{"loanEstimates":{"type":"array","items":{"$ref":"#/components/schemas/LoanEstimateDates"},"description":"Every Loan Estimate issued on the loan, in the order the Loan Origination System lists them.","nullable":true},"closingDisclosures":{"type":"array","items":{"$ref":"#/components/schemas/ClosingDisclosureDates"},"description":"Every Closing Disclosure issued on the loan, in the order the Loan Origination System lists them.","nullable":true}},"additionalProperties":false,"description":"The loan's disclosure history: each Loan Estimate and Closing Disclosure issued, with delivery, receipt and signature dates."},"LoanEstimateDates":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the Loan Estimate disclosure record.","nullable":true},"createdDate":{"type":"string","description":"Date the Loan Estimate was created (yyyy-MM-dd).","format":"date","nullable":true},"issuedDate":{"type":"string","description":"Date the Loan Estimate was issued (yyyy-MM-dd).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the Loan Estimate was delivered, for example email or mail.","nullable":true},"receivedDate":{"type":"string","description":"Date the borrower received it (yyyy-MM-dd).","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date the borrower signed it (yyyy-MM-dd).","format":"date","nullable":true},"isLastDisclosed":{"type":"boolean","description":"The LOS read returns no last-disclosed flag, so this is never filled; see MismoNotCarried.","nullable":true},"disclosedApr":{"type":"number","description":"APR disclosed on the Loan Estimate, in percent (for example 6.912).","format":"double","nullable":true},"archiveId":{"type":"string","description":"The archive the LOS issued this disclosure from; null when the LOS sends blank or an all-zero GUID (a hand-entered record).","nullable":true},"archiveDate":{"type":"string","description":"The archive's date (the LOS's `ArchiveUsed`); a date only, no time of day.","format":"date","nullable":true},"transactionId":{"type":"string","description":"The id the disclosure was generated under, also on the e-sign package it was sent in; null when blank.","nullable":true},"isInitial":{"type":"boolean","description":"True when this is the initial Loan Estimate.","nullable":true},"isManual":{"type":"boolean","description":"True when the record was entered by hand rather than generated.","nullable":true},"isValid":{"type":"boolean","description":"The LOS's `Valid`. A record marked not valid stays in the list.","nullable":true},"losApr":{"type":"number","description":"The LOS's own APR (`LqbApr`).","format":"double","nullable":true},"docVendorApr":{"type":"number","description":"APR calculated by the document provider, in percent.","format":"double","nullable":true},"consumerDates":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerDisclosureDates"},"description":"Per-borrower disclosure dates.","nullable":true}},"additionalProperties":false},"ConsumerDisclosureDates":{"type":"object","properties":{"consumerId":{"type":"string","description":"The borrower's id in the Loan Origination System.","nullable":true},"consumerName":{"type":"string","description":"The borrower's name.","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to this borrower (ISO 8601 date).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered to this borrower, as the Loan Origination System records it.","nullable":true},"receivedDate":{"type":"string","description":"Date this borrower received the disclosure (ISO 8601 date); null when not recorded.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date this borrower signed the disclosure (ISO 8601 date); null when not signed.","format":"date","nullable":true}},"additionalProperties":false},"ClosingDisclosureDates":{"type":"object","properties":{"id":{"type":"string","description":"The disclosure's id in the Loan Origination System.","nullable":true},"createdDate":{"type":"string","description":"Date the disclosure was created (ISO 8601 date, no time of day).","format":"date","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to the borrowers (ISO 8601 date); null when not yet issued.","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered, as the Loan Origination System records it (for example email or mail).","nullable":true},"receivedDate":{"type":"string","description":"Date the borrowers received the disclosure (ISO 8601 date); null when not recorded. When several borrowers are listed, each borrower's own date is in consumerDates.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date the disclosure was signed (ISO 8601 date); null when not signed.","format":"date","nullable":true},"isLastDisclosed":{"type":"boolean","description":"Never filled: the Loan Origination System returns no last-disclosed flag, so this is always null.","nullable":true},"eCloseStatus":{"type":"string","description":"The e-close status the Loan Origination System records for the disclosure; null when none.","nullable":true},"disclosedApr":{"type":"number","description":"The annual percentage rate disclosed, in percent (for example 6.912); null when not recorded.","format":"double","nullable":true},"archiveId":{"type":"string","description":"The id of the archive the Loan Origination System issued this disclosure from; null when it sent none (for example a hand-entered record).","nullable":true},"archiveDate":{"type":"string","description":"The archive's date (ISO 8601 date, no time of day).","format":"date","nullable":true},"transactionId":{"type":"string","description":"The id the disclosure was generated under, also on the e-sign package it was sent in; null when blank.","nullable":true},"isInitial":{"type":"boolean","description":"True when this is the initial Closing Disclosure.","nullable":true},"isManual":{"type":"boolean","description":"True when the record was entered by hand rather than generated by the Loan Origination System.","nullable":true},"isValid":{"type":"boolean","description":"False when the record is marked not valid in the Loan Origination System. Such a record stays in the list.","nullable":true},"losApr":{"type":"number","description":"The Loan Origination System's own annual percentage rate, in percent.","format":"double","nullable":true},"docVendorApr":{"type":"number","description":"The APR as the document vendor calculated it, in percent; null when not recorded.","format":"double","nullable":true},"isFinal":{"type":"boolean","description":"True when this is the final Closing Disclosure.","nullable":true},"isPreview":{"type":"boolean","description":"True when the disclosure was only a preview and was not issued to the borrowers.","nullable":true},"isPostClosing":{"type":"boolean","description":"True when the disclosure was issued after closing.","nullable":true},"consumerDates":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerDisclosureDates"},"description":"Issued, received and signed dates for each borrower on the disclosure.","nullable":true}},"additionalProperties":false},"SignaturePackage":{"type":"object","properties":{"packageId":{"type":"string","description":"The id of the e-sign package as the Loan Origination System holds it.","nullable":true},"name":{"type":"string","description":"The package's name.","nullable":true},"sentTimestamp":{"type":"string","description":"The earliest created timestamp of the package's tasks.","format":"date-time"},"status":{"type":"string","description":"Signed, AwaitingSignature, Reviewed or Cancelled. Reviewed and Cancelled are only reported by a live read of the package.","nullable":true},"signedTimestamp":{"type":"string","description":"The last signer's, only when the package is signed.","format":"date-time","nullable":true},"signers":{"type":"array","items":{"$ref":"#/components/schemas/SignaturePackageSigner"},"description":"The people who must sign the package and whether each has.","nullable":true}},"additionalProperties":false,"description":"One e-sign package sent from the LOS for a loan and who has signed it, built from the loan's\r\nDisclosure tasks (one per signer). Carries no access link and no participant id: nothing here\r\nopens a signing session. Not loan-file data, so it is never part of the MISMO export."},"SignaturePackageSigner":{"type":"object","properties":{"name":{"type":"string","description":"The signer's name.","nullable":true},"role":{"type":"string","description":"Borrower or LoanOfficer.","nullable":true},"signedTimestamp":{"type":"string","description":"When the signer signed, in UTC (ISO 8601); null while they have not.","format":"date-time","nullable":true}},"additionalProperties":false}}}}
```

## The LoanApplicationConditionItem object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanApplicationConditionItem":{"type":"object","properties":{"conditionDocType":{"type":"string","description":"The document type the condition asks for, by name; null when it has none.","nullable":true},"conditionDocFolder":{"type":"string","description":"The LOS folder of that document type, for example BORROWER.","nullable":true},"suggestedTaskTypeId":{"type":"string","description":"The task type a new task under this condition most likely has: the default type of the task\r\nitems whose default loan document type is `conditionDocType`. Null when the doc\r\ntype is missing, unknown in its folder, maps to no task item that can be created manually, or maps to\r\nitems of different types. The create-task form prefills Type from it.","format":"uuid","nullable":true},"internalNotes":{"type":"string","description":"The underwriters' and processors' running note on the condition, as written. Never shown to a borrower, and null unless the caller may read internal notes.","nullable":true},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplicationTaskItem"},"description":"The requests under the condition, each with its status and documents.","nullable":true},"id":{"type":"string","description":"Id of the task or condition (GUID).","format":"uuid","nullable":true},"taskStatusTimestamp":{"type":"string","description":"When the task's status last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"When the task was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created (ISO 8601 date and time, UTC).","format":"date-time"},"item":{"$ref":"#/components/schemas/Item"},"assignedToBorrowerId":{"type":"string","description":"Id (GUID) of the borrower the task is assigned to. Null for a user task or a task for the loan's borrowers generally.","format":"uuid","nullable":true},"status":{"$ref":"#/components/schemas/TaskStatus"},"document":{"$ref":"#/components/schemas/Document"},"rejectionReasonNote":{"type":"string","description":"The reviewer's free-text note when the task's document was rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReason"},"creditReportType":{"$ref":"#/components/schemas/PosCreditReportType"},"isForPrimaryBorrower":{"type":"boolean","description":"True when the task is for the primary borrower, false when it is for the co-borrower. Null when it is for neither in particular.","nullable":true},"isRequired":{"type":"boolean","description":"Whether the task must be completed before the file can move forward."},"isAccountMainTask":{"type":"boolean","description":"True for the main task of an asset account, the one that requests the account's statements."},"questionType":{"$ref":"#/components/schemas/TaskQuestionType"},"yesNoResponse":{"type":"boolean","description":"The borrower's answer to a yes/no question task. Null until answered.","nullable":true},"shortAnswer":{"type":"string","description":"The borrower's answer to a short-answer question task. Null until answered.","nullable":true},"assignedToUser":{"$ref":"#/components/schemas/LoanAppUser"},"name":{"type":"string","description":"Display name of the task or condition.","nullable":true},"description":{"type":"string","description":"Description of the task. For a condition, the condition text: the reworded text when staff edited it in Henge, otherwise the LOS text.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the task among its siblings, lowest first.","format":"int32","nullable":true},"type":{"$ref":"#/components/schemas/TaskType"},"code":{"type":"string","description":"Short code of the task.","nullable":true},"conditionNo":{"type":"integer","description":"Condition number in the LOS. Conditions only.","format":"int32","nullable":true},"conditionCategory":{"type":"string","description":"Category of the condition in the LOS. Conditions only.","nullable":true},"conditionDueDate":{"type":"string","description":"Due date of the condition (ISO 8601 date). Conditions only.","format":"date","nullable":true},"conditionAssignedUserFullName":{"type":"string","description":"Full name of the user the condition is assigned to in the LOS. Conditions only.","nullable":true},"conditionBorrowerFullName":{"type":"string","description":"Full name of the borrower the condition is for. Conditions only.","nullable":true},"conditionIsHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower. Staff roles still see it; a caller that receives a hidden condition is entitled to it.","nullable":true},"conditionSourceText":{"type":"string","description":"The LOS's original condition text. Set only when staff reworded the condition in Henge, in which case description carries the rewording; null otherwise.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True when staff reworded this condition in Henge. The rewording is never sent to the LOS."},"notes":{"type":"string","description":"Notes on the task or condition.","nullable":true},"taskAssignmentType":{"$ref":"#/components/schemas/TaskAssignmentType"},"isSubscribed":{"type":"boolean","description":"Whether the calling user is subscribed to status-change notifications for this task. Null when not computed.","nullable":true},"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition this task belongs to. Null on conditions and on standalone tasks. Read on create; ignored on update.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account the task belongs to, if any. Needed on create only for a Transaction History task; ignored on update.","format":"uuid","nullable":true},"assetAccountName":{"type":"string","description":"Name of the asset account the task belongs to. Response only, and filled only where the response includes accounts.","nullable":true},"creditReportNumber":{"type":"string","description":"For credit report tasks, the credit agency's report number.","nullable":true},"requestTaskId":{"type":"string","description":"Id of the first task of the document request this task is a copy of (one task per document). Null on the first task itself. On create, naming any task of a request makes the new task a copy that joins that request.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"ownerPairId":{"type":"string","description":"Id (GUID) of the borrower pair staff made the owner of this task or condition. Empty when the owner is worked out on read.","format":"uuid","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True for a whole-loan task or condition that every borrower pair sees."}},"additionalProperties":false,"description":"A condition on the loan, with the requests (tasks) under it. Conditions are kept in step with the LOS."},"LoanApplicationTaskItem":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task or condition (GUID).","format":"uuid","nullable":true},"taskStatusTimestamp":{"type":"string","description":"When the task's status last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"When the task was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created (ISO 8601 date and time, UTC).","format":"date-time"},"item":{"$ref":"#/components/schemas/Item"},"assignedToBorrowerId":{"type":"string","description":"Id (GUID) of the borrower the task is assigned to. Null for a user task or a task for the loan's borrowers generally.","format":"uuid","nullable":true},"status":{"$ref":"#/components/schemas/TaskStatus"},"document":{"$ref":"#/components/schemas/Document"},"rejectionReasonNote":{"type":"string","description":"The reviewer's free-text note when the task's document was rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReason"},"creditReportType":{"$ref":"#/components/schemas/PosCreditReportType"},"isForPrimaryBorrower":{"type":"boolean","description":"True when the task is for the primary borrower, false when it is for the co-borrower. Null when it is for neither in particular.","nullable":true},"isRequired":{"type":"boolean","description":"Whether the task must be completed before the file can move forward."},"isAccountMainTask":{"type":"boolean","description":"True for the main task of an asset account, the one that requests the account's statements."},"questionType":{"$ref":"#/components/schemas/TaskQuestionType"},"yesNoResponse":{"type":"boolean","description":"The borrower's answer to a yes/no question task. Null until answered.","nullable":true},"shortAnswer":{"type":"string","description":"The borrower's answer to a short-answer question task. Null until answered.","nullable":true},"assignedToUser":{"$ref":"#/components/schemas/LoanAppUser"},"name":{"type":"string","description":"Display name of the task or condition.","nullable":true},"description":{"type":"string","description":"Description of the task. For a condition, the condition text: the reworded text when staff edited it in Henge, otherwise the LOS text.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the task among its siblings, lowest first.","format":"int32","nullable":true},"type":{"$ref":"#/components/schemas/TaskType"},"code":{"type":"string","description":"Short code of the task.","nullable":true},"conditionNo":{"type":"integer","description":"Condition number in the LOS. Conditions only.","format":"int32","nullable":true},"conditionCategory":{"type":"string","description":"Category of the condition in the LOS. Conditions only.","nullable":true},"conditionDueDate":{"type":"string","description":"Due date of the condition (ISO 8601 date). Conditions only.","format":"date","nullable":true},"conditionAssignedUserFullName":{"type":"string","description":"Full name of the user the condition is assigned to in the LOS. Conditions only.","nullable":true},"conditionBorrowerFullName":{"type":"string","description":"Full name of the borrower the condition is for. Conditions only.","nullable":true},"conditionIsHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower. Staff roles still see it; a caller that receives a hidden condition is entitled to it.","nullable":true},"conditionSourceText":{"type":"string","description":"The LOS's original condition text. Set only when staff reworded the condition in Henge, in which case description carries the rewording; null otherwise.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True when staff reworded this condition in Henge. The rewording is never sent to the LOS."},"notes":{"type":"string","description":"Notes on the task or condition.","nullable":true},"taskAssignmentType":{"$ref":"#/components/schemas/TaskAssignmentType"},"isSubscribed":{"type":"boolean","description":"Whether the calling user is subscribed to status-change notifications for this task. Null when not computed.","nullable":true},"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition this task belongs to. Null on conditions and on standalone tasks. Read on create; ignored on update.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account the task belongs to, if any. Needed on create only for a Transaction History task; ignored on update.","format":"uuid","nullable":true},"assetAccountName":{"type":"string","description":"Name of the asset account the task belongs to. Response only, and filled only where the response includes accounts.","nullable":true},"creditReportNumber":{"type":"string","description":"For credit report tasks, the credit agency's report number.","nullable":true},"requestTaskId":{"type":"string","description":"Id of the first task of the document request this task is a copy of (one task per document). Null on the first task itself. On create, naming any task of a request makes the new task a copy that joins that request.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"ownerPairId":{"type":"string","description":"Id (GUID) of the borrower pair staff made the owner of this task or condition. Empty when the owner is worked out on read.","format":"uuid","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True for a whole-loan task or condition that every borrower pair sees."}},"additionalProperties":false,"description":"A task or condition on a loan: a document request, a question, a user task or a condition from the LOS."},"Item":{"type":"object","properties":{"id":{"type":"string","description":"Id of the item (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the item; send it as the item code when you create a task.","nullable":true},"name":{"type":"string","description":"Display name of the item.","nullable":true},"groupCode":{"type":"string","description":"Code of the condition group the item's tasks are shown under. Null means Other.","nullable":true},"canCreateManually":{"type":"boolean","description":"True when staff can create a task for this item by hand."},"canUploadDocument":{"type":"boolean","description":"True when a document can be uploaded against this item."}},"additionalProperties":false,"description":"A kind of request a task can ask for, such as a specific document."},"TaskStatus":{"type":"object","properties":{"id":{"type":"string","description":"Id of the status (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the status.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a task, for example Requested, Uploaded, Submitted or Accepted."},"Document":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"externalId":{"type":"string","description":"The document's id in the Loan Origination System; empty until it has been sent there.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once an uploaded file has been converted to PDF and can be opened; false while conversion is still running."},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition the document is attached to; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"blobName":{"type":"string","description":"The name the file is stored under. An internal storage key: download through the document routes rather than using it.","nullable":true},"createdTimestamp":{"type":"string","description":"When the document was created, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the document was last changed, in UTC (ISO 8601).","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user who last changed the document; null when the change was automatic or unknown.","format":"uuid","nullable":true},"documentTypeId":{"type":"string","description":"Id of the platform's broad document category (such as a vault or task document). Not the loan document type, which is loanDocumentTypeId.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan's vault, false when it hangs off a\r\ntask, a condition or an asset account. Callers use it to decide what a user may do with the\r\ndocument: only a vault document can be deleted. Any document can be given a document type."},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document is filed under (from the loan document types list); null when it has none.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the loan document type; null when the document has none.","nullable":true},"loanDocumentTypeExternalId":{"type":"string","description":"The loan document type's id in the Loan Origination System.","nullable":true},"loanDocumentTypeFolderName":{"type":"string","description":"Name of the folder the loan document type belongs to; null when the document has no type.","nullable":true},"description":{"type":"string","description":"A free-text description of the document; may be empty.","nullable":true},"isDeleted":{"type":"boolean","description":"True when the document has been deleted. Deleted documents are normally left out of lists."},"isInternal":{"type":"boolean","description":"True for a staff-only document that is hidden from borrowers and partner applications."},"isObsolete":{"type":"boolean","description":"The LOS no longer considers this document active. It stays visible so users can still see\r\nit, but it is not current and is never pushed back to the LOS."},"isProtected":{"type":"boolean","description":"The LOS holds the document as Protected, locked there against edits and deletion. Set and\r\ncleared by Admin and Processor through the document status endpoints, or in the LOS itself."},"losStatus":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"title":{"type":"string","description":"The title shown for the document; may be empty, in which case the file name is shown.","nullable":true},"splitFromDocumentId":{"type":"string","description":"On a part of a split combined PDF: the id of the original document it was cut from. Null on every other document.","format":"uuid","nullable":true},"splitStartPage":{"type":"integer","description":"On a part of a split combined PDF: the first page of the original it holds. Null on every other document.","format":"int32","nullable":true},"splitEndPage":{"type":"integer","description":"On a part of a split combined PDF: the last page of the original it holds. Null on every other document.","format":"int32","nullable":true},"isUnsorted":{"type":"boolean","description":"True while the document was bulk-uploaded to the loan with no task and no type and nobody has\r\nsorted it. It is held out of the LOS until it is put on a task or given a type."},"hasNoFile":{"type":"boolean","description":"True for a staff-only entry the Loan Origination System holds with no file here (a non-PDF assigned to a condition): there is nothing to open, download or move."},"intakeStatus":{"type":"string","description":"NeedsPassword or Duplicate for a bulk-uploaded document that is held for that reason; null\r\notherwise. See DocumentIntakeStatuses.","nullable":true},"duplicateOfDocumentId":{"type":"string","description":"The existing document this one repeats, when IntakeStatus is Duplicate.","format":"uuid","nullable":true},"indexStatus":{"type":"string","description":"Whether the document's text is searchable: Indexed, Pending, Failed or NotSubmitted. Set by\r\nthe document lists for staff callers; null when it was not looked up, or the lookup failed.","nullable":true},"analysis":{"$ref":"#/components/schemas/DocumentAnalysisSummary"},"internalNotes":{"type":"string","description":"Staff-only internal notes on the document, verbatim from the Loan Origination System. Returned only to callers who may see internal notes; null for everyone else.","nullable":true}},"additionalProperties":false,"description":"A document on a loan: the file, the task or condition it is attached to, its type and its status."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."},"DocumentAnalysisSummary":{"type":"object","properties":{"status":{"type":"string","description":"Pending, Completed, Failed or Skipped. Failed reads \"Not analysed\".","nullable":true},"verdict":{"type":"string","description":"Whether the document is what was asked for: Matches, Mismatch, Unreadable or Unknown.","nullable":true},"reasonCode":{"type":"string","description":"On a Mismatch, why: WrongDocument, WrongPeriod, WrongAccount, WrongBorrower, MissingPages or Expired. On an Unreadable verdict from the page quality check, UnreadablePages.","nullable":true},"reason":{"type":"string","description":"One line in plain language explaining the verdict, written for the borrower.","nullable":true},"suggestedRejectionReasonCode":{"type":"string","description":"The seeded TaskRejectionReason code the panel pre-selects for a Mismatch.","nullable":true},"suggestedTaskId":{"type":"string","description":"Id of the task or condition the document appears to belong to; null when none matched.","format":"uuid","nullable":true},"suggestedTaskName":{"type":"string","description":"Name of the suggested task or condition.","nullable":true},"isOnSuggestedTask":{"type":"boolean","description":"False when the document sits on a different task than the best match: shown for confirmation."},"matchConfidence":{"type":"number","description":"How sure the analysis is of the suggested task, from 0 to 1.","format":"double","nullable":true},"suggestedLoanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document looks like; null when not determined.","format":"uuid","nullable":true},"suggestedLoanDocumentTypeName":{"type":"string","description":"Name of the suggested loan document type.","nullable":true},"suggestedTitle":{"type":"string","description":"The title the analysis suggests for the document, built from what it read (for example the account and statement period).","nullable":true},"titleAppliedAutomatically":{"type":"boolean","description":"True when the document's current title was set by the analysis rather than by a person."},"previousTitle":{"type":"string","description":"The title the document had before the analysis renamed it; null when it was not renamed.","nullable":true},"autoNameDisabled":{"type":"boolean","description":"True when a person undid an automatic name; the analysis never renames this document again."},"filedByType":{"type":"boolean","description":"Filed under the suggested LOS type and folder by the analysis, for a person to confirm or correct."},"duplicateOfDocumentId":{"type":"string","description":"Id of an earlier document on the loan with the same content, when this one repeats it; otherwise null.","format":"uuid","nullable":true},"supersedesDocumentId":{"type":"string","description":"Id of an earlier document this one replaces (a newer version of the same document); otherwise null.","format":"uuid","nullable":true},"supersededByDocumentId":{"type":"string","description":"Id of a newer document that replaces this one; otherwise null.","format":"uuid","nullable":true},"outcome":{"type":"string","description":"What a person did with the suggestion: Confirmed, Corrected, Rejected or Ignored; null while no one has acted.","nullable":true},"outcomeAt":{"type":"string","description":"When the person acted on the suggestion, in UTC (ISO 8601); null while no one has.","format":"date-time","nullable":true},"coveredPeriods":{"type":"array","items":{"type":"string"},"description":"For a request that needs a span of statements, the months the uploaded documents cover, each formatted yyyy-MM.","nullable":true},"missingPeriods":{"type":"array","items":{"type":"string"},"description":"The requested months no uploaded document covers yet, each formatted yyyy-MM.","nullable":true},"monthsMissing":{"type":"integer","description":"How many months of the request are still missing.","format":"int32","nullable":true},"analyzedAt":{"type":"string","description":"When the analysis was done, in UTC (ISO 8601).","format":"date-time"},"splitSuggestion":{"$ref":"#/components/schemas/SplitSuggestion"},"pageIssues":{"type":"array","items":{"$ref":"#/components/schemas/PageIssue"},"description":"The pages the quality check flagged, which the Unreadable-page request names.","nullable":true}},"additionalProperties":false,"description":"What the document review shows for a document: the suggested task, type and title, the verdict and whether the title was applied automatically. The evidence and page text the analysis read are not included."},"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."},"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."},"TaskRejectionReason":{"type":"object","properties":{"id":{"type":"string","description":"Id of the rejection reason (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the rejection reason.","nullable":true},"code":{"type":"string","description":"Stable code of the rejection reason.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the reason in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"A reason a reviewer gives for rejecting a task's document."},"PosCreditReportType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the report type (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the report type.","nullable":true},"name":{"type":"string","description":"Display name of the report type.","nullable":true}},"additionalProperties":false,"description":"The type of credit report a credit report task asks for."},"TaskQuestionType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the question type (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the question type.","nullable":true},"code":{"type":"string","description":"Stable code of the question type.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the question type in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"For a question task, the kind of answer it asks for, such as yes/no or a short answer."},"LoanAppUser":{"type":"object","properties":{"id":{"type":"string","description":"Id of the user (GUID).","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true}},"additionalProperties":false,"description":"A user, such as the staff member a task is assigned to."},"TaskType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the task type.","nullable":true},"name":{"type":"string","description":"Display name of the task type.","nullable":true}},"additionalProperties":false,"description":"The kind of task."},"TaskAssignmentType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the assignment type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the assignment type.","nullable":true},"name":{"type":"string","description":"Display name of the assignment type.","nullable":true}},"additionalProperties":false,"description":"Who a task is assigned to: a borrower or a user."}}}}
```

## The LoanApplicationCreateBorrowerDto object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanApplicationCreateBorrowerDto":{"type":"object","properties":{"clientId":{"type":"string","description":"An existing client for this borrower; leave it out to have one found or created.","format":"uuid","nullable":true},"firstName":{"type":"string","description":"Borrower's legal first name, as on their ID. Required when clientId is not sent.","nullable":true},"lastName":{"type":"string","description":"Borrower's legal last name, as on their ID. Required when clientId is not sent.","nullable":true},"email":{"type":"string","description":"Borrower's email address. An existing client with this email within your scope is reused; otherwise one is created. Required when clientId is not sent.","nullable":true},"phone":{"type":"string","description":"Borrower's phone number. Optional.","nullable":true}},"additionalProperties":false,"description":"A borrower to create the loan for, when you do not have a client id. The first one listed is the primary borrower. A borrower without its own `clientId` needs `firstName`, `lastName` and `email` (400 otherwise)."}}}}
```

## The LoanApplicationCreateDto object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanApplicationCreateDto":{"required":["propertyAddress"],"type":"object","properties":{"clientId":{"type":"string","description":"An existing client to make the borrower. Leave it out and send `borrowers` instead: a client is\r\nfound by email within your scope, or created.","format":"uuid","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplicationCreateBorrowerDto"},"description":"The borrowers when there is no `clientId`, the first being the primary. Each needs a first name,\r\nlast name and email.","nullable":true},"userId":{"type":"string","description":"Defaulted to current user, if not an admin","format":"uuid","nullable":true},"propertyAddress":{"$ref":"#/components/schemas/Address"}},"additionalProperties":false,"description":"Send `clientId`, or at least one entry in `borrowers`; when both are sent, `clientId` is used and `borrowers` is not read."},"LoanApplicationCreateBorrowerDto":{"type":"object","properties":{"clientId":{"type":"string","description":"An existing client for this borrower; leave it out to have one found or created.","format":"uuid","nullable":true},"firstName":{"type":"string","description":"Borrower's legal first name, as on their ID. Required when clientId is not sent.","nullable":true},"lastName":{"type":"string","description":"Borrower's legal last name, as on their ID. Required when clientId is not sent.","nullable":true},"email":{"type":"string","description":"Borrower's email address. An existing client with this email within your scope is reused; otherwise one is created. Required when clientId is not sent.","nullable":true},"phone":{"type":"string","description":"Borrower's phone number. Optional.","nullable":true}},"additionalProperties":false,"description":"A borrower to create the loan for, when you do not have a client id. The first one listed is the primary borrower. A borrower without its own `clientId` needs `firstName`, `lastName` and `email` (400 otherwise)."},"Address":{"required":["state"],"type":"object","properties":{"addressLine1":{"type":"string","description":"Street address, for example 123 Main St.","nullable":true},"addressLine2":{"type":"string","description":"Unit, suite or other second line; optional.","nullable":true},"city":{"type":"string","description":"City name.","nullable":true},"state":{"minLength":1,"type":"string","description":"Two-letter state code."},"zipCode":{"type":"string","description":"Postal (ZIP) code.","nullable":true}},"additionalProperties":false,"description":"A US mailing address."}}}}
```

## The LoanApplicationPatch object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanApplicationPatch":{"type":"object","properties":{"loanAmount":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"loanTerm":{"type":"integer","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"int32"},"loanType":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"purpose":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"amortizationType":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"lienPosition":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"purchasePrice":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"downPayment":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"downPaymentPercentage":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"subjectPropertyAddress":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"appraisalValue":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"propertyType":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"occupancy":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"numberOfUnits":{"type":"integer","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"int32"},"cashOutAmount":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"estimatedMonthlyMarketRent":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"isRenovationLoan":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isNewConstruction":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isEmployeeLoan":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"leadSource":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/BorrowerPatch"},"description":"Changes to borrowers, each addressed by its id (hdBorrowerId from get_loan_application / GET loan-applications/{id}). A loan holds one primary borrower and at most one co-borrower. An entry without an id ADDS a co-borrower (refused if the loan already has one; firstName and lastName are required). An entry with an id and remove: true removes that co-borrower; the primary borrower cannot be removed. Omit to leave every borrower unchanged.","nullable":true},"temporaryBuydown":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"trusts":{"type":"array","items":{"type":"object"},"description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"titleHeldInTrust":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"finalVesting":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."}},"additionalProperties":false,"description":"A partial 1003: only the fields you want to change on the loan application. Leave a field out to keep its stored value; send null to clear it. Liabilities and assets have their own endpoints, and the loan's assignments, status, lock and compensation cannot be changed here. Send at least one property: a property left out is unchanged, one sent as null is cleared, and a body that changes nothing is refused."},"BorrowerPatch":{"type":"object","properties":{"id":{"type":"string","description":"The borrower's hdBorrowerId (GUID). Omit to add a co-borrower.","format":"uuid","nullable":true},"remove":{"type":"boolean","description":"true removes the co-borrower named by id. Only a co-borrower can be removed. Every other field is ignored when true."},"firstName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"middleName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"lastName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"suffixName":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"birthDate":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"ssn":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"email":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"homePhone":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"mobilePhone":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"workPhone":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"maritalStatus":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"citizenship":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"numberOfDependents":{"type":"integer","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"int32"},"dependentAges":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isMilitary":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"vestingType":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"currentAddress":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"mailingAddress":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"previousAddresses":{"type":"array","items":{"type":"object"},"description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"declaration":{"$ref":"#/components/schemas/DeclarationPatch"},"demographics":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"veteranDetail":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"language":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"employments":{"type":"array","items":{"$ref":"#/components/schemas/EmploymentPatch"},"description":"Changes to employers, each addressed by id (the employer's externalId) or, for an employer that has no id yet, by index (its zero-based position in the list as last read). An entry with neither adds an employer; remove: true removes the addressed one. Omit to leave every employer unchanged.","nullable":true},"otherIncomes":{"type":"array","items":{"type":"object"},"description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"ownedProperties":{"type":"array","items":{"$ref":"#/components/schemas/OwnedPropertyPatch"},"description":"Changes to real estate owned, each addressed by id (the property's externalId) or, for one that has no id yet, by index (its zero-based position in the list as last read). An entry with neither adds a property; remove: true removes the addressed one. Omit to leave every property unchanged.","nullable":true}},"additionalProperties":false,"description":"One borrower's changes. Addressed by `id`, the stored `HdBorrowerId`. An entry without an `id` adds a co-borrower and needs `firstName` and `lastName`."},"DeclarationPatch":{"type":"object","properties":{"hasIntentToOccupy":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isHomeownerPastThreeYears":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"priorPropertyUsage":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"priorPropertyTitle":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isBuyerSellerSpecialRelationship":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasUndisclosedBorrowedFunds":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"undisclosedBorrowedFundsAmount":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"hasUndisclosedCreditApplication":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasUndisclosedMortgageApplication":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasCleanEnergyLien":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isUndisclosedComakerOfNote":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasOutstandingJudgements":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isDelinquent":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isPartyToLawsuit":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasDeedInLieu":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasShortSale":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasForeclosure":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasBankruptcy":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"bankruptcyTypes":{"type":"array","items":{"type":"string"},"description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"hasHousingCounselingConsent":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."}},"additionalProperties":false,"description":"The borrower's declarations, answer by answer. An answer left out is kept as stored; one sent as null is cleared."},"EmploymentPatch":{"type":"object","properties":{"id":{"type":"string","description":"The employer's externalId. Takes precedence over index.","nullable":true},"index":{"type":"integer","description":"Zero-based position of the employer in the list as last read. Use only for an employer that has no externalId yet.","format":"int32","nullable":true},"remove":{"type":"boolean","description":"true removes the addressed employer. Every other field is ignored when true."},"name":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"position":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isCurrent":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isSelfEmployed":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isPrimary":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"ownershipShare":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"startDate":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"endDate":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"professionStartDate":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"lineOfWorkInMonths":{"type":"integer","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"int32"},"businessPhone":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"email":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"monthlyIncomeAmount":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"address":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"incomes":{"type":"array","items":{"type":"object"},"description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."}},"additionalProperties":false,"description":"One employer's changes. Addressed by `id` (the stored `ExternalId`) or, for an\r\nemployer that has none yet, by `index`. An entry with neither `id` nor `index` adds an employer."},"OwnedPropertyPatch":{"type":"object","properties":{"id":{"type":"string","description":"The property's externalId. Takes precedence over index.","nullable":true},"index":{"type":"integer","description":"Zero-based position of the property in the list as last read. Use only for a property that has no externalId yet.","format":"int32","nullable":true},"remove":{"type":"boolean","description":"true removes the addressed property. Every other field is ignored when true."},"address":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"dispositionStatus":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"occupancy":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"intendedOccupancy":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"intendedOccupancyOtherDescription":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"marketValue":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"monthlyRentalGross":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"maintenanceExpense":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"monthlyRentalNet":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"lienBalance":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"lienMonthlyPayment":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"isSubject":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isCurrent":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."}},"additionalProperties":false,"description":"One real-estate-owned property's changes. Addressed by `id` (the stored\r\n`ExternalId`) or, for a property that has none yet, by `index`. An entry with neither `id` nor `index` adds a property."}}}}
```

## The LoanApplicationTaskItem object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanApplicationTaskItem":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task or condition (GUID).","format":"uuid","nullable":true},"taskStatusTimestamp":{"type":"string","description":"When the task's status last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"When the task was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created (ISO 8601 date and time, UTC).","format":"date-time"},"item":{"$ref":"#/components/schemas/Item"},"assignedToBorrowerId":{"type":"string","description":"Id (GUID) of the borrower the task is assigned to. Null for a user task or a task for the loan's borrowers generally.","format":"uuid","nullable":true},"status":{"$ref":"#/components/schemas/TaskStatus"},"document":{"$ref":"#/components/schemas/Document"},"rejectionReasonNote":{"type":"string","description":"The reviewer's free-text note when the task's document was rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReason"},"creditReportType":{"$ref":"#/components/schemas/PosCreditReportType"},"isForPrimaryBorrower":{"type":"boolean","description":"True when the task is for the primary borrower, false when it is for the co-borrower. Null when it is for neither in particular.","nullable":true},"isRequired":{"type":"boolean","description":"Whether the task must be completed before the file can move forward."},"isAccountMainTask":{"type":"boolean","description":"True for the main task of an asset account, the one that requests the account's statements."},"questionType":{"$ref":"#/components/schemas/TaskQuestionType"},"yesNoResponse":{"type":"boolean","description":"The borrower's answer to a yes/no question task. Null until answered.","nullable":true},"shortAnswer":{"type":"string","description":"The borrower's answer to a short-answer question task. Null until answered.","nullable":true},"assignedToUser":{"$ref":"#/components/schemas/LoanAppUser"},"name":{"type":"string","description":"Display name of the task or condition.","nullable":true},"description":{"type":"string","description":"Description of the task. For a condition, the condition text: the reworded text when staff edited it in Henge, otherwise the LOS text.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the task among its siblings, lowest first.","format":"int32","nullable":true},"type":{"$ref":"#/components/schemas/TaskType"},"code":{"type":"string","description":"Short code of the task.","nullable":true},"conditionNo":{"type":"integer","description":"Condition number in the LOS. Conditions only.","format":"int32","nullable":true},"conditionCategory":{"type":"string","description":"Category of the condition in the LOS. Conditions only.","nullable":true},"conditionDueDate":{"type":"string","description":"Due date of the condition (ISO 8601 date). Conditions only.","format":"date","nullable":true},"conditionAssignedUserFullName":{"type":"string","description":"Full name of the user the condition is assigned to in the LOS. Conditions only.","nullable":true},"conditionBorrowerFullName":{"type":"string","description":"Full name of the borrower the condition is for. Conditions only.","nullable":true},"conditionIsHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower. Staff roles still see it; a caller that receives a hidden condition is entitled to it.","nullable":true},"conditionSourceText":{"type":"string","description":"The LOS's original condition text. Set only when staff reworded the condition in Henge, in which case description carries the rewording; null otherwise.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True when staff reworded this condition in Henge. The rewording is never sent to the LOS."},"notes":{"type":"string","description":"Notes on the task or condition.","nullable":true},"taskAssignmentType":{"$ref":"#/components/schemas/TaskAssignmentType"},"isSubscribed":{"type":"boolean","description":"Whether the calling user is subscribed to status-change notifications for this task. Null when not computed.","nullable":true},"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition this task belongs to. Null on conditions and on standalone tasks. Read on create; ignored on update.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account the task belongs to, if any. Needed on create only for a Transaction History task; ignored on update.","format":"uuid","nullable":true},"assetAccountName":{"type":"string","description":"Name of the asset account the task belongs to. Response only, and filled only where the response includes accounts.","nullable":true},"creditReportNumber":{"type":"string","description":"For credit report tasks, the credit agency's report number.","nullable":true},"requestTaskId":{"type":"string","description":"Id of the first task of the document request this task is a copy of (one task per document). Null on the first task itself. On create, naming any task of a request makes the new task a copy that joins that request.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"ownerPairId":{"type":"string","description":"Id (GUID) of the borrower pair staff made the owner of this task or condition. Empty when the owner is worked out on read.","format":"uuid","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True for a whole-loan task or condition that every borrower pair sees."}},"additionalProperties":false,"description":"A task or condition on a loan: a document request, a question, a user task or a condition from the LOS."},"Item":{"type":"object","properties":{"id":{"type":"string","description":"Id of the item (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the item; send it as the item code when you create a task.","nullable":true},"name":{"type":"string","description":"Display name of the item.","nullable":true},"groupCode":{"type":"string","description":"Code of the condition group the item's tasks are shown under. Null means Other.","nullable":true},"canCreateManually":{"type":"boolean","description":"True when staff can create a task for this item by hand."},"canUploadDocument":{"type":"boolean","description":"True when a document can be uploaded against this item."}},"additionalProperties":false,"description":"A kind of request a task can ask for, such as a specific document."},"TaskStatus":{"type":"object","properties":{"id":{"type":"string","description":"Id of the status (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the status.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a task, for example Requested, Uploaded, Submitted or Accepted."},"Document":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"externalId":{"type":"string","description":"The document's id in the Loan Origination System; empty until it has been sent there.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once an uploaded file has been converted to PDF and can be opened; false while conversion is still running."},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition the document is attached to; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"blobName":{"type":"string","description":"The name the file is stored under. An internal storage key: download through the document routes rather than using it.","nullable":true},"createdTimestamp":{"type":"string","description":"When the document was created, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the document was last changed, in UTC (ISO 8601).","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user who last changed the document; null when the change was automatic or unknown.","format":"uuid","nullable":true},"documentTypeId":{"type":"string","description":"Id of the platform's broad document category (such as a vault or task document). Not the loan document type, which is loanDocumentTypeId.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan's vault, false when it hangs off a\r\ntask, a condition or an asset account. Callers use it to decide what a user may do with the\r\ndocument: only a vault document can be deleted. Any document can be given a document type."},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document is filed under (from the loan document types list); null when it has none.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the loan document type; null when the document has none.","nullable":true},"loanDocumentTypeExternalId":{"type":"string","description":"The loan document type's id in the Loan Origination System.","nullable":true},"loanDocumentTypeFolderName":{"type":"string","description":"Name of the folder the loan document type belongs to; null when the document has no type.","nullable":true},"description":{"type":"string","description":"A free-text description of the document; may be empty.","nullable":true},"isDeleted":{"type":"boolean","description":"True when the document has been deleted. Deleted documents are normally left out of lists."},"isInternal":{"type":"boolean","description":"True for a staff-only document that is hidden from borrowers and partner applications."},"isObsolete":{"type":"boolean","description":"The LOS no longer considers this document active. It stays visible so users can still see\r\nit, but it is not current and is never pushed back to the LOS."},"isProtected":{"type":"boolean","description":"The LOS holds the document as Protected, locked there against edits and deletion. Set and\r\ncleared by Admin and Processor through the document status endpoints, or in the LOS itself."},"losStatus":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"title":{"type":"string","description":"The title shown for the document; may be empty, in which case the file name is shown.","nullable":true},"splitFromDocumentId":{"type":"string","description":"On a part of a split combined PDF: the id of the original document it was cut from. Null on every other document.","format":"uuid","nullable":true},"splitStartPage":{"type":"integer","description":"On a part of a split combined PDF: the first page of the original it holds. Null on every other document.","format":"int32","nullable":true},"splitEndPage":{"type":"integer","description":"On a part of a split combined PDF: the last page of the original it holds. Null on every other document.","format":"int32","nullable":true},"isUnsorted":{"type":"boolean","description":"True while the document was bulk-uploaded to the loan with no task and no type and nobody has\r\nsorted it. It is held out of the LOS until it is put on a task or given a type."},"hasNoFile":{"type":"boolean","description":"True for a staff-only entry the Loan Origination System holds with no file here (a non-PDF assigned to a condition): there is nothing to open, download or move."},"intakeStatus":{"type":"string","description":"NeedsPassword or Duplicate for a bulk-uploaded document that is held for that reason; null\r\notherwise. See DocumentIntakeStatuses.","nullable":true},"duplicateOfDocumentId":{"type":"string","description":"The existing document this one repeats, when IntakeStatus is Duplicate.","format":"uuid","nullable":true},"indexStatus":{"type":"string","description":"Whether the document's text is searchable: Indexed, Pending, Failed or NotSubmitted. Set by\r\nthe document lists for staff callers; null when it was not looked up, or the lookup failed.","nullable":true},"analysis":{"$ref":"#/components/schemas/DocumentAnalysisSummary"},"internalNotes":{"type":"string","description":"Staff-only internal notes on the document, verbatim from the Loan Origination System. Returned only to callers who may see internal notes; null for everyone else.","nullable":true}},"additionalProperties":false,"description":"A document on a loan: the file, the task or condition it is attached to, its type and its status."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."},"DocumentAnalysisSummary":{"type":"object","properties":{"status":{"type":"string","description":"Pending, Completed, Failed or Skipped. Failed reads \"Not analysed\".","nullable":true},"verdict":{"type":"string","description":"Whether the document is what was asked for: Matches, Mismatch, Unreadable or Unknown.","nullable":true},"reasonCode":{"type":"string","description":"On a Mismatch, why: WrongDocument, WrongPeriod, WrongAccount, WrongBorrower, MissingPages or Expired. On an Unreadable verdict from the page quality check, UnreadablePages.","nullable":true},"reason":{"type":"string","description":"One line in plain language explaining the verdict, written for the borrower.","nullable":true},"suggestedRejectionReasonCode":{"type":"string","description":"The seeded TaskRejectionReason code the panel pre-selects for a Mismatch.","nullable":true},"suggestedTaskId":{"type":"string","description":"Id of the task or condition the document appears to belong to; null when none matched.","format":"uuid","nullable":true},"suggestedTaskName":{"type":"string","description":"Name of the suggested task or condition.","nullable":true},"isOnSuggestedTask":{"type":"boolean","description":"False when the document sits on a different task than the best match: shown for confirmation."},"matchConfidence":{"type":"number","description":"How sure the analysis is of the suggested task, from 0 to 1.","format":"double","nullable":true},"suggestedLoanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document looks like; null when not determined.","format":"uuid","nullable":true},"suggestedLoanDocumentTypeName":{"type":"string","description":"Name of the suggested loan document type.","nullable":true},"suggestedTitle":{"type":"string","description":"The title the analysis suggests for the document, built from what it read (for example the account and statement period).","nullable":true},"titleAppliedAutomatically":{"type":"boolean","description":"True when the document's current title was set by the analysis rather than by a person."},"previousTitle":{"type":"string","description":"The title the document had before the analysis renamed it; null when it was not renamed.","nullable":true},"autoNameDisabled":{"type":"boolean","description":"True when a person undid an automatic name; the analysis never renames this document again."},"filedByType":{"type":"boolean","description":"Filed under the suggested LOS type and folder by the analysis, for a person to confirm or correct."},"duplicateOfDocumentId":{"type":"string","description":"Id of an earlier document on the loan with the same content, when this one repeats it; otherwise null.","format":"uuid","nullable":true},"supersedesDocumentId":{"type":"string","description":"Id of an earlier document this one replaces (a newer version of the same document); otherwise null.","format":"uuid","nullable":true},"supersededByDocumentId":{"type":"string","description":"Id of a newer document that replaces this one; otherwise null.","format":"uuid","nullable":true},"outcome":{"type":"string","description":"What a person did with the suggestion: Confirmed, Corrected, Rejected or Ignored; null while no one has acted.","nullable":true},"outcomeAt":{"type":"string","description":"When the person acted on the suggestion, in UTC (ISO 8601); null while no one has.","format":"date-time","nullable":true},"coveredPeriods":{"type":"array","items":{"type":"string"},"description":"For a request that needs a span of statements, the months the uploaded documents cover, each formatted yyyy-MM.","nullable":true},"missingPeriods":{"type":"array","items":{"type":"string"},"description":"The requested months no uploaded document covers yet, each formatted yyyy-MM.","nullable":true},"monthsMissing":{"type":"integer","description":"How many months of the request are still missing.","format":"int32","nullable":true},"analyzedAt":{"type":"string","description":"When the analysis was done, in UTC (ISO 8601).","format":"date-time"},"splitSuggestion":{"$ref":"#/components/schemas/SplitSuggestion"},"pageIssues":{"type":"array","items":{"$ref":"#/components/schemas/PageIssue"},"description":"The pages the quality check flagged, which the Unreadable-page request names.","nullable":true}},"additionalProperties":false,"description":"What the document review shows for a document: the suggested task, type and title, the verdict and whether the title was applied automatically. The evidence and page text the analysis read are not included."},"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."},"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."},"TaskRejectionReason":{"type":"object","properties":{"id":{"type":"string","description":"Id of the rejection reason (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the rejection reason.","nullable":true},"code":{"type":"string","description":"Stable code of the rejection reason.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the reason in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"A reason a reviewer gives for rejecting a task's document."},"PosCreditReportType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the report type (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the report type.","nullable":true},"name":{"type":"string","description":"Display name of the report type.","nullable":true}},"additionalProperties":false,"description":"The type of credit report a credit report task asks for."},"TaskQuestionType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the question type (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the question type.","nullable":true},"code":{"type":"string","description":"Stable code of the question type.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the question type in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"For a question task, the kind of answer it asks for, such as yes/no or a short answer."},"LoanAppUser":{"type":"object","properties":{"id":{"type":"string","description":"Id of the user (GUID).","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true}},"additionalProperties":false,"description":"A user, such as the staff member a task is assigned to."},"TaskType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the task type.","nullable":true},"name":{"type":"string","description":"Display name of the task type.","nullable":true}},"additionalProperties":false,"description":"The kind of task."},"TaskAssignmentType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the assignment type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the assignment type.","nullable":true},"name":{"type":"string","description":"Display name of the assignment type.","nullable":true}},"additionalProperties":false,"description":"Who a task is assigned to: a borrower or a user."}}}}
```

## The LoanApplicationWarning object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanApplicationWarning":{"type":"object","properties":{"field":{"type":"string","description":"The request field the warning is about, for example `loanInfo.borrowers[0].contacts.email`.","nullable":true},"message":{"type":"string","description":"Plain-English text of the warning.","nullable":true}},"additionalProperties":false,"description":"Something the caller should know about a request that still succeeded."}}}}
```

## The LoanAppraisalRequests object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAppraisalRequests":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Id of the loan application (GUID).","format":"uuid"},"available":{"type":"boolean","description":"False until the initial Loan Estimate is signed; unavailableReason then says why."},"unavailableReason":{"type":"string","description":"Why an appraisal cannot be requested now. Null when available.","nullable":true},"requests":{"type":"array","items":{"$ref":"#/components/schemas/AppraisalRequestSummary"},"description":"Newest first.","nullable":true}},"additionalProperties":false,"description":"A loan's appraisal requests and whether one may be requested now. Each request records who asked, when, where it was sent and whether it was a rush."},"AppraisalRequestSummary":{"type":"object","properties":{"requestedAtUtc":{"type":"string","description":"When the appraisal was requested, ISO 8601 in UTC.","format":"date-time"},"requestedByName":{"type":"string","description":"Name of the user who made the request.","nullable":true},"sentToEmail":{"type":"string","description":"Email address the request was sent to.","nullable":true},"rush":{"type":"boolean","description":"True when the request was marked rush."}},"additionalProperties":false}}}}
```

## The LoanAusResult object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanAusResult":{"type":"object","properties":{"duCasefileId":{"type":"string","description":"The DU casefile id of the loan's latest DU run. A resubmission reuses it.","nullable":true},"lpaKey":{"type":"string","description":"The Freddie Mac LPA key written onto the loan by an LPA import; null when none.","nullable":true},"recommendation":{"type":"string","description":"The underwriting recommendation as text, for example Approve/Eligible.","nullable":true},"resultCode":{"type":"integer","description":"Numeric code of the result: 0 not submitted, 1 to 9 the DU results, 10 to 13 and 15 to 19 the LPA results, 14 out of scope. Null when nothing was sent.","format":"int32","nullable":true},"result":{"type":"string","description":"The name of resultCode; null when there is no code.","nullable":true}},"additionalProperties":false,"description":"The latest automated underwriting result held on the loan. It is read from the Loan Origination System on every loan read and is never written back; the run history is the aus/runs list."}}}}
```

## The LoanCompany object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanCompany":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the company.","format":"uuid"},"name":{"type":"string","description":"Company name.","nullable":true},"code":{"type":"string","description":"The company's short code.","nullable":true},"companyTypeName":{"type":"string","description":"Name of the company type, for example TPO; null for a standard company.","nullable":true}},"additionalProperties":false,"description":"The company a loan belongs to, as carried on a loan read. Enough for a reader to tell a TPO\r\nloan from a Standard one without a second call: `CompanyTypeName` is the company\r\ntype's name (\"TPO\"), and null means Standard, the same rule the companies endpoint applies."}}}}
```

## The LoanCredit object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanCredit":{"type":"object","properties":{"source":{"type":"string","description":"Report when the facts come from a credit report, Manual when they were entered by hand; null when the loan carries no credit at all.","nullable":true},"hasCreditReport":{"type":"boolean","description":"True when a credit report is on the loan, whether ordered through Henge or imported through the Loan Origination System."},"representativeScore":{"type":"integer","description":"The score pricing uses: the lowest representative score across the borrowers, by the usual rule\r\n(middle of three bureau scores, lower of two, the one when there is one). From the report when there\r\nis one, else from the broker's entry.","format":"int32","nullable":true},"pricingScore":{"type":"integer","description":"The score pricing uses (the lowest borrower's) when the scores are a manual entry; null otherwise.","format":"int32","nullable":true},"qualifyingScore":{"type":"integer","description":"The score qualification and the pre-approval check use: the average of the borrowers' middle scores, rounded half up. It differs from representativeScore (the lowest borrower's, used for pricing) on a loan with more than one borrower. Null when there are no scores.","format":"int32","nullable":true},"reports":{"type":"array","items":{"$ref":"#/components/schemas/LoanCreditReport"},"description":"Every credit report order on the loan, newest first, failed and cancelled ones included with their status. May be absent.","nullable":true},"mortgageLates":{"$ref":"#/components/schemas/MortgageLates"},"publicRecords":{"$ref":"#/components/schemas/CreditPublicRecords"},"manual":{"$ref":"#/components/schemas/ManualCreditEntry"},"reissue":{"$ref":"#/components/schemas/LoanCreditReissue"}},"additionalProperties":false,"description":"The loan's credit facts and where they come from: a credit report, or what a broker entered by hand to price and qualify before a report is on the loan. Rebuilt on every read. Once the loan has a report it always wins, and the broker's entry is kept with isCurrent false; broker-entered scores are never treated as bureau scores."},"LoanCreditReport":{"type":"object","properties":{"orderId":{"type":"string","description":"Id (GUID) of the credit report order.","format":"uuid"},"reportNumber":{"type":"string","description":"The agency's report number; null on a failed pull that was never issued one.","nullable":true},"status":{"type":"string","description":"The order's status by name, including Failed and Cancelled.","nullable":true},"isCurrent":{"type":"boolean","description":"True for the one order the rest of the platform reads scores from."},"source":{"type":"string","description":"How the order got onto the loan: Placed (ordered through Henge), Imported or Tracked.","nullable":true},"pullType":{"type":"string","description":"`Soft` or `Hard`; null when not known.","nullable":true},"agency":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"orderedAtUtc":{"type":"string","description":"When the report was ordered, in UTC (ISO 8601).","format":"date-time","nullable":true},"failureReason":{"type":"string","description":"The vendor's reason, on a failed order.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/OrdersCreditReportBorrower"},"description":"The borrowers the report covers, with the bureau scores returned for each.","nullable":true},"averageScore":{"type":"integer","description":"Average of the borrowers' middle scores: what qualification uses.","format":"int32","nullable":true},"pricingScore":{"type":"integer","description":"The lowest borrower's middle score: what pricing uses.","format":"int32","nullable":true},"referenceNumbers":{"type":"array","items":{"type":"string"},"description":"The agency's reference (file) numbers of the report; more than one when separate reports were reissued for separate borrowers.","nullable":true},"vaultDocumentId":{"type":"string","description":"Id of the loan document that holds the report; null when none was filed.","format":"uuid","nullable":true},"liabilityImport":{"$ref":"#/components/schemas/OrdersCreditReportLiabilityImport"}},"additionalProperties":false,"description":"One credit report order as the loan shows it: which pull, how it stands and what it returned. It never holds a login."},"OrdersCreditReportBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"The borrower's identifier on the loan, when the pull was matched to one.","format":"uuid","nullable":true},"name":{"type":"string","description":"The borrower's name as on the report.","nullable":true},"experian":{"type":"integer","description":"Null when the bureau returned no score for this borrower.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"score":{"type":"integer","description":"The borrower's single score derived from the bureau scores; null with no scores.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One borrower covered by a credit report, with the bureau scores it returned."},"OrdersCreditReportLiabilityImport":{"type":"object","properties":{"outcome":{"type":"string","description":"What the liability import did, as a short status word.","nullable":true},"imported":{"type":"integer","description":"Number of liabilities imported; null when none were attempted.","format":"int32","nullable":true},"message":{"type":"string","description":"An explanation of the outcome, such as a warning or the reason the import failed.","nullable":true}},"additionalProperties":false,"description":"What importing the report's liabilities into the loan did."},"MortgageLates":{"type":"object","properties":{"x30":{"type":"integer","description":"Mortgage payments 30 days late.","format":"int32","nullable":true},"x60":{"type":"integer","description":"Mortgage payments 60 days late.","format":"int32","nullable":true},"x90":{"type":"integer","description":"Mortgage payments 90 days late.","format":"int32","nullable":true},"x120":{"type":"integer","description":"Mortgage payments 120 days late.","format":"int32","nullable":true},"x150":{"type":"integer","description":"Mortgage payments 150 days late.","format":"int32","nullable":true},"rollingX30":{"type":"integer","description":"Mortgage payments 30 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX60":{"type":"integer","description":"Mortgage payments 60 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX90":{"type":"integer","description":"Mortgage payments 90 days late, counting rolling lates.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Counts of mortgage payments made late in the last 12 months. The x30 to x150 counts treat rolling lates as not allowed; the rollingX counts treat them as allowed. Null means not stated, 0 means none."},"CreditPublicRecords":{"type":"object","properties":{"foreclosure":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter7":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter13":{"$ref":"#/components/schemas/CreditPublicRecord"}},"additionalProperties":false,"description":"Foreclosure/NOD, Chapter 7 and Chapter 13 history."},"CreditPublicRecord":{"type":"object","properties":{"has":{"type":"boolean","description":"True when the borrower has this kind of public record."},"fileMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"fileYear":{"type":"integer","description":"Year the record was filed, four digits; null when not known.","format":"int32","nullable":true},"status":{"type":"string","description":"NotSatisfied, Discharged or Dismissed. Required when has is true.","nullable":true},"satisfiedMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"satisfiedYear":{"type":"integer","description":"Year the record was satisfied, four digits; null when it has not been or is not known.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One public record: whether the borrower has one, when it was filed, its status and when it was satisfied."},"ManualCreditEntry":{"type":"object","properties":{"isCurrent":{"type":"boolean","description":"False once a credit report supersedes the entry, or one was on the loan before it was saved without being corrected by it: the entry is kept, but the report's values are current."},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/ManualCreditBorrowerScores"},"description":"Bureau scores per borrower: the borrower first, then the co-borrower when one was entered.","nullable":true},"mortgageLates":{"$ref":"#/components/schemas/MortgageLates"},"publicRecords":{"$ref":"#/components/schemas/CreditPublicRecords"},"enteredAtUtc":{"type":"string","description":"When the broker saved the entry, in UTC (ISO 8601).","format":"date-time"},"enteredBy":{"type":"string","description":"Id of the user who saved the entry.","format":"uuid","nullable":true},"enteredByName":{"type":"string","description":"Name of the user who saved the entry.","nullable":true},"supersededAtUtc":{"type":"string","description":"When a report replaced the entry, and the report's number.","format":"date-time","nullable":true},"supersededByReportId":{"type":"string","description":"The number of the credit report that replaced the entry; null while the entry is current.","nullable":true}},"additionalProperties":false,"description":"What a broker entered by hand, and whether it is still what the loan goes by."},"ManualCreditBorrowerScores":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id of the borrower on the loan the scores belong to, when the loan had one.","format":"uuid","nullable":true},"isCoBorrower":{"type":"boolean","description":"True for the co-borrower's scores, false for the borrower's."},"experian":{"type":"integer","description":"The Experian score the broker entered; null when none was entered.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score the broker entered; null when none was entered.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score the broker entered; null when none was entered.","format":"int32","nullable":true},"representativeScore":{"type":"integer","description":"Middle of three, lower of two, the one when there is one; null when none were entered.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Broker-entered bureau scores for one borrower. Stored and reported as broker-entered, never as a bureau score."},"LoanCreditReissue":{"type":"object","properties":{"agencyId":{"type":"string","description":"Id (GUID) of the credit reporting agency the report was reissued from.","format":"uuid"},"agencyName":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"agencyDuCode":{"type":"string","description":"The agency's DU credit provider code.","nullable":true},"reportType":{"type":"string","description":"\"HardPull\" or \"SoftPull\".","nullable":true},"reissuedTimestamp":{"type":"string","description":"When the report was reissued, in UTC (ISO 8601).","format":"date-time"},"reissuedBy":{"type":"string","description":"Id of the user who reissued the report; null when unknown.","format":"uuid","nullable":true},"reissuedByName":{"type":"string","description":"Name of the user who reissued the report.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/LoanCreditReissueBorrower"},"description":"The borrowers the reissue landed for, each with the agency's reference number.","nullable":true}},"additionalProperties":false,"description":"The read-only view of the loan's latest credit report reissue: the agency, when and by whom, and the reference numbers. The agency login name, account id and password are never returned."},"LoanCreditReissueBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id (GUID) of the borrower on the loan.","format":"uuid"},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the report for this borrower.","nullable":true}},"additionalProperties":false,"description":"One borrower of a reissue: the borrower on the loan and the agency's reference number for them."}}}}
```

## The LoanCreditReissue object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanCreditReissue":{"type":"object","properties":{"agencyId":{"type":"string","description":"Id (GUID) of the credit reporting agency the report was reissued from.","format":"uuid"},"agencyName":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"agencyDuCode":{"type":"string","description":"The agency's DU credit provider code.","nullable":true},"reportType":{"type":"string","description":"\"HardPull\" or \"SoftPull\".","nullable":true},"reissuedTimestamp":{"type":"string","description":"When the report was reissued, in UTC (ISO 8601).","format":"date-time"},"reissuedBy":{"type":"string","description":"Id of the user who reissued the report; null when unknown.","format":"uuid","nullable":true},"reissuedByName":{"type":"string","description":"Name of the user who reissued the report.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/LoanCreditReissueBorrower"},"description":"The borrowers the reissue landed for, each with the agency's reference number.","nullable":true}},"additionalProperties":false,"description":"The read-only view of the loan's latest credit report reissue: the agency, when and by whom, and the reference numbers. The agency login name, account id and password are never returned."},"LoanCreditReissueBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id (GUID) of the borrower on the loan.","format":"uuid"},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the report for this borrower.","nullable":true}},"additionalProperties":false,"description":"One borrower of a reissue: the borrower on the loan and the agency's reference number for them."}}}}
```

## The LoanCreditReissueBorrower object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanCreditReissueBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id (GUID) of the borrower on the loan.","format":"uuid"},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the report for this borrower.","nullable":true}},"additionalProperties":false,"description":"One borrower of a reissue: the borrower on the loan and the agency's reference number for them."}}}}
```

## The LoanCreditReport object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanCreditReport":{"type":"object","properties":{"orderId":{"type":"string","description":"Id (GUID) of the credit report order.","format":"uuid"},"reportNumber":{"type":"string","description":"The agency's report number; null on a failed pull that was never issued one.","nullable":true},"status":{"type":"string","description":"The order's status by name, including Failed and Cancelled.","nullable":true},"isCurrent":{"type":"boolean","description":"True for the one order the rest of the platform reads scores from."},"source":{"type":"string","description":"How the order got onto the loan: Placed (ordered through Henge), Imported or Tracked.","nullable":true},"pullType":{"type":"string","description":"`Soft` or `Hard`; null when not known.","nullable":true},"agency":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"orderedAtUtc":{"type":"string","description":"When the report was ordered, in UTC (ISO 8601).","format":"date-time","nullable":true},"failureReason":{"type":"string","description":"The vendor's reason, on a failed order.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/OrdersCreditReportBorrower"},"description":"The borrowers the report covers, with the bureau scores returned for each.","nullable":true},"averageScore":{"type":"integer","description":"Average of the borrowers' middle scores: what qualification uses.","format":"int32","nullable":true},"pricingScore":{"type":"integer","description":"The lowest borrower's middle score: what pricing uses.","format":"int32","nullable":true},"referenceNumbers":{"type":"array","items":{"type":"string"},"description":"The agency's reference (file) numbers of the report; more than one when separate reports were reissued for separate borrowers.","nullable":true},"vaultDocumentId":{"type":"string","description":"Id of the loan document that holds the report; null when none was filed.","format":"uuid","nullable":true},"liabilityImport":{"$ref":"#/components/schemas/OrdersCreditReportLiabilityImport"}},"additionalProperties":false,"description":"One credit report order as the loan shows it: which pull, how it stands and what it returned. It never holds a login."},"OrdersCreditReportBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"The borrower's identifier on the loan, when the pull was matched to one.","format":"uuid","nullable":true},"name":{"type":"string","description":"The borrower's name as on the report.","nullable":true},"experian":{"type":"integer","description":"Null when the bureau returned no score for this borrower.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"score":{"type":"integer","description":"The borrower's single score derived from the bureau scores; null with no scores.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One borrower covered by a credit report, with the bureau scores it returned."},"OrdersCreditReportLiabilityImport":{"type":"object","properties":{"outcome":{"type":"string","description":"What the liability import did, as a short status word.","nullable":true},"imported":{"type":"integer","description":"Number of liabilities imported; null when none were attempted.","format":"int32","nullable":true},"message":{"type":"string","description":"An explanation of the outcome, such as a warning or the reason the import failed.","nullable":true}},"additionalProperties":false,"description":"What importing the report's liabilities into the loan did."}}}}
```

## The LoanDateField object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanDateField":{"enum":["StatusDate","ClosingDate","Updated","Created"],"type":"string","description":"Which date drives Month/Quarter/Year bucketing."}}}}
```

## The LoanDocumentInfo object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanDocumentInfo":{"type":"object","properties":{"loanApplicationDocumentId":{"type":"string","description":"Id (GUID) of the loan document.","format":"uuid"},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid"},"title":{"type":"string","description":"The title the Documents page shows: the stored title, else task name and file name.","nullable":true},"fileName":{"type":"string","description":"The document's file name.","nullable":true},"folder":{"type":"string","description":"The document type's folder, e.g. INCOME. Null when the document has no type.","nullable":true},"documentType":{"type":"string","description":"Name of the loan document type; null when the document has no type.","nullable":true},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type; null when the document has no type.","format":"uuid","nullable":true},"taskName":{"type":"string","description":"The owning task's name, for a task, condition or asset document.","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition that owns the document; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan rather than to a task or condition."},"isInternal":{"type":"boolean","description":"True for a staff-only document. Partner applications never receive these."},"isObsolete":{"type":"boolean","description":"True when the document is no longer active. It is still listed for reference."}},"additionalProperties":false,"description":"A loan document as it is now: title, file name, folder, type and task come from the loan record, not from the search index, because they can change after the document was indexed."}}}}
```

## The LoanDocumentLosStatus object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."}}}}
```

## The LoanDocumentPassage object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanDocumentPassage":{"type":"object","properties":{"ingestedDocumentId":{"type":"string","description":"The ingested-document record the chunk belongs to.","nullable":true},"chunkIndex":{"type":"integer","description":"Position of this passage among the document's indexed passages, starting at 0.","format":"int32"},"pageStart":{"type":"integer","description":"The 1-based page the passage starts on. Open the PDF at #page=N with this number to land on it.","format":"int32","nullable":true},"pageEnd":{"type":"integer","description":"The last page the passage comes from (1-based); null when the document has no pages.","format":"int32","nullable":true},"snippet":{"type":"string","description":"Plain text with no markup. snippetHighlights marks the matched terms.","nullable":true},"snippetHighlights":{"type":"array","items":{"$ref":"#/components/schemas/SnippetHighlight"},"description":"Where the matched terms sit inside snippet, as character ranges.","nullable":true},"content":{"type":"string","description":"The chunk's raw extracted text, for AI callers. May carry HTML table markup.","nullable":true},"score":{"type":"number","description":"The search relevance score of the passage; higher is a better match. Only meaningful for comparing passages in one response.","format":"double","nullable":true},"rerankerScore":{"type":"number","description":"A second relevance score from semantic ranking, when it was applied; higher is better. Null when not applied.","format":"double","nullable":true}},"additionalProperties":false,"description":"One matching passage."},"SnippetHighlight":{"type":"object","properties":{"start":{"type":"integer","description":"Character offset in the snippet where the matched term starts, counting from 0.","format":"int32"},"length":{"type":"integer","description":"Length of the matched term in characters.","format":"int32"}},"additionalProperties":false,"description":"A matched term inside a snippet: a character offset and length."}}}}
```

## The LoanDocumentSearchGroup object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanDocumentSearchGroup":{"type":"object","properties":{"document":{"$ref":"#/components/schemas/LoanDocumentInfo"},"matchCount":{"type":"integer","description":"Matching chunks among the ones fetched. Approximate: grouping reads a bounded number of top\r\nchunks, so a document can have more matches than this.","format":"int32"},"matchCountIsApproximate":{"type":"boolean","description":"True when matchCount is a lower bound: grouping reads a bounded number of top passages, so a document can have more matches than counted."},"passages":{"type":"array","items":{"$ref":"#/components/schemas/LoanDocumentPassage"},"description":"The document's best matching passages, best first.","nullable":true}},"additionalProperties":false,"description":"One document's matches, when grouping."},"LoanDocumentInfo":{"type":"object","properties":{"loanApplicationDocumentId":{"type":"string","description":"Id (GUID) of the loan document.","format":"uuid"},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid"},"title":{"type":"string","description":"The title the Documents page shows: the stored title, else task name and file name.","nullable":true},"fileName":{"type":"string","description":"The document's file name.","nullable":true},"folder":{"type":"string","description":"The document type's folder, e.g. INCOME. Null when the document has no type.","nullable":true},"documentType":{"type":"string","description":"Name of the loan document type; null when the document has no type.","nullable":true},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type; null when the document has no type.","format":"uuid","nullable":true},"taskName":{"type":"string","description":"The owning task's name, for a task, condition or asset document.","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition that owns the document; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan rather than to a task or condition."},"isInternal":{"type":"boolean","description":"True for a staff-only document. Partner applications never receive these."},"isObsolete":{"type":"boolean","description":"True when the document is no longer active. It is still listed for reference."}},"additionalProperties":false,"description":"A loan document as it is now: title, file name, folder, type and task come from the loan record, not from the search index, because they can change after the document was indexed."},"LoanDocumentPassage":{"type":"object","properties":{"ingestedDocumentId":{"type":"string","description":"The ingested-document record the chunk belongs to.","nullable":true},"chunkIndex":{"type":"integer","description":"Position of this passage among the document's indexed passages, starting at 0.","format":"int32"},"pageStart":{"type":"integer","description":"The 1-based page the passage starts on. Open the PDF at #page=N with this number to land on it.","format":"int32","nullable":true},"pageEnd":{"type":"integer","description":"The last page the passage comes from (1-based); null when the document has no pages.","format":"int32","nullable":true},"snippet":{"type":"string","description":"Plain text with no markup. snippetHighlights marks the matched terms.","nullable":true},"snippetHighlights":{"type":"array","items":{"$ref":"#/components/schemas/SnippetHighlight"},"description":"Where the matched terms sit inside snippet, as character ranges.","nullable":true},"content":{"type":"string","description":"The chunk's raw extracted text, for AI callers. May carry HTML table markup.","nullable":true},"score":{"type":"number","description":"The search relevance score of the passage; higher is a better match. Only meaningful for comparing passages in one response.","format":"double","nullable":true},"rerankerScore":{"type":"number","description":"A second relevance score from semantic ranking, when it was applied; higher is better. Null when not applied.","format":"double","nullable":true}},"additionalProperties":false,"description":"One matching passage."},"SnippetHighlight":{"type":"object","properties":{"start":{"type":"integer","description":"Character offset in the snippet where the matched term starts, counting from 0.","format":"int32"},"length":{"type":"integer","description":"Length of the matched term in characters.","format":"int32"}},"additionalProperties":false,"description":"A matched term inside a snippet: a character offset and length."}}}}
```

## The LoanDocumentSearchHit object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanDocumentSearchHit":{"type":"object","properties":{"document":{"$ref":"#/components/schemas/LoanDocumentInfo"},"ingestedDocumentId":{"type":"string","description":"The ingested-document record the chunk belongs to.","nullable":true},"chunkIndex":{"type":"integer","description":"Position of this passage among the document's indexed passages, starting at 0.","format":"int32"},"pageStart":{"type":"integer","description":"The 1-based page the passage starts on. Open the PDF at #page=N with this number to land on it.","format":"int32","nullable":true},"pageEnd":{"type":"integer","description":"The last page the passage comes from (1-based); null when the document has no pages.","format":"int32","nullable":true},"snippet":{"type":"string","description":"Plain text with no markup. snippetHighlights marks the matched terms.","nullable":true},"snippetHighlights":{"type":"array","items":{"$ref":"#/components/schemas/SnippetHighlight"},"description":"Where the matched terms sit inside snippet, as character ranges.","nullable":true},"content":{"type":"string","description":"The chunk's raw extracted text, for AI callers. May carry HTML table markup.","nullable":true},"score":{"type":"number","description":"The search relevance score of the passage; higher is a better match. Only meaningful for comparing passages in one response.","format":"double","nullable":true},"rerankerScore":{"type":"number","description":"A second relevance score from semantic ranking, when it was applied; higher is better. Null when not applied.","format":"double","nullable":true}},"additionalProperties":false,"description":"A passage and the document it came from."},"LoanDocumentInfo":{"type":"object","properties":{"loanApplicationDocumentId":{"type":"string","description":"Id (GUID) of the loan document.","format":"uuid"},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid"},"title":{"type":"string","description":"The title the Documents page shows: the stored title, else task name and file name.","nullable":true},"fileName":{"type":"string","description":"The document's file name.","nullable":true},"folder":{"type":"string","description":"The document type's folder, e.g. INCOME. Null when the document has no type.","nullable":true},"documentType":{"type":"string","description":"Name of the loan document type; null when the document has no type.","nullable":true},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type; null when the document has no type.","format":"uuid","nullable":true},"taskName":{"type":"string","description":"The owning task's name, for a task, condition or asset document.","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition that owns the document; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan rather than to a task or condition."},"isInternal":{"type":"boolean","description":"True for a staff-only document. Partner applications never receive these."},"isObsolete":{"type":"boolean","description":"True when the document is no longer active. It is still listed for reference."}},"additionalProperties":false,"description":"A loan document as it is now: title, file name, folder, type and task come from the loan record, not from the search index, because they can change after the document was indexed."},"SnippetHighlight":{"type":"object","properties":{"start":{"type":"integer","description":"Character offset in the snippet where the matched term starts, counting from 0.","format":"int32"},"length":{"type":"integer","description":"Length of the matched term in characters.","format":"int32"}},"additionalProperties":false,"description":"A matched term inside a snippet: a character offset and length."}}}}
```

## The LoanDocumentSearchResults object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanDocumentSearchResults":{"type":"object","properties":{"hits":{"type":"array","items":{"$ref":"#/components/schemas/LoanDocumentSearchHit"},"description":"Passages, best first. Empty when grouping.","nullable":true},"groups":{"type":"array","items":{"$ref":"#/components/schemas/LoanDocumentSearchGroup"},"description":"Documents, best first. Set only when grouping.","nullable":true},"groupedByDocument":{"type":"boolean","description":"True when the results are grouped one entry per document (in groups) rather than a flat list of passages (in hits)."},"totalCount":{"type":"integer","description":"The index's own match count, before visibility filtering. Null for a borrower, for whom it\r\nwould count the documents they cannot see.","format":"int64","nullable":true},"withheldHitCount":{"type":"integer","description":"Hits the index returned that were withheld: their document is deleted, on another loan,\r\ninternal, or not linked to a loan document at all. Always 0 for a borrower, for whom it\r\nwould count the documents they cannot see.","format":"int32"},"usedVectorSearch":{"type":"boolean","description":"True when the search also matched on meaning (vector search), not just on keywords."},"usedSemanticRanking":{"type":"boolean","description":"True when the results were re-ranked by semantic ranking."}},"additionalProperties":false},"LoanDocumentSearchHit":{"type":"object","properties":{"document":{"$ref":"#/components/schemas/LoanDocumentInfo"},"ingestedDocumentId":{"type":"string","description":"The ingested-document record the chunk belongs to.","nullable":true},"chunkIndex":{"type":"integer","description":"Position of this passage among the document's indexed passages, starting at 0.","format":"int32"},"pageStart":{"type":"integer","description":"The 1-based page the passage starts on. Open the PDF at #page=N with this number to land on it.","format":"int32","nullable":true},"pageEnd":{"type":"integer","description":"The last page the passage comes from (1-based); null when the document has no pages.","format":"int32","nullable":true},"snippet":{"type":"string","description":"Plain text with no markup. snippetHighlights marks the matched terms.","nullable":true},"snippetHighlights":{"type":"array","items":{"$ref":"#/components/schemas/SnippetHighlight"},"description":"Where the matched terms sit inside snippet, as character ranges.","nullable":true},"content":{"type":"string","description":"The chunk's raw extracted text, for AI callers. May carry HTML table markup.","nullable":true},"score":{"type":"number","description":"The search relevance score of the passage; higher is a better match. Only meaningful for comparing passages in one response.","format":"double","nullable":true},"rerankerScore":{"type":"number","description":"A second relevance score from semantic ranking, when it was applied; higher is better. Null when not applied.","format":"double","nullable":true}},"additionalProperties":false,"description":"A passage and the document it came from."},"LoanDocumentInfo":{"type":"object","properties":{"loanApplicationDocumentId":{"type":"string","description":"Id (GUID) of the loan document.","format":"uuid"},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid"},"title":{"type":"string","description":"The title the Documents page shows: the stored title, else task name and file name.","nullable":true},"fileName":{"type":"string","description":"The document's file name.","nullable":true},"folder":{"type":"string","description":"The document type's folder, e.g. INCOME. Null when the document has no type.","nullable":true},"documentType":{"type":"string","description":"Name of the loan document type; null when the document has no type.","nullable":true},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type; null when the document has no type.","format":"uuid","nullable":true},"taskName":{"type":"string","description":"The owning task's name, for a task, condition or asset document.","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition that owns the document; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan rather than to a task or condition."},"isInternal":{"type":"boolean","description":"True for a staff-only document. Partner applications never receive these."},"isObsolete":{"type":"boolean","description":"True when the document is no longer active. It is still listed for reference."}},"additionalProperties":false,"description":"A loan document as it is now: title, file name, folder, type and task come from the loan record, not from the search index, because they can change after the document was indexed."},"SnippetHighlight":{"type":"object","properties":{"start":{"type":"integer","description":"Character offset in the snippet where the matched term starts, counting from 0.","format":"int32"},"length":{"type":"integer","description":"Length of the matched term in characters.","format":"int32"}},"additionalProperties":false,"description":"A matched term inside a snippet: a character offset and length."},"LoanDocumentSearchGroup":{"type":"object","properties":{"document":{"$ref":"#/components/schemas/LoanDocumentInfo"},"matchCount":{"type":"integer","description":"Matching chunks among the ones fetched. Approximate: grouping reads a bounded number of top\r\nchunks, so a document can have more matches than this.","format":"int32"},"matchCountIsApproximate":{"type":"boolean","description":"True when matchCount is a lower bound: grouping reads a bounded number of top passages, so a document can have more matches than counted."},"passages":{"type":"array","items":{"$ref":"#/components/schemas/LoanDocumentPassage"},"description":"The document's best matching passages, best first.","nullable":true}},"additionalProperties":false,"description":"One document's matches, when grouping."},"LoanDocumentPassage":{"type":"object","properties":{"ingestedDocumentId":{"type":"string","description":"The ingested-document record the chunk belongs to.","nullable":true},"chunkIndex":{"type":"integer","description":"Position of this passage among the document's indexed passages, starting at 0.","format":"int32"},"pageStart":{"type":"integer","description":"The 1-based page the passage starts on. Open the PDF at #page=N with this number to land on it.","format":"int32","nullable":true},"pageEnd":{"type":"integer","description":"The last page the passage comes from (1-based); null when the document has no pages.","format":"int32","nullable":true},"snippet":{"type":"string","description":"Plain text with no markup. snippetHighlights marks the matched terms.","nullable":true},"snippetHighlights":{"type":"array","items":{"$ref":"#/components/schemas/SnippetHighlight"},"description":"Where the matched terms sit inside snippet, as character ranges.","nullable":true},"content":{"type":"string","description":"The chunk's raw extracted text, for AI callers. May carry HTML table markup.","nullable":true},"score":{"type":"number","description":"The search relevance score of the passage; higher is a better match. Only meaningful for comparing passages in one response.","format":"double","nullable":true},"rerankerScore":{"type":"number","description":"A second relevance score from semantic ranking, when it was applied; higher is better. Null when not applied.","format":"double","nullable":true}},"additionalProperties":false,"description":"One matching passage."}}}}
```

## The LoanDocumentText object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanDocumentText":{"type":"object","properties":{"loanApplicationDocumentId":{"type":"string","description":"Id (GUID) of the loan document the text belongs to.","format":"uuid"},"ingestedDocumentId":{"type":"string","description":"Id of the indexed record the text was read from; null when the document has not been indexed.","nullable":true},"indexStatus":{"type":"string","description":"Whether the document is searchable: Indexed, Pending, Failed or NotSubmitted.","nullable":true},"method":{"type":"string","description":"How the text was extracted from the file; null when not recorded.","nullable":true},"pageCount":{"type":"integer","description":"Number of pages in the document.","format":"int32"},"fromPage":{"type":"integer","description":"The first and last page returned. Null when the text carries no page boundaries.","format":"int32","nullable":true},"toPage":{"type":"integer","description":"The last page of the text returned (1-based). Null when the text carries no page boundaries.","format":"int32","nullable":true},"nextFromPage":{"type":"integer","description":"Where to continue when the text was cut to the size limit.","format":"int32","nullable":true},"truncated":{"type":"boolean","description":"True when the text was cut to the size limit; continue from nextFromPage."},"hasPageMarkers":{"type":"boolean","description":"True when text marks each page with a comment of the form rf:page N. False for a format with no pages and for a document extracted before pages were recorded."},"text":{"type":"string","description":"The extracted markdown. Null when there is none yet.","nullable":true},"warnings":{"type":"array","items":{"type":"string"},"description":"Extraction warning codes, plus any about this read.","nullable":true},"error":{"type":"string","description":"Why the text could not be returned, when it could not; null otherwise.","nullable":true}},"additionalProperties":false,"description":"A loan document's extracted text."}}}}
```

## The LoanDocumentTypeFolderResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanDocumentTypeFolderResponse":{"type":"object","properties":{"folderName":{"type":"string","description":"Name of the folder.","nullable":true},"documentTypes":{"type":"array","items":{"$ref":"#/components/schemas/LoanDocumentTypeResponse"},"description":"The document types in the folder.","nullable":true}},"additionalProperties":false,"description":"One folder of loan document types."},"LoanDocumentTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document type; send it to file a document under this type.","format":"uuid"},"name":{"type":"string","description":"The document type's name.","nullable":true},"folderName":{"type":"string","description":"The folder this type belongs to.","nullable":true}},"additionalProperties":false,"description":"A document type a loan document can be filed under."}}}}
```

## The LoanDocumentTypeResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanDocumentTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document type; send it to file a document under this type.","format":"uuid"},"name":{"type":"string","description":"The document type's name.","nullable":true},"folderName":{"type":"string","description":"The folder this type belongs to.","nullable":true}},"additionalProperties":false,"description":"A document type a loan document can be filed under."}}}}
```

## The LoanEstimateDates object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanEstimateDates":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the Loan Estimate disclosure record.","nullable":true},"createdDate":{"type":"string","description":"Date the Loan Estimate was created (yyyy-MM-dd).","format":"date","nullable":true},"issuedDate":{"type":"string","description":"Date the Loan Estimate was issued (yyyy-MM-dd).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the Loan Estimate was delivered, for example email or mail.","nullable":true},"receivedDate":{"type":"string","description":"Date the borrower received it (yyyy-MM-dd).","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date the borrower signed it (yyyy-MM-dd).","format":"date","nullable":true},"isLastDisclosed":{"type":"boolean","description":"The LOS read returns no last-disclosed flag, so this is never filled; see MismoNotCarried.","nullable":true},"disclosedApr":{"type":"number","description":"APR disclosed on the Loan Estimate, in percent (for example 6.912).","format":"double","nullable":true},"archiveId":{"type":"string","description":"The archive the LOS issued this disclosure from; null when the LOS sends blank or an all-zero GUID (a hand-entered record).","nullable":true},"archiveDate":{"type":"string","description":"The archive's date (the LOS's `ArchiveUsed`); a date only, no time of day.","format":"date","nullable":true},"transactionId":{"type":"string","description":"The id the disclosure was generated under, also on the e-sign package it was sent in; null when blank.","nullable":true},"isInitial":{"type":"boolean","description":"True when this is the initial Loan Estimate.","nullable":true},"isManual":{"type":"boolean","description":"True when the record was entered by hand rather than generated.","nullable":true},"isValid":{"type":"boolean","description":"The LOS's `Valid`. A record marked not valid stays in the list.","nullable":true},"losApr":{"type":"number","description":"The LOS's own APR (`LqbApr`).","format":"double","nullable":true},"docVendorApr":{"type":"number","description":"APR calculated by the document provider, in percent.","format":"double","nullable":true},"consumerDates":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerDisclosureDates"},"description":"Per-borrower disclosure dates.","nullable":true}},"additionalProperties":false},"ConsumerDisclosureDates":{"type":"object","properties":{"consumerId":{"type":"string","description":"The borrower's id in the Loan Origination System.","nullable":true},"consumerName":{"type":"string","description":"The borrower's name.","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to this borrower (ISO 8601 date).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered to this borrower, as the Loan Origination System records it.","nullable":true},"receivedDate":{"type":"string","description":"Date this borrower received the disclosure (ISO 8601 date); null when not recorded.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date this borrower signed the disclosure (ISO 8601 date); null when not signed.","format":"date","nullable":true}},"additionalProperties":false}}}}
```

## The LoanFeeLineResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanFeeLineResponse":{"type":"object","properties":{"feeId":{"type":"string","description":"The fee's identifier in the LOS, the id a fee edit or delete takes; null for an estimate.","nullable":true},"paymentId":{"type":"string","description":"The payment this line is, within the fee: the id an edit of the payer or timing takes.","nullable":true},"feeTypeId":{"type":"string","description":"The LOS fee type of the fee; null for a fee typed in by hand.","nullable":true},"name":{"type":"string","description":"Display name of the fee.","nullable":true},"amount":{"type":"number","description":"Null when the source sent no readable amount; never shown as 0.","format":"double","nullable":true},"paidBy":{"$ref":"#/components/schemas/FeePaidBy"},"section":{"type":"string","description":"Closing-cost section letter A to H the fee belongs to; null when none.","nullable":true},"mismoFeeType":{"type":"string","description":"The fee's MISMO fee type code.","nullable":true},"isFinanceCharge":{"type":"boolean","description":"True when the fee counts as a finance charge in the APR."},"isFinanced":{"type":"boolean","description":"True when the fee is rolled into the loan amount; null when unknown.","nullable":true},"isBorrowerShoppable":{"type":"boolean","description":"True when the borrower may shop for this service; null when unknown.","nullable":true},"jurisdiction":{"type":"string","description":"The jurisdiction the fee applies to (for example a state or county), when the source gives one.","nullable":true},"payee":{"$ref":"#/components/schemas/FeePayee"},"isTitleFee":{"type":"boolean","description":"True when the fee is a title fee; null when unknown.","nullable":true},"isOptional":{"type":"boolean","description":"True when the fee is optional; null when unknown.","nullable":true},"isFhaAllowable":{"type":"boolean","description":"True when the fee is allowable on an FHA loan; null when unknown.","nullable":true},"isDflp":{"type":"boolean","description":"True when the fee is deducted from the loan proceeds (DFLP); null when unknown.","nullable":true},"isThirdParty":{"type":"boolean","description":"True when the fee is paid to a third party; null when unknown.","nullable":true},"isAffiliate":{"type":"boolean","description":"True when the fee is paid to an affiliate of the lender; null when unknown.","nullable":true},"canShop":{"type":"boolean","description":"True when the borrower is allowed to shop for the service; null when unknown.","nullable":true},"didShop":{"type":"boolean","description":"True when the borrower did shop for the service; null when unknown.","nullable":true},"paymentTiming":{"$ref":"#/components/schemas/FeePaymentTiming"},"paymentDate":{"type":"string","description":"When the fee is or was paid, ISO 8601; null when not set.","format":"date-time","nullable":true},"isCalculated":{"type":"boolean","description":"True when the LOS calculates the fee (prepaids, reserves, per-diem interest), so its amount cannot be set directly; null when not stated.","nullable":true},"calculatedFrom":{"type":"array","items":{"type":"string"},"description":"For a calculated fee, the loan field ids it is calculated from, each followed by its lock flag where it has one\r\n(send the flag as True with the field). Empty when the fee is calculated but not mapped; null otherwise, and\r\nnever filled for the Partner API.","nullable":true}},"additionalProperties":false},"FeePaidBy":{"enum":["Unknown","Borrower","Seller","Lender","Broker","Other"],"type":"string","description":"Who pays a fee line, taken from the source's own grouping rather than inferred."},"FeePayee":{"type":"object","properties":{"name":{"type":"string","description":"Name of the payee.","nullable":true},"address":{"type":"string","description":"Mailing address of the payee as free text.","nullable":true},"phone":{"type":"string","description":"Payee phone number.","nullable":true},"email":{"type":"string","description":"Payee email address.","nullable":true},"licenseNumber":{"type":"string","description":"The payee's license number, when the fee requires one.","nullable":true},"type":{"type":"string","description":"The payee's type (for example a title company or appraiser), as the source names it.","nullable":true}},"additionalProperties":false,"description":"Who a fee is paid to: the payee's name, contact details, license number and type."},"FeePaymentTiming":{"enum":["Unknown","AtClosing","OutsideOfClosing"],"type":"string","description":"When a fee is paid: Unknown (not stated), AtClosing (paid from closing funds) or OutsideOfClosing (paid before or after closing)."}}}}
```

## The LoanFeePayerGroup object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanFeePayerGroup":{"type":"object","properties":{"paidBy":{"$ref":"#/components/schemas/FeePaidBy"},"total":{"type":"number","description":"Sum of this payer's fee lines in the section, in dollars.","format":"double"},"lines":{"type":"array","items":{"$ref":"#/components/schemas/LoanFeeLineResponse"},"description":"The fee lines this payer pays.","nullable":true}},"additionalProperties":false},"FeePaidBy":{"enum":["Unknown","Borrower","Seller","Lender","Broker","Other"],"type":"string","description":"Who pays a fee line, taken from the source's own grouping rather than inferred."},"LoanFeeLineResponse":{"type":"object","properties":{"feeId":{"type":"string","description":"The fee's identifier in the LOS, the id a fee edit or delete takes; null for an estimate.","nullable":true},"paymentId":{"type":"string","description":"The payment this line is, within the fee: the id an edit of the payer or timing takes.","nullable":true},"feeTypeId":{"type":"string","description":"The LOS fee type of the fee; null for a fee typed in by hand.","nullable":true},"name":{"type":"string","description":"Display name of the fee.","nullable":true},"amount":{"type":"number","description":"Null when the source sent no readable amount; never shown as 0.","format":"double","nullable":true},"paidBy":{"$ref":"#/components/schemas/FeePaidBy"},"section":{"type":"string","description":"Closing-cost section letter A to H the fee belongs to; null when none.","nullable":true},"mismoFeeType":{"type":"string","description":"The fee's MISMO fee type code.","nullable":true},"isFinanceCharge":{"type":"boolean","description":"True when the fee counts as a finance charge in the APR."},"isFinanced":{"type":"boolean","description":"True when the fee is rolled into the loan amount; null when unknown.","nullable":true},"isBorrowerShoppable":{"type":"boolean","description":"True when the borrower may shop for this service; null when unknown.","nullable":true},"jurisdiction":{"type":"string","description":"The jurisdiction the fee applies to (for example a state or county), when the source gives one.","nullable":true},"payee":{"$ref":"#/components/schemas/FeePayee"},"isTitleFee":{"type":"boolean","description":"True when the fee is a title fee; null when unknown.","nullable":true},"isOptional":{"type":"boolean","description":"True when the fee is optional; null when unknown.","nullable":true},"isFhaAllowable":{"type":"boolean","description":"True when the fee is allowable on an FHA loan; null when unknown.","nullable":true},"isDflp":{"type":"boolean","description":"True when the fee is deducted from the loan proceeds (DFLP); null when unknown.","nullable":true},"isThirdParty":{"type":"boolean","description":"True when the fee is paid to a third party; null when unknown.","nullable":true},"isAffiliate":{"type":"boolean","description":"True when the fee is paid to an affiliate of the lender; null when unknown.","nullable":true},"canShop":{"type":"boolean","description":"True when the borrower is allowed to shop for the service; null when unknown.","nullable":true},"didShop":{"type":"boolean","description":"True when the borrower did shop for the service; null when unknown.","nullable":true},"paymentTiming":{"$ref":"#/components/schemas/FeePaymentTiming"},"paymentDate":{"type":"string","description":"When the fee is or was paid, ISO 8601; null when not set.","format":"date-time","nullable":true},"isCalculated":{"type":"boolean","description":"True when the LOS calculates the fee (prepaids, reserves, per-diem interest), so its amount cannot be set directly; null when not stated.","nullable":true},"calculatedFrom":{"type":"array","items":{"type":"string"},"description":"For a calculated fee, the loan field ids it is calculated from, each followed by its lock flag where it has one\r\n(send the flag as True with the field). Empty when the fee is calculated but not mapped; null otherwise, and\r\nnever filled for the Partner API.","nullable":true}},"additionalProperties":false},"FeePayee":{"type":"object","properties":{"name":{"type":"string","description":"Name of the payee.","nullable":true},"address":{"type":"string","description":"Mailing address of the payee as free text.","nullable":true},"phone":{"type":"string","description":"Payee phone number.","nullable":true},"email":{"type":"string","description":"Payee email address.","nullable":true},"licenseNumber":{"type":"string","description":"The payee's license number, when the fee requires one.","nullable":true},"type":{"type":"string","description":"The payee's type (for example a title company or appraiser), as the source names it.","nullable":true}},"additionalProperties":false,"description":"Who a fee is paid to: the payee's name, contact details, license number and type."},"FeePaymentTiming":{"enum":["Unknown","AtClosing","OutsideOfClosing"],"type":"string","description":"When a fee is paid: Unknown (not stated), AtClosing (paid from closing funds) or OutsideOfClosing (paid before or after closing)."}}}}
```

## The LoanFeeSection object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanFeeSection":{"type":"object","properties":{"section":{"type":"string","description":"TRID section letter A to H, or null for fees the source did not place in one.","nullable":true},"total":{"type":"number","description":"Sum of the section's fee lines, in dollars.","format":"double"},"payers":{"type":"array","items":{"$ref":"#/components/schemas/LoanFeePayerGroup"},"description":"The section's fees grouped by who pays them.","nullable":true}},"additionalProperties":false},"LoanFeePayerGroup":{"type":"object","properties":{"paidBy":{"$ref":"#/components/schemas/FeePaidBy"},"total":{"type":"number","description":"Sum of this payer's fee lines in the section, in dollars.","format":"double"},"lines":{"type":"array","items":{"$ref":"#/components/schemas/LoanFeeLineResponse"},"description":"The fee lines this payer pays.","nullable":true}},"additionalProperties":false},"FeePaidBy":{"enum":["Unknown","Borrower","Seller","Lender","Broker","Other"],"type":"string","description":"Who pays a fee line, taken from the source's own grouping rather than inferred."},"LoanFeeLineResponse":{"type":"object","properties":{"feeId":{"type":"string","description":"The fee's identifier in the LOS, the id a fee edit or delete takes; null for an estimate.","nullable":true},"paymentId":{"type":"string","description":"The payment this line is, within the fee: the id an edit of the payer or timing takes.","nullable":true},"feeTypeId":{"type":"string","description":"The LOS fee type of the fee; null for a fee typed in by hand.","nullable":true},"name":{"type":"string","description":"Display name of the fee.","nullable":true},"amount":{"type":"number","description":"Null when the source sent no readable amount; never shown as 0.","format":"double","nullable":true},"paidBy":{"$ref":"#/components/schemas/FeePaidBy"},"section":{"type":"string","description":"Closing-cost section letter A to H the fee belongs to; null when none.","nullable":true},"mismoFeeType":{"type":"string","description":"The fee's MISMO fee type code.","nullable":true},"isFinanceCharge":{"type":"boolean","description":"True when the fee counts as a finance charge in the APR."},"isFinanced":{"type":"boolean","description":"True when the fee is rolled into the loan amount; null when unknown.","nullable":true},"isBorrowerShoppable":{"type":"boolean","description":"True when the borrower may shop for this service; null when unknown.","nullable":true},"jurisdiction":{"type":"string","description":"The jurisdiction the fee applies to (for example a state or county), when the source gives one.","nullable":true},"payee":{"$ref":"#/components/schemas/FeePayee"},"isTitleFee":{"type":"boolean","description":"True when the fee is a title fee; null when unknown.","nullable":true},"isOptional":{"type":"boolean","description":"True when the fee is optional; null when unknown.","nullable":true},"isFhaAllowable":{"type":"boolean","description":"True when the fee is allowable on an FHA loan; null when unknown.","nullable":true},"isDflp":{"type":"boolean","description":"True when the fee is deducted from the loan proceeds (DFLP); null when unknown.","nullable":true},"isThirdParty":{"type":"boolean","description":"True when the fee is paid to a third party; null when unknown.","nullable":true},"isAffiliate":{"type":"boolean","description":"True when the fee is paid to an affiliate of the lender; null when unknown.","nullable":true},"canShop":{"type":"boolean","description":"True when the borrower is allowed to shop for the service; null when unknown.","nullable":true},"didShop":{"type":"boolean","description":"True when the borrower did shop for the service; null when unknown.","nullable":true},"paymentTiming":{"$ref":"#/components/schemas/FeePaymentTiming"},"paymentDate":{"type":"string","description":"When the fee is or was paid, ISO 8601; null when not set.","format":"date-time","nullable":true},"isCalculated":{"type":"boolean","description":"True when the LOS calculates the fee (prepaids, reserves, per-diem interest), so its amount cannot be set directly; null when not stated.","nullable":true},"calculatedFrom":{"type":"array","items":{"type":"string"},"description":"For a calculated fee, the loan field ids it is calculated from, each followed by its lock flag where it has one\r\n(send the flag as True with the field). Empty when the fee is calculated but not mapped; null otherwise, and\r\nnever filled for the Partner API.","nullable":true}},"additionalProperties":false},"FeePayee":{"type":"object","properties":{"name":{"type":"string","description":"Name of the payee.","nullable":true},"address":{"type":"string","description":"Mailing address of the payee as free text.","nullable":true},"phone":{"type":"string","description":"Payee phone number.","nullable":true},"email":{"type":"string","description":"Payee email address.","nullable":true},"licenseNumber":{"type":"string","description":"The payee's license number, when the fee requires one.","nullable":true},"type":{"type":"string","description":"The payee's type (for example a title company or appraiser), as the source names it.","nullable":true}},"additionalProperties":false,"description":"Who a fee is paid to: the payee's name, contact details, license number and type."},"FeePaymentTiming":{"enum":["Unknown","AtClosing","OutsideOfClosing"],"type":"string","description":"When a fee is paid: Unknown (not stated), AtClosing (paid from closing funds) or OutsideOfClosing (paid before or after closing)."}}}}
```

## The LoanFeesResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanFeesResponse":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan.","format":"uuid"},"quoteId":{"type":"string","description":"The stored quote these fees come from; null when the loan has no fees.","format":"uuid","nullable":true},"source":{"$ref":"#/components/schemas/FeeSource"},"isEstimate":{"type":"boolean","description":"True unless the fees come from the LOS; anything else is an estimate that may change."},"asOf":{"type":"string","description":"When the source produced the fee set (UTC).","format":"date-time","nullable":true},"total":{"type":"number","description":"Sum of every fee line returned, in dollars; lines withheld from the caller are not counted.","format":"double"},"sections":{"type":"array","items":{"$ref":"#/components/schemas/LoanFeeSection"},"description":"The fees grouped by closing-cost section; empty when the loan has no fees.","nullable":true},"sellerResponsibleFees":{"type":"array","items":{"$ref":"#/components/schemas/LoanFeeLineResponse"},"description":"The fees the seller owes, one line per\r\npayment. Not in `total` or any section: they are the seller's costs, not the loan's. Empty when\r\nthe loan has none, or for an estimate.","nullable":true}},"additionalProperties":false,"description":"A loan's fee set as the caller may see it, grouped by closing-cost section and, within a section, by who pays. Fees withheld from the caller are left out, including from every total. A loan with no fees has an empty sections list."},"FeeSource":{"enum":["Unknown","MeridianLink","LodeStar","OptimalBlue","Manual","MismoImport"],"type":"string","description":"Where a loan's fee set came from. In order the values are: Unknown (not set); the LOS (authoritative once the loan has fees there); an early draft estimate made before the loan reached the LOS; lender fees from the pricing engine; Manual (typed in by hand); and MismoImport (from an imported MISMO file). Anything other than the LOS is an estimate."},"LoanFeeSection":{"type":"object","properties":{"section":{"type":"string","description":"TRID section letter A to H, or null for fees the source did not place in one.","nullable":true},"total":{"type":"number","description":"Sum of the section's fee lines, in dollars.","format":"double"},"payers":{"type":"array","items":{"$ref":"#/components/schemas/LoanFeePayerGroup"},"description":"The section's fees grouped by who pays them.","nullable":true}},"additionalProperties":false},"LoanFeePayerGroup":{"type":"object","properties":{"paidBy":{"$ref":"#/components/schemas/FeePaidBy"},"total":{"type":"number","description":"Sum of this payer's fee lines in the section, in dollars.","format":"double"},"lines":{"type":"array","items":{"$ref":"#/components/schemas/LoanFeeLineResponse"},"description":"The fee lines this payer pays.","nullable":true}},"additionalProperties":false},"FeePaidBy":{"enum":["Unknown","Borrower","Seller","Lender","Broker","Other"],"type":"string","description":"Who pays a fee line, taken from the source's own grouping rather than inferred."},"LoanFeeLineResponse":{"type":"object","properties":{"feeId":{"type":"string","description":"The fee's identifier in the LOS, the id a fee edit or delete takes; null for an estimate.","nullable":true},"paymentId":{"type":"string","description":"The payment this line is, within the fee: the id an edit of the payer or timing takes.","nullable":true},"feeTypeId":{"type":"string","description":"The LOS fee type of the fee; null for a fee typed in by hand.","nullable":true},"name":{"type":"string","description":"Display name of the fee.","nullable":true},"amount":{"type":"number","description":"Null when the source sent no readable amount; never shown as 0.","format":"double","nullable":true},"paidBy":{"$ref":"#/components/schemas/FeePaidBy"},"section":{"type":"string","description":"Closing-cost section letter A to H the fee belongs to; null when none.","nullable":true},"mismoFeeType":{"type":"string","description":"The fee's MISMO fee type code.","nullable":true},"isFinanceCharge":{"type":"boolean","description":"True when the fee counts as a finance charge in the APR."},"isFinanced":{"type":"boolean","description":"True when the fee is rolled into the loan amount; null when unknown.","nullable":true},"isBorrowerShoppable":{"type":"boolean","description":"True when the borrower may shop for this service; null when unknown.","nullable":true},"jurisdiction":{"type":"string","description":"The jurisdiction the fee applies to (for example a state or county), when the source gives one.","nullable":true},"payee":{"$ref":"#/components/schemas/FeePayee"},"isTitleFee":{"type":"boolean","description":"True when the fee is a title fee; null when unknown.","nullable":true},"isOptional":{"type":"boolean","description":"True when the fee is optional; null when unknown.","nullable":true},"isFhaAllowable":{"type":"boolean","description":"True when the fee is allowable on an FHA loan; null when unknown.","nullable":true},"isDflp":{"type":"boolean","description":"True when the fee is deducted from the loan proceeds (DFLP); null when unknown.","nullable":true},"isThirdParty":{"type":"boolean","description":"True when the fee is paid to a third party; null when unknown.","nullable":true},"isAffiliate":{"type":"boolean","description":"True when the fee is paid to an affiliate of the lender; null when unknown.","nullable":true},"canShop":{"type":"boolean","description":"True when the borrower is allowed to shop for the service; null when unknown.","nullable":true},"didShop":{"type":"boolean","description":"True when the borrower did shop for the service; null when unknown.","nullable":true},"paymentTiming":{"$ref":"#/components/schemas/FeePaymentTiming"},"paymentDate":{"type":"string","description":"When the fee is or was paid, ISO 8601; null when not set.","format":"date-time","nullable":true},"isCalculated":{"type":"boolean","description":"True when the LOS calculates the fee (prepaids, reserves, per-diem interest), so its amount cannot be set directly; null when not stated.","nullable":true},"calculatedFrom":{"type":"array","items":{"type":"string"},"description":"For a calculated fee, the loan field ids it is calculated from, each followed by its lock flag where it has one\r\n(send the flag as True with the field). Empty when the fee is calculated but not mapped; null otherwise, and\r\nnever filled for the Partner API.","nullable":true}},"additionalProperties":false},"FeePayee":{"type":"object","properties":{"name":{"type":"string","description":"Name of the payee.","nullable":true},"address":{"type":"string","description":"Mailing address of the payee as free text.","nullable":true},"phone":{"type":"string","description":"Payee phone number.","nullable":true},"email":{"type":"string","description":"Payee email address.","nullable":true},"licenseNumber":{"type":"string","description":"The payee's license number, when the fee requires one.","nullable":true},"type":{"type":"string","description":"The payee's type (for example a title company or appraiser), as the source names it.","nullable":true}},"additionalProperties":false,"description":"Who a fee is paid to: the payee's name, contact details, license number and type."},"FeePaymentTiming":{"enum":["Unknown","AtClosing","OutsideOfClosing"],"type":"string","description":"When a fee is paid: Unknown (not stated), AtClosing (paid from closing funds) or OutsideOfClosing (paid before or after closing)."}}}}
```

## The LoanFieldLocks object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanFieldLocks":{"type":"object","properties":{"loanAmount":{"type":"boolean","description":"True when the loan amount is locked, so a change to the purchase price or down payment does not recalculate it.","nullable":true},"qualifyingRate":{"type":"boolean","description":"True when the qualifying rate is locked against its formula.","nullable":true},"mortgageInsurance":{"type":"boolean","description":"True when the monthly mortgage insurance is locked against the insurance schedule.","nullable":true},"otherHousingExpense":{"type":"boolean","description":"True when the other housing expense is locked.","nullable":true},"estimatedClosingDate":{"type":"boolean","description":"True when the estimated closing date is locked, so a status change does not recalculate it.","nullable":true},"higherPricedMortgageType":{"type":"boolean","description":"True when the higher-priced mortgage result is locked against the APR test.","nullable":true}},"additionalProperties":false,"description":"Which figures are locked in the LOS. A locked figure keeps the value it was given; an unlocked one is recalculated by the LOS from its inputs."}}}}
```

## The LoanFigures object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanFigures":{"type":"object","properties":{"frontEndDti":{"type":"number","description":"Qualifying front-end (housing expense) ratio, `sQualTopR`.","format":"double","nullable":true},"backEndDti":{"type":"number","description":"Qualifying back-end (total debt) ratio, `sQualBottomR`.","format":"double","nullable":true},"ltv":{"type":"number","description":"Base loan-to-value ratio, `sLtvR`.","format":"double","nullable":true},"cltv":{"type":"number","description":"Base combined loan-to-value ratio, `sCltvR`.","format":"double","nullable":true},"totalIncome":{"type":"number","description":"Total qualifying monthly income, `sLTotI`.","format":"double","nullable":true},"totalPayment":{"type":"number","description":"Total proposed monthly payment, `sMonthlyPmt`.","format":"double","nullable":true},"cashToClose":{"type":"number","description":"Cash to close, `sTransNetCash`.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's numbers as the LOS holds them after a change: both DTI ratios, LTV, CLTV, total income, total payment and cash to close. Each is read back from the LOS, never calculated here; null when the LOS returned nothing for it."}}}}
```

## The LoanFilterDto object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanFilterDto":{"type":"object","properties":{"searchText":{"type":"string","description":"Case-insensitive match on loan number and borrower first/last name and email. All whitespace-separated tokens must match.","nullable":true},"statuses":{"type":"array","items":{"type":"string"},"description":"Exact LOS status names, OR'd together (e.g. \"Loan Funded\", \"Loan Underwriting\").","nullable":true},"loanTypes":{"type":"array","items":{"type":"string"},"description":"Exact loan type names (e.g. \"Conventional\", \"FHA\", \"VA\"). See GET /reports/metadata.","nullable":true},"purposes":{"type":"array","items":{"type":"string"},"description":"Exact loan purpose names (e.g. \"Purchase\", \"Refinance\"). See GET /reports/metadata.","nullable":true},"statusDateFrom":{"type":"string","description":"Loans whose CURRENT status was set on/after this date. Not \"closed in period\" - use the milestones report for that.","format":"date-time","nullable":true},"statusDateTo":{"type":"string","description":"Loans whose current status was set on or before this date.","format":"date-time","nullable":true},"closingDateFrom":{"type":"string","description":"Estimated closing date. Sparsely populated - an empty result usually means the field is unset, not that nothing closed.","format":"date-time","nullable":true},"closingDateTo":{"type":"string","description":"Estimated closing date on or before this date.","format":"date-time","nullable":true},"updatedFrom":{"type":"string","description":"Loans updated on or after this date and time.","format":"date-time","nullable":true},"updatedTo":{"type":"string","description":"Loans updated on or before this date and time.","format":"date-time","nullable":true},"loanOfficerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Restrict to these loan officers. Always applied in addition to your company scope, so it can only narrow the result.","nullable":true},"referringAgentId":{"type":"string","description":"Only loans referred by this user (GUID).","format":"uuid","nullable":true},"processorId":{"type":"string","description":"Only loans worked by this processor (GUID).","format":"uuid","nullable":true},"loanAmountMin":{"type":"number","description":"Minimum loan amount in dollars.","format":"double","nullable":true},"loanAmountMax":{"type":"number","description":"Maximum loan amount in dollars.","format":"double","nullable":true},"commissionMin":{"type":"number","description":"Locked compensation range, in USD.","format":"double","nullable":true},"commissionMax":{"type":"number","description":"Maximum locked compensation in dollars.","format":"double","nullable":true},"propertyState":{"type":"string","description":"Two-letter subject-property state code, e.g. \"FL\".","nullable":true}},"additionalProperties":false,"description":"Caller-supplied loan filter for the reporting endpoints. Send {} for no filter."}}}}
```

## The LoanGroupByDimension object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanGroupByDimension":{"enum":["None","Status","LoanType","Purpose","LoanOfficer","ReferringAgent","Month","Quarter","Year","Company","Day"],"type":"string","description":"What to group loans by: None (one bucket), Status, LoanType, Purpose, LoanOfficer, ReferringAgent, Month, Quarter, Year, Company or Day. Month, Quarter, Year and Day bucket by the chosen date field."}}}}
```

## The LoanHeaderFigures object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanHeaderFigures":{"type":"object","properties":{"representativeFico":{"type":"integer","description":"Middle of the primary borrower of pair 1's bureau scores (lower of two, the one when one); null with no credit.","format":"int32","nullable":true},"ausEngine":{"type":"string","description":"The latest AUS run's engine, \"DU\" or \"LPA\" (`AusRunTypes`), by run date across both; null with no run.","nullable":true},"ausResult":{"type":"string","description":"The result text of the run shown as the LOS gives it, e.g. \"Approve/Eligible\"; null when no run has a result.","nullable":true},"ausSummary":{"type":"string","description":"The text the header shows for the AUS key: engine and result, e.g. \"DU Approve/Eligible\"; the engine and the run's status text when no run has a result; null with no run.","nullable":true},"ausRunDate":{"type":"string","description":"When the AUS run shown was made (UTC).","format":"date-time","nullable":true},"leSentDate":{"type":"string","description":"The issued date of the first initial Loan Estimate; null before one was sent.","format":"date","nullable":true},"rateLockStatus":{"type":"string","description":"The loan's rate lock status as the LOS reports it, for example Locked or Not Locked; null when unknown.","nullable":true},"rateLockExpirationDate":{"type":"string","description":"The rate lock's expiration date (`LoanRateLock.ExpirationDate`).","format":"date","nullable":true},"loanOfficerName":{"type":"string","description":"The loan officer's name.","nullable":true},"processorName":{"type":"string","description":"The loan processor's name.","nullable":true}},"additionalProperties":false,"description":"The header figures the loan page shows that no other field of the loan read carries: the representative FICO, the latest AUS run, the date the first Loan Estimate was sent, the rate lock and the two assigned people. Each is null when the loan has no value."}}}}
```

## The LoanInfo object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanInfo":{"type":"object","properties":{"loanId":{"type":"string","description":"The loan's id in the LOS (the same value as the loan's externalId). Null for a loan not in the LOS yet.","nullable":true},"loanNumber":{"type":"string","description":"The loan number the LOS assigned, shown to people.","nullable":true},"sourceLoanNumber":{"type":"string","description":"The loan number the originating system gave this loan, from an imported MISMO file. Never Henge's own loan number (loanNumber).","nullable":true},"loanAmount":{"type":"number","description":"Base loan amount, in dollars, before any financed mortgage insurance premium or funding fee.","format":"double","nullable":true},"loanType":{"$ref":"#/components/schemas/FieldType"},"mortgageLoanType":{"type":"string","description":"Raw product-class code of the loan, a number as text. It is not the loan type (loanType). Code 0 means government or unspecified.","nullable":true},"purpose":{"$ref":"#/components/schemas/FieldType"},"lienPosition":{"$ref":"#/components/schemas/FieldType"},"loanStatus":{"$ref":"#/components/schemas/FieldType"},"propertyType":{"$ref":"#/components/schemas/FieldType"},"loanStatusDate":{"type":"string","description":"When the loan reached its current status (ISO 8601 date and time).","format":"date-time","nullable":true},"appraisalValue":{"type":"number","description":"Appraised value of the subject property, in dollars.","format":"double","nullable":true},"purchasePrice":{"type":"number","description":"Purchase price of the subject property, in dollars. Purchase loans only.","format":"double","nullable":true},"subjectPropertyAddress":{"$ref":"#/components/schemas/SubjectPropertyAddress"},"occupancy":{"$ref":"#/components/schemas/FieldType"},"mannerOfTitle":{"type":"string","description":"How title will be held, as entered (free text). finalVesting is the newer field.","nullable":true},"refinance":{"$ref":"#/components/schemas/RefinanceInfo"},"assignments":{"$ref":"#/components/schemas/Assignments"},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/PosBorrower"},"description":"The loan's borrowers. A co-borrower is nested inside the borrower it is paired with, in coBorrower.","nullable":true},"proposedHousingExpense":{"$ref":"#/components/schemas/ProposedHousingExpense"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomField"},"description":"Custom fields configured on the loan, with their values.","nullable":true},"closingDate":{"type":"string","description":"Scheduled closing date (ISO 8601 date and time).","format":"date-time","nullable":true},"estimatedCompensation":{"type":"number","description":"Estimated originator compensation for the loan, in dollars.","format":"double","nullable":true},"lockedCompensation":{"type":"number","description":"Originator compensation fixed by the rate lock, in dollars.","format":"double","nullable":true},"lockStatus":{"type":"string","description":"Rate lock status as the LOS names it, for example Not Locked or Locked.","nullable":true},"confirmedLockPeriod":{"type":"string","description":"Length of the confirmed rate lock, in days, as text.","nullable":true},"downPayment":{"type":"number","description":"Down payment, in dollars.","format":"double","nullable":true},"downPaymentPercentage":{"type":"number","description":"Down payment as a percent of the purchase price, for example 20.","format":"double","nullable":true},"downPaymentSources":{"type":"array","items":{"$ref":"#/components/schemas/DownPaymentSource"},"description":"Where the down payment comes from.","nullable":true},"mortgageInsurance":{"type":"number","description":"Mortgage insurance amount, in dollars.","format":"double","nullable":true},"annualIncome":{"type":"number","description":"The borrower's total annual income, in dollars.","format":"double","nullable":true},"hasAssetsForDownPayment":{"type":"boolean","description":"True when the borrower has assets to cover the down payment."},"hoaAmount":{"type":"number","description":"Homeowners association dues, in dollars.","format":"double","nullable":true},"noteRate":{"type":"number","description":"Note rate as a percent, for example 6.875.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, as a percent, for example 7.012.","format":"double","nullable":true},"ltvRatios":{"$ref":"#/components/schemas/LtvRatios"},"numberOfUnits":{"type":"integer","description":"Number of units in the subject property.","format":"int32","nullable":true},"qualification":{"$ref":"#/components/schemas/Qualification"},"loanTerm":{"type":"integer","description":"Loan term, in months.","format":"int32","nullable":true},"loanProgram":{"type":"string","description":"Name of the loan program the loan is in.","nullable":true},"lockExpirationDate":{"type":"string","description":"Date the rate lock expires (ISO 8601 date).","format":"date","nullable":true},"amortizationType":{"$ref":"#/components/schemas/FieldType"},"isTestFile":{"type":"boolean","description":"True for a test loan: one created from a non-production environment or by a test user."},"isDscrLoan":{"type":"boolean","description":"True for a debt service coverage ratio (DSCR) loan, qualified on the property's rental income rather than the borrower's income."},"subjectPropertyRentalIncome":{"$ref":"#/components/schemas/SubjectPropertyRentalIncome"},"loanLevelCredit":{"$ref":"#/components/schemas/LoanLevelCredit"},"credit":{"$ref":"#/components/schemas/LoanCredit"},"escrowWaiver":{"type":"boolean","description":"True when the borrower waives escrow of taxes and insurance. Null when not set.","nullable":true},"totalLoanAmount":{"type":"number","description":"Loan amount in dollars including any financed upfront mortgage insurance premium or funding fee, labelled Total Loan Amt in the LOS. loanAmount is the base amount before that financing, so the two differ on FHA, VA and USDA loans and agree on conventional ones. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"investorLockProjectedProfit":{"type":"number","description":"Projected profit on the investor lock, in dollars; negative for a loss. Read-only.","format":"double","nullable":true},"branchChannel":{"$ref":"#/components/schemas/FieldType"},"financedUpfrontMipOrFundingFee":{"type":"number","description":"The upfront mortgage insurance premium or funding fee rolled into the loan amount, in dollars. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"maturityTermInMonths":{"type":"integer","description":"Term in months at which the balance comes due. Equals loanTerm on a fully amortising loan and is shorter on a balloon.","format":"int32","nullable":true},"loanTypeOtherDescription":{"type":"string","description":"Free text describing the loan type when loanType is Other.","nullable":true},"armDescription":{"type":"string","description":"Description of the adjustable rate, for example 5/1 ARM. Empty on fixed-rate loans.","nullable":true},"printAmortizationTypeAsOther":{"type":"boolean","description":"True to print the amortization type as Other on the loan application form.","nullable":true},"amortizationTypeOtherDescription":{"type":"string","description":"The text printed as the amortization type when printAmortizationTypeAsOther is set.","nullable":true},"urlaLoanPurposeCode":{"type":"string","description":"Raw code for the loan purpose as stated on the 2019 loan application form (URLA). It is not purpose: the form keeps a three-way Purchase, Refinance or Other answer apart from the finer-grained purpose list, and the two can disagree.","nullable":true},"urlaLoanPurposeName":{"type":"string","description":"urlaLoanPurposeCode decoded, for example Purchase or Refinance. Null for a code not recognized. Read only.","nullable":true},"urlaLoanPurposeOtherDescription":{"type":"string","description":"Free text when the form's loan purpose is Other.","nullable":true},"isRenovationLoan":{"type":"boolean","description":"True when the loan finances renovation work, for example a HomeStyle or FHA 203(k) loan.","nullable":true},"isLineOfCredit":{"type":"boolean","description":"True when the loan is a line of credit rather than a closed-end mortgage.","nullable":true},"isNewConstruction":{"type":"boolean","description":"True when the subject property is new construction.","nullable":true},"isEmployeeLoan":{"type":"boolean","description":"True when the borrower is an employee of the lender.","nullable":true},"isOptionArm":{"type":"boolean","description":"True when the loan is a payment-option adjustable rate mortgage.","nullable":true},"optionArmTeaserRate":{"type":"number","description":"The introductory rate on a payment-option ARM, as a percent.","format":"double","nullable":true},"higherPricedMortgageTypeCode":{"type":"string","description":"Raw code for the higher-priced or high-cost classification, for example None. Can be overridden; lock it with fieldLocks or the LOS recomputes it from the APR test.","nullable":true},"higherPricedMortgageTypeName":{"type":"string","description":"higherPricedMortgageTypeCode decoded, for example None or HPML. Null for a code not recognized. Read only.","nullable":true},"leadSource":{"type":"string","description":"Where the lead came from.","nullable":true},"totalMonthlyLiabilities":{"type":"number","description":"Total monthly liability payments across all borrowers, in dollars, which the LOS divides into income for the back-end ratio. Calculated by the LOS; a write is ignored. Summing the borrowers' liability amounts does not reproduce it, because the LOS leaves out liabilities marked paid off or omitted.","format":"double","nullable":true},"presentHousingExpense":{"type":"number","description":"The borrower's present total monthly housing expense, in dollars: the baseline the payment shock is measured against. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"paymentShock":{"$ref":"#/components/schemas/PaymentShock"},"fieldLocks":{"$ref":"#/components/schemas/LoanFieldLocks"},"trusts":{"type":"array","items":{"$ref":"#/components/schemas/LoanTrust"},"description":"Trusts that will hold title, at most two. Depending on your company's setup they are read from and written to the LOS, or kept in Henge only.","nullable":true},"titleHeldInTrust":{"type":"boolean","description":"Will title be held in a trust: true yes, false no, null not answered. Not sent to the LOS.","nullable":true},"finalVesting":{"type":"string","description":"The final vesting statement as it will read on title. Depending on your company's setup it is read from and written to the LOS, or kept in Henge only.","nullable":true},"aus":{"$ref":"#/components/schemas/LoanAusResult"},"rateLock":{"$ref":"#/components/schemas/LoanRateLock"},"temporaryBuydown":{"$ref":"#/components/schemas/LoanTemporaryBuydown"}},"additionalProperties":false,"description":"The loan's terms and figures: amount, type, purpose, property, borrowers, rate, lock, housing expense and qualification."},"FieldType":{"type":"object","properties":{"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A value chosen from a list in the LOS, with its code and display name. Also the base of records that carry an LOS id."},"SubjectPropertyAddress":{"type":"object","properties":{"propertyId":{"type":"string","description":"Identifier (GUID) of the property this address belongs to.","format":"uuid","nullable":true},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"The address of the loan's subject property."},"RefinanceInfo":{"type":"object","properties":{"cashOutAmount":{"type":"number","description":"Cash the borrower takes out, in dollars.","format":"double","nullable":true},"purpose":{"$ref":"#/components/schemas/FieldType"},"purposeOtherDescription":{"type":"string","description":"Free-text refinance purpose when the purpose is Other.","nullable":true}},"additionalProperties":false,"description":"Details that apply to a refinance loan."},"Assignments":{"type":"object","properties":{"loanOfficer":{"$ref":"#/components/schemas/Contact"},"loanAssistant":{"$ref":"#/components/schemas/Contact"},"loanProcessor":{"$ref":"#/components/schemas/Contact"},"referredBy":{"$ref":"#/components/schemas/Contact"}},"additionalProperties":false,"description":"The people working a loan: its loan officer, assistant, processor and the referring contact. Each is null when none is assigned."},"Contact":{"type":"object","properties":{"id":{"type":"string","description":"Id of the contact (GUID).","format":"uuid","nullable":true},"email":{"type":"string","description":"Email address.","nullable":true},"firstName":{"type":"string","description":"First name.","nullable":true},"lastName":{"type":"string","description":"Last name.","nullable":true},"agentName":{"type":"string","description":"Full name of the agent.","nullable":true},"roleName":{"type":"string","description":"Display name of the contact's role.","nullable":true},"agentNMLS":{"type":"string","description":"The agent's NMLS id.","nullable":true},"role":{"$ref":"#/components/schemas/ContactRole"},"phone":{"type":"string","description":"Phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"companyPhone":{"type":"string","description":"The agent's company phone number.","nullable":true},"zip":{"type":"string","description":"ZIP or postal code.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"street":{"type":"string","description":"Street address.","nullable":true},"companyNMLS":{"type":"string","description":"The agent's company NMLS id.","nullable":true}},"additionalProperties":false,"description":"A person on or tied to a loan, such as the referring agent."},"ContactRole":{"enum":["Other","Appraiser","Escrow","CreditReport","Title","MortgageInsurance","ListingAgent","SellingAgent","Builder","Underwriter","Investor","Servicing","BuyerAttorney","SellerAttorney","HomeOwnerInsurance","HazardInsurance","MarketingLead","Seller","Surveyor","LoanOfficer","Bank","Lender","Processor","CallCenterAgent","LoanOpener","Manager","Broker","BrokerRep","ECOA","Realtor","Mortgagee","HomeOwnerAssociation","BuyerAgent","ClosingAgent","FairHousingLending","HomeInspection","FloodProvider","CreditReportAgency2","CreditReportAgency3","Shipper","BrokerProcessor","Trustee","Funder","PostCloser","Insuring","CollateralAgent","DocDrawer","PropertyManagement","TitleUnderwriter","CreditAuditor","DisclosureDesk","JuniorProcessor","JuniorUnderwriter","LegalAuditor","LoanOfficerAssistant","Purchaser","QCCompliance","Secondary","PestInspection","Subservicer","ExternalSecondary","ExternalPostCloser","LoanPurchasePayee","AppraisalManagementCompany","Referral","Notary","TaxServicer","SupervisoryAppraiser","Attorney","PropertyInspector","CPATaxPreparer","LockDesk","MortgageServiceOrganization","Verifications","TaxCollector","TaxTranscripts"],"type":"string","description":"The role a contact plays on a loan. Each value names that role: Other (anything not listed), Appraiser, Escrow, CreditReport (credit agency), Title, MortgageInsurance, ListingAgent, SellingAgent, Builder, Underwriter, Investor, Servicing, BuyerAttorney, SellerAttorney, HomeOwnerInsurance (obsolete; use HazardInsurance), HazardInsurance (homeowner's insurance), MarketingLead, Seller, Surveyor, LoanOfficer, Bank, Lender, Processor, CallCenterAgent, LoanOpener, Manager, Broker, BrokerRep, ECOA, Realtor, Mortgagee, HomeOwnerAssociation, BuyerAgent, ClosingAgent, FairHousingLending, HomeInspection, FloodProvider, CreditReportAgency2, CreditReportAgency3, Shipper, BrokerProcessor (external processor), Trustee, Funder, PostCloser, Insuring, CollateralAgent, DocDrawer, PropertyManagement, TitleUnderwriter, CreditAuditor, DisclosureDesk, JuniorProcessor, JuniorUnderwriter, LegalAuditor, LoanOfficerAssistant, Purchaser, QCCompliance, Secondary, PestInspection, Subservicer, ExternalSecondary, ExternalPostCloser, LoanPurchasePayee, AppraisalManagementCompany, Referral, Notary, TaxServicer, SupervisoryAppraiser, Attorney, PropertyInspector, CPATaxPreparer, LockDesk, MortgageServiceOrganization, Verifications, TaxCollector and TaxTranscripts."},"PosBorrower":{"type":"object","properties":{"hdBorrowerId":{"type":"string","description":"Id of the borrower on this loan (GUID). Other endpoints take it as ownerBorrowerIds.","format":"uuid","nullable":true},"clientId":{"type":"string","description":"Id of the borrower's client record (GUID).","format":"uuid","nullable":true},"externalId":{"type":"string","description":"The borrower's (consumer) id in the LOS.","nullable":true},"externalLabel":{"type":"string","description":"A display label kept by Henge. Not sent to the LOS.","nullable":true},"externalApplicationId":{"type":"string","description":"Id of the LOS application (borrower pair) this person is on, used to match the person to the right pair in the LOS. A co-borrower carries its pair's. Null until the LOS has reported it.","nullable":true},"externalLegacyApplicationId":{"type":"string","description":"Id of the borrower pair's older-style application record in the LOS, kept for LOS writes. Null when it has not been read yet.","nullable":true},"firstName":{"type":"string","description":"Borrower's legal first name, as on their ID; sent to the LOS.","nullable":true},"lastName":{"type":"string","description":"Borrower's legal last name, as on their ID; sent to the LOS.","nullable":true},"middleName":{"type":"string","description":"Borrower's middle name or initial.","nullable":true},"suffixName":{"type":"string","description":"Name suffix, for example Jr, Sr or III.","nullable":true},"contacts":{"$ref":"#/components/schemas/Contacts"},"maritalStatus":{"$ref":"#/components/schemas/FieldType"},"citizenship":{"$ref":"#/components/schemas/FieldType"},"birthDate":{"type":"string","description":"Date of birth (ISO 8601 date).","nullable":true},"language":{"$ref":"#/components/schemas/Language"},"isMilitary":{"type":"boolean","description":"True when the borrower serves or has served in the military.","nullable":true},"currentAddress":{"$ref":"#/components/schemas/Residence"},"mailingAddress":{"$ref":"#/components/schemas/MailingAddress"},"previousAddresses":{"type":"array","items":{"$ref":"#/components/schemas/Residence"},"description":"Earlier residences, listed when the borrower has lived at the current address for a short time.","nullable":true},"ownedProperties":{"type":"array","items":{"$ref":"#/components/schemas/OwnedProperty"},"description":"Real estate the borrower owns.","nullable":true},"declaration":{"$ref":"#/components/schemas/Declaration"},"demographics":{"$ref":"#/components/schemas/Demographics"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/Employment"},"description":"The borrower's employers, current and previous.","nullable":true},"otherIncomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"},"description":"Income that does not come from an employer, such as Social Security or rental income.","nullable":true},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/PosLiability"},"description":"The borrower's debts.","nullable":true},"veteranDetail":{"$ref":"#/components/schemas/VeteranDetail"},"creditScores":{"type":"array","items":{"$ref":"#/components/schemas/PosCreditScore"},"description":"Credit scores on the borrower's file.","nullable":true},"hmdaApplicantCreditScore":{"$ref":"#/components/schemas/HmdaApplicantCreditScore"},"creditAuthorizationDate":{"type":"string","description":"Date the borrower authorized a credit check (ISO 8601 date). Null when they have not.","nullable":true},"isBeta":{"type":"boolean","description":"True when the borrower's account is flagged for beta features of the borrower app.","nullable":true},"fico":{"type":"integer","description":"The borrower's FICO score on file, as a whole number. Null when not set.","format":"int32","nullable":true},"softCreditExternalId":{"type":"string","description":"Id of the soft credit check recorded for the borrower in the LOS. Null when none.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower of the pair."},"borrowerType":{"type":"string","description":"The borrower's role on the loan, as a code, for example Borrower or CoSigner.","nullable":true},"assets":{"type":"array","items":{"$ref":"#/components/schemas/PosAsset"},"description":"The assets the borrower reports.","nullable":true},"numberOfDependents":{"type":"integer","description":"Number of people who depend on the borrower for support.","format":"int32","nullable":true},"dependentAges":{"type":"string","description":"Ages of the borrower's dependents, as entered (free text).","nullable":true},"ssn":{"type":"string","description":"Social Security number, digits only (dashes are removed when you send it). Sensitive: only some callers receive it.","nullable":true},"encryptedSsn":{"type":"string","description":"The Social Security number in encrypted form, for passing between Henge services. Do not rely on its format.","nullable":true},"pairId":{"type":"string","description":"The borrower pair this borrower is on. Set by the server; a co-borrower carries its pair's.","format":"uuid","nullable":true},"pairIndex":{"type":"integer","description":"The pair's position on the loan, 0 to 3; 0 is the primary pair.","format":"int32"},"vestingType":{"$ref":"#/components/schemas/BorrowerVestingType"},"coBorrower":{"allOf":[{"$ref":"#/components/schemas/PosBorrower"}],"description":"The co-borrower this borrower is paired with, in the same shape."}},"additionalProperties":false,"description":"A borrower on the loan: identity, contact details, addresses, employment, income, assets, liabilities, credit and declarations. A co-borrower is nested in coBorrower."},"Contacts":{"type":"object","properties":{"email":{"type":"string","description":"Email address.","nullable":true},"homePhone":{"type":"string","description":"Home phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"workPhone":{"type":"string","description":"Work phone number.","nullable":true}},"additionalProperties":false,"description":"How to reach a borrower."},"Language":{"type":"object","properties":{"code":{"type":"string","description":"Language code.","nullable":true},"otherDescription":{"type":"string","description":"Free-text language name when the code is Other.","nullable":true},"refuseToAnswer":{"type":"boolean","description":"True when the borrower chose not to answer."}},"additionalProperties":false,"description":"The language the borrower prefers."},"Residence":{"type":"object","properties":{"residencyDurationInMonths":{"type":"integer","description":"Months the borrower has lived at this address.","format":"int32","nullable":true},"residencyType":{"type":"string","description":"Whether the borrower owns, rents or lives rent-free at the address, as the LOS names it.","nullable":true},"monthlyRent":{"type":"number","description":"Monthly rent, in dollars.","format":"double","nullable":true},"startDate":{"type":"string","description":"Date the borrower moved in (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower moved out (ISO 8601 date). Empty for the current address.","nullable":true},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A place the borrower lives or has lived, with how long and what they pay."},"MailingAddress":{"type":"object","properties":{"isTheSameAsCurrentAddress":{"type":"boolean","description":"True when the mailing address is the borrower's current residence."},"isTheSameAsSubjectPropertyAddress":{"type":"boolean","description":"True when the mailing address is the subject property."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A borrower's mailing address, which can be flagged as the same as their current or subject property address."},"OwnedProperty":{"type":"object","properties":{"externalLabel":{"type":"string","description":"A display label kept by Henge. Not sent to the LOS.","nullable":true},"dispositionStatus":{"$ref":"#/components/schemas/FieldType"},"occupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancyOtherDescription":{"type":"string","description":"Free-text description when intendedOccupancy is Other.","nullable":true},"marketValue":{"type":"number","description":"Market value of the property, in dollars.","format":"double","nullable":true},"monthlyRentalGross":{"type":"number","description":"Gross monthly rental income from the property, in dollars.","format":"double"},"maintenanceExpense":{"type":"number","description":"Maintenance expense for the property, in dollars.","format":"double","nullable":true},"monthlyRentalNet":{"type":"number","description":"Monthly rental income net of the property's expenses, in dollars.","format":"double","nullable":true},"lienBalance":{"type":"number","description":"Unpaid balance of the liens on the property, in dollars, as entered.","format":"double","nullable":true},"lienMonthlyPayment":{"type":"number","description":"Monthly payment on the liens on the property, in dollars, as entered.","format":"double","nullable":true},"isSubject":{"type":"boolean","description":"True when this is the subject property of the loan."},"isCurrent":{"type":"boolean","description":"True when this is the borrower's current residence."},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/PosLiability"},"description":"The mortgages tied to this property. Null or empty when none.","nullable":true},"liability":{"$ref":"#/components/schemas/PosLiability"},"tieId":{"type":"string","description":"What to send as a liability's securedPropertyId to tie it to this property: the LOS id, or the address before the loan is in the LOS. Recomputed on every read.","nullable":true},"securingLiabilityIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids (GUIDs) of the stored liabilities tied to this property. Recomputed on every read; a save does not set it.","nullable":true},"derivedLienBalance":{"type":"number","description":"Sum of the tied liabilities' balances, in dollars; null when no liability is tied. lienBalance stays what was entered.","format":"double","nullable":true},"derivedLienMonthlyPayment":{"type":"number","description":"Sum of the tied liabilities' monthly payments, in dollars; null when no liability is tied or none has a payment.","format":"double","nullable":true},"hasLienDifference":{"type":"boolean","description":"True when an entered lien figure disagrees with the tied liabilities. It is reported, never corrected."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A property the borrower owns (real estate owned): where it is, how it is used, its value and rent, and the mortgages tied to it."},"PosLiability":{"type":"object","properties":{"amount":{"type":"number","description":"Unpaid balance, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Monthly payment, in dollars.","format":"double","nullable":true},"remainingMonths":{"type":"integer","description":"Months left on the debt. Null when the file does not say.","format":"int32","nullable":true},"isPaidOffAtClosing":{"type":"boolean","description":"True when the debt will be paid off at closing. Null leaves the LOS's value alone.","nullable":true},"isExcludedFromRatios":{"type":"boolean","description":"True when the payment is left out of the debt-to-income ratios. Null leaves the LOS's value alone.","nullable":true},"accountNumber":{"type":"string","description":"Account number of the debt, as reported.","nullable":true},"isExpense":{"type":"boolean","description":"True when the row is an expense rather than a debt, for example in an export."},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"borrowerExternalId":{"$ref":"#/components/schemas/BorrowerExternalId"},"borrowerExternalIds":{"type":"array","items":{"$ref":"#/components/schemas/BorrowerExternalId"},"description":"Every borrower who owns the debt. When empty, the borrower in borrowerExternalId owns it.","nullable":true},"cosmosDbLiabilityId":{"type":"string","description":"Id (GUID) of the matching liability on the loan, which links this entry to the liabilities endpoints.","format":"uuid"},"creditorName":{"type":"string","description":"Name of the creditor or lender.","nullable":true},"description":{"type":"string","description":"Free-text description of the debt.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A debt listed on the loan application."},"BorrowerExternalId":{"type":"object","properties":{"externalId":{"type":"string","description":"The borrower's id in the LOS.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower."}},"additionalProperties":false,"description":"Identifies a borrower (consumer) in the LOS."},"Declaration":{"type":"object","properties":{"hasIntentToOccupy":{"type":"boolean","description":"Borrower intends to occupy the subject property as their primary residence."},"isHomeownerPastThreeYears":{"type":"boolean","description":"Borrower has owned a home in the past three years."},"priorPropertyUsage":{"$ref":"#/components/schemas/FieldType"},"priorPropertyTitle":{"$ref":"#/components/schemas/FieldType"},"isBuyerSellerSpecialRelationship":{"type":"boolean","description":"Borrower has a family or business relationship with the seller of the subject property."},"hasUndisclosedBorrowedFunds":{"type":"boolean","description":"Borrower is borrowing money for this transaction (for example the down payment) that is not disclosed elsewhere in the application."},"undisclosedBorrowedFundsAmount":{"type":"number","description":"Amount of that borrowed money, in dollars.","format":"double","nullable":true},"hasUndisclosedCreditApplication":{"type":"boolean","description":"Borrower has applied, or will apply before closing, for other credit that is not disclosed."},"hasUndisclosedMortgageApplication":{"type":"boolean","description":"Borrower has applied for another mortgage on a property that is not disclosed."},"hasCleanEnergyLien":{"type":"boolean","description":"The subject property is subject to a lien that takes priority, such as a clean energy lien."},"isUndisclosedComakerOfNote":{"type":"boolean","description":"Borrower is a co-maker or endorser on a note whose debt is not disclosed."},"hasOutstandingJudgements":{"type":"boolean","description":"Borrower has outstanding judgments against them."},"isDelinquent":{"type":"boolean","description":"Borrower is delinquent or in default on a federal debt or loan."},"isPartyToLawsuit":{"type":"boolean","description":"Borrower is a party to a lawsuit."},"hasDeedInLieu":{"type":"boolean","description":"Borrower has transferred title to a property in lieu of foreclosure in the past seven years."},"hasShortSale":{"type":"boolean","description":"Borrower has completed a pre-foreclosure sale or short sale in the past seven years."},"hasForeclosure":{"type":"boolean","description":"Borrower has had a property foreclosed upon in the past seven years."},"hasBankruptcy":{"type":"boolean","description":"Borrower has declared bankruptcy in the past seven years."},"bankruptcyTypes":{"type":"array","items":{"type":"string"},"description":"The type (chapter) of each bankruptcy declared, when hasBankruptcy is true.","nullable":true},"hasHousingCounselingConsent":{"type":"boolean","description":"Housing counseling consent recorded for the borrower."}},"additionalProperties":false,"description":"A borrower's answers to the declarations on the loan application (Section 5 of the URLA)."},"Demographics":{"type":"object","properties":{"ethnicity":{"$ref":"#/components/schemas/Ethnicity"},"gender":{"$ref":"#/components/schemas/FieldType"},"races":{"type":"array","items":{"$ref":"#/components/schemas/Race"},"description":"The races the borrower reported.","nullable":true},"hasRefusedToDiscloseRace":{"type":"boolean","description":"True when the borrower chose not to provide their race."},"hasRefusedToDiscloseGender":{"type":"boolean","description":"True when the borrower chose not to provide their gender."},"hasRefusedToDiscloseEthnicity":{"type":"boolean","description":"True when the borrower chose not to provide their ethnicity."},"applicationTaken":{"$ref":"#/components/schemas/FieldType"},"isRaceBasedOnVisualOrSurname":{"type":"boolean","description":"True when the race was recorded from visual observation or surname rather than provided by the borrower."},"isGenderBasedOnVisualOrSurname":{"type":"boolean","description":"True when the gender was recorded from visual observation or surname rather than provided by the borrower."},"isEthnicityBasedOnVisualOrSurname":{"type":"boolean","description":"True when the ethnicity was recorded from visual observation or surname rather than provided by the borrower."}},"additionalProperties":false,"description":"The government monitoring (HMDA) information a borrower provided or declined to provide: ethnicity, race and gender."},"Ethnicity":{"type":"object","properties":{"origins":{"type":"array","items":{"$ref":"#/components/schemas/EthnicityOrigin"},"description":"The origins the borrower selected, for example Mexican or Puerto Rican.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"The borrower's ethnicity (HMDA), with the origins they selected."},"EthnicityOrigin":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text origin the borrower gave when the origin is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One ethnicity origin the borrower selected."},"Race":{"type":"object","properties":{"raceDesignations":{"type":"array","items":{"$ref":"#/components/schemas/RaceDesignation"},"description":"The designations the borrower selected within this race, for example Asian Indian or Chinese.","nullable":true},"additionalDescription":{"type":"string","description":"Free-text detail the borrower gave about this race.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A race the borrower reported (HMDA), with the designations they selected."},"RaceDesignation":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text designation the borrower gave when the designation is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One race designation the borrower selected."},"Employment":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the employment record in the LOS.","nullable":true},"isCurrent":{"type":"boolean","description":"True for a current job, false for a previous one."},"isSelfEmployed":{"type":"boolean","description":"True when the borrower is self-employed in this job."},"ownershipShare":{"$ref":"#/components/schemas/FieldType"},"isPrimary":{"type":"boolean","description":"True for the borrower's primary employment. Null when not stated.","nullable":true},"name":{"type":"string","description":"Name of the employer.","nullable":true},"position":{"type":"string","description":"The borrower's job title.","nullable":true},"address":{"$ref":"#/components/schemas/PosAddress"},"startDate":{"type":"string","description":"Date the borrower started this job (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower left this job (ISO 8601 date). Empty for a current job.","nullable":true},"professionStartDate":{"type":"string","description":"Date the borrower started working in this line of work (ISO 8601 date).","nullable":true},"lineOfWorkInMonths":{"type":"integer","description":"Months the borrower has worked in this line of work.","format":"int32","nullable":true},"businessPhone":{"type":"string","description":"The employer's phone number.","nullable":true},"email":{"type":"string","description":"Work email address for this employment.","nullable":true},"monthlyIncomeAmount":{"type":"number","description":"Total monthly income from this employment, in dollars.","format":"double","nullable":true},"incomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"},"description":"The income components from this employment, such as base pay, overtime or bonus.","nullable":true}},"additionalProperties":false,"description":"One job the borrower holds or has held, with the income it pays."},"PosAddress":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A postal address."},"Income":{"type":"object","properties":{"amount":{"type":"number","description":"Income amount, in dollars per month.","format":"double"},"otherDescription":{"type":"string","description":"Free-text description when the income type is Other.","nullable":true},"isAssociatedWithEmployment":{"type":"boolean","description":"True when the income belongs to an employment, such as overtime or bonus, rather than standing alone."},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One income amount, either tied to an employment or standing alone."},"VeteranDetail":{"type":"object","properties":{"isVeteran":{"type":"boolean","description":"True when the borrower is a veteran."},"activeDuty":{"type":"boolean","description":"True when the borrower is currently on active duty."},"activeDutyExpirationDate":{"type":"string","description":"Date the borrower's current active duty ends (ISO 8601 date).","nullable":true},"retiredDischargedOrSeparated":{"type":"boolean","description":"True when the borrower has retired, been discharged or separated from service."},"reserveNationalGuardNeverActivated":{"type":"boolean","description":"True when the borrower is in the Reserves or National Guard and has never been activated."},"isSurvivingSpouseOfVeteran":{"type":"boolean","description":"True when the borrower is the surviving spouse of a veteran."},"serviceType":{"$ref":"#/components/schemas/FieldType"}},"additionalProperties":false,"description":"A borrower's military service details, relevant to VA loans."},"PosCreditScore":{"type":"object","properties":{"source":{"type":"string","description":"Where the score came from, such as the credit agency that reported it.","nullable":true},"score":{"type":"string","description":"The score value, as text.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"Why there is no usable score, when there is none: NotApplicable, NoScore, ThinFile or Other.","nullable":true},"isBrokerEntered":{"type":"boolean","description":"True when a broker typed the score in rather than it being read from a credit agency. A broker-entered score is never sent to the LOS as an agency score."}},"additionalProperties":false,"description":"One credit score on a borrower's file."},"HmdaApplicantCreditScore":{"type":"object","properties":{"reliedOnCreditScore":{"type":"integer","description":"The credit score relied on in the credit decision for this applicant; null when none.","format":"int32","nullable":true},"reliedOnCreditScoreMode":{"type":"string","description":"Whether the relied-on score is the applicant's individual score or a single score for the loan.","nullable":true},"reliedOnCreditScoreModelType":{"type":"string","description":"The credit scoring model of the relied-on score, as a code.","nullable":true}},"additionalProperties":false,"description":"The credit score relied on for an applicant, as reported for HMDA."},"PosAsset":{"type":"object","properties":{"institutionName":{"type":"string","description":"Name of the bank or institution that holds the asset.","nullable":true},"accountNumber":{"type":"string","description":"Account number, as entered.","nullable":true},"amount":{"type":"number","description":"Current balance or value, in dollars.","format":"double"},"accountName":{"type":"string","description":"Name of the account.","nullable":true},"accountHolderName":{"type":"string","description":"Name of the account holder.","nullable":true},"source":{"type":"string","description":"How the asset got on the loan, for example entered manually, linked through the bank connection or synced from the LOS.","nullable":true},"giftSource":{"type":"string","description":"Who the gift came from, for a gift asset.","nullable":true},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account this asset belongs to.","format":"uuid"},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"ownerBorrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The hdBorrowerIds of the asset's owners. Empty means the primary borrower. A new asset is added in the LOS under the first owner named; the full list stays in Henge.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"An asset the borrower reports: an account balance, a gift or another asset."},"BorrowerVestingType":{"enum":["Individual","Trustee","Settlor","SettlorTrustee","TitleOnly","NonTitleSpouse","Other"],"type":"string","description":"How a person on the loan takes title: Individual (as themselves), Trustee, Settlor, SettlorTrustee (settlor and trustee of the same trust), TitleOnly (on title but not a borrower), NonTitleSpouse (a spouse who is not on title) or Other."},"ProposedHousingExpense":{"type":"object","properties":{"firstMortgagePrincipalAndInterest":{"type":"number","description":"Principal and interest on this mortgage, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"otherMortgageLoanPrincipalAndInterest":{"type":"number","description":"Principal and interest on subordinate financing, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"hazardInsurance":{"type":"number","description":"Monthly hazard insurance, in dollars. Calculated by the LOS from hazardInsuranceBasis.","format":"double","nullable":true},"propertyTax":{"type":"number","description":"Monthly property taxes, in dollars. Calculated by the LOS from propertyTaxBasis.","format":"double","nullable":true},"mortgageInsurance":{"type":"number","description":"Monthly mortgage insurance, in dollars. Can be overridden; lock it in fieldLocks or the LOS recalculates it.","format":"double","nullable":true},"hoa":{"type":"number","description":"Monthly homeowners association dues, in dollars.","format":"double","nullable":true},"other":{"type":"number","description":"Other monthly taxes and expenses, in dollars. Can be overridden; lock it in fieldLocks or the LOS recalculates it.","format":"double","nullable":true},"total":{"type":"number","description":"The total proposed monthly housing payment (principal, interest, taxes and insurance), in dollars. Calculated by the LOS; a write is ignored. It is not simply the sum of the components above, so read it rather than adding them up.","format":"double","nullable":true},"hazardInsuranceBasis":{"$ref":"#/components/schemas/EscrowExpenseBasis"},"propertyTaxBasis":{"$ref":"#/components/schemas/EscrowExpenseBasis"}},"additionalProperties":false,"description":"The proposed monthly housing payment, component by component. Every component is nullable: a real zero is returned as 0, so an absent value stays distinguishable from a zero one."},"EscrowExpenseBasis":{"type":"object","properties":{"baseTypeCode":{"type":"string","description":"The LOS code for the base amount the percentage applies to. baseTypeName gives its name.","nullable":true},"baseTypeName":{"type":"string","description":"The name of the base amount (for example \"Total Loan Amount\"), or null for a code with no known name. Read only.","nullable":true},"baseAmount":{"type":"number","description":"The base amount in dollars, as the LOS calculated it. Read only: a value sent is ignored.","format":"double","nullable":true},"ratePercent":{"type":"number","description":"Annual percentage applied to `baseAmount`.","format":"double","nullable":true},"monthlyAddend":{"type":"number","description":"Flat monthly amount added on top of the percentage result.","format":"double","nullable":true},"reserveMonths":{"type":"integer","description":"Months of this expense collected as reserves at closing (hazard insurance and property tax only).\r\nThe loan system derives a default and takes an override only with its lock flag, which the housing write sends with it.\r\nRead from the loan; the loan form save never writes it.","format":"int32","nullable":true},"prepaidMonths":{"type":"integer","description":"Months of this expense prepaid at closing (hazard insurance only).","format":"int32","nullable":true}},"additionalProperties":false,"description":"How the LOS works out one escrowed housing expense: a percentage of a chosen base amount plus a flat monthly amount, for example hazard insurance as Total Loan Amount x 0.500% + $0.00."},"CustomField":{"type":"object","properties":{"id":{"type":"string","description":"Id of the custom field.","nullable":true},"code":{"type":"string","description":"Short code of the custom field.","nullable":true},"externalId":{"type":"string","description":"Id of the field in the LOS.","nullable":true},"name":{"type":"string","description":"Display name of the custom field.","nullable":true},"value":{"type":"string","description":"The value stored in the field, as text.","nullable":true}},"additionalProperties":false,"description":"A custom field configured on the loan, with its value."},"DownPaymentSource":{"type":"object","properties":{"amount":{"type":"number","description":"Amount from this source, in dollars.","format":"double"},"source":{"type":"string","description":"The kind of source, for example savings, gift or sale of a property.","nullable":true},"explanation":{"type":"string","description":"Free-text explanation of the source, when one is needed.","nullable":true}},"additionalProperties":false},"LtvRatios":{"type":"object","properties":{"baseLTVRatio":{"type":"number","description":"Loan-to-value ratio on the base loan amount, as a percent.","format":"double","nullable":true},"grossLTVRatio":{"type":"number","description":"Loan-to-value ratio on the loan amount including financed upfront fees, as a percent.","format":"double","nullable":true},"baseCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio across all liens on the base loan amount, as a percent.","format":"double","nullable":true},"grossCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio across all liens including financed upfront fees, as a percent.","format":"double","nullable":true},"baseHomeEquityCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio counting the full credit limit of any home equity line, on the base loan amount, as a percent.","format":"double","nullable":true},"grossHomeEquityCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio counting the full credit limit of any home equity line, including financed upfront fees, as a percent.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's loan-to-value ratios, as percents."},"Qualification":{"type":"object","properties":{"housingExpenseRatio":{"type":"number","description":"Front-end ratio (housing expense to income), as a percent.","format":"double","nullable":true},"totalDebtExpenseRatio":{"type":"number","description":"Back-end ratio (total debt to income), as a percent.","format":"double","nullable":true},"totalMonthlyIncomeAmount":{"type":"number","description":"Total qualifying monthly income, in dollars.","format":"double","nullable":true},"qualifyingRatePercent":{"type":"number","description":"The rate the borrower is qualified at, as a percent. It is the note rate unless overridden; lock it in fieldLocks or the LOS recomputes it.","format":"double","nullable":true},"qualifyingTermInMonths":{"type":"integer","description":"The term in months the qualifying payment is amortized over.","format":"int32","nullable":true},"qualifyingTermCalculationTypeCode":{"type":"string","description":"Raw code for how the qualifying term is chosen, for example Standard Term.","nullable":true},"qualifyingTermCalculationTypeName":{"type":"string","description":"qualifyingTermCalculationTypeCode decoded, for example Standard Term. Null for a code not recognized. Read only.","nullable":true},"isQualifyingRateInterestOnly":{"type":"boolean","description":"True when the qualifying payment is interest-only.","nullable":true},"qualifyingPrincipalAndInterest":{"type":"number","description":"Qualifying principal and interest, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"qualifyingTotalPayment":{"type":"number","description":"Qualifying total monthly payment (principal, interest, taxes and insurance), in dollars. Calculated by the LOS; a write is ignored.","format":"double","nullable":true}},"additionalProperties":false,"description":"The ratios and payment figures the borrower is qualified on. The qualifying payment can differ from the proposed one when a qualifying rate or term overrides the note rate or term."},"SubjectPropertyRentalIncome":{"type":"object","properties":{"estimatedMonthlyMarketRent":{"type":"number","description":"Estimated market rent of the subject property per month, in dollars.","format":"double","nullable":true}},"additionalProperties":false,"description":"Rental income of the subject property."},"LoanLevelCredit":{"type":"object","properties":{"loanLevelCreditScoreValue":{"type":"string","description":"The credit score relied on for the loan, as reported for HMDA, as text.","nullable":true},"loanLevelCreditScoreSelectionMethodType":{"type":"string","description":"Whether the relied-on score is each applicant's individual score or a single score for the loan.","nullable":true},"creditScoreModelNameType":{"type":"string","description":"The credit scoring model of the relied-on score, as a code.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"The credit score impairment type recorded on the loan, as text.","nullable":true},"creditScoreCategoryType":{"type":"string","description":"The credit score category recorded on the loan, as text.","nullable":true},"creditScoreType1":{"type":"string","description":"Loan-level credit score of type 1 as held on the loan, as text; empty when none.","nullable":true},"creditScoreType2":{"type":"string","description":"Loan-level credit score of type 2 as held on the loan, as text; empty when none.","nullable":true},"creditScoreType2Soft":{"type":"string","description":"Loan-level credit score of type 2 from a soft pull, as text; empty when none.","nullable":true},"creditScore2Avg":{"type":"string","description":"Average of the type 2 scores, as text; empty when none.","nullable":true},"creditScoreType3":{"type":"string","description":"Loan-level credit score of type 3 as held on the loan, as text; empty when none.","nullable":true},"hmdaMultipleCreditScoresUsedIndicator":{"type":"boolean","description":"True when more than one credit score was used in the credit decision, as reported for HMDA.","nullable":true},"reliedOnCreditScoreSource":{"type":"string","description":"The source the relied-on credit score is calculated from: \"Type 2\" when it is that source, otherwise the value\r\nas the loan system holds it. The relied-on score is calculated from it unless it is Other.","nullable":true},"reliedOnCreditScoreModelName":{"type":"string","description":"The relied-on score's model name text (`sReliedOnCreditScoreModelName`).","nullable":true},"reliedOnCreditScoreSingleBorrower":{"type":"string","description":"Whose score is the single relied-on score (`sReliedOnCreditScoreSingleHmdaReportAsT`): Borrower or Coborrower.","nullable":true}},"additionalProperties":false,"description":"The credit score the loan relies on and how it was chosen, as held on the loan."},"LoanCredit":{"type":"object","properties":{"source":{"type":"string","description":"Report when the facts come from a credit report, Manual when they were entered by hand; null when the loan carries no credit at all.","nullable":true},"hasCreditReport":{"type":"boolean","description":"True when a credit report is on the loan, whether ordered through Henge or imported through the Loan Origination System."},"representativeScore":{"type":"integer","description":"The score pricing uses: the lowest representative score across the borrowers, by the usual rule\r\n(middle of three bureau scores, lower of two, the one when there is one). From the report when there\r\nis one, else from the broker's entry.","format":"int32","nullable":true},"pricingScore":{"type":"integer","description":"The score pricing uses (the lowest borrower's) when the scores are a manual entry; null otherwise.","format":"int32","nullable":true},"qualifyingScore":{"type":"integer","description":"The score qualification and the pre-approval check use: the average of the borrowers' middle scores, rounded half up. It differs from representativeScore (the lowest borrower's, used for pricing) on a loan with more than one borrower. Null when there are no scores.","format":"int32","nullable":true},"reports":{"type":"array","items":{"$ref":"#/components/schemas/LoanCreditReport"},"description":"Every credit report order on the loan, newest first, failed and cancelled ones included with their status. May be absent.","nullable":true},"mortgageLates":{"$ref":"#/components/schemas/MortgageLates"},"publicRecords":{"$ref":"#/components/schemas/CreditPublicRecords"},"manual":{"$ref":"#/components/schemas/ManualCreditEntry"},"reissue":{"$ref":"#/components/schemas/LoanCreditReissue"}},"additionalProperties":false,"description":"The loan's credit facts and where they come from: a credit report, or what a broker entered by hand to price and qualify before a report is on the loan. Rebuilt on every read. Once the loan has a report it always wins, and the broker's entry is kept with isCurrent false; broker-entered scores are never treated as bureau scores."},"LoanCreditReport":{"type":"object","properties":{"orderId":{"type":"string","description":"Id (GUID) of the credit report order.","format":"uuid"},"reportNumber":{"type":"string","description":"The agency's report number; null on a failed pull that was never issued one.","nullable":true},"status":{"type":"string","description":"The order's status by name, including Failed and Cancelled.","nullable":true},"isCurrent":{"type":"boolean","description":"True for the one order the rest of the platform reads scores from."},"source":{"type":"string","description":"How the order got onto the loan: Placed (ordered through Henge), Imported or Tracked.","nullable":true},"pullType":{"type":"string","description":"`Soft` or `Hard`; null when not known.","nullable":true},"agency":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"orderedAtUtc":{"type":"string","description":"When the report was ordered, in UTC (ISO 8601).","format":"date-time","nullable":true},"failureReason":{"type":"string","description":"The vendor's reason, on a failed order.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/OrdersCreditReportBorrower"},"description":"The borrowers the report covers, with the bureau scores returned for each.","nullable":true},"averageScore":{"type":"integer","description":"Average of the borrowers' middle scores: what qualification uses.","format":"int32","nullable":true},"pricingScore":{"type":"integer","description":"The lowest borrower's middle score: what pricing uses.","format":"int32","nullable":true},"referenceNumbers":{"type":"array","items":{"type":"string"},"description":"The agency's reference (file) numbers of the report; more than one when separate reports were reissued for separate borrowers.","nullable":true},"vaultDocumentId":{"type":"string","description":"Id of the loan document that holds the report; null when none was filed.","format":"uuid","nullable":true},"liabilityImport":{"$ref":"#/components/schemas/OrdersCreditReportLiabilityImport"}},"additionalProperties":false,"description":"One credit report order as the loan shows it: which pull, how it stands and what it returned. It never holds a login."},"OrdersCreditReportBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"The borrower's identifier on the loan, when the pull was matched to one.","format":"uuid","nullable":true},"name":{"type":"string","description":"The borrower's name as on the report.","nullable":true},"experian":{"type":"integer","description":"Null when the bureau returned no score for this borrower.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"score":{"type":"integer","description":"The borrower's single score derived from the bureau scores; null with no scores.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One borrower covered by a credit report, with the bureau scores it returned."},"OrdersCreditReportLiabilityImport":{"type":"object","properties":{"outcome":{"type":"string","description":"What the liability import did, as a short status word.","nullable":true},"imported":{"type":"integer","description":"Number of liabilities imported; null when none were attempted.","format":"int32","nullable":true},"message":{"type":"string","description":"An explanation of the outcome, such as a warning or the reason the import failed.","nullable":true}},"additionalProperties":false,"description":"What importing the report's liabilities into the loan did."},"MortgageLates":{"type":"object","properties":{"x30":{"type":"integer","description":"Mortgage payments 30 days late.","format":"int32","nullable":true},"x60":{"type":"integer","description":"Mortgage payments 60 days late.","format":"int32","nullable":true},"x90":{"type":"integer","description":"Mortgage payments 90 days late.","format":"int32","nullable":true},"x120":{"type":"integer","description":"Mortgage payments 120 days late.","format":"int32","nullable":true},"x150":{"type":"integer","description":"Mortgage payments 150 days late.","format":"int32","nullable":true},"rollingX30":{"type":"integer","description":"Mortgage payments 30 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX60":{"type":"integer","description":"Mortgage payments 60 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX90":{"type":"integer","description":"Mortgage payments 90 days late, counting rolling lates.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Counts of mortgage payments made late in the last 12 months. The x30 to x150 counts treat rolling lates as not allowed; the rollingX counts treat them as allowed. Null means not stated, 0 means none."},"CreditPublicRecords":{"type":"object","properties":{"foreclosure":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter7":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter13":{"$ref":"#/components/schemas/CreditPublicRecord"}},"additionalProperties":false,"description":"Foreclosure/NOD, Chapter 7 and Chapter 13 history."},"CreditPublicRecord":{"type":"object","properties":{"has":{"type":"boolean","description":"True when the borrower has this kind of public record."},"fileMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"fileYear":{"type":"integer","description":"Year the record was filed, four digits; null when not known.","format":"int32","nullable":true},"status":{"type":"string","description":"NotSatisfied, Discharged or Dismissed. Required when has is true.","nullable":true},"satisfiedMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"satisfiedYear":{"type":"integer","description":"Year the record was satisfied, four digits; null when it has not been or is not known.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One public record: whether the borrower has one, when it was filed, its status and when it was satisfied."},"ManualCreditEntry":{"type":"object","properties":{"isCurrent":{"type":"boolean","description":"False once a credit report supersedes the entry, or one was on the loan before it was saved without being corrected by it: the entry is kept, but the report's values are current."},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/ManualCreditBorrowerScores"},"description":"Bureau scores per borrower: the borrower first, then the co-borrower when one was entered.","nullable":true},"mortgageLates":{"$ref":"#/components/schemas/MortgageLates"},"publicRecords":{"$ref":"#/components/schemas/CreditPublicRecords"},"enteredAtUtc":{"type":"string","description":"When the broker saved the entry, in UTC (ISO 8601).","format":"date-time"},"enteredBy":{"type":"string","description":"Id of the user who saved the entry.","format":"uuid","nullable":true},"enteredByName":{"type":"string","description":"Name of the user who saved the entry.","nullable":true},"supersededAtUtc":{"type":"string","description":"When a report replaced the entry, and the report's number.","format":"date-time","nullable":true},"supersededByReportId":{"type":"string","description":"The number of the credit report that replaced the entry; null while the entry is current.","nullable":true}},"additionalProperties":false,"description":"What a broker entered by hand, and whether it is still what the loan goes by."},"ManualCreditBorrowerScores":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id of the borrower on the loan the scores belong to, when the loan had one.","format":"uuid","nullable":true},"isCoBorrower":{"type":"boolean","description":"True for the co-borrower's scores, false for the borrower's."},"experian":{"type":"integer","description":"The Experian score the broker entered; null when none was entered.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score the broker entered; null when none was entered.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score the broker entered; null when none was entered.","format":"int32","nullable":true},"representativeScore":{"type":"integer","description":"Middle of three, lower of two, the one when there is one; null when none were entered.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Broker-entered bureau scores for one borrower. Stored and reported as broker-entered, never as a bureau score."},"LoanCreditReissue":{"type":"object","properties":{"agencyId":{"type":"string","description":"Id (GUID) of the credit reporting agency the report was reissued from.","format":"uuid"},"agencyName":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"agencyDuCode":{"type":"string","description":"The agency's DU credit provider code.","nullable":true},"reportType":{"type":"string","description":"\"HardPull\" or \"SoftPull\".","nullable":true},"reissuedTimestamp":{"type":"string","description":"When the report was reissued, in UTC (ISO 8601).","format":"date-time"},"reissuedBy":{"type":"string","description":"Id of the user who reissued the report; null when unknown.","format":"uuid","nullable":true},"reissuedByName":{"type":"string","description":"Name of the user who reissued the report.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/LoanCreditReissueBorrower"},"description":"The borrowers the reissue landed for, each with the agency's reference number.","nullable":true}},"additionalProperties":false,"description":"The read-only view of the loan's latest credit report reissue: the agency, when and by whom, and the reference numbers. The agency login name, account id and password are never returned."},"LoanCreditReissueBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id (GUID) of the borrower on the loan.","format":"uuid"},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the report for this borrower.","nullable":true}},"additionalProperties":false,"description":"One borrower of a reissue: the borrower on the loan and the agency's reference number for them."},"PaymentShock":{"type":"object","properties":{"amount":{"type":"number","description":"Dollar increase over the present housing payment.","format":"double","nullable":true},"percent":{"type":"number","description":"Increase as a percentage of the present housing payment.","format":"double","nullable":true}},"additionalProperties":false,"description":"The jump from the borrower's present housing payment to the proposed one. Calculated by the LOS; read only."},"LoanFieldLocks":{"type":"object","properties":{"loanAmount":{"type":"boolean","description":"True when the loan amount is locked, so a change to the purchase price or down payment does not recalculate it.","nullable":true},"qualifyingRate":{"type":"boolean","description":"True when the qualifying rate is locked against its formula.","nullable":true},"mortgageInsurance":{"type":"boolean","description":"True when the monthly mortgage insurance is locked against the insurance schedule.","nullable":true},"otherHousingExpense":{"type":"boolean","description":"True when the other housing expense is locked.","nullable":true},"estimatedClosingDate":{"type":"boolean","description":"True when the estimated closing date is locked, so a status change does not recalculate it.","nullable":true},"higherPricedMortgageType":{"type":"boolean","description":"True when the higher-priced mortgage result is locked against the APR test.","nullable":true}},"additionalProperties":false,"description":"Which figures are locked in the LOS. A locked figure keeps the value it was given; an unlocked one is recalculated by the LOS from its inputs."},"LoanTrust":{"type":"object","properties":{"id":{"type":"string","description":"Stable id for the trust on this loan. Assigned on save when omitted.","format":"uuid","nullable":true},"name":{"type":"string","description":"The trust's exact name, including any amendment and restatement dates, as it will appear on title.","nullable":true},"classification":{"$ref":"#/components/schemas/LoanTrustClassification"},"establishedDate":{"type":"string","description":"The date the trust was established.","format":"date","nullable":true},"amendedDate":{"type":"string","description":"The date of the latest amendment or restatement, if any.","format":"date","nullable":true},"stateCode":{"type":"string","description":"Two-letter code of the state whose law governs the trust.","nullable":true},"parties":{"type":"array","items":{"$ref":"#/components/schemas/LoanTrustParty"},"description":"Trustees, settlors and beneficiaries.","nullable":true}},"additionalProperties":false,"description":"A trust that will hold title to the subject property. A trust is vesting, not a borrower: its settlors are ordinary borrowers, and the trust sits at loan level so it can name people from more than one borrower pair."},"LoanTrustClassification":{"enum":["InterVivosRevocable","Irrevocable","Land","Other"],"type":"string","description":"The legal classification of a trust: InterVivosRevocable (a living trust that can be changed or revoked), Irrevocable (cannot be revoked), Land (a land trust) or Other."},"LoanTrustParty":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/LoanTrustPartyRole"},"borrowerId":{"type":"string","description":"The hdBorrowerId of the borrower this party is, on any pair. Must be a borrower on the loan.","format":"uuid","nullable":true},"name":{"type":"string","description":"The party's name when it is not a borrower on the loan.","nullable":true},"isInstitution":{"type":"boolean","description":"True when the party is an institution (a bank or trust company acting as trustee)."}},"additionalProperties":false,"description":"One party to a `LoanTrust`. A party who is a borrower on any pair is named by\r\n`borrowerId` (the borrower's `hdBorrowerId`); anyone else, a non-borrowing person or an\r\ninstitutional trustee, by `name`."},"LoanTrustPartyRole":{"enum":["Trustee","CoTrustee","SuccessorTrustee","Settlor","SettlorTrustee","Beneficiary"],"type":"string","description":"A party's role in a trust: Trustee, CoTrustee, SuccessorTrustee (takes over from a trustee), Settlor (created the trust), SettlorTrustee (both settlor and trustee) or Beneficiary."},"LoanAusResult":{"type":"object","properties":{"duCasefileId":{"type":"string","description":"The DU casefile id of the loan's latest DU run. A resubmission reuses it.","nullable":true},"lpaKey":{"type":"string","description":"The Freddie Mac LPA key written onto the loan by an LPA import; null when none.","nullable":true},"recommendation":{"type":"string","description":"The underwriting recommendation as text, for example Approve/Eligible.","nullable":true},"resultCode":{"type":"integer","description":"Numeric code of the result: 0 not submitted, 1 to 9 the DU results, 10 to 13 and 15 to 19 the LPA results, 14 out of scope. Null when nothing was sent.","format":"int32","nullable":true},"result":{"type":"string","description":"The name of resultCode; null when there is no code.","nullable":true}},"additionalProperties":false,"description":"The latest automated underwriting result held on the loan. It is read from the Loan Origination System on every loan read and is never written back; the run history is the aus/runs list."},"LoanRateLock":{"type":"object","properties":{"status":{"type":"string","description":"Lock status: Not Locked, Locked, Lock Requested, Lock Suspended or Lock Cancelled. Calculated by the LOS; never written.","nullable":true},"isLocked":{"type":"boolean","description":"True when status is Locked, false for any other status, null when there is no status.","nullable":true},"lockDate":{"type":"string","description":"Date the rate was locked, ISO 8601.","format":"date","nullable":true},"lockTime":{"type":"string","description":"Time of day of the lock, as the LOS formats it.","nullable":true},"periodDays":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Date the lock expires, ISO 8601. The LOS calculates it from the lock date and period.","format":"date","nullable":true},"noteRate":{"type":"number","description":"Locked note rate, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"The locked price, as a percentage of par (100 = par). Read only.","format":"double","nullable":true},"lockIdentifier":{"type":"string","description":"The lock's own identifier, when the source has one, for example an imported file. Usually null.","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/RateLockHistoryEntry"},"description":"Every lock, extension, relock and break the LOS recorded, newest first. Empty when the loan was never locked.","nullable":true},"ladder":{"$ref":"#/components/schemas/LoanRateLockLadder"},"priceGrid":{"$ref":"#/components/schemas/LoanRateLockPriceGrid"},"investorLock":{"$ref":"#/components/schemas/LoanInvestorLock"},"lockOutcome":{"type":"string","description":"What a write that asked to lock did, when the written values do not say it, for example values written but the lock not set, with the reason. Set only on a write response.","nullable":true}},"additionalProperties":false,"description":"The loan's rate lock with the broker as the LOS holds it, plus the lock history. It is read with the loan; only staff can change the lock date, period and note rate, through the rate lock endpoints. Everything else is calculated."},"RateLockHistoryEntry":{"type":"object","properties":{"kind":{"type":"string","description":"What happened, as the LOS names it: a lock, an extension, a relock or a break.","nullable":true},"occurredAt":{"type":"string","description":"When it happened, ISO 8601.","format":"date-time","nullable":true},"rate":{"type":"number","description":"Note rate at the time, in percent.","format":"double","nullable":true},"price":{"type":"number","description":"Price at the time, where 100 is par.","format":"double","nullable":true},"periodDays":{"type":"integer","description":"Lock period after the entry, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Lock expiration date after the entry, ISO 8601.","format":"date","nullable":true},"extensionDays":{"type":"integer","description":"Days an extension added, when the entry is an extension and they were recorded.","format":"int32","nullable":true},"user":{"type":"string","description":"Who made the change, as the LOS recorded it.","nullable":true},"note":{"type":"string","description":"Note recorded with the entry.","nullable":true}},"additionalProperties":false,"description":"One entry of a lock's history: a lock, extension, relock or break."},"LoanRateLockLadder":{"type":"object","properties":{"takenAt":{"type":"string","description":"When the snapshot was taken, which is when the lock was placed (UTC).","format":"date-time"},"productName":{"type":"string","description":"Name of the locked product.","nullable":true},"investor":{"type":"string","description":"Name of the investor behind the locked product, when the caller is shown the investor.","nullable":true},"lockPeriod":{"type":"integer","description":"The locked lock period in days; every row has it.","format":"int32","nullable":true},"selectedQuoteId":{"type":"string","description":"quoteId of the selected row.","nullable":true},"selected":{"$ref":"#/components/schemas/LoanRateLockRow"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/LoanRateLockRow"},"description":"The rows of the locked lock period, lowest rate first.","nullable":true},"moves":{"type":"array","items":{"$ref":"#/components/schemas/LockPositionMove"},"description":"The moves of the selected row after the lock, oldest first.","nullable":true},"sourceInstruction":{"$ref":"#/components/schemas/SourceLockInstruction"},"productCode":{"type":"string","description":"The locked product's code. Shown with the source lock instruction only.","nullable":true},"rateSheetTime":{"type":"string","description":"When the product's rate sheet was published, ISO 8601. Shown with the source lock instruction only.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"The locked product's rate sheet at the time of the lock, as the rate lock read returns it: the rows of the locked lock period, the selected row and the moves. Absent on a loan locked before the snapshot was kept."},"LoanRateLockRow":{"type":"object","properties":{"quoteId":{"type":"string","description":"Identifier of this row; pass it to select the row or to request it as a change of circumstance.","nullable":true},"rate":{"type":"number","description":"Note rate of the row, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"Price of the row, where 100 is par.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount; negative when the row pays a rebate.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment of the row, in dollars.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate of the row, in percent.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance of this row, in dollars; 0 when the product has none.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"The buydown (discount) this row costs, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"The rebate (credit) this row gives, in dollars; 0 on a buydown or par row.","format":"double","nullable":true},"isSelected":{"type":"boolean","description":"True for the row the lock is currently on."}},"additionalProperties":false,"description":"One rate and price of the locked product's rate sheet."},"LockPositionMove":{"type":"object","properties":{"movedAt":{"type":"string","description":"When the selected row was moved, ISO 8601 UTC.","format":"date-time"},"movedBy":{"type":"string","description":"Identifier (GUID) of the user who moved it.","format":"uuid","nullable":true},"movedByName":{"type":"string","description":"Name of the user who moved it.","nullable":true},"fromQuoteId":{"type":"string","description":"quoteId of the row before the move.","nullable":true},"fromRate":{"type":"number","description":"Note rate before the move, in percent.","format":"double","nullable":true},"fromPrice":{"type":"number","description":"Price before the move, where 100 is par.","format":"double","nullable":true},"toQuoteId":{"type":"string","description":"quoteId of the row after the move.","nullable":true},"toRate":{"type":"number","description":"Note rate after the move, in percent.","format":"double","nullable":true},"toPrice":{"type":"number","description":"Price after the move, where 100 is par.","format":"double","nullable":true},"sourceFromPrice":{"type":"number","description":"The source lender's price before the move, from its frozen rate sheet. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceToPrice":{"type":"number","description":"The source lender's price after the move. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceNote":{"type":"string","description":"Set when the instruction has no price at the new rate, in words. Staff only.","nullable":true}},"additionalProperties":false,"description":"One move of the selected row: who, when, and from which rate and price to which."},"SourceLockInstruction":{"type":"object","properties":{"status":{"type":"string","description":"Outcome of looking for the source price: Priced (the price is set), Unmapped (no source product is mapped to the locked product), NoSourcePricingAccount (the company has no source pricing account), SourceSearchFailed, SourceProductNotReturned or RateNotOnSourceSheet.","nullable":true},"message":{"type":"string","description":"In words, what happened when there is no price.","nullable":true},"sourceInvestor":{"type":"string","description":"Name of the source lender.","nullable":true},"sourceInvestorId":{"type":"integer","description":"Identifier of the source lender in the pricing engine.","format":"int32","nullable":true},"sourceProductName":{"type":"string","description":"Name of the source lender's product to lock.","nullable":true},"sourceProductCode":{"type":"string","description":"Product code of the source lender's product.","nullable":true},"portfolioProductCode":{"type":"string","description":"Code of the portfolio product the row was found by.","nullable":true},"rate":{"type":"number","description":"The selected note rate, in percent.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"sourcePrice":{"type":"number","description":"The source lender's price at the selected rate and lock period, from its frozen rate sheet.","format":"double","nullable":true},"sourceRateSheetTime":{"type":"string","description":"When the source lender's rate sheet was published, ISO 8601.","format":"date-time","nullable":true},"portfolioPrice":{"type":"number","description":"The portfolio price the broker locked at, including the portfolio's margin.","format":"double","nullable":true},"priceDifference":{"type":"number","description":"portfolioPrice minus sourcePrice: the margin, in points.","format":"double","nullable":true}},"additionalProperties":false,"description":"The instruction for the lock desk: lock the source product with the source lender at the source price. It follows the selected row, so a move of the selected rate rewrites it from the source lender's frozen rate sheet. Shown to staff only."},"LoanRateLockPriceGrid":{"type":"object","properties":{"basePrice":{"type":"number","description":"The base price, where 100 is par.","format":"double","nullable":true},"priceRow":{"type":"string","description":"Which price the grid's row is locked on: Base, BrokerBase, BrokerFinal or OriginatorPrice.","nullable":true},"visibleAdjustmentsTotal":{"type":"number","description":"Total of the adjustments the broker sees, in points.","format":"double","nullable":true},"hiddenAdjustmentsTotal":{"type":"number","description":"Total of the hidden lender adjustments, in points.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The adjustment lines on the price grid.","nullable":true},"originatorPrice":{"type":"number","description":"The Originator Price: the price before the originator compensation.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"The Final Price: the price after the originator compensation.","format":"double","nullable":true},"investorPrice":{"type":"number","description":"The investor's price.","format":"double","nullable":true},"internalNote":{"type":"string","description":"The lock screen's internal notes.","nullable":true},"originatorCompensation":{"$ref":"#/components/schemas/LoanOriginatorCompensation"}},"additionalProperties":false,"description":"The front-end lock's price grid and the originator compensation, read live from the LOS. Set only on rate lock reads and writes. The investor price and the lender lines are not returned to third-party-originator (broker) callers."},"LockAdjustment":{"type":"object","properties":{"description":{"type":"string","description":"What the adjustment is for.","nullable":true},"points":{"type":"number","description":"The adjustment in points; a negative value adds to the price.","format":"double","nullable":true},"rate":{"type":"number","description":"Rate adjustment, in percentage points.","format":"double","nullable":true},"margin":{"type":"number","description":"Margin adjustment, in percentage points.","format":"double","nullable":true},"hidden":{"type":"boolean","description":"True for a hidden lender line the broker never sees (front-end lock only)."}},"additionalProperties":false,"description":"One adjustment line as the LOS holds it."},"LoanOriginatorCompensation":{"type":"object","properties":{"paidBy":{"type":"string","description":"Borrower or Lender (`sOriginatorCompensationPaymentSourceT`); null when not specified.","nullable":true},"percent":{"type":"number","description":"Compensation as a percent of the base amount, for example 2.0 for two percent.","format":"double","nullable":true},"minAmount":{"type":"number","description":"Minimum compensation in dollars.","format":"double","nullable":true},"fixedAmount":{"type":"number","description":"Fixed compensation in dollars.","format":"double","nullable":true},"baseType":{"type":"string","description":"LoanAmount or TotalLoanAmount (`sOriginatorCompensationBaseT`).","nullable":true},"lenderFeeOption":{"type":"string","description":"IncludedInLenderFees or InAdditionToLenderFees (`sOriginatorCompensationLenderFeeOptionT`).","nullable":true}},"additionalProperties":false,"description":"The loan's originator compensation inputs (`sOriginatorCompensation*`), as the LOS holds them."},"LoanInvestorLock":{"type":"object","properties":{"investorId":{"type":"integer","description":"Identifier of the investor in the LOS's investor list.","format":"int32","nullable":true},"investorName":{"type":"string","description":"Name of the investor.","nullable":true},"investorLoanNumber":{"type":"string","description":"The investor's loan number for this loan.","nullable":true},"confirmationNumber":{"type":"string","description":"Confirmation number the investor gave the lock.","nullable":true},"programName":{"type":"string","description":"Name of the investor program the loan is locked to.","nullable":true},"rateSheetTime":{"type":"string","description":"Effective time of the investor's rate sheet, as text in the form MM/dd/yyyy h:mm tt.","nullable":true},"commitmentType":{"type":"string","description":"Delivery commitment: BestEfforts, Mandatory, Hedged or Securitized.","nullable":true},"lockFee":{"type":"number","description":"Fee charged for the lock.","format":"double","nullable":true},"lockDate":{"type":"string","description":"Date the investor lock was made, ISO 8601.","format":"date","nullable":true},"periodDays":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Date the lock expires, ISO 8601: the lock date plus the period, with no weekend roll.","format":"date","nullable":true},"deliveryExpirationDate":{"type":"string","description":"Date delivery of the loan to the investor expires, ISO 8601, calculated as the expiration is.","format":"date","nullable":true},"noteRate":{"type":"number","description":"Locked note rate, in percent such as 6.875.","format":"double","nullable":true},"basePrice":{"type":"number","description":"Base price from the investor's rate sheet, where 100 is par.","format":"double","nullable":true},"totalAdjustments":{"type":"number","description":"Total of the price adjustments, in points.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"Price after all adjustments, where 100 is par.","format":"double","nullable":true},"projectedProfit":{"type":"number","description":"Projected profit on the lock, as the LOS calculates it.","format":"double","nullable":true},"status":{"type":"string","description":"Not Locked, Locked, Lock Requested, Lock Suspended or Lock Cancelled.","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The price adjustment lines on the investor lock.","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/RateLockHistoryEntry"},"description":"Every event on the investor lock, newest first.","nullable":true},"lockOutcome":{"type":"string","description":"What a write that asked to lock or break the lock did when the LOS did not do it. Set only on a write response.","nullable":true}},"additionalProperties":false,"description":"The back-end (investor) lock as the LOS holds it, read live. Set only on rate lock reads and writes, and never for third-party-originator (broker) callers."},"LoanTemporaryBuydown":{"type":"object","properties":{"steps":{"type":"array","items":{"$ref":"#/components/schemas/TemporaryBuydownStep"},"description":"The steps in order, each { rateReduction, months }: a 2-1 is [{ rateReduction: 2, months: 12 }, { rateReduction: 1, months: 12 }]. At most five. The list replaces the stored steps as a whole; empty slots are left out when read.","nullable":true},"contributorType":{"type":"string","description":"Who pays for the buydown, as the LOS's raw contributor code (sBuydownContributorT). Optional: left out, the LOS's value is not touched.","nullable":true},"totalFundsAmount":{"type":"number","description":"Total buydown funds in dollars (sBuydownTotalFundsAmt). Optional: left out, the LOS's value is not touched.","format":"double","nullable":true},"hasTemporaryBuydown":{"type":"boolean","description":"sHasTempBuydown - calculated by the LOS from the steps. Read only: a write is ignored.","nullable":true},"totalMonths":{"type":"integer","description":"sBuydwnTotalMon - calculated by the LOS. Read only.","format":"int32","nullable":true},"resultRate":{"type":"number","description":"sBuydownResultIR - calculated by the LOS. Read only.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's temporary buydown as the LOS holds it: up to five steps, who pays for it and how much, and what the LOS calculates from them. Changed only by a partial update that names it."},"TemporaryBuydownStep":{"type":"object","properties":{"rateReduction":{"type":"number","description":"Points the note rate is reduced by during this step (number, 2 means 2 points). Not negative.","format":"double"},"months":{"type":"integer","description":"Months this step lasts (integer). Required when rateReduction is above 0.","format":"int32"}},"additionalProperties":false,"description":"One step of a temporary buydown: how many points the rate is reduced for how many months."}}}}
```

## The LoanInvestorLock object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanInvestorLock":{"type":"object","properties":{"investorId":{"type":"integer","description":"Identifier of the investor in the LOS's investor list.","format":"int32","nullable":true},"investorName":{"type":"string","description":"Name of the investor.","nullable":true},"investorLoanNumber":{"type":"string","description":"The investor's loan number for this loan.","nullable":true},"confirmationNumber":{"type":"string","description":"Confirmation number the investor gave the lock.","nullable":true},"programName":{"type":"string","description":"Name of the investor program the loan is locked to.","nullable":true},"rateSheetTime":{"type":"string","description":"Effective time of the investor's rate sheet, as text in the form MM/dd/yyyy h:mm tt.","nullable":true},"commitmentType":{"type":"string","description":"Delivery commitment: BestEfforts, Mandatory, Hedged or Securitized.","nullable":true},"lockFee":{"type":"number","description":"Fee charged for the lock.","format":"double","nullable":true},"lockDate":{"type":"string","description":"Date the investor lock was made, ISO 8601.","format":"date","nullable":true},"periodDays":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Date the lock expires, ISO 8601: the lock date plus the period, with no weekend roll.","format":"date","nullable":true},"deliveryExpirationDate":{"type":"string","description":"Date delivery of the loan to the investor expires, ISO 8601, calculated as the expiration is.","format":"date","nullable":true},"noteRate":{"type":"number","description":"Locked note rate, in percent such as 6.875.","format":"double","nullable":true},"basePrice":{"type":"number","description":"Base price from the investor's rate sheet, where 100 is par.","format":"double","nullable":true},"totalAdjustments":{"type":"number","description":"Total of the price adjustments, in points.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"Price after all adjustments, where 100 is par.","format":"double","nullable":true},"projectedProfit":{"type":"number","description":"Projected profit on the lock, as the LOS calculates it.","format":"double","nullable":true},"status":{"type":"string","description":"Not Locked, Locked, Lock Requested, Lock Suspended or Lock Cancelled.","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The price adjustment lines on the investor lock.","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/RateLockHistoryEntry"},"description":"Every event on the investor lock, newest first.","nullable":true},"lockOutcome":{"type":"string","description":"What a write that asked to lock or break the lock did when the LOS did not do it. Set only on a write response.","nullable":true}},"additionalProperties":false,"description":"The back-end (investor) lock as the LOS holds it, read live. Set only on rate lock reads and writes, and never for third-party-originator (broker) callers."},"LockAdjustment":{"type":"object","properties":{"description":{"type":"string","description":"What the adjustment is for.","nullable":true},"points":{"type":"number","description":"The adjustment in points; a negative value adds to the price.","format":"double","nullable":true},"rate":{"type":"number","description":"Rate adjustment, in percentage points.","format":"double","nullable":true},"margin":{"type":"number","description":"Margin adjustment, in percentage points.","format":"double","nullable":true},"hidden":{"type":"boolean","description":"True for a hidden lender line the broker never sees (front-end lock only)."}},"additionalProperties":false,"description":"One adjustment line as the LOS holds it."},"RateLockHistoryEntry":{"type":"object","properties":{"kind":{"type":"string","description":"What happened, as the LOS names it: a lock, an extension, a relock or a break.","nullable":true},"occurredAt":{"type":"string","description":"When it happened, ISO 8601.","format":"date-time","nullable":true},"rate":{"type":"number","description":"Note rate at the time, in percent.","format":"double","nullable":true},"price":{"type":"number","description":"Price at the time, where 100 is par.","format":"double","nullable":true},"periodDays":{"type":"integer","description":"Lock period after the entry, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Lock expiration date after the entry, ISO 8601.","format":"date","nullable":true},"extensionDays":{"type":"integer","description":"Days an extension added, when the entry is an extension and they were recorded.","format":"int32","nullable":true},"user":{"type":"string","description":"Who made the change, as the LOS recorded it.","nullable":true},"note":{"type":"string","description":"Note recorded with the entry.","nullable":true}},"additionalProperties":false,"description":"One entry of a lock's history: a lock, extension, relock or break."}}}}
```

## The LoanLevelCredit object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanLevelCredit":{"type":"object","properties":{"loanLevelCreditScoreValue":{"type":"string","description":"The credit score relied on for the loan, as reported for HMDA, as text.","nullable":true},"loanLevelCreditScoreSelectionMethodType":{"type":"string","description":"Whether the relied-on score is each applicant's individual score or a single score for the loan.","nullable":true},"creditScoreModelNameType":{"type":"string","description":"The credit scoring model of the relied-on score, as a code.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"The credit score impairment type recorded on the loan, as text.","nullable":true},"creditScoreCategoryType":{"type":"string","description":"The credit score category recorded on the loan, as text.","nullable":true},"creditScoreType1":{"type":"string","description":"Loan-level credit score of type 1 as held on the loan, as text; empty when none.","nullable":true},"creditScoreType2":{"type":"string","description":"Loan-level credit score of type 2 as held on the loan, as text; empty when none.","nullable":true},"creditScoreType2Soft":{"type":"string","description":"Loan-level credit score of type 2 from a soft pull, as text; empty when none.","nullable":true},"creditScore2Avg":{"type":"string","description":"Average of the type 2 scores, as text; empty when none.","nullable":true},"creditScoreType3":{"type":"string","description":"Loan-level credit score of type 3 as held on the loan, as text; empty when none.","nullable":true},"hmdaMultipleCreditScoresUsedIndicator":{"type":"boolean","description":"True when more than one credit score was used in the credit decision, as reported for HMDA.","nullable":true},"reliedOnCreditScoreSource":{"type":"string","description":"The source the relied-on credit score is calculated from: \"Type 2\" when it is that source, otherwise the value\r\nas the loan system holds it. The relied-on score is calculated from it unless it is Other.","nullable":true},"reliedOnCreditScoreModelName":{"type":"string","description":"The relied-on score's model name text (`sReliedOnCreditScoreModelName`).","nullable":true},"reliedOnCreditScoreSingleBorrower":{"type":"string","description":"Whose score is the single relied-on score (`sReliedOnCreditScoreSingleHmdaReportAsT`): Borrower or Coborrower.","nullable":true}},"additionalProperties":false,"description":"The credit score the loan relies on and how it was chosen, as held on the loan."}}}}
```

## The LoanMetricField object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanMetricField":{"enum":["LoanAmount","LockedCompensation","EstimatedCompensation"],"type":"string","description":"The loan figure to measure: LoanAmount (dollars), LockedCompensation (compensation on locked loans, dollars) or EstimatedCompensation (estimated compensation, dollars)."}}}}
```

## The LoanMetricFunction object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanMetricFunction":{"enum":["Count","Sum","Average","Min","Max"],"type":"string","description":"How to combine the metric field across a bucket: Count, Sum, Average, Min or Max."}}}}
```

## The LoanMilestoneReportResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanMilestoneReportResponse":{"type":"object","properties":{"granularity":{"type":"string","description":"Size of each time bucket: Week or Month.","nullable":true},"groupBy":{"type":"string","description":"The dimension the milestones were grouped by.","nullable":true},"truncated":{"type":"boolean","description":"True when the buckets were capped and some are not shown."},"from":{"type":"string","description":"First day of the milestone-date window the buckets cover (inclusive).","format":"date"},"to":{"type":"string","description":"Last day of the milestone-date window the buckets cover (inclusive).","format":"date"},"note":{"type":"string","description":"A message about how to read the result, when there is one.","nullable":true},"buckets":{"type":"array","items":{"$ref":"#/components/schemas/MilestoneBucket"},"description":"The milestone counts per period and stage.","nullable":true}},"additionalProperties":false},"MilestoneBucket":{"type":"object","properties":{"period":{"type":"string","description":"First day of the week (yyyy-MM-dd) or the month (yyyy-MM) the loans first reached the stage.","nullable":true},"stage":{"type":"string","description":"Name of the milestone stage the loans reached.","nullable":true},"stageOrder":{"type":"integer","description":"Position of the stage in the loan pipeline, starting at 0.","format":"int32"},"loanCount":{"type":"integer","description":"Number of loans that reached the stage in the period.","format":"int32"},"loanAmount":{"type":"number","description":"Total loan amount of those loans, in dollars.","format":"double","nullable":true}},"additionalProperties":false}}}}
```

## The LoanModified object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanModified":{"required":["createdTimestamp","id","type","updatedTimestamp"],"type":"object","properties":{"warnings":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplicationWarning"},"description":"Things to know about a create that still succeeded, each naming the request field it is about, for\r\nexample a client the loan officer already held for the borrower's email being reused. Empty when none.","nullable":true},"id":{"type":"string","description":"The unique identifier of the entity that was modified."},"type":{"type":"string","description":"A string indicating the type or category of the modified entity (e.g., “Webhook”, “LoanApplicationTask”)."},"createdTimestamp":{"type":"string","description":"The timestamp when the entity was first created.","format":"date-time"},"updatedTimestamp":{"type":"string","description":"The timestamp when the entity was last updated.","format":"date-time"}},"additionalProperties":false,"description":"The audit record of a loan create, with the warnings the create raised."},"LoanApplicationWarning":{"type":"object","properties":{"field":{"type":"string","description":"The request field the warning is about, for example `loanInfo.borrowers[0].contacts.email`.","nullable":true},"message":{"type":"string","description":"Plain-English text of the warning.","nullable":true}},"additionalProperties":false,"description":"Something the caller should know about a request that still succeeded."}}}}
```

## The LoanOrder object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanOrder":{"type":"object","properties":{"type":{"type":"string","description":"Our order type. Travels as `SERVICE_PRODUCT_NAME_DETAIL/ServiceProductNameIdentifier`.","nullable":true},"name":{"type":"string","description":"The order's name. `SERVICE_PRODUCT_NAME_DETAIL/ServiceProductNameDescription`.","nullable":true},"status":{"$ref":"#/components/schemas/LoanAppOrderStatus"},"statusDescription":{"type":"string","description":"The latest activity message. `STATUSES/STATUS/StatusDescription`.","nullable":true},"dueDate":{"type":"string","description":"`SERVICE_PRODUCT_DETAIL/ServiceNeedByDate` and `SERVICE_PRODUCT_FULFILLMENT_DETAIL/ServiceRequestedCompletionDate`.","format":"date","nullable":true},"receivedDate":{"type":"string","description":"`SERVICE_PRODUCT_FULFILLMENT_DETAIL/ServiceActualCompletionDate`.","format":"date","nullable":true},"isRush":{"type":"boolean","description":"`SERVICE_PRODUCT_DETAIL/ServiceExpediteIndicator`.","nullable":true},"productDescription":{"type":"string","description":"The products' names, joined with \"; \". `SERVICE_PRODUCT_DETAIL/ServiceProductDescription`.","nullable":true},"productIdentifier":{"type":"string","description":"The products' codes, joined with \"; \". `SERVICE_PRODUCT_DETAIL/ServiceProductIdentifier`.","nullable":true},"vendorOrderIdentifier":{"type":"string","description":"The vendor's order id, else the order number. `SERVICE_PRODUCT_FULFILLMENT_DETAIL/VendorOrderIdentifier`.","nullable":true},"vendorName":{"type":"string","description":"A `PARTIES/PARTY` (`LEGAL_ENTITY`) tied to the SERVICE by a `RELATIONSHIP`.","nullable":true}},"additionalProperties":false,"description":"One order as a MISMO `DEAL/SERVICES/SERVICE`. The order type picks the SERVICE's choice element\r\n(VALUATION, FLOOD, TITLE, ...; see `MismoOrderServices`). Only what MISMO carries is here: the\r\nordered date, our internal ids and anything to do with payment are not."},"LoanAppOrderStatus":{"enum":["Draft","Submitting","Submitted","Ordered","InProgress","Received","Completed","Failed","Cancelled","Unconfirmed"],"type":"string","description":"Where an order is in its life. A tracked order (dates only) moves through `Draft`,\r\n`Ordered` and `Received` as its dates are filled in; a placed one is moved\r\nby the vendor integration. Stored by name."}}}}
```

## The LoanOriginatorCompensation object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanOriginatorCompensation":{"type":"object","properties":{"paidBy":{"type":"string","description":"Borrower or Lender (`sOriginatorCompensationPaymentSourceT`); null when not specified.","nullable":true},"percent":{"type":"number","description":"Compensation as a percent of the base amount, for example 2.0 for two percent.","format":"double","nullable":true},"minAmount":{"type":"number","description":"Minimum compensation in dollars.","format":"double","nullable":true},"fixedAmount":{"type":"number","description":"Fixed compensation in dollars.","format":"double","nullable":true},"baseType":{"type":"string","description":"LoanAmount or TotalLoanAmount (`sOriginatorCompensationBaseT`).","nullable":true},"lenderFeeOption":{"type":"string","description":"IncludedInLenderFees or InAdditionToLenderFees (`sOriginatorCompensationLenderFeeOptionT`).","nullable":true}},"additionalProperties":false,"description":"The loan's originator compensation inputs (`sOriginatorCompensation*`), as the LOS holds them."}}}}
```

## The LoanPipelinePeriodCount object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPipelinePeriodCount":{"type":"object","properties":{"period":{"type":"string","description":"The month, formatted yyyy-MM.","nullable":true},"count":{"type":"integer","description":"Number of loans with activity in the month.","format":"int32"},"totalLoanAmount":{"type":"number","description":"Sum of the loan amounts of those loans, in dollars.","format":"double","nullable":true}},"additionalProperties":false}}}}
```

## The LoanPipelineReportResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPipelineReportResponse":{"type":"object","properties":{"currentPipelineByStage":{"type":"array","items":{"$ref":"#/components/schemas/LoanPipelineStageCount"},"description":"Snapshot distribution of loans across pipeline stages, ordered by stage.","nullable":true},"monthlyTrend":{"type":"array","items":{"$ref":"#/components/schemas/LoanPipelinePeriodCount"},"description":"Loan activity (by status date) per month for the requested look-back window.","nullable":true},"activeLoanCount":{"type":"integer","description":"Count of loans in non-terminal stages.","format":"int32"},"note":{"type":"string","description":"A short explanation of how the figures were counted, to show beside the report.","nullable":true}},"additionalProperties":false},"LoanPipelineStageCount":{"type":"object","properties":{"stage":{"type":"string","description":"Name of the pipeline stage.","nullable":true},"order":{"type":"integer","description":"The stage's position in the pipeline; stages are listed in this order.","format":"int32"},"isTerminal":{"type":"boolean","description":"True for an end stage (closed, denied, withdrawn and the like); loans in it are not counted as active."},"count":{"type":"integer","description":"Number of loans currently in the stage.","format":"int32"},"totalLoanAmount":{"type":"number","description":"Sum of the loan amounts of the loans in the stage, in dollars.","format":"double","nullable":true},"statuses":{"type":"array","items":{"type":"string"},"description":"The loan statuses that roll up into this stage.","nullable":true}},"additionalProperties":false},"LoanPipelinePeriodCount":{"type":"object","properties":{"period":{"type":"string","description":"The month, formatted yyyy-MM.","nullable":true},"count":{"type":"integer","description":"Number of loans with activity in the month.","format":"int32"},"totalLoanAmount":{"type":"number","description":"Sum of the loan amounts of those loans, in dollars.","format":"double","nullable":true}},"additionalProperties":false}}}}
```

## The LoanPipelineStageCount object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPipelineStageCount":{"type":"object","properties":{"stage":{"type":"string","description":"Name of the pipeline stage.","nullable":true},"order":{"type":"integer","description":"The stage's position in the pipeline; stages are listed in this order.","format":"int32"},"isTerminal":{"type":"boolean","description":"True for an end stage (closed, denied, withdrawn and the like); loans in it are not counted as active."},"count":{"type":"integer","description":"Number of loans currently in the stage.","format":"int32"},"totalLoanAmount":{"type":"number","description":"Sum of the loan amounts of the loans in the stage, in dollars.","format":"double","nullable":true},"statuses":{"type":"array","items":{"type":"string"},"description":"The loan statuses that roll up into this stage.","nullable":true}},"additionalProperties":false}}}}
```

## The LoanPricingCriteria object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteria":{"type":"object","properties":{"amortizationTypes":{"type":"array","items":{"type":"string"},"description":"Amortization types to include: Fixed, ARM, Balloon or OptionArm.","nullable":true},"armFixedTerms":{"type":"array","items":{"type":"string"},"description":"Initial fixed periods to include for adjustable-rate products, for example FiveYear.","nullable":true},"automatedUnderwritingSystem":{"type":"string","description":"Automated underwriting system the loan was run through (DU, LP, InvestorAUS, ManualTraditional or NotSpecified).","nullable":true},"baseLoanAmount":{"type":"number","description":"Base loan amount in dollars, before any financed fees or mortgage insurance.","format":"double","nullable":true},"borrowerPaidMi":{"type":"string","description":"Yes when the borrower pays the mortgage insurance premium, No otherwise.","nullable":true},"buydown":{"type":"string","description":"Temporary buydown structure: None, ThreeTwoOne, TwoOne, OneOne or OneZero.","nullable":true},"buydownContributorType":{"type":"string","description":"Who funds the buydown: Lender, Borrower, Seller, Builder or OtherInterestedThirdParty. Used only when buydown is not None.","nullable":true},"calculateTotalLoanAmount":{"type":"boolean","description":"True to have the total loan amount (base amount plus financed upfront fee) calculated for the search.","nullable":true},"cashOutAmount":{"type":"number","description":"Cash the borrower takes out in a refinance, in dollars.","format":"double","nullable":true},"currentServicer":{"type":"string","description":"Name of the servicer of the existing loan, for a refinance. Kept for reference; not used when pricing.","nullable":true},"desiredLockPeriod":{"type":"integer","description":"Rate lock period to price, in days.","format":"int64","nullable":true},"desiredPrice":{"type":"number","description":"Target price to search for, where 100 is par. Zero means no target.","format":"double","nullable":true},"desiredRate":{"type":"number","description":"Target note rate to search for, in percent such as 6.875.","format":"double","nullable":true},"exemptFromVAFundingFee":{"type":"boolean","description":"VA loans only. True when the veteran is exempt from the funding fee, for example for a service-connected disability.","nullable":true},"expandedApprovalLevel":{"type":"string","description":"Expanded-approval tier the loan qualifies under, or NotApplicable.","nullable":true},"feesIn":{"type":"string","description":"Fees-in pricing option. Pricing always runs with No.","nullable":true},"fhaCaseAssigned":{"type":"string","description":"Date the FHA case number was assigned, ISO 8601.","format":"date-time","nullable":true},"fhaCaseEndorsement":{"type":"string","description":"Date the existing FHA loan was endorsed, ISO 8601, for an FHA streamline refinance. Kept for reference; not used when pricing.","format":"date-time","nullable":true},"firstLienAmount":{"type":"number","description":"Balance of the first lien in dollars, when pricing a second lien.","format":"double","nullable":true},"helocDrawnAmount":{"type":"number","description":"Amount drawn on the home equity line, in dollars.","format":"double","nullable":true},"helocLineAmount":{"type":"number","description":"Total home equity line amount, in dollars.","format":"double","nullable":true},"includeLoCompensationInPricing":{"type":"string","description":"How loan officer compensation is reflected in the price: YesLenderPaid, NoBuyerPaid or NoLenderPaid.","nullable":true},"interestOnly":{"type":"boolean","description":"True to price interest-only products.","nullable":true},"interestOnlyTerm":{"type":"integer","description":"Length of the interest-only period. Kept for reference; not used when pricing.","format":"int32","nullable":true},"lienType":{"type":"string","description":"Lien position being priced: First or Second.","nullable":true},"loanPurpose":{"type":"string","description":"Purpose of the loan, for example Purchase or RefiCashout.","nullable":true},"loanTerms":{"type":"array","items":{"type":"string"},"description":"Loan terms to include, for example ThirtyYear or FifteenYear.","nullable":true},"loanType":{"type":"string","description":"Loan type, for example Conforming, FHA or VA.","nullable":true},"loanTypes":{"type":"array","items":{"type":"string"},"description":"Additional loan types to include. Kept for reference; not used when pricing.","nullable":true},"prepaymentPenalty":{"type":"string","description":"Prepayment penalty period to price: None or OneYear through FiveYear.","nullable":true},"productTypes":{"type":"array","items":{"type":"string"},"description":"Product categories to include, for example StandardProducts.","nullable":true},"secondLienAmount":{"type":"number","description":"Balance of the second lien in dollars, which counts toward combined loan-to-value.","format":"double","nullable":true},"ltv":{"type":"number","description":"Loan-to-value ratio, in percent. Kept for reference; the pricing engine calculates it.","format":"double","nullable":true},"cltv":{"type":"number","description":"Combined loan-to-value ratio, in percent. Kept for reference; the pricing engine calculates it.","format":"double","nullable":true},"renovationLoan":{"type":"boolean","description":"True for a renovation loan. Kept for reference; not used when pricing.","nullable":true},"renovationCost":{"type":"number","description":"Renovation cost in dollars. Kept for reference; not used when pricing.","format":"double","nullable":true},"assetDepletion":{"type":"string","description":"Yes when the borrower qualifies using asset depletion, No otherwise.","nullable":true},"autoDebit":{"type":"string","description":"Yes when the borrower authorizes automatic debit of the payment, No otherwise.","nullable":true},"employeeLoan":{"type":"string","description":"Yes when the borrower is an employee of the lender, No otherwise.","nullable":true},"communityAffordableSecond":{"type":"string","description":"Yes when the loan has a community or affordable second mortgage, No otherwise.","nullable":true},"reducedMI":{"type":"boolean","description":"True to price with reduced mortgage insurance, for programs that offer it."},"representativeFICO":{"type":"integer","description":"Representative credit score used to price the loan.","format":"int32"},"loanLevelDebtToIncomeRatio":{"type":"number","description":"Loan-level debt-to-income ratio, in percent. A value of zero or less prices as 30.","format":"double"},"totalMonthlyQualifyingIncome":{"type":"number","description":"Total monthly income used to qualify the borrowers, in dollars.","format":"double"},"expandedGuidelines":{"$ref":"#/components/schemas/ExpandedGuidelines"},"propertiesFinanced":{"type":"integer","description":"Number of properties the borrower has financed with the lender.","format":"int32","nullable":true},"totalLoanAmountDetails":{"$ref":"#/components/schemas/TotalLoanAmountDetails"},"constructionLoanType":{"type":"string","description":"Whether the loan finances construction: NotApplicable, Construction or ConstructionToPerm.","nullable":true}},"additionalProperties":false,"description":"Loan-side criteria a search was priced with. Coded fields take the values of the matching enum (loan purpose, lien type and so on)."},"ExpandedGuidelines":{"type":"object","properties":{"incomeVerificationType":{"type":"string","description":"How the borrower's income is documented, for example FullDoc or a bank statement program.","nullable":true},"housingEventType":{"type":"string","description":"Type of negative housing event in the borrower's history, or None.","nullable":true},"housingEventSeasoning":{"type":"string","description":"How long ago the housing event happened.","nullable":true},"bankruptcyType":{"type":"string","description":"Chapter of the borrower's bankruptcy, or None.","nullable":true},"bankruptcyOutcome":{"type":"string","description":"How the bankruptcy ended: discharged, dismissed or still open.","nullable":true},"bankruptcySeasoning":{"type":"string","description":"How long ago the bankruptcy happened.","nullable":true},"mortgageLatesx30_12Mos":{"type":"integer","description":"Number of mortgage payments 30 days late in the last 12 months.","format":"int32"},"mortgageLatesx30_13to24Mos":{"type":"integer","description":"Number of mortgage payments 30 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx60_12Mos":{"type":"integer","description":"Number of mortgage payments 60 days late in the last 12 months.","format":"int32"},"mortgageLatesx60_13to24Mos":{"type":"integer","description":"Number of mortgage payments 60 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx90_12Mos":{"type":"integer","description":"Number of mortgage payments 90 days late in the last 12 months.","format":"int32"},"mortgageLatesx90_13to24Mos":{"type":"integer","description":"Number of mortgage payments 90 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx120_12Mos":{"type":"integer","description":"Number of mortgage payments 120 days late in the last 12 months.","format":"int32"},"mortgageLatesx120_13to24Mos":{"type":"integer","description":"Number of mortgage payments 120 days late 13 to 24 months ago.","format":"int32"},"debtConsolidation":{"type":"boolean","description":"True when the loan is a debt-consolidation refinance."},"uniqueProperty":{"type":"boolean","description":"True when the property is unique, for example unusual construction or use."},"debtServiceCoverageRatio":{"type":"number","description":"Debt service coverage ratio of an investment property (rental income divided by the property's debt payments), as a decimal such as 1.25.","format":"double"}},"additionalProperties":false,"description":"Extra borrower history used to price expanded-guideline (non-agency) products. Each coded field takes the values of the matching expanded-guideline enum."},"TotalLoanAmountDetails":{"type":"object","properties":{"totalLoanAmount":{"type":"number","description":"Base loan amount plus the financed upfront fee, in dollars.","format":"double"},"upfrontPmiMipFfGfPercent":{"type":"number","description":"Upfront mortgage insurance or funding fee, as a percent of the base loan amount.","format":"double"},"upfrontPmiMipFfGfAmount":{"type":"number","description":"Upfront mortgage insurance or funding fee, in dollars.","format":"double"},"upfrontPmiMipFfGfPaidinCash":{"type":"number","description":"Portion of the upfront fee the borrower pays in cash at closing, in dollars.","format":"double"},"upfrontPmiMipFfGfFinancedAmount":{"type":"number","description":"Portion of the upfront fee added to the loan amount, in dollars.","format":"double"}},"additionalProperties":false,"description":"The total loan amount with the upfront mortgage insurance or guarantee fee (FHA MIP, VA or USDA funding fee, private MI) added, and how that fee is split between cash and financing."}}}}
```

## The LoanPricingCriteriaAssetDepletion object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaAssetDepletion":{"enum":["Yes","No"],"type":"string","description":"Whether the borrower qualifies using asset depletion, that is, income derived from liquid assets. Yes means it applies to the loan, No means it does not."}}}}
```

## The LoanPricingCriteriaAutoDebit object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaAutoDebit":{"enum":["Yes","No"],"type":"string","description":"Whether the borrower authorizes automatic debit of the monthly payment from a bank account, which some programs price in. Yes means it applies to the loan, No means it does not."}}}}
```

## The LoanPricingCriteriaAutomatedUnderwritingSystem object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaAutomatedUnderwritingSystem":{"enum":["DU","LP","NotSpecified","InvestorAUS","ManualTraditional"],"type":"string","description":"The automated underwriting system whose findings the loan was run through. DU is Fannie Mae Desktop Underwriter; LP is Freddie Mac Loan Product Advisor; InvestorAUS is the investor's own system; ManualTraditional means the loan is manually underwritten; NotSpecified means it is not stated."}}}}
```

## The LoanPricingCriteriaBorrowerPaidMI object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaBorrowerPaidMI":{"enum":["Yes","No"],"type":"string","description":"Whether the borrower pays the mortgage insurance premium. Yes means the borrower pays it; No means the borrower does not (it is lender-paid, or the loan has no mortgage insurance)."}}}}
```

## The LoanPricingCriteriaBuydown object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaBuydown":{"enum":["None","ThreeTwoOne","TwoOne","OneZero","OneOne"],"type":"string","description":"Temporary buydown structure that lowers the borrower's rate in the first years. None is no buydown; ThreeTwoOne lowers the rate 3, 2 and 1 percentage points in years one, two and three; TwoOne lowers it 2 and 1 points in years one and two; OneOne lowers it 1 point in years one and two; OneZero lowers it 1 point in year one only."}}}}
```

## The LoanPricingCriteriaCommunityAffordableSecond object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaCommunityAffordableSecond":{"enum":["Yes","No"],"type":"string","description":"Whether the loan has a community or affordable second mortgage (subordinate financing from a down-payment assistance program). Yes means it applies to the loan, No means it does not."}}}}
```

## The LoanPricingCriteriaConstructionLoanType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaConstructionLoanType":{"enum":["NotApplicable","Construction","ConstructionToPerm"],"type":"string","description":"Whether the loan finances construction. NotApplicable means it does not; Construction is a construction-only loan; ConstructionToPerm is a construction loan that converts to permanent financing at completion."}}}}
```

## The LoanPricingCriteriaEmployeeLoan object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaEmployeeLoan":{"enum":["Yes","No"],"type":"string","description":"Whether the borrower is an employee of the lender, which can qualify for employee pricing. Yes means it applies to the loan, No means it does not."}}}}
```

## The LoanPricingCriteriaExpandedApprovalLevel object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaExpandedApprovalLevel":{"enum":["NotApplicable","LevelOne","LevelTwo","LevelThree","LevelFour","LevelFive"],"type":"string","description":"The expanded-approval tier the loan qualifies under, for programs that offer tiered expanded eligibility. NotApplicable means none; LevelOne through LevelFive name the tier."}}}}
```

## The LoanPricingCriteriaFeesIn object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaFeesIn":{"enum":["No","Yes"],"type":"string","description":"Fees-in pricing option. Pricing is always run with No, so a Yes sent here has no effect today."}}}}
```

## The LoanPricingCriteriaIncludeLOCompensationInPricing object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaIncludeLOCompensationInPricing":{"enum":["YesLenderPaid","NoBuyerPaid","NoLenderPaid"],"type":"string","description":"Whether and how the loan officer's compensation is reflected in the quoted price. YesLenderPaid includes lender-paid compensation in the price; NoBuyerPaid leaves it out because the borrower pays it directly; NoLenderPaid leaves out lender-paid compensation."}}}}
```

## The LoanPricingCriteriaLienType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaLienType":{"enum":["First","Second"],"type":"string","description":"Lien position of the loan being priced. First is a first mortgage; Second is a subordinate lien (set the first lien amount too)."}}}}
```

## The LoanPricingCriteriaLoanPurpose object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaLoanPurpose":{"enum":["Purchase","RefiCashout","RefiRateTermLimitedCO","FHAStreamlineRefi","VARateReduction","SimpleRefinance"],"type":"string","description":"Purpose of the loan. Purchase buys the property; RefiCashout is a cash-out refinance; RefiRateTermLimitedCO is a rate-and-term or limited cash-out refinance; FHAStreamlineRefi is an FHA streamline refinance; VARateReduction is a VA interest rate reduction refinance; SimpleRefinance is a refinance without cash out."}}}}
```

## The LoanPricingCriteriaLoanType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaLoanType":{"enum":["Conforming","NonConforming","FHA","VA","Conventional","HELOC","USDARuralHousing"],"type":"string","description":"Loan type, which drives the product set. Conforming is a conventional loan within agency loan limits; NonConforming is a conventional loan above those limits (jumbo); Conventional is a conventional, non-government loan; FHA, VA and USDARuralHousing are government-insured or guaranteed loans; HELOC is a home equity line of credit."}}}}
```

## The LoanPricingCriteriaPrepaymentPenalty object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingCriteriaPrepaymentPenalty":{"enum":["None","OneYear","TwoYear","ThreeYear","FourYear","FiveYear"],"type":"string","description":"Length of the prepayment penalty period. None means no penalty; OneYear through FiveYear are the number of years during which paying off early is penalized."}}}}
```

## The LoanPricingOverrides object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPricingOverrides":{"type":"object","properties":{"loanAmount":{"type":"number","description":"Base loan amount in USD. Overrides the loan's amount.","format":"double","nullable":true},"propertyValue":{"type":"number","description":"Property value in USD, used as appraised value and sales price. Overrides the loan's appraised value / purchase price.","format":"double","nullable":true},"ficoScore":{"type":"integer","description":"Representative FICO score (300-850). Overrides the loan's credit score. 0 or less counts as no score. The 300-850 range is not checked.","format":"int32","nullable":true},"loanType":{"$ref":"#/components/schemas/LoanPricingCriteriaLoanType"},"loanPurpose":{"$ref":"#/components/schemas/LoanPricingCriteriaLoanPurpose"},"cashOutAmount":{"type":"number","description":"Cash-out amount in USD (refinance).","format":"double","nullable":true},"occupancy":{"$ref":"#/components/schemas/PropertySearchCriteriaOccupancy"},"propertyType":{"$ref":"#/components/schemas/PropertySearchCriteriaPropertyType"},"numberOfUnits":{"type":"string","description":"Number of dwelling units: OneUnit, TwoUnits, ThreeUnits, FourUnits, or a count of 5 or more such as \"6\". Overrides the loan's unit count.","nullable":true},"state":{"type":"string","description":"Property state (two-letter US code). Overrides the subject property's state.","nullable":true},"zipCode":{"type":"string","description":"Property ZIP code. Overrides the subject property's ZIP code.","nullable":true},"county":{"type":"string","description":"Property county. When absent it is looked up from the property state and ZIP code.","nullable":true},"citizenship":{"$ref":"#/components/schemas/BorrowerCriteriaCitizenship"},"debtToIncomeRatio":{"type":"number","description":"DTI percent (25 = 25%). Overrides the loan's qualifying back-end ratio.","format":"double","nullable":true},"monthsReserves":{"type":"integer","description":"Months of post-closing reserves.","format":"int32","nullable":true},"waiveEscrows":{"type":"boolean","description":"Whether escrows are waived. Overrides the loan's escrow waiver.","nullable":true},"selfEmployed":{"type":"boolean","description":"Whether a borrower is self-employed. Overrides what the loan's employment says.","nullable":true},"firstTimeHomeBuyer":{"type":"boolean","description":"Whether the borrower is a first-time home buyer. Overrides the loan's declarations.","nullable":true},"interestOnly":{"type":"boolean","description":"Whether to price interest-only products. A loan is priced without them when absent.","nullable":true},"includeLoCompensationInPricing":{"$ref":"#/components/schemas/LoanPricingCriteriaIncludeLOCompensationInPricing"},"loanTerms":{"type":"array","items":{"$ref":"#/components/schemas/LoanTerms"},"description":"Loan terms to price. Overrides the loan's term.","nullable":true},"amortizationTypes":{"type":"array","items":{"$ref":"#/components/schemas/AmortizationTypes"},"description":"Amortization types to price. Overrides the loan's amortization type.","nullable":true},"armFixedTerms":{"type":"array","items":{"$ref":"#/components/schemas/ArmFixedTerms"},"description":"ARM fixed periods to price when amortizationTypes contains ARM.","nullable":true},"productTypes":{"type":"array","items":{"$ref":"#/components/schemas/ProductTypes"},"description":"Product categories to include. [StandardProducts] when absent; non-QM uses [ExpandedGuidelines].","nullable":true},"desiredLockPeriod":{"type":"integer","description":"Desired lock period in days. Overrides the loan's lock period.","format":"int32","nullable":true},"desiredPrice":{"type":"number","description":"Desired price (par = 100).","format":"double","nullable":true},"desiredRate":{"type":"number","description":"Target interest rate. 0 returns all eligible rates.","format":"double","nullable":true},"includeGuidelines":{"type":"boolean","description":"If true, include per-product eligibility guidelines.","nullable":true}},"additionalProperties":false,"description":"Criteria a caller passes alongside a loan id when pricing a loan from its stored data. Every field is\r\noptional and has no default: a field left null is taken from the loan, and a field set here wins over\r\nthe loan's value. After the overrides are applied the loan must still have a loan amount, property value, number of units, state, ZIP code, occupancy, loan purpose, loan type and credit score, or the request is refused with a 400 naming each one missing."},"LoanPricingCriteriaLoanType":{"enum":["Conforming","NonConforming","FHA","VA","Conventional","HELOC","USDARuralHousing"],"type":"string","description":"Loan type, which drives the product set. Conforming is a conventional loan within agency loan limits; NonConforming is a conventional loan above those limits (jumbo); Conventional is a conventional, non-government loan; FHA, VA and USDARuralHousing are government-insured or guaranteed loans; HELOC is a home equity line of credit."},"LoanPricingCriteriaLoanPurpose":{"enum":["Purchase","RefiCashout","RefiRateTermLimitedCO","FHAStreamlineRefi","VARateReduction","SimpleRefinance"],"type":"string","description":"Purpose of the loan. Purchase buys the property; RefiCashout is a cash-out refinance; RefiRateTermLimitedCO is a rate-and-term or limited cash-out refinance; FHAStreamlineRefi is an FHA streamline refinance; VARateReduction is a VA interest rate reduction refinance; SimpleRefinance is a refinance without cash out."},"PropertySearchCriteriaOccupancy":{"enum":["InvestmentProperty","PrimaryResidence","SecondHome"],"type":"string","description":"How the borrower will use the property. PrimaryResidence is the borrower's main home; SecondHome is a vacation or second home; InvestmentProperty is held for rent or resale."},"PropertySearchCriteriaPropertyType":{"enum":["SingleFamily","Condo","ManufacturedDoubleWide","Condotel","Modular","PUD","Timeshare","ManufacturedSingleWide","Coop","NonWarrantableCondo","Townhouse","DetachedCondo"],"type":"string","description":"Type of the subject property. SingleFamily, Townhouse, Condo, DetachedCondo, NonWarrantableCondo (a condo project that does not meet agency eligibility rules), Condotel (hotel-style condo), Coop, PUD (planned unit development), Modular, ManufacturedSingleWide, ManufacturedDoubleWide and Timeshare."},"BorrowerCriteriaCitizenship":{"enum":["USCitizen","USCitizenAbroad","PermResidentAlien","NonPermResidentAlien","ForeignNational"],"type":"string","description":"The borrower's citizenship status for pricing: USCitizen, USCitizenAbroad (a U.S. citizen living abroad), PermResidentAlien, NonPermResidentAlien or ForeignNational."},"LoanPricingCriteriaIncludeLOCompensationInPricing":{"enum":["YesLenderPaid","NoBuyerPaid","NoLenderPaid"],"type":"string","description":"Whether and how the loan officer's compensation is reflected in the quoted price. YesLenderPaid includes lender-paid compensation in the price; NoBuyerPaid leaves it out because the borrower pays it directly; NoLenderPaid leaves out lender-paid compensation."},"LoanTerms":{"enum":["ThirtyYear","TwentyFiveYear","TwentyYear","FifteenYear","TenYear","SevenYear","FiveYear","FortyYear","FourYear","TwoYear","ThreeMonth","SixMonth","NineMonth","ThreeYear","NineYear","EightYear","SixYear","OneYear","TwelveYear","NonStandardTerm"],"type":"string","description":"The loan term: ThirtyYear, TwentyFiveYear, TwentyYear, FifteenYear, TenYear, SevenYear, FiveYear, FortyYear, FourYear, TwoYear, ThreeMonth, SixMonth, NineMonth, ThreeYear, NineYear, EightYear, SixYear, OneYear, TwelveYear or NonStandardTerm; each is that length of time."},"AmortizationTypes":{"enum":["Fixed","ARM","Balloon","OptionArm"],"type":"string","description":"How the loan's principal is repaid and its rate set. Fixed has one rate for the whole term; ARM is an adjustable-rate mortgage; Balloon has a short term with a large final payment; OptionArm is an adjustable-rate loan that lets the borrower choose among payment options."},"ArmFixedTerms":{"enum":["SixMonth","OneYear","ThreeYear","FiveYear","SevenYear","TenYear","TwoYear","OneMonth","ThreeMonth","FifteenYear","SixYear"],"type":"string","description":"Initial fixed-rate period of an adjustable-rate mortgage, before the rate first adjusts. OneMonth, ThreeMonth and SixMonth are that many months; OneYear, TwoYear, ThreeYear, FiveYear, SixYear, SevenYear, TenYear and FifteenYear are that many years."},"ProductTypes":{"enum":["StandardProducts","AffordableProducts","HARP","HeroProducts","StudentLoanCORefi","RenovationAndRehabilitation","BondAndHFA","HUDspecialty","USDAStreamline","ExpandedGuidelines"],"type":"string","description":"Category of loan product to include in a search. StandardProducts are the standard agency and government products; AffordableProducts are affordable-lending programs; HARP is the refinance program for loans with high loan-to-value; HeroProducts are programs for military and public-service borrowers; StudentLoanCORefi is a cash-out refinance that pays off student loans; RenovationAndRehabilitation finances repairs or renovation; BondAndHFA are housing-finance-agency and bond programs; HUDspecialty are HUD specialty programs; USDAStreamline is the USDA streamline refinance; ExpandedGuidelines are non-agency products with expanded guidelines."}}}}
```

## The LoanPrintForm object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanPrintForm":{"type":"object","properties":{"form":{"type":"string","description":"The short name the form is known by (for example 1003), or its LOS name when it has none.","nullable":true},"pdfName":{"type":"string","description":"The LOS form name to request when printing, for example _1003_19_Pdf.","nullable":true},"description":{"type":"string","description":"What the form is.","nullable":true},"isAvailable":{"type":"boolean","description":"True when the form can be printed for this loan now; otherwise see unavailableReason."},"unavailableReason":{"type":"string","description":"Why the form cannot be printed yet; null when it can.","nullable":true}},"additionalProperties":false,"description":"A form the LOS can print, and whether this loan can print it yet."}}}}
```

## The LoanQueryConditionDto object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanQueryConditionDto":{"required":["field"],"type":"object","properties":{"field":{"type":"string","description":"Whitelisted field key. An unknown key is rejected, never interpolated."},"operator":{"$ref":"#/components/schemas/LoanQueryOperator"},"value":{"type":"string","description":"The value to compare the field with, as text; numbers and dates are parsed from it. Not used by the In operator, which takes values. Required for Eq, Ne, Gt, Gte, Lt and Lte.","nullable":true},"values":{"type":"array","items":{"type":"string"},"description":"Values for the In operator. Required, with at least one entry, for In.","nullable":true}},"additionalProperties":false,"description":"Send value for every operator except In, which takes values; Contains and StartsWith also accept no value (treated as empty text)."},"LoanQueryOperator":{"enum":["Eq","Ne","Gt","Gte","Lt","Lte","Contains","StartsWith","In"],"type":"string","description":"Comparison used in a query condition: Eq (equals), Ne (not equals), Gt (greater than), Gte (greater than or equal), Lt (less than), Lte (less than or equal), Contains (text contains), StartsWith (text starts with) or In (equals any of a list)."}}}}
```

## The LoanQueryFieldInfo object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanQueryFieldInfo":{"type":"object","properties":{"field":{"type":"string","description":"The field key to use in query conditions, `select` and `orderBy`.","nullable":true},"type":{"type":"string","description":"The field's data type: String, Number, Date, Guid or Boolean.","nullable":true},"scope":{"type":"string","description":"Whose data the field holds: Loan (the loan), Borrower (the loan's borrowers; filter only) or User (personal data, returned only to callers allowed to see it).","nullable":true},"canSelect":{"type":"boolean","description":"True when the field can be returned in the result rows."},"filterOnly":{"type":"boolean","description":"True when the field can be used in conditions but not returned in rows."},"selectOnly":{"type":"boolean","description":"Computed after the query (e.g. companyName): selectable, but not usable in conditions or orderBy."},"requiresUserDataAccess":{"type":"boolean","description":"True when the field holds personal data and is returned only to callers allowed to see it."},"description":{"type":"string","description":"What the field actually holds, for the fields whose key alone is misleading (see\r\n`LoanQuerySchema`). Omitted from the payload when absent so its presence is a signal:\r\na described field is one with a trap in it.","nullable":true}},"additionalProperties":false}}}}
```

## The LoanQueryFieldsResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanQueryFieldsResponse":{"type":"object","properties":{"operators":{"type":"array","items":{"type":"string"},"description":"The comparison operators a condition may use.","nullable":true},"fields":{"type":"array","items":{"$ref":"#/components/schemas/LoanQueryFieldInfo"},"description":"The fields a query may filter on or select, with how each may be used.","nullable":true}},"additionalProperties":false,"description":"The whitelist of fields a custom loan query may filter or select."},"LoanQueryFieldInfo":{"type":"object","properties":{"field":{"type":"string","description":"The field key to use in query conditions, `select` and `orderBy`.","nullable":true},"type":{"type":"string","description":"The field's data type: String, Number, Date, Guid or Boolean.","nullable":true},"scope":{"type":"string","description":"Whose data the field holds: Loan (the loan), Borrower (the loan's borrowers; filter only) or User (personal data, returned only to callers allowed to see it).","nullable":true},"canSelect":{"type":"boolean","description":"True when the field can be returned in the result rows."},"filterOnly":{"type":"boolean","description":"True when the field can be used in conditions but not returned in rows."},"selectOnly":{"type":"boolean","description":"Computed after the query (e.g. companyName): selectable, but not usable in conditions or orderBy."},"requiresUserDataAccess":{"type":"boolean","description":"True when the field holds personal data and is returned only to callers allowed to see it."},"description":{"type":"string","description":"What the field actually holds, for the fields whose key alone is misleading (see\r\n`LoanQuerySchema`). Omitted from the payload when absent so its presence is a signal:\r\na described field is one with a trap in it.","nullable":true}},"additionalProperties":false}}}}
```

## The LoanQueryOperator object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanQueryOperator":{"enum":["Eq","Ne","Gt","Gte","Lt","Lte","Contains","StartsWith","In"],"type":"string","description":"Comparison used in a query condition: Eq (equals), Ne (not equals), Gt (greater than), Gte (greater than or equal), Lt (less than), Lte (less than or equal), Contains (text contains), StartsWith (text starts with) or In (equals any of a list)."}}}}
```

## The LoanRateLock object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanRateLock":{"type":"object","properties":{"status":{"type":"string","description":"Lock status: Not Locked, Locked, Lock Requested, Lock Suspended or Lock Cancelled. Calculated by the LOS; never written.","nullable":true},"isLocked":{"type":"boolean","description":"True when status is Locked, false for any other status, null when there is no status.","nullable":true},"lockDate":{"type":"string","description":"Date the rate was locked, ISO 8601.","format":"date","nullable":true},"lockTime":{"type":"string","description":"Time of day of the lock, as the LOS formats it.","nullable":true},"periodDays":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Date the lock expires, ISO 8601. The LOS calculates it from the lock date and period.","format":"date","nullable":true},"noteRate":{"type":"number","description":"Locked note rate, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"The locked price, as a percentage of par (100 = par). Read only.","format":"double","nullable":true},"lockIdentifier":{"type":"string","description":"The lock's own identifier, when the source has one, for example an imported file. Usually null.","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/RateLockHistoryEntry"},"description":"Every lock, extension, relock and break the LOS recorded, newest first. Empty when the loan was never locked.","nullable":true},"ladder":{"$ref":"#/components/schemas/LoanRateLockLadder"},"priceGrid":{"$ref":"#/components/schemas/LoanRateLockPriceGrid"},"investorLock":{"$ref":"#/components/schemas/LoanInvestorLock"},"lockOutcome":{"type":"string","description":"What a write that asked to lock did, when the written values do not say it, for example values written but the lock not set, with the reason. Set only on a write response.","nullable":true}},"additionalProperties":false,"description":"The loan's rate lock with the broker as the LOS holds it, plus the lock history. It is read with the loan; only staff can change the lock date, period and note rate, through the rate lock endpoints. Everything else is calculated."},"RateLockHistoryEntry":{"type":"object","properties":{"kind":{"type":"string","description":"What happened, as the LOS names it: a lock, an extension, a relock or a break.","nullable":true},"occurredAt":{"type":"string","description":"When it happened, ISO 8601.","format":"date-time","nullable":true},"rate":{"type":"number","description":"Note rate at the time, in percent.","format":"double","nullable":true},"price":{"type":"number","description":"Price at the time, where 100 is par.","format":"double","nullable":true},"periodDays":{"type":"integer","description":"Lock period after the entry, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Lock expiration date after the entry, ISO 8601.","format":"date","nullable":true},"extensionDays":{"type":"integer","description":"Days an extension added, when the entry is an extension and they were recorded.","format":"int32","nullable":true},"user":{"type":"string","description":"Who made the change, as the LOS recorded it.","nullable":true},"note":{"type":"string","description":"Note recorded with the entry.","nullable":true}},"additionalProperties":false,"description":"One entry of a lock's history: a lock, extension, relock or break."},"LoanRateLockLadder":{"type":"object","properties":{"takenAt":{"type":"string","description":"When the snapshot was taken, which is when the lock was placed (UTC).","format":"date-time"},"productName":{"type":"string","description":"Name of the locked product.","nullable":true},"investor":{"type":"string","description":"Name of the investor behind the locked product, when the caller is shown the investor.","nullable":true},"lockPeriod":{"type":"integer","description":"The locked lock period in days; every row has it.","format":"int32","nullable":true},"selectedQuoteId":{"type":"string","description":"quoteId of the selected row.","nullable":true},"selected":{"$ref":"#/components/schemas/LoanRateLockRow"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/LoanRateLockRow"},"description":"The rows of the locked lock period, lowest rate first.","nullable":true},"moves":{"type":"array","items":{"$ref":"#/components/schemas/LockPositionMove"},"description":"The moves of the selected row after the lock, oldest first.","nullable":true},"sourceInstruction":{"$ref":"#/components/schemas/SourceLockInstruction"},"productCode":{"type":"string","description":"The locked product's code. Shown with the source lock instruction only.","nullable":true},"rateSheetTime":{"type":"string","description":"When the product's rate sheet was published, ISO 8601. Shown with the source lock instruction only.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"The locked product's rate sheet at the time of the lock, as the rate lock read returns it: the rows of the locked lock period, the selected row and the moves. Absent on a loan locked before the snapshot was kept."},"LoanRateLockRow":{"type":"object","properties":{"quoteId":{"type":"string","description":"Identifier of this row; pass it to select the row or to request it as a change of circumstance.","nullable":true},"rate":{"type":"number","description":"Note rate of the row, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"Price of the row, where 100 is par.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount; negative when the row pays a rebate.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment of the row, in dollars.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate of the row, in percent.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance of this row, in dollars; 0 when the product has none.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"The buydown (discount) this row costs, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"The rebate (credit) this row gives, in dollars; 0 on a buydown or par row.","format":"double","nullable":true},"isSelected":{"type":"boolean","description":"True for the row the lock is currently on."}},"additionalProperties":false,"description":"One rate and price of the locked product's rate sheet."},"LockPositionMove":{"type":"object","properties":{"movedAt":{"type":"string","description":"When the selected row was moved, ISO 8601 UTC.","format":"date-time"},"movedBy":{"type":"string","description":"Identifier (GUID) of the user who moved it.","format":"uuid","nullable":true},"movedByName":{"type":"string","description":"Name of the user who moved it.","nullable":true},"fromQuoteId":{"type":"string","description":"quoteId of the row before the move.","nullable":true},"fromRate":{"type":"number","description":"Note rate before the move, in percent.","format":"double","nullable":true},"fromPrice":{"type":"number","description":"Price before the move, where 100 is par.","format":"double","nullable":true},"toQuoteId":{"type":"string","description":"quoteId of the row after the move.","nullable":true},"toRate":{"type":"number","description":"Note rate after the move, in percent.","format":"double","nullable":true},"toPrice":{"type":"number","description":"Price after the move, where 100 is par.","format":"double","nullable":true},"sourceFromPrice":{"type":"number","description":"The source lender's price before the move, from its frozen rate sheet. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceToPrice":{"type":"number","description":"The source lender's price after the move. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceNote":{"type":"string","description":"Set when the instruction has no price at the new rate, in words. Staff only.","nullable":true}},"additionalProperties":false,"description":"One move of the selected row: who, when, and from which rate and price to which."},"SourceLockInstruction":{"type":"object","properties":{"status":{"type":"string","description":"Outcome of looking for the source price: Priced (the price is set), Unmapped (no source product is mapped to the locked product), NoSourcePricingAccount (the company has no source pricing account), SourceSearchFailed, SourceProductNotReturned or RateNotOnSourceSheet.","nullable":true},"message":{"type":"string","description":"In words, what happened when there is no price.","nullable":true},"sourceInvestor":{"type":"string","description":"Name of the source lender.","nullable":true},"sourceInvestorId":{"type":"integer","description":"Identifier of the source lender in the pricing engine.","format":"int32","nullable":true},"sourceProductName":{"type":"string","description":"Name of the source lender's product to lock.","nullable":true},"sourceProductCode":{"type":"string","description":"Product code of the source lender's product.","nullable":true},"portfolioProductCode":{"type":"string","description":"Code of the portfolio product the row was found by.","nullable":true},"rate":{"type":"number","description":"The selected note rate, in percent.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"sourcePrice":{"type":"number","description":"The source lender's price at the selected rate and lock period, from its frozen rate sheet.","format":"double","nullable":true},"sourceRateSheetTime":{"type":"string","description":"When the source lender's rate sheet was published, ISO 8601.","format":"date-time","nullable":true},"portfolioPrice":{"type":"number","description":"The portfolio price the broker locked at, including the portfolio's margin.","format":"double","nullable":true},"priceDifference":{"type":"number","description":"portfolioPrice minus sourcePrice: the margin, in points.","format":"double","nullable":true}},"additionalProperties":false,"description":"The instruction for the lock desk: lock the source product with the source lender at the source price. It follows the selected row, so a move of the selected rate rewrites it from the source lender's frozen rate sheet. Shown to staff only."},"LoanRateLockPriceGrid":{"type":"object","properties":{"basePrice":{"type":"number","description":"The base price, where 100 is par.","format":"double","nullable":true},"priceRow":{"type":"string","description":"Which price the grid's row is locked on: Base, BrokerBase, BrokerFinal or OriginatorPrice.","nullable":true},"visibleAdjustmentsTotal":{"type":"number","description":"Total of the adjustments the broker sees, in points.","format":"double","nullable":true},"hiddenAdjustmentsTotal":{"type":"number","description":"Total of the hidden lender adjustments, in points.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The adjustment lines on the price grid.","nullable":true},"originatorPrice":{"type":"number","description":"The Originator Price: the price before the originator compensation.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"The Final Price: the price after the originator compensation.","format":"double","nullable":true},"investorPrice":{"type":"number","description":"The investor's price.","format":"double","nullable":true},"internalNote":{"type":"string","description":"The lock screen's internal notes.","nullable":true},"originatorCompensation":{"$ref":"#/components/schemas/LoanOriginatorCompensation"}},"additionalProperties":false,"description":"The front-end lock's price grid and the originator compensation, read live from the LOS. Set only on rate lock reads and writes. The investor price and the lender lines are not returned to third-party-originator (broker) callers."},"LockAdjustment":{"type":"object","properties":{"description":{"type":"string","description":"What the adjustment is for.","nullable":true},"points":{"type":"number","description":"The adjustment in points; a negative value adds to the price.","format":"double","nullable":true},"rate":{"type":"number","description":"Rate adjustment, in percentage points.","format":"double","nullable":true},"margin":{"type":"number","description":"Margin adjustment, in percentage points.","format":"double","nullable":true},"hidden":{"type":"boolean","description":"True for a hidden lender line the broker never sees (front-end lock only)."}},"additionalProperties":false,"description":"One adjustment line as the LOS holds it."},"LoanOriginatorCompensation":{"type":"object","properties":{"paidBy":{"type":"string","description":"Borrower or Lender (`sOriginatorCompensationPaymentSourceT`); null when not specified.","nullable":true},"percent":{"type":"number","description":"Compensation as a percent of the base amount, for example 2.0 for two percent.","format":"double","nullable":true},"minAmount":{"type":"number","description":"Minimum compensation in dollars.","format":"double","nullable":true},"fixedAmount":{"type":"number","description":"Fixed compensation in dollars.","format":"double","nullable":true},"baseType":{"type":"string","description":"LoanAmount or TotalLoanAmount (`sOriginatorCompensationBaseT`).","nullable":true},"lenderFeeOption":{"type":"string","description":"IncludedInLenderFees or InAdditionToLenderFees (`sOriginatorCompensationLenderFeeOptionT`).","nullable":true}},"additionalProperties":false,"description":"The loan's originator compensation inputs (`sOriginatorCompensation*`), as the LOS holds them."},"LoanInvestorLock":{"type":"object","properties":{"investorId":{"type":"integer","description":"Identifier of the investor in the LOS's investor list.","format":"int32","nullable":true},"investorName":{"type":"string","description":"Name of the investor.","nullable":true},"investorLoanNumber":{"type":"string","description":"The investor's loan number for this loan.","nullable":true},"confirmationNumber":{"type":"string","description":"Confirmation number the investor gave the lock.","nullable":true},"programName":{"type":"string","description":"Name of the investor program the loan is locked to.","nullable":true},"rateSheetTime":{"type":"string","description":"Effective time of the investor's rate sheet, as text in the form MM/dd/yyyy h:mm tt.","nullable":true},"commitmentType":{"type":"string","description":"Delivery commitment: BestEfforts, Mandatory, Hedged or Securitized.","nullable":true},"lockFee":{"type":"number","description":"Fee charged for the lock.","format":"double","nullable":true},"lockDate":{"type":"string","description":"Date the investor lock was made, ISO 8601.","format":"date","nullable":true},"periodDays":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Date the lock expires, ISO 8601: the lock date plus the period, with no weekend roll.","format":"date","nullable":true},"deliveryExpirationDate":{"type":"string","description":"Date delivery of the loan to the investor expires, ISO 8601, calculated as the expiration is.","format":"date","nullable":true},"noteRate":{"type":"number","description":"Locked note rate, in percent such as 6.875.","format":"double","nullable":true},"basePrice":{"type":"number","description":"Base price from the investor's rate sheet, where 100 is par.","format":"double","nullable":true},"totalAdjustments":{"type":"number","description":"Total of the price adjustments, in points.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"Price after all adjustments, where 100 is par.","format":"double","nullable":true},"projectedProfit":{"type":"number","description":"Projected profit on the lock, as the LOS calculates it.","format":"double","nullable":true},"status":{"type":"string","description":"Not Locked, Locked, Lock Requested, Lock Suspended or Lock Cancelled.","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The price adjustment lines on the investor lock.","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/RateLockHistoryEntry"},"description":"Every event on the investor lock, newest first.","nullable":true},"lockOutcome":{"type":"string","description":"What a write that asked to lock or break the lock did when the LOS did not do it. Set only on a write response.","nullable":true}},"additionalProperties":false,"description":"The back-end (investor) lock as the LOS holds it, read live. Set only on rate lock reads and writes, and never for third-party-originator (broker) callers."}}}}
```

## The LoanRateLockLadder object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanRateLockLadder":{"type":"object","properties":{"takenAt":{"type":"string","description":"When the snapshot was taken, which is when the lock was placed (UTC).","format":"date-time"},"productName":{"type":"string","description":"Name of the locked product.","nullable":true},"investor":{"type":"string","description":"Name of the investor behind the locked product, when the caller is shown the investor.","nullable":true},"lockPeriod":{"type":"integer","description":"The locked lock period in days; every row has it.","format":"int32","nullable":true},"selectedQuoteId":{"type":"string","description":"quoteId of the selected row.","nullable":true},"selected":{"$ref":"#/components/schemas/LoanRateLockRow"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/LoanRateLockRow"},"description":"The rows of the locked lock period, lowest rate first.","nullable":true},"moves":{"type":"array","items":{"$ref":"#/components/schemas/LockPositionMove"},"description":"The moves of the selected row after the lock, oldest first.","nullable":true},"sourceInstruction":{"$ref":"#/components/schemas/SourceLockInstruction"},"productCode":{"type":"string","description":"The locked product's code. Shown with the source lock instruction only.","nullable":true},"rateSheetTime":{"type":"string","description":"When the product's rate sheet was published, ISO 8601. Shown with the source lock instruction only.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"The locked product's rate sheet at the time of the lock, as the rate lock read returns it: the rows of the locked lock period, the selected row and the moves. Absent on a loan locked before the snapshot was kept."},"LoanRateLockRow":{"type":"object","properties":{"quoteId":{"type":"string","description":"Identifier of this row; pass it to select the row or to request it as a change of circumstance.","nullable":true},"rate":{"type":"number","description":"Note rate of the row, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"Price of the row, where 100 is par.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount; negative when the row pays a rebate.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment of the row, in dollars.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate of the row, in percent.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance of this row, in dollars; 0 when the product has none.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"The buydown (discount) this row costs, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"The rebate (credit) this row gives, in dollars; 0 on a buydown or par row.","format":"double","nullable":true},"isSelected":{"type":"boolean","description":"True for the row the lock is currently on."}},"additionalProperties":false,"description":"One rate and price of the locked product's rate sheet."},"LockPositionMove":{"type":"object","properties":{"movedAt":{"type":"string","description":"When the selected row was moved, ISO 8601 UTC.","format":"date-time"},"movedBy":{"type":"string","description":"Identifier (GUID) of the user who moved it.","format":"uuid","nullable":true},"movedByName":{"type":"string","description":"Name of the user who moved it.","nullable":true},"fromQuoteId":{"type":"string","description":"quoteId of the row before the move.","nullable":true},"fromRate":{"type":"number","description":"Note rate before the move, in percent.","format":"double","nullable":true},"fromPrice":{"type":"number","description":"Price before the move, where 100 is par.","format":"double","nullable":true},"toQuoteId":{"type":"string","description":"quoteId of the row after the move.","nullable":true},"toRate":{"type":"number","description":"Note rate after the move, in percent.","format":"double","nullable":true},"toPrice":{"type":"number","description":"Price after the move, where 100 is par.","format":"double","nullable":true},"sourceFromPrice":{"type":"number","description":"The source lender's price before the move, from its frozen rate sheet. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceToPrice":{"type":"number","description":"The source lender's price after the move. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceNote":{"type":"string","description":"Set when the instruction has no price at the new rate, in words. Staff only.","nullable":true}},"additionalProperties":false,"description":"One move of the selected row: who, when, and from which rate and price to which."},"SourceLockInstruction":{"type":"object","properties":{"status":{"type":"string","description":"Outcome of looking for the source price: Priced (the price is set), Unmapped (no source product is mapped to the locked product), NoSourcePricingAccount (the company has no source pricing account), SourceSearchFailed, SourceProductNotReturned or RateNotOnSourceSheet.","nullable":true},"message":{"type":"string","description":"In words, what happened when there is no price.","nullable":true},"sourceInvestor":{"type":"string","description":"Name of the source lender.","nullable":true},"sourceInvestorId":{"type":"integer","description":"Identifier of the source lender in the pricing engine.","format":"int32","nullable":true},"sourceProductName":{"type":"string","description":"Name of the source lender's product to lock.","nullable":true},"sourceProductCode":{"type":"string","description":"Product code of the source lender's product.","nullable":true},"portfolioProductCode":{"type":"string","description":"Code of the portfolio product the row was found by.","nullable":true},"rate":{"type":"number","description":"The selected note rate, in percent.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"sourcePrice":{"type":"number","description":"The source lender's price at the selected rate and lock period, from its frozen rate sheet.","format":"double","nullable":true},"sourceRateSheetTime":{"type":"string","description":"When the source lender's rate sheet was published, ISO 8601.","format":"date-time","nullable":true},"portfolioPrice":{"type":"number","description":"The portfolio price the broker locked at, including the portfolio's margin.","format":"double","nullable":true},"priceDifference":{"type":"number","description":"portfolioPrice minus sourcePrice: the margin, in points.","format":"double","nullable":true}},"additionalProperties":false,"description":"The instruction for the lock desk: lock the source product with the source lender at the source price. It follows the selected row, so a move of the selected rate rewrites it from the source lender's frozen rate sheet. Shown to staff only."}}}}
```

## The LoanRateLockPriceGrid object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanRateLockPriceGrid":{"type":"object","properties":{"basePrice":{"type":"number","description":"The base price, where 100 is par.","format":"double","nullable":true},"priceRow":{"type":"string","description":"Which price the grid's row is locked on: Base, BrokerBase, BrokerFinal or OriginatorPrice.","nullable":true},"visibleAdjustmentsTotal":{"type":"number","description":"Total of the adjustments the broker sees, in points.","format":"double","nullable":true},"hiddenAdjustmentsTotal":{"type":"number","description":"Total of the hidden lender adjustments, in points.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The adjustment lines on the price grid.","nullable":true},"originatorPrice":{"type":"number","description":"The Originator Price: the price before the originator compensation.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"The Final Price: the price after the originator compensation.","format":"double","nullable":true},"investorPrice":{"type":"number","description":"The investor's price.","format":"double","nullable":true},"internalNote":{"type":"string","description":"The lock screen's internal notes.","nullable":true},"originatorCompensation":{"$ref":"#/components/schemas/LoanOriginatorCompensation"}},"additionalProperties":false,"description":"The front-end lock's price grid and the originator compensation, read live from the LOS. Set only on rate lock reads and writes. The investor price and the lender lines are not returned to third-party-originator (broker) callers."},"LockAdjustment":{"type":"object","properties":{"description":{"type":"string","description":"What the adjustment is for.","nullable":true},"points":{"type":"number","description":"The adjustment in points; a negative value adds to the price.","format":"double","nullable":true},"rate":{"type":"number","description":"Rate adjustment, in percentage points.","format":"double","nullable":true},"margin":{"type":"number","description":"Margin adjustment, in percentage points.","format":"double","nullable":true},"hidden":{"type":"boolean","description":"True for a hidden lender line the broker never sees (front-end lock only)."}},"additionalProperties":false,"description":"One adjustment line as the LOS holds it."},"LoanOriginatorCompensation":{"type":"object","properties":{"paidBy":{"type":"string","description":"Borrower or Lender (`sOriginatorCompensationPaymentSourceT`); null when not specified.","nullable":true},"percent":{"type":"number","description":"Compensation as a percent of the base amount, for example 2.0 for two percent.","format":"double","nullable":true},"minAmount":{"type":"number","description":"Minimum compensation in dollars.","format":"double","nullable":true},"fixedAmount":{"type":"number","description":"Fixed compensation in dollars.","format":"double","nullable":true},"baseType":{"type":"string","description":"LoanAmount or TotalLoanAmount (`sOriginatorCompensationBaseT`).","nullable":true},"lenderFeeOption":{"type":"string","description":"IncludedInLenderFees or InAdditionToLenderFees (`sOriginatorCompensationLenderFeeOptionT`).","nullable":true}},"additionalProperties":false,"description":"The loan's originator compensation inputs (`sOriginatorCompensation*`), as the LOS holds them."}}}}
```

## The LoanRateLockRow object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanRateLockRow":{"type":"object","properties":{"quoteId":{"type":"string","description":"Identifier of this row; pass it to select the row or to request it as a change of circumstance.","nullable":true},"rate":{"type":"number","description":"Note rate of the row, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"Price of the row, where 100 is par.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount; negative when the row pays a rebate.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment of the row, in dollars.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate of the row, in percent.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance of this row, in dollars; 0 when the product has none.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"The buydown (discount) this row costs, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"The rebate (credit) this row gives, in dollars; 0 on a buydown or par row.","format":"double","nullable":true},"isSelected":{"type":"boolean","description":"True for the row the lock is currently on."}},"additionalProperties":false,"description":"One rate and price of the locked product's rate sheet."}}}}
```

## The LoanRegistration object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanRegistration":{"type":"object","properties":{"scenarioId":{"type":"string","description":"Unique identifier (GUID) of the pricing scenario registered.","format":"uuid","nullable":true},"election":{"type":"string","description":"`Float` or `Lock`.","nullable":true},"status":{"$ref":"#/components/schemas/PricingScenarioStatus"},"investor":{"type":"string","description":"Omitted when the caller is not given the investor (`InvestorRedaction`).","nullable":true},"sourceInvestor":{"type":"string","description":"The lender behind a portfolio investor's product. Omitted when the investor is not a listed portfolio investor or the caller is not given the investor.","nullable":true},"productName":{"type":"string","description":"Name of the registered product.","nullable":true},"productId":{"type":"string","description":"Identifier of the registered product in the pricing engine.","nullable":true},"rate":{"type":"number","description":"The registered note rate in percent, for example 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"The registered price, where 100 is par (for example 100.375).","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Lock period in days.","format":"int32","nullable":true},"registeredBy":{"type":"string","description":"The registering user; null for a partner application with no user, or a lock requested outside registration.","format":"uuid","nullable":true},"registeredByName":{"type":"string","description":"Name of the user who registered the program.","nullable":true},"registeredAt":{"type":"string","description":"UTC.","format":"date-time"}},"additionalProperties":false,"description":"A loan's chosen program and rate, and who registered it and when."},"PricingScenarioStatus":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the status.","format":"uuid","nullable":true},"code":{"type":"string","description":"Short code of the status; the stable value to compare against.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a pricing scenario, such as Initial Pricing or Ready to Lock."}}}}
```

## The LoanRegistrationElection object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanRegistrationElection":{"enum":["Float","Lock"],"type":"string","description":"Float the registered program, or request a lock on it."}}}}
```

## The LoanRegistrationLock object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanRegistrationLock":{"type":"object","properties":{"lockStatus":{"type":"string","description":"Lock status: Not Locked, Locked or Lock Suspended.","nullable":true},"lockExpirationDate":{"type":"string","description":"Date the lock expires, ISO 8601; null when the loan is not locked.","format":"date","nullable":true}},"additionalProperties":false,"description":"The rate lock status of a registered loan."}}}}
```

## The LoanRegistrationResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanRegistrationResponse":{"required":["canFloat","canRequestLock","isRegistrationOpen","isTpoLoan","loanApplicationId"],"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan.","format":"uuid"},"isTpoLoan":{"type":"boolean","description":"The loan's company is a TPO."},"isRegistrationOpen":{"type":"boolean","description":"Registration (price, float, lock) is open on the loan; true for every company's loan."},"registration":{"$ref":"#/components/schemas/LoanRegistration"},"lock":{"$ref":"#/components/schemas/LoanRegistrationLock"},"ladder":{"$ref":"#/components/schemas/LoanRateLockLadder"},"monitor":{"$ref":"#/components/schemas/RateMonitor"},"canFloat":{"type":"boolean","description":"True when the loan may be registered to float."},"canRequestLock":{"type":"boolean","description":"True when a rate lock can be requested for the loan now."},"blockedReason":{"type":"string","description":"Why `CanFloat` or `CanRequestLock` is false (`LoanRegistrationBlockedReasons`);\r\nnull when both are true.","nullable":true}},"additionalProperties":false,"description":"A loan's program registration: the chosen product, rate and price, and who registered it and when."},"LoanRegistration":{"type":"object","properties":{"scenarioId":{"type":"string","description":"Unique identifier (GUID) of the pricing scenario registered.","format":"uuid","nullable":true},"election":{"type":"string","description":"`Float` or `Lock`.","nullable":true},"status":{"$ref":"#/components/schemas/PricingScenarioStatus"},"investor":{"type":"string","description":"Omitted when the caller is not given the investor (`InvestorRedaction`).","nullable":true},"sourceInvestor":{"type":"string","description":"The lender behind a portfolio investor's product. Omitted when the investor is not a listed portfolio investor or the caller is not given the investor.","nullable":true},"productName":{"type":"string","description":"Name of the registered product.","nullable":true},"productId":{"type":"string","description":"Identifier of the registered product in the pricing engine.","nullable":true},"rate":{"type":"number","description":"The registered note rate in percent, for example 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"The registered price, where 100 is par (for example 100.375).","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Lock period in days.","format":"int32","nullable":true},"registeredBy":{"type":"string","description":"The registering user; null for a partner application with no user, or a lock requested outside registration.","format":"uuid","nullable":true},"registeredByName":{"type":"string","description":"Name of the user who registered the program.","nullable":true},"registeredAt":{"type":"string","description":"UTC.","format":"date-time"}},"additionalProperties":false,"description":"A loan's chosen program and rate, and who registered it and when."},"PricingScenarioStatus":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the status.","format":"uuid","nullable":true},"code":{"type":"string","description":"Short code of the status; the stable value to compare against.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a pricing scenario, such as Initial Pricing or Ready to Lock."},"LoanRegistrationLock":{"type":"object","properties":{"lockStatus":{"type":"string","description":"Lock status: Not Locked, Locked or Lock Suspended.","nullable":true},"lockExpirationDate":{"type":"string","description":"Date the lock expires, ISO 8601; null when the loan is not locked.","format":"date","nullable":true}},"additionalProperties":false,"description":"The rate lock status of a registered loan."},"LoanRateLockLadder":{"type":"object","properties":{"takenAt":{"type":"string","description":"When the snapshot was taken, which is when the lock was placed (UTC).","format":"date-time"},"productName":{"type":"string","description":"Name of the locked product.","nullable":true},"investor":{"type":"string","description":"Name of the investor behind the locked product, when the caller is shown the investor.","nullable":true},"lockPeriod":{"type":"integer","description":"The locked lock period in days; every row has it.","format":"int32","nullable":true},"selectedQuoteId":{"type":"string","description":"quoteId of the selected row.","nullable":true},"selected":{"$ref":"#/components/schemas/LoanRateLockRow"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/LoanRateLockRow"},"description":"The rows of the locked lock period, lowest rate first.","nullable":true},"moves":{"type":"array","items":{"$ref":"#/components/schemas/LockPositionMove"},"description":"The moves of the selected row after the lock, oldest first.","nullable":true},"sourceInstruction":{"$ref":"#/components/schemas/SourceLockInstruction"},"productCode":{"type":"string","description":"The locked product's code. Shown with the source lock instruction only.","nullable":true},"rateSheetTime":{"type":"string","description":"When the product's rate sheet was published, ISO 8601. Shown with the source lock instruction only.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"The locked product's rate sheet at the time of the lock, as the rate lock read returns it: the rows of the locked lock period, the selected row and the moves. Absent on a loan locked before the snapshot was kept."},"LoanRateLockRow":{"type":"object","properties":{"quoteId":{"type":"string","description":"Identifier of this row; pass it to select the row or to request it as a change of circumstance.","nullable":true},"rate":{"type":"number","description":"Note rate of the row, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"Price of the row, where 100 is par.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount; negative when the row pays a rebate.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment of the row, in dollars.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate of the row, in percent.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance of this row, in dollars; 0 when the product has none.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"The buydown (discount) this row costs, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"The rebate (credit) this row gives, in dollars; 0 on a buydown or par row.","format":"double","nullable":true},"isSelected":{"type":"boolean","description":"True for the row the lock is currently on."}},"additionalProperties":false,"description":"One rate and price of the locked product's rate sheet."},"LockPositionMove":{"type":"object","properties":{"movedAt":{"type":"string","description":"When the selected row was moved, ISO 8601 UTC.","format":"date-time"},"movedBy":{"type":"string","description":"Identifier (GUID) of the user who moved it.","format":"uuid","nullable":true},"movedByName":{"type":"string","description":"Name of the user who moved it.","nullable":true},"fromQuoteId":{"type":"string","description":"quoteId of the row before the move.","nullable":true},"fromRate":{"type":"number","description":"Note rate before the move, in percent.","format":"double","nullable":true},"fromPrice":{"type":"number","description":"Price before the move, where 100 is par.","format":"double","nullable":true},"toQuoteId":{"type":"string","description":"quoteId of the row after the move.","nullable":true},"toRate":{"type":"number","description":"Note rate after the move, in percent.","format":"double","nullable":true},"toPrice":{"type":"number","description":"Price after the move, where 100 is par.","format":"double","nullable":true},"sourceFromPrice":{"type":"number","description":"The source lender's price before the move, from its frozen rate sheet. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceToPrice":{"type":"number","description":"The source lender's price after the move. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceNote":{"type":"string","description":"Set when the instruction has no price at the new rate, in words. Staff only.","nullable":true}},"additionalProperties":false,"description":"One move of the selected row: who, when, and from which rate and price to which."},"SourceLockInstruction":{"type":"object","properties":{"status":{"type":"string","description":"Outcome of looking for the source price: Priced (the price is set), Unmapped (no source product is mapped to the locked product), NoSourcePricingAccount (the company has no source pricing account), SourceSearchFailed, SourceProductNotReturned or RateNotOnSourceSheet.","nullable":true},"message":{"type":"string","description":"In words, what happened when there is no price.","nullable":true},"sourceInvestor":{"type":"string","description":"Name of the source lender.","nullable":true},"sourceInvestorId":{"type":"integer","description":"Identifier of the source lender in the pricing engine.","format":"int32","nullable":true},"sourceProductName":{"type":"string","description":"Name of the source lender's product to lock.","nullable":true},"sourceProductCode":{"type":"string","description":"Product code of the source lender's product.","nullable":true},"portfolioProductCode":{"type":"string","description":"Code of the portfolio product the row was found by.","nullable":true},"rate":{"type":"number","description":"The selected note rate, in percent.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"sourcePrice":{"type":"number","description":"The source lender's price at the selected rate and lock period, from its frozen rate sheet.","format":"double","nullable":true},"sourceRateSheetTime":{"type":"string","description":"When the source lender's rate sheet was published, ISO 8601.","format":"date-time","nullable":true},"portfolioPrice":{"type":"number","description":"The portfolio price the broker locked at, including the portfolio's margin.","format":"double","nullable":true},"priceDifference":{"type":"number","description":"portfolioPrice minus sourcePrice: the margin, in points.","format":"double","nullable":true}},"additionalProperties":false,"description":"The instruction for the lock desk: lock the source product with the source lender at the source price. It follows the selected row, so a move of the selected rate rewrites it from the source lender's frozen rate sheet. Shown to staff only."},"RateMonitor":{"type":"object","properties":{"state":{"type":"string","description":"`Watching`, `Paused` or `Ended` (`RateWatchStates`).","nullable":true},"endReason":{"type":"string","description":"Why the watch ended (`RateWatchEndReasons`); null while it has not. One of:\r\n`Replaced` (a later Float registered the loan again and replaced this watch),\r\n`LockRequested` (the loan went to a lock request),\r\n`NoLongerFloating` (the scenario was archived or is no longer Floating),\r\n`LoanLocked` (the loan is locked in the loan system or carries an unexpired rate lock),\r\n`LoanClosed` (the loan reached a terminal pipeline stage),\r\n`LoanDeleted` (the loan was deleted or no longer exists),\r\n`Expired` (the watch ran longer than the configured number of days).","nullable":true},"startedAt":{"type":"string","description":"UTC.","format":"date-time"},"lastCheckedAt":{"type":"string","description":"When the price was last read, UTC; null before the first reading.","format":"date-time","nullable":true},"nextCheckAt":{"type":"string","description":"When the next reading is due, UTC; null when none is scheduled or the watch ended.","format":"date-time","nullable":true},"latest":{"$ref":"#/components/schemas/RateMonitorReading"},"baseline":{"$ref":"#/components/schemas/RateMonitorBaseline"},"priceChange":{"type":"number","description":"The latest price minus the registered price, in points; null unless the latest reading has a price and the registration had one.","format":"double","nullable":true},"priceChangeDollars":{"type":"number","description":"The loan amount times `priceChange` over 100, in dollars; null when either is unknown.","format":"double","nullable":true},"targetPrice":{"type":"number","description":"The price the broker is waiting for, where 100 is par; null when none is set.","format":"double","nullable":true},"targetReachedAt":{"type":"string","description":"When a reading first met the target, UTC; null until it does, and cleared when the target changes.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"How a floating registration's price has moved since it was registered: the watch's state, the latest reading against the registered quote, and the broker's target price."},"RateMonitorReading":{"type":"object","properties":{"price":{"type":"number","description":"The price at the registered rate and lock period, where 100 is par; null unless the outcome is `Ok`.","format":"double","nullable":true},"rate":{"type":"number","description":"The registered note rate in percent.","format":"double"},"lockPeriod":{"type":"integer","description":"Lock period in days.","format":"int32"},"parRate":{"type":"number","description":"The par rate of the product's ladder at the lock period, when the reading found one.","format":"double","nullable":true},"outcome":{"type":"string","description":"`Ok`, `NotOffered` (the product or the rate is no longer on the sheet) or `Failed` (`RateWatchOutcomes`).","nullable":true},"observedAt":{"type":"string","description":"UTC.","format":"date-time"}},"additionalProperties":false,"description":"One reading of the registered quote."},"RateMonitorBaseline":{"type":"object","properties":{"price":{"type":"number","description":"The registered price, where 100 is par.","format":"double","nullable":true},"rate":{"type":"number","description":"The registered note rate in percent.","format":"double"},"parRate":{"type":"number","description":"The par rate of the ladder the quote was taken from, at the registered lock period.","format":"double","nullable":true}},"additionalProperties":false,"description":"The quote a watch started from."}}}}
```

## The LoanReportingMetadataResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanReportingMetadataResponse":{"type":"object","properties":{"statuses":{"type":"array","items":{"type":"string"},"description":"The loan status names a status filter accepts.","nullable":true},"loanTypes":{"type":"array","items":{"type":"string"},"description":"The loan type names a loan type filter accepts, for example Conventional, FHA or VA.","nullable":true},"purposes":{"type":"array","items":{"type":"string"},"description":"The loan purpose names a purpose filter accepts, for example Purchase or Refinance.","nullable":true},"groupByDimensions":{"type":"array","items":{"type":"string"},"description":"The dimensions loans can be grouped by in an aggregation report.","nullable":true},"metricFunctions":{"type":"array","items":{"type":"string"},"description":"The functions an aggregation can apply to a metric: Count, Sum, Average, Min or Max.","nullable":true},"metricFields":{"type":"array","items":{"type":"string"},"description":"The loan figures an aggregation can measure.","nullable":true},"dateFields":{"type":"array","items":{"type":"string"},"description":"The dates that can drive Month, Quarter, Year and Day grouping.","nullable":true},"orderByOptions":{"type":"array","items":{"type":"string"},"description":"The sort keys a loan list accepts.","nullable":true},"northstarStages":{"type":"array","items":{"type":"string"},"description":"The funnel stages (Opened, Pre-Approved, Rate Locked, Approved, Closed and Funded) that milestone reports can group by, in order.","nullable":true},"milestoneGranularities":{"type":"array","items":{"type":"string"},"description":"The bucket sizes a milestone report accepts: Week or Month.","nullable":true},"loanTypeCodes":{"type":"object","additionalProperties":{"type":"string","nullable":true},"description":"The LOS loan-type code table: each code and the loan type name it stands for. Published beside mortgageLoanTypeCodes because both are 0-based integers that mean different things.","nullable":true},"mortgageLoanTypeCodes":{"type":"object","additionalProperties":{"type":"string","nullable":true},"description":"The LOS mortgage loan type code table: each code and the product class it stands for (for example government, conforming, non-conforming). It is a different field from the loan type.","nullable":true},"notes":{"type":"array","items":{"type":"string"},"description":"Caveats about how the value lists above apply, for example which field each vocabulary belongs to.","nullable":true}},"additionalProperties":false,"description":"The valid vocabulary for the loan reporting endpoints, so a caller does not have to guess values."}}}}
```

## The LoanStatus object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanStatus":{"type":"object","properties":{"displayOrder":{"type":"integer","description":"Position of the status in the loan timeline, starting at 0.","format":"int32"},"isComplete":{"type":"boolean","description":"True when the loan has passed this status."},"date":{"type":"string","description":"When the loan reached the status, ISO 8601; null if not yet.","format":"date-time","nullable":true},"statusDetails":{"type":"array","items":{"$ref":"#/components/schemas/StatusDetail"},"description":"Sub-steps of the status with their dates.","nullable":true},"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true}},"additionalProperties":false},"StatusDetail":{"type":"object","properties":{"displayOrder":{"type":"integer","description":"Position of the sub-step within its status.","format":"int32"},"code":{"type":"string","description":"Sub-step code.","nullable":true},"name":{"type":"string","description":"Sub-step display name.","nullable":true},"date":{"type":"string","description":"When the sub-step happened, ISO 8601; null if not yet.","format":"date-time","nullable":true}},"additionalProperties":false}}}}
```

## The LoanStatusBase object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanStatusBase":{"type":"object","properties":{"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true}},"additionalProperties":false,"description":"A loan status: its code and display name."}}}}
```

## The LoanTemporaryBuydown object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanTemporaryBuydown":{"type":"object","properties":{"steps":{"type":"array","items":{"$ref":"#/components/schemas/TemporaryBuydownStep"},"description":"The steps in order, each { rateReduction, months }: a 2-1 is [{ rateReduction: 2, months: 12 }, { rateReduction: 1, months: 12 }]. At most five. The list replaces the stored steps as a whole; empty slots are left out when read.","nullable":true},"contributorType":{"type":"string","description":"Who pays for the buydown, as the LOS's raw contributor code (sBuydownContributorT). Optional: left out, the LOS's value is not touched.","nullable":true},"totalFundsAmount":{"type":"number","description":"Total buydown funds in dollars (sBuydownTotalFundsAmt). Optional: left out, the LOS's value is not touched.","format":"double","nullable":true},"hasTemporaryBuydown":{"type":"boolean","description":"sHasTempBuydown - calculated by the LOS from the steps. Read only: a write is ignored.","nullable":true},"totalMonths":{"type":"integer","description":"sBuydwnTotalMon - calculated by the LOS. Read only.","format":"int32","nullable":true},"resultRate":{"type":"number","description":"sBuydownResultIR - calculated by the LOS. Read only.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's temporary buydown as the LOS holds it: up to five steps, who pays for it and how much, and what the LOS calculates from them. Changed only by a partial update that names it."},"TemporaryBuydownStep":{"type":"object","properties":{"rateReduction":{"type":"number","description":"Points the note rate is reduced by during this step (number, 2 means 2 points). Not negative.","format":"double"},"months":{"type":"integer","description":"Months this step lasts (integer). Required when rateReduction is above 0.","format":"int32"}},"additionalProperties":false,"description":"One step of a temporary buydown: how many points the rate is reduced for how many months."}}}}
```

## The LoanTerms object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanTerms":{"enum":["ThirtyYear","TwentyFiveYear","TwentyYear","FifteenYear","TenYear","SevenYear","FiveYear","FortyYear","FourYear","TwoYear","ThreeMonth","SixMonth","NineMonth","ThreeYear","NineYear","EightYear","SixYear","OneYear","TwelveYear","NonStandardTerm"],"type":"string","description":"The loan term: ThirtyYear, TwentyFiveYear, TwentyYear, FifteenYear, TenYear, SevenYear, FiveYear, FortyYear, FourYear, TwoYear, ThreeMonth, SixMonth, NineMonth, ThreeYear, NineYear, EightYear, SixYear, OneYear, TwelveYear or NonStandardTerm; each is that length of time."}}}}
```

## The LoanTimeline object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanTimeline":{"type":"object","properties":{"activeStatus":{"$ref":"#/components/schemas/LoanStatusBase"},"lastCompletedStatus":{"$ref":"#/components/schemas/LoanStatusBase"},"loanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/LoanStatus"},"description":"Every loan status with its order, completion and date.","nullable":true},"keyDates":{"$ref":"#/components/schemas/KeyDates"},"statusTracker":{"$ref":"#/components/schemas/StatusTracker"},"disclosureTracker":{"$ref":"#/components/schemas/DisclosureTracker"},"signaturePackages":{"type":"array","items":{"$ref":"#/components/schemas/SignaturePackage"},"description":"The loan's e-signature packages, built from its Disclosure tasks on a loan read.","nullable":true}},"additionalProperties":false,"description":"The loan's progress: its active and last completed status, all statuses, key dates and trackers."},"LoanStatusBase":{"type":"object","properties":{"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true}},"additionalProperties":false,"description":"A loan status: its code and display name."},"LoanStatus":{"type":"object","properties":{"displayOrder":{"type":"integer","description":"Position of the status in the loan timeline, starting at 0.","format":"int32"},"isComplete":{"type":"boolean","description":"True when the loan has passed this status."},"date":{"type":"string","description":"When the loan reached the status, ISO 8601; null if not yet.","format":"date-time","nullable":true},"statusDetails":{"type":"array","items":{"$ref":"#/components/schemas/StatusDetail"},"description":"Sub-steps of the status with their dates.","nullable":true},"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true}},"additionalProperties":false},"StatusDetail":{"type":"object","properties":{"displayOrder":{"type":"integer","description":"Position of the sub-step within its status.","format":"int32"},"code":{"type":"string","description":"Sub-step code.","nullable":true},"name":{"type":"string","description":"Sub-step display name.","nullable":true},"date":{"type":"string","description":"When the sub-step happened, ISO 8601; null if not yet.","format":"date-time","nullable":true}},"additionalProperties":false},"KeyDates":{"type":"object","properties":{"estimatedClosing":{"type":"string","description":"Estimated closing date, ISO 8601.","format":"date-time","nullable":true},"firstPaymentDate":{"type":"string","description":"Date the borrower's first payment is due, ISO 8601.","format":"date-time","nullable":true},"lockExpiration":{"type":"string","description":"Date the rate lock expires, ISO 8601; null when the loan is not locked.","format":"date-time","nullable":true},"rateLockedDate":{"type":"string","description":"Date the rate was locked, ISO 8601.","format":"date-time","nullable":true},"rateLockedTime":{"type":"string","description":"Time of day the rate was locked, as text.","nullable":true},"preApprovedDate":{"type":"string","description":"Date the loan was pre-approved (yyyy-MM-dd).","format":"date","nullable":true},"registeredDate":{"type":"string","description":"Date the loan was registered with the lender (yyyy-MM-dd).","format":"date","nullable":true},"appSubmittedDate":{"type":"string","description":"Date the application was submitted (yyyy-MM-dd).","format":"date","nullable":true},"closingDate":{"type":"string","description":"Scheduled closing date (yyyy-MM-dd).","format":"date","nullable":true}},"additionalProperties":false,"description":"The loan's key dates; each is null until it is known."},"StatusTracker":{"type":"object","properties":{"lastCompletedStep":{"type":"string","description":"Label of the last step the loan completed.","nullable":true},"currentStepLabel":{"type":"string","description":"Label of the step the loan is on now.","nullable":true},"summaryLoanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/StatusTrackerLoanStatus"},"description":"The statuses shown in the summary view, with their progress.","nullable":true},"allLoanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/StatusTrackerLoanStatusBase"},"description":"All statuses in the tracker, in display order.","nullable":true}},"additionalProperties":false,"description":"The borrower-facing progress tracker of a loan: the last completed step, the current step and the statuses shown."},"StatusTrackerLoanStatus":{"type":"object","properties":{"isComplete":{"type":"boolean","description":"True when the loan has passed this status."},"isInProgress":{"type":"boolean","description":"True when the loan is at this status now."},"isApproved":{"type":"boolean","description":"For the pre-approval status, true when approved and false when denied; null otherwise.","nullable":true},"subStatusLabel":{"type":"string","description":"A finer label for the status, when there is one.","nullable":true},"preApprovalDocumentId":{"type":"string","description":"Unique identifier (GUID) of the pre-approval letter document, when one was issued.","format":"uuid","nullable":true},"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the status in the tracker, starting at 0.","format":"int32"},"date":{"type":"string","description":"Date the loan reached the status (yyyy-MM-dd); null if not yet.","format":"date","nullable":true},"time":{"type":"string","description":"Time of day the loan reached the status, as text; null if not known.","nullable":true}},"additionalProperties":false},"StatusTrackerLoanStatusBase":{"type":"object","properties":{"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the status in the tracker, starting at 0.","format":"int32"},"date":{"type":"string","description":"Date the loan reached the status (yyyy-MM-dd); null if not yet.","format":"date","nullable":true},"time":{"type":"string","description":"Time of day the loan reached the status, as text; null if not known.","nullable":true}},"additionalProperties":false},"DisclosureTracker":{"type":"object","properties":{"loanEstimates":{"type":"array","items":{"$ref":"#/components/schemas/LoanEstimateDates"},"description":"Every Loan Estimate issued on the loan, in the order the Loan Origination System lists them.","nullable":true},"closingDisclosures":{"type":"array","items":{"$ref":"#/components/schemas/ClosingDisclosureDates"},"description":"Every Closing Disclosure issued on the loan, in the order the Loan Origination System lists them.","nullable":true}},"additionalProperties":false,"description":"The loan's disclosure history: each Loan Estimate and Closing Disclosure issued, with delivery, receipt and signature dates."},"LoanEstimateDates":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the Loan Estimate disclosure record.","nullable":true},"createdDate":{"type":"string","description":"Date the Loan Estimate was created (yyyy-MM-dd).","format":"date","nullable":true},"issuedDate":{"type":"string","description":"Date the Loan Estimate was issued (yyyy-MM-dd).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the Loan Estimate was delivered, for example email or mail.","nullable":true},"receivedDate":{"type":"string","description":"Date the borrower received it (yyyy-MM-dd).","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date the borrower signed it (yyyy-MM-dd).","format":"date","nullable":true},"isLastDisclosed":{"type":"boolean","description":"The LOS read returns no last-disclosed flag, so this is never filled; see MismoNotCarried.","nullable":true},"disclosedApr":{"type":"number","description":"APR disclosed on the Loan Estimate, in percent (for example 6.912).","format":"double","nullable":true},"archiveId":{"type":"string","description":"The archive the LOS issued this disclosure from; null when the LOS sends blank or an all-zero GUID (a hand-entered record).","nullable":true},"archiveDate":{"type":"string","description":"The archive's date (the LOS's `ArchiveUsed`); a date only, no time of day.","format":"date","nullable":true},"transactionId":{"type":"string","description":"The id the disclosure was generated under, also on the e-sign package it was sent in; null when blank.","nullable":true},"isInitial":{"type":"boolean","description":"True when this is the initial Loan Estimate.","nullable":true},"isManual":{"type":"boolean","description":"True when the record was entered by hand rather than generated.","nullable":true},"isValid":{"type":"boolean","description":"The LOS's `Valid`. A record marked not valid stays in the list.","nullable":true},"losApr":{"type":"number","description":"The LOS's own APR (`LqbApr`).","format":"double","nullable":true},"docVendorApr":{"type":"number","description":"APR calculated by the document provider, in percent.","format":"double","nullable":true},"consumerDates":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerDisclosureDates"},"description":"Per-borrower disclosure dates.","nullable":true}},"additionalProperties":false},"ConsumerDisclosureDates":{"type":"object","properties":{"consumerId":{"type":"string","description":"The borrower's id in the Loan Origination System.","nullable":true},"consumerName":{"type":"string","description":"The borrower's name.","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to this borrower (ISO 8601 date).","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered to this borrower, as the Loan Origination System records it.","nullable":true},"receivedDate":{"type":"string","description":"Date this borrower received the disclosure (ISO 8601 date); null when not recorded.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date this borrower signed the disclosure (ISO 8601 date); null when not signed.","format":"date","nullable":true}},"additionalProperties":false},"ClosingDisclosureDates":{"type":"object","properties":{"id":{"type":"string","description":"The disclosure's id in the Loan Origination System.","nullable":true},"createdDate":{"type":"string","description":"Date the disclosure was created (ISO 8601 date, no time of day).","format":"date","nullable":true},"issuedDate":{"type":"string","description":"Date the disclosure was issued to the borrowers (ISO 8601 date); null when not yet issued.","format":"date","nullable":true},"deliveryMethod":{"type":"string","description":"How the disclosure was delivered, as the Loan Origination System records it (for example email or mail).","nullable":true},"receivedDate":{"type":"string","description":"Date the borrowers received the disclosure (ISO 8601 date); null when not recorded. When several borrowers are listed, each borrower's own date is in consumerDates.","format":"date","nullable":true},"signedDate":{"type":"string","description":"Date the disclosure was signed (ISO 8601 date); null when not signed.","format":"date","nullable":true},"isLastDisclosed":{"type":"boolean","description":"Never filled: the Loan Origination System returns no last-disclosed flag, so this is always null.","nullable":true},"eCloseStatus":{"type":"string","description":"The e-close status the Loan Origination System records for the disclosure; null when none.","nullable":true},"disclosedApr":{"type":"number","description":"The annual percentage rate disclosed, in percent (for example 6.912); null when not recorded.","format":"double","nullable":true},"archiveId":{"type":"string","description":"The id of the archive the Loan Origination System issued this disclosure from; null when it sent none (for example a hand-entered record).","nullable":true},"archiveDate":{"type":"string","description":"The archive's date (ISO 8601 date, no time of day).","format":"date","nullable":true},"transactionId":{"type":"string","description":"The id the disclosure was generated under, also on the e-sign package it was sent in; null when blank.","nullable":true},"isInitial":{"type":"boolean","description":"True when this is the initial Closing Disclosure.","nullable":true},"isManual":{"type":"boolean","description":"True when the record was entered by hand rather than generated by the Loan Origination System.","nullable":true},"isValid":{"type":"boolean","description":"False when the record is marked not valid in the Loan Origination System. Such a record stays in the list.","nullable":true},"losApr":{"type":"number","description":"The Loan Origination System's own annual percentage rate, in percent.","format":"double","nullable":true},"docVendorApr":{"type":"number","description":"The APR as the document vendor calculated it, in percent; null when not recorded.","format":"double","nullable":true},"isFinal":{"type":"boolean","description":"True when this is the final Closing Disclosure.","nullable":true},"isPreview":{"type":"boolean","description":"True when the disclosure was only a preview and was not issued to the borrowers.","nullable":true},"isPostClosing":{"type":"boolean","description":"True when the disclosure was issued after closing.","nullable":true},"consumerDates":{"type":"array","items":{"$ref":"#/components/schemas/ConsumerDisclosureDates"},"description":"Issued, received and signed dates for each borrower on the disclosure.","nullable":true}},"additionalProperties":false},"SignaturePackage":{"type":"object","properties":{"packageId":{"type":"string","description":"The id of the e-sign package as the Loan Origination System holds it.","nullable":true},"name":{"type":"string","description":"The package's name.","nullable":true},"sentTimestamp":{"type":"string","description":"The earliest created timestamp of the package's tasks.","format":"date-time"},"status":{"type":"string","description":"Signed, AwaitingSignature, Reviewed or Cancelled. Reviewed and Cancelled are only reported by a live read of the package.","nullable":true},"signedTimestamp":{"type":"string","description":"The last signer's, only when the package is signed.","format":"date-time","nullable":true},"signers":{"type":"array","items":{"$ref":"#/components/schemas/SignaturePackageSigner"},"description":"The people who must sign the package and whether each has.","nullable":true}},"additionalProperties":false,"description":"One e-sign package sent from the LOS for a loan and who has signed it, built from the loan's\r\nDisclosure tasks (one per signer). Carries no access link and no participant id: nothing here\r\nopens a signing session. Not loan-file data, so it is never part of the MISMO export."},"SignaturePackageSigner":{"type":"object","properties":{"name":{"type":"string","description":"The signer's name.","nullable":true},"role":{"type":"string","description":"Borrower or LoanOfficer.","nullable":true},"signedTimestamp":{"type":"string","description":"When the signer signed, in UTC (ISO 8601); null while they have not.","format":"date-time","nullable":true}},"additionalProperties":false}}}}
```

## The LoanTrust object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanTrust":{"type":"object","properties":{"id":{"type":"string","description":"Stable id for the trust on this loan. Assigned on save when omitted.","format":"uuid","nullable":true},"name":{"type":"string","description":"The trust's exact name, including any amendment and restatement dates, as it will appear on title.","nullable":true},"classification":{"$ref":"#/components/schemas/LoanTrustClassification"},"establishedDate":{"type":"string","description":"The date the trust was established.","format":"date","nullable":true},"amendedDate":{"type":"string","description":"The date of the latest amendment or restatement, if any.","format":"date","nullable":true},"stateCode":{"type":"string","description":"Two-letter code of the state whose law governs the trust.","nullable":true},"parties":{"type":"array","items":{"$ref":"#/components/schemas/LoanTrustParty"},"description":"Trustees, settlors and beneficiaries.","nullable":true}},"additionalProperties":false,"description":"A trust that will hold title to the subject property. A trust is vesting, not a borrower: its settlors are ordinary borrowers, and the trust sits at loan level so it can name people from more than one borrower pair."},"LoanTrustClassification":{"enum":["InterVivosRevocable","Irrevocable","Land","Other"],"type":"string","description":"The legal classification of a trust: InterVivosRevocable (a living trust that can be changed or revoked), Irrevocable (cannot be revoked), Land (a land trust) or Other."},"LoanTrustParty":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/LoanTrustPartyRole"},"borrowerId":{"type":"string","description":"The hdBorrowerId of the borrower this party is, on any pair. Must be a borrower on the loan.","format":"uuid","nullable":true},"name":{"type":"string","description":"The party's name when it is not a borrower on the loan.","nullable":true},"isInstitution":{"type":"boolean","description":"True when the party is an institution (a bank or trust company acting as trustee)."}},"additionalProperties":false,"description":"One party to a `LoanTrust`. A party who is a borrower on any pair is named by\r\n`borrowerId` (the borrower's `hdBorrowerId`); anyone else, a non-borrowing person or an\r\ninstitutional trustee, by `name`."},"LoanTrustPartyRole":{"enum":["Trustee","CoTrustee","SuccessorTrustee","Settlor","SettlorTrustee","Beneficiary"],"type":"string","description":"A party's role in a trust: Trustee, CoTrustee, SuccessorTrustee (takes over from a trustee), Settlor (created the trust), SettlorTrustee (both settlor and trustee) or Beneficiary."}}}}
```

## The LoanTrustClassification object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanTrustClassification":{"enum":["InterVivosRevocable","Irrevocable","Land","Other"],"type":"string","description":"The legal classification of a trust: InterVivosRevocable (a living trust that can be changed or revoked), Irrevocable (cannot be revoked), Land (a land trust) or Other."}}}}
```

## The LoanTrustParty object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanTrustParty":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/LoanTrustPartyRole"},"borrowerId":{"type":"string","description":"The hdBorrowerId of the borrower this party is, on any pair. Must be a borrower on the loan.","format":"uuid","nullable":true},"name":{"type":"string","description":"The party's name when it is not a borrower on the loan.","nullable":true},"isInstitution":{"type":"boolean","description":"True when the party is an institution (a bank or trust company acting as trustee)."}},"additionalProperties":false,"description":"One party to a `LoanTrust`. A party who is a borrower on any pair is named by\r\n`borrowerId` (the borrower's `hdBorrowerId`); anyone else, a non-borrowing person or an\r\ninstitutional trustee, by `name`."},"LoanTrustPartyRole":{"enum":["Trustee","CoTrustee","SuccessorTrustee","Settlor","SettlorTrustee","Beneficiary"],"type":"string","description":"A party's role in a trust: Trustee, CoTrustee, SuccessorTrustee (takes over from a trustee), Settlor (created the trust), SettlorTrustee (both settlor and trustee) or Beneficiary."}}}}
```

## The LoanTrustPartyRole object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LoanTrustPartyRole":{"enum":["Trustee","CoTrustee","SuccessorTrustee","Settlor","SettlorTrustee","Beneficiary"],"type":"string","description":"A party's role in a trust: Trustee, CoTrustee, SuccessorTrustee (takes over from a trustee), Settlor (created the trust), SettlorTrustee (both settlor and trustee) or Beneficiary."}}}}
```

## The LockAdjustment object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LockAdjustment":{"type":"object","properties":{"description":{"type":"string","description":"What the adjustment is for.","nullable":true},"points":{"type":"number","description":"The adjustment in points; a negative value adds to the price.","format":"double","nullable":true},"rate":{"type":"number","description":"Rate adjustment, in percentage points.","format":"double","nullable":true},"margin":{"type":"number","description":"Margin adjustment, in percentage points.","format":"double","nullable":true},"hidden":{"type":"boolean","description":"True for a hidden lender line the broker never sees (front-end lock only)."}},"additionalProperties":false,"description":"One adjustment line as the LOS holds it."}}}}
```

## The LockPositionMove object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LockPositionMove":{"type":"object","properties":{"movedAt":{"type":"string","description":"When the selected row was moved, ISO 8601 UTC.","format":"date-time"},"movedBy":{"type":"string","description":"Identifier (GUID) of the user who moved it.","format":"uuid","nullable":true},"movedByName":{"type":"string","description":"Name of the user who moved it.","nullable":true},"fromQuoteId":{"type":"string","description":"quoteId of the row before the move.","nullable":true},"fromRate":{"type":"number","description":"Note rate before the move, in percent.","format":"double","nullable":true},"fromPrice":{"type":"number","description":"Price before the move, where 100 is par.","format":"double","nullable":true},"toQuoteId":{"type":"string","description":"quoteId of the row after the move.","nullable":true},"toRate":{"type":"number","description":"Note rate after the move, in percent.","format":"double","nullable":true},"toPrice":{"type":"number","description":"Price after the move, where 100 is par.","format":"double","nullable":true},"sourceFromPrice":{"type":"number","description":"The source lender's price before the move, from its frozen rate sheet. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceToPrice":{"type":"number","description":"The source lender's price after the move. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceNote":{"type":"string","description":"Set when the instruction has no price at the new rate, in words. Staff only.","nullable":true}},"additionalProperties":false,"description":"One move of the selected row: who, when, and from which rate and price to which."}}}}
```

## The LtvRatios object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"LtvRatios":{"type":"object","properties":{"baseLTVRatio":{"type":"number","description":"Loan-to-value ratio on the base loan amount, as a percent.","format":"double","nullable":true},"grossLTVRatio":{"type":"number","description":"Loan-to-value ratio on the loan amount including financed upfront fees, as a percent.","format":"double","nullable":true},"baseCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio across all liens on the base loan amount, as a percent.","format":"double","nullable":true},"grossCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio across all liens including financed upfront fees, as a percent.","format":"double","nullable":true},"baseHomeEquityCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio counting the full credit limit of any home equity line, on the base loan amount, as a percent.","format":"double","nullable":true},"grossHomeEquityCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio counting the full credit limit of any home equity line, including financed upfront fees, as a percent.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's loan-to-value ratios, as percents."}}}}
```

## The MailingAddress object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MailingAddress":{"type":"object","properties":{"isTheSameAsCurrentAddress":{"type":"boolean","description":"True when the mailing address is the borrower's current residence."},"isTheSameAsSubjectPropertyAddress":{"type":"boolean","description":"True when the mailing address is the subject property."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A borrower's mailing address, which can be flagged as the same as their current or subject property address."}}}}
```

## The ManualAssetRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ManualAssetRequest":{"type":"object","properties":{"amount":{"type":"number","description":"The account balance. Required on add.","format":"double","nullable":true},"accountName":{"type":"string","description":"Name of the account, for example Chase Checking.","nullable":true},"accountNumber":{"type":"string","description":"The full account number. Reads return it masked to the last four digits, and a masked value is\r\nrefused here, so omit it on update to keep the stored number.","nullable":true},"institutionName":{"type":"string","description":"Name of the financial institution that holds the account.","nullable":true},"giftSource":{"type":"string","description":"Who the gift came from, when the asset is a gift.","nullable":true}},"additionalProperties":false,"description":"A manually entered asset: the balance of an asset account. On update, a field left null keeps its\r\nstored value. Adding the asset (POST) needs amount; an update (PUT) needs at least one field."}}}}
```

## The ManualCreditBorrowerScores object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ManualCreditBorrowerScores":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id of the borrower on the loan the scores belong to, when the loan had one.","format":"uuid","nullable":true},"isCoBorrower":{"type":"boolean","description":"True for the co-borrower's scores, false for the borrower's."},"experian":{"type":"integer","description":"The Experian score the broker entered; null when none was entered.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score the broker entered; null when none was entered.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score the broker entered; null when none was entered.","format":"int32","nullable":true},"representativeScore":{"type":"integer","description":"Middle of three, lower of two, the one when there is one; null when none were entered.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Broker-entered bureau scores for one borrower. Stored and reported as broker-entered, never as a bureau score."}}}}
```

## The ManualCreditEntry object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ManualCreditEntry":{"type":"object","properties":{"isCurrent":{"type":"boolean","description":"False once a credit report supersedes the entry, or one was on the loan before it was saved without being corrected by it: the entry is kept, but the report's values are current."},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/ManualCreditBorrowerScores"},"description":"Bureau scores per borrower: the borrower first, then the co-borrower when one was entered.","nullable":true},"mortgageLates":{"$ref":"#/components/schemas/MortgageLates"},"publicRecords":{"$ref":"#/components/schemas/CreditPublicRecords"},"enteredAtUtc":{"type":"string","description":"When the broker saved the entry, in UTC (ISO 8601).","format":"date-time"},"enteredBy":{"type":"string","description":"Id of the user who saved the entry.","format":"uuid","nullable":true},"enteredByName":{"type":"string","description":"Name of the user who saved the entry.","nullable":true},"supersededAtUtc":{"type":"string","description":"When a report replaced the entry, and the report's number.","format":"date-time","nullable":true},"supersededByReportId":{"type":"string","description":"The number of the credit report that replaced the entry; null while the entry is current.","nullable":true}},"additionalProperties":false,"description":"What a broker entered by hand, and whether it is still what the loan goes by."},"ManualCreditBorrowerScores":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id of the borrower on the loan the scores belong to, when the loan had one.","format":"uuid","nullable":true},"isCoBorrower":{"type":"boolean","description":"True for the co-borrower's scores, false for the borrower's."},"experian":{"type":"integer","description":"The Experian score the broker entered; null when none was entered.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score the broker entered; null when none was entered.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score the broker entered; null when none was entered.","format":"int32","nullable":true},"representativeScore":{"type":"integer","description":"Middle of three, lower of two, the one when there is one; null when none were entered.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Broker-entered bureau scores for one borrower. Stored and reported as broker-entered, never as a bureau score."},"MortgageLates":{"type":"object","properties":{"x30":{"type":"integer","description":"Mortgage payments 30 days late.","format":"int32","nullable":true},"x60":{"type":"integer","description":"Mortgage payments 60 days late.","format":"int32","nullable":true},"x90":{"type":"integer","description":"Mortgage payments 90 days late.","format":"int32","nullable":true},"x120":{"type":"integer","description":"Mortgage payments 120 days late.","format":"int32","nullable":true},"x150":{"type":"integer","description":"Mortgage payments 150 days late.","format":"int32","nullable":true},"rollingX30":{"type":"integer","description":"Mortgage payments 30 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX60":{"type":"integer","description":"Mortgage payments 60 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX90":{"type":"integer","description":"Mortgage payments 90 days late, counting rolling lates.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Counts of mortgage payments made late in the last 12 months. The x30 to x150 counts treat rolling lates as not allowed; the rollingX counts treat them as allowed. Null means not stated, 0 means none."},"CreditPublicRecords":{"type":"object","properties":{"foreclosure":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter7":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter13":{"$ref":"#/components/schemas/CreditPublicRecord"}},"additionalProperties":false,"description":"Foreclosure/NOD, Chapter 7 and Chapter 13 history."},"CreditPublicRecord":{"type":"object","properties":{"has":{"type":"boolean","description":"True when the borrower has this kind of public record."},"fileMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"fileYear":{"type":"integer","description":"Year the record was filed, four digits; null when not known.","format":"int32","nullable":true},"status":{"type":"string","description":"NotSatisfied, Discharged or Dismissed. Required when has is true.","nullable":true},"satisfiedMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"satisfiedYear":{"type":"integer","description":"Year the record was satisfied, four digits; null when it has not been or is not known.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One public record: whether the borrower has one, when it was filed, its status and when it was satisfied."}}}}
```

## The MarkupOverride object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MarkupOverride":{"type":"object","properties":{"level":{"type":"integer","description":"Which configured markup tier this entry overrides, as its level index in the pricing account.","format":"int32","nullable":true},"dollar":{"type":"integer","description":"Flat markup in dollars. Leave null to use percentage instead.","format":"int32","nullable":true},"percentage":{"type":"number","description":"Markup as a percent of the loan amount, for example 1.40 for 140 basis points.","format":"double","nullable":true},"minCapDollar":{"type":"integer","description":"Minimum markup in dollars. Leave null for no minimum.","format":"int32","nullable":true},"maxCapDollar":{"type":"integer","description":"Maximum markup in dollars. Leave null for no maximum; a 0 caps the markup at 0.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Per-request override of a configured markup tier (a corporate or servicing-release margin, or loan officer compensation). Every field is optional; only those set are applied."}}}}
```

## The Message object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Message":{"type":"object","properties":{"code":{"type":"string","description":"Short code of the message.","nullable":true},"messageText":{"type":"string","description":"The message, as text for a person.","nullable":true}},"additionalProperties":false,"description":"A message from the pricing search, such as a warning about the criteria."}}}}
```

## The MilestoneBucket object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MilestoneBucket":{"type":"object","properties":{"period":{"type":"string","description":"First day of the week (yyyy-MM-dd) or the month (yyyy-MM) the loans first reached the stage.","nullable":true},"stage":{"type":"string","description":"Name of the milestone stage the loans reached.","nullable":true},"stageOrder":{"type":"integer","description":"Position of the stage in the loan pipeline, starting at 0.","format":"int32"},"loanCount":{"type":"integer","description":"Number of loans that reached the stage in the period.","format":"int32"},"loanAmount":{"type":"number","description":"Total loan amount of those loans, in dollars.","format":"double","nullable":true}},"additionalProperties":false}}}}
```

## The MilestoneSummary object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MilestoneSummary":{"type":"object","properties":{"code":{"type":"string","description":"The milestone's code, as used when switching a milestone's notifications on or off.","nullable":true},"name":{"type":"string","description":"Display name of the milestone.","nullable":true},"order":{"type":"integer","description":"Position of the milestone in the loan timeline, starting at 0.","format":"int32"},"itemKeys":{"type":"array","items":{"type":"string"},"description":"Empty when no template in this branch has reached this stage yet.","nullable":true}},"additionalProperties":false,"description":"One milestone plus the templates of a single recipient branch that belong to it."}}}}
```

## The MismoDifferenceKind object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MismoDifferenceKind":{"enum":["Lost","Changed","Added"],"type":"string","description":"How a value differed after a round trip: Lost (had a value, now none), Changed (a different value) or Added (had none, now has one)."}}}}
```

## The MismoDroppedElement object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MismoDroppedElement":{"type":"object","properties":{"path":{"type":"string","description":"Label-free XPath from MESSAGE, e.g. `MESSAGE/DEAL_SETS/.../PROPERTY/ADDRESS/CountyName`; attributes end in `/@Name`.","nullable":true},"count":{"type":"integer","description":"How many times that path was dropped in the file.","format":"int32"},"sampleValue":{"type":"string","description":"The first dropped value, masked (names, account numbers, SSNs, contact points).","nullable":true}},"additionalProperties":false}}}}
```

## The MismoFieldDifference object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MismoFieldDifference":{"type":"object","properties":{"path":{"type":"string","description":"Dotted path, e.g. `loanInfo.borrowers[0].employments[1].monthlyIncomeAmount`.","nullable":true},"kind":{"$ref":"#/components/schemas/MismoDifferenceKind"},"stored":{"type":"string","description":"The value held before the round trip.","nullable":true},"roundTripped":{"type":"string","description":"The value after the round trip.","nullable":true},"isExpected":{"type":"boolean","description":"True when this field is documented as not carried through MISMO. Expected differences are\r\nkept out of `UnexpectedDifferences` so a real regression is\r\nnot buried under known limits."}},"additionalProperties":false},"MismoDifferenceKind":{"enum":["Lost","Changed","Added"],"type":"string","description":"How a value differed after a round trip: Lost (had a value, now none), Changed (a different value) or Added (had none, now has one)."}}}}
```

## The MismoFieldToCheck object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MismoFieldToCheck":{"type":"object","properties":{"section":{"type":"string","description":"The wizard section, by the name the section report uses.","nullable":true},"field":{"type":"string","description":"Name of the field to check.","nullable":true},"path":{"type":"string","description":"The form path, e.g. `loanInfo.borrowers[0].maritalStatus.name`.","nullable":true},"fileValue":{"type":"string","description":"The value in the MISMO file.","nullable":true},"loanValue":{"type":"string","description":"The value now on the loan.","nullable":true},"reason":{"type":"string","description":"Why the field needs checking.","nullable":true}},"additionalProperties":false,"description":"A leaf of the file that was read and not kept. Repeats of one path collapse to one row."}}}}
```

## The MismoImportResult object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MismoImportResult":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Null on a dry run or when the report has errors.","format":"uuid","nullable":true},"loanInfo":{"$ref":"#/components/schemas/LoanInfo"},"contacts":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppContact"},"description":"The file's other parties (realtor, title, escrow, broker, ...) as loan contacts. Kept beside\r\n`LoanInfo` rather than in it, because the platform stores contacts separately.","nullable":true},"orders":{"type":"array","items":{"$ref":"#/components/schemas/LoanOrder"},"description":"The file's service records of a type we support, saved with the loan as imported records; they are not ordered from any provider.","nullable":true},"keyDates":{"$ref":"#/components/schemas/KeyDates"},"report":{"$ref":"#/components/schemas/MismoMappingReport"},"completion":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionCompletion"},"description":"Per wizard section, the required fields the mapped loan leaves unanswered. Informational: a\r\nsection with gaps never stops the import, it only has to be answered before that section is\r\nsigned off and the loan submitted.","nullable":true},"persisted":{"type":"boolean","description":"True when the loan was saved; false on a dry run."},"sourceDocumentId":{"type":"string","description":"The internal loan document holding the file as sent, and the one beside it holding this report as\r\nJSON. Null on a dry run, or when keeping them failed (which the report says).","format":"uuid","nullable":true},"reportDocumentId":{"type":"string","description":"Unique identifier (GUID) of the internal document holding this report; null on a dry run or when it could not be kept.","format":"uuid","nullable":true},"persistenceFidelity":{"$ref":"#/components/schemas/MismoRoundTripReport"},"endToEndFidelity":{"$ref":"#/components/schemas/MismoRoundTripReport"},"readBackSource":{"$ref":"#/components/schemas/MismoReadBackSource"},"isVerifiedFaithful":{"type":"boolean","description":"True when verification ran and found nothing beyond MISMO's documented limits.","readOnly":true}},"additionalProperties":false},"LoanInfo":{"type":"object","properties":{"loanId":{"type":"string","description":"The loan's id in the LOS (the same value as the loan's externalId). Null for a loan not in the LOS yet.","nullable":true},"loanNumber":{"type":"string","description":"The loan number the LOS assigned, shown to people.","nullable":true},"sourceLoanNumber":{"type":"string","description":"The loan number the originating system gave this loan, from an imported MISMO file. Never Henge's own loan number (loanNumber).","nullable":true},"loanAmount":{"type":"number","description":"Base loan amount, in dollars, before any financed mortgage insurance premium or funding fee.","format":"double","nullable":true},"loanType":{"$ref":"#/components/schemas/FieldType"},"mortgageLoanType":{"type":"string","description":"Raw product-class code of the loan, a number as text. It is not the loan type (loanType). Code 0 means government or unspecified.","nullable":true},"purpose":{"$ref":"#/components/schemas/FieldType"},"lienPosition":{"$ref":"#/components/schemas/FieldType"},"loanStatus":{"$ref":"#/components/schemas/FieldType"},"propertyType":{"$ref":"#/components/schemas/FieldType"},"loanStatusDate":{"type":"string","description":"When the loan reached its current status (ISO 8601 date and time).","format":"date-time","nullable":true},"appraisalValue":{"type":"number","description":"Appraised value of the subject property, in dollars.","format":"double","nullable":true},"purchasePrice":{"type":"number","description":"Purchase price of the subject property, in dollars. Purchase loans only.","format":"double","nullable":true},"subjectPropertyAddress":{"$ref":"#/components/schemas/SubjectPropertyAddress"},"occupancy":{"$ref":"#/components/schemas/FieldType"},"mannerOfTitle":{"type":"string","description":"How title will be held, as entered (free text). finalVesting is the newer field.","nullable":true},"refinance":{"$ref":"#/components/schemas/RefinanceInfo"},"assignments":{"$ref":"#/components/schemas/Assignments"},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/PosBorrower"},"description":"The loan's borrowers. A co-borrower is nested inside the borrower it is paired with, in coBorrower.","nullable":true},"proposedHousingExpense":{"$ref":"#/components/schemas/ProposedHousingExpense"},"customFields":{"type":"array","items":{"$ref":"#/components/schemas/CustomField"},"description":"Custom fields configured on the loan, with their values.","nullable":true},"closingDate":{"type":"string","description":"Scheduled closing date (ISO 8601 date and time).","format":"date-time","nullable":true},"estimatedCompensation":{"type":"number","description":"Estimated originator compensation for the loan, in dollars.","format":"double","nullable":true},"lockedCompensation":{"type":"number","description":"Originator compensation fixed by the rate lock, in dollars.","format":"double","nullable":true},"lockStatus":{"type":"string","description":"Rate lock status as the LOS names it, for example Not Locked or Locked.","nullable":true},"confirmedLockPeriod":{"type":"string","description":"Length of the confirmed rate lock, in days, as text.","nullable":true},"downPayment":{"type":"number","description":"Down payment, in dollars.","format":"double","nullable":true},"downPaymentPercentage":{"type":"number","description":"Down payment as a percent of the purchase price, for example 20.","format":"double","nullable":true},"downPaymentSources":{"type":"array","items":{"$ref":"#/components/schemas/DownPaymentSource"},"description":"Where the down payment comes from.","nullable":true},"mortgageInsurance":{"type":"number","description":"Mortgage insurance amount, in dollars.","format":"double","nullable":true},"annualIncome":{"type":"number","description":"The borrower's total annual income, in dollars.","format":"double","nullable":true},"hasAssetsForDownPayment":{"type":"boolean","description":"True when the borrower has assets to cover the down payment."},"hoaAmount":{"type":"number","description":"Homeowners association dues, in dollars.","format":"double","nullable":true},"noteRate":{"type":"number","description":"Note rate as a percent, for example 6.875.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, as a percent, for example 7.012.","format":"double","nullable":true},"ltvRatios":{"$ref":"#/components/schemas/LtvRatios"},"numberOfUnits":{"type":"integer","description":"Number of units in the subject property.","format":"int32","nullable":true},"qualification":{"$ref":"#/components/schemas/Qualification"},"loanTerm":{"type":"integer","description":"Loan term, in months.","format":"int32","nullable":true},"loanProgram":{"type":"string","description":"Name of the loan program the loan is in.","nullable":true},"lockExpirationDate":{"type":"string","description":"Date the rate lock expires (ISO 8601 date).","format":"date","nullable":true},"amortizationType":{"$ref":"#/components/schemas/FieldType"},"isTestFile":{"type":"boolean","description":"True for a test loan: one created from a non-production environment or by a test user."},"isDscrLoan":{"type":"boolean","description":"True for a debt service coverage ratio (DSCR) loan, qualified on the property's rental income rather than the borrower's income."},"subjectPropertyRentalIncome":{"$ref":"#/components/schemas/SubjectPropertyRentalIncome"},"loanLevelCredit":{"$ref":"#/components/schemas/LoanLevelCredit"},"credit":{"$ref":"#/components/schemas/LoanCredit"},"escrowWaiver":{"type":"boolean","description":"True when the borrower waives escrow of taxes and insurance. Null when not set.","nullable":true},"totalLoanAmount":{"type":"number","description":"Loan amount in dollars including any financed upfront mortgage insurance premium or funding fee, labelled Total Loan Amt in the LOS. loanAmount is the base amount before that financing, so the two differ on FHA, VA and USDA loans and agree on conventional ones. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"investorLockProjectedProfit":{"type":"number","description":"Projected profit on the investor lock, in dollars; negative for a loss. Read-only.","format":"double","nullable":true},"branchChannel":{"$ref":"#/components/schemas/FieldType"},"financedUpfrontMipOrFundingFee":{"type":"number","description":"The upfront mortgage insurance premium or funding fee rolled into the loan amount, in dollars. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"maturityTermInMonths":{"type":"integer","description":"Term in months at which the balance comes due. Equals loanTerm on a fully amortising loan and is shorter on a balloon.","format":"int32","nullable":true},"loanTypeOtherDescription":{"type":"string","description":"Free text describing the loan type when loanType is Other.","nullable":true},"armDescription":{"type":"string","description":"Description of the adjustable rate, for example 5/1 ARM. Empty on fixed-rate loans.","nullable":true},"printAmortizationTypeAsOther":{"type":"boolean","description":"True to print the amortization type as Other on the loan application form.","nullable":true},"amortizationTypeOtherDescription":{"type":"string","description":"The text printed as the amortization type when printAmortizationTypeAsOther is set.","nullable":true},"urlaLoanPurposeCode":{"type":"string","description":"Raw code for the loan purpose as stated on the 2019 loan application form (URLA). It is not purpose: the form keeps a three-way Purchase, Refinance or Other answer apart from the finer-grained purpose list, and the two can disagree.","nullable":true},"urlaLoanPurposeName":{"type":"string","description":"urlaLoanPurposeCode decoded, for example Purchase or Refinance. Null for a code not recognized. Read only.","nullable":true},"urlaLoanPurposeOtherDescription":{"type":"string","description":"Free text when the form's loan purpose is Other.","nullable":true},"isRenovationLoan":{"type":"boolean","description":"True when the loan finances renovation work, for example a HomeStyle or FHA 203(k) loan.","nullable":true},"isLineOfCredit":{"type":"boolean","description":"True when the loan is a line of credit rather than a closed-end mortgage.","nullable":true},"isNewConstruction":{"type":"boolean","description":"True when the subject property is new construction.","nullable":true},"isEmployeeLoan":{"type":"boolean","description":"True when the borrower is an employee of the lender.","nullable":true},"isOptionArm":{"type":"boolean","description":"True when the loan is a payment-option adjustable rate mortgage.","nullable":true},"optionArmTeaserRate":{"type":"number","description":"The introductory rate on a payment-option ARM, as a percent.","format":"double","nullable":true},"higherPricedMortgageTypeCode":{"type":"string","description":"Raw code for the higher-priced or high-cost classification, for example None. Can be overridden; lock it with fieldLocks or the LOS recomputes it from the APR test.","nullable":true},"higherPricedMortgageTypeName":{"type":"string","description":"higherPricedMortgageTypeCode decoded, for example None or HPML. Null for a code not recognized. Read only.","nullable":true},"leadSource":{"type":"string","description":"Where the lead came from.","nullable":true},"totalMonthlyLiabilities":{"type":"number","description":"Total monthly liability payments across all borrowers, in dollars, which the LOS divides into income for the back-end ratio. Calculated by the LOS; a write is ignored. Summing the borrowers' liability amounts does not reproduce it, because the LOS leaves out liabilities marked paid off or omitted.","format":"double","nullable":true},"presentHousingExpense":{"type":"number","description":"The borrower's present total monthly housing expense, in dollars: the baseline the payment shock is measured against. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"paymentShock":{"$ref":"#/components/schemas/PaymentShock"},"fieldLocks":{"$ref":"#/components/schemas/LoanFieldLocks"},"trusts":{"type":"array","items":{"$ref":"#/components/schemas/LoanTrust"},"description":"Trusts that will hold title, at most two. Depending on your company's setup they are read from and written to the LOS, or kept in Henge only.","nullable":true},"titleHeldInTrust":{"type":"boolean","description":"Will title be held in a trust: true yes, false no, null not answered. Not sent to the LOS.","nullable":true},"finalVesting":{"type":"string","description":"The final vesting statement as it will read on title. Depending on your company's setup it is read from and written to the LOS, or kept in Henge only.","nullable":true},"aus":{"$ref":"#/components/schemas/LoanAusResult"},"rateLock":{"$ref":"#/components/schemas/LoanRateLock"},"temporaryBuydown":{"$ref":"#/components/schemas/LoanTemporaryBuydown"}},"additionalProperties":false,"description":"The loan's terms and figures: amount, type, purpose, property, borrowers, rate, lock, housing expense and qualification."},"FieldType":{"type":"object","properties":{"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A value chosen from a list in the LOS, with its code and display name. Also the base of records that carry an LOS id."},"SubjectPropertyAddress":{"type":"object","properties":{"propertyId":{"type":"string","description":"Identifier (GUID) of the property this address belongs to.","format":"uuid","nullable":true},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"The address of the loan's subject property."},"RefinanceInfo":{"type":"object","properties":{"cashOutAmount":{"type":"number","description":"Cash the borrower takes out, in dollars.","format":"double","nullable":true},"purpose":{"$ref":"#/components/schemas/FieldType"},"purposeOtherDescription":{"type":"string","description":"Free-text refinance purpose when the purpose is Other.","nullable":true}},"additionalProperties":false,"description":"Details that apply to a refinance loan."},"Assignments":{"type":"object","properties":{"loanOfficer":{"$ref":"#/components/schemas/Contact"},"loanAssistant":{"$ref":"#/components/schemas/Contact"},"loanProcessor":{"$ref":"#/components/schemas/Contact"},"referredBy":{"$ref":"#/components/schemas/Contact"}},"additionalProperties":false,"description":"The people working a loan: its loan officer, assistant, processor and the referring contact. Each is null when none is assigned."},"Contact":{"type":"object","properties":{"id":{"type":"string","description":"Id of the contact (GUID).","format":"uuid","nullable":true},"email":{"type":"string","description":"Email address.","nullable":true},"firstName":{"type":"string","description":"First name.","nullable":true},"lastName":{"type":"string","description":"Last name.","nullable":true},"agentName":{"type":"string","description":"Full name of the agent.","nullable":true},"roleName":{"type":"string","description":"Display name of the contact's role.","nullable":true},"agentNMLS":{"type":"string","description":"The agent's NMLS id.","nullable":true},"role":{"$ref":"#/components/schemas/ContactRole"},"phone":{"type":"string","description":"Phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"companyPhone":{"type":"string","description":"The agent's company phone number.","nullable":true},"zip":{"type":"string","description":"ZIP or postal code.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"street":{"type":"string","description":"Street address.","nullable":true},"companyNMLS":{"type":"string","description":"The agent's company NMLS id.","nullable":true}},"additionalProperties":false,"description":"A person on or tied to a loan, such as the referring agent."},"ContactRole":{"enum":["Other","Appraiser","Escrow","CreditReport","Title","MortgageInsurance","ListingAgent","SellingAgent","Builder","Underwriter","Investor","Servicing","BuyerAttorney","SellerAttorney","HomeOwnerInsurance","HazardInsurance","MarketingLead","Seller","Surveyor","LoanOfficer","Bank","Lender","Processor","CallCenterAgent","LoanOpener","Manager","Broker","BrokerRep","ECOA","Realtor","Mortgagee","HomeOwnerAssociation","BuyerAgent","ClosingAgent","FairHousingLending","HomeInspection","FloodProvider","CreditReportAgency2","CreditReportAgency3","Shipper","BrokerProcessor","Trustee","Funder","PostCloser","Insuring","CollateralAgent","DocDrawer","PropertyManagement","TitleUnderwriter","CreditAuditor","DisclosureDesk","JuniorProcessor","JuniorUnderwriter","LegalAuditor","LoanOfficerAssistant","Purchaser","QCCompliance","Secondary","PestInspection","Subservicer","ExternalSecondary","ExternalPostCloser","LoanPurchasePayee","AppraisalManagementCompany","Referral","Notary","TaxServicer","SupervisoryAppraiser","Attorney","PropertyInspector","CPATaxPreparer","LockDesk","MortgageServiceOrganization","Verifications","TaxCollector","TaxTranscripts"],"type":"string","description":"The role a contact plays on a loan. Each value names that role: Other (anything not listed), Appraiser, Escrow, CreditReport (credit agency), Title, MortgageInsurance, ListingAgent, SellingAgent, Builder, Underwriter, Investor, Servicing, BuyerAttorney, SellerAttorney, HomeOwnerInsurance (obsolete; use HazardInsurance), HazardInsurance (homeowner's insurance), MarketingLead, Seller, Surveyor, LoanOfficer, Bank, Lender, Processor, CallCenterAgent, LoanOpener, Manager, Broker, BrokerRep, ECOA, Realtor, Mortgagee, HomeOwnerAssociation, BuyerAgent, ClosingAgent, FairHousingLending, HomeInspection, FloodProvider, CreditReportAgency2, CreditReportAgency3, Shipper, BrokerProcessor (external processor), Trustee, Funder, PostCloser, Insuring, CollateralAgent, DocDrawer, PropertyManagement, TitleUnderwriter, CreditAuditor, DisclosureDesk, JuniorProcessor, JuniorUnderwriter, LegalAuditor, LoanOfficerAssistant, Purchaser, QCCompliance, Secondary, PestInspection, Subservicer, ExternalSecondary, ExternalPostCloser, LoanPurchasePayee, AppraisalManagementCompany, Referral, Notary, TaxServicer, SupervisoryAppraiser, Attorney, PropertyInspector, CPATaxPreparer, LockDesk, MortgageServiceOrganization, Verifications, TaxCollector and TaxTranscripts."},"PosBorrower":{"type":"object","properties":{"hdBorrowerId":{"type":"string","description":"Id of the borrower on this loan (GUID). Other endpoints take it as ownerBorrowerIds.","format":"uuid","nullable":true},"clientId":{"type":"string","description":"Id of the borrower's client record (GUID).","format":"uuid","nullable":true},"externalId":{"type":"string","description":"The borrower's (consumer) id in the LOS.","nullable":true},"externalLabel":{"type":"string","description":"A display label kept by Henge. Not sent to the LOS.","nullable":true},"externalApplicationId":{"type":"string","description":"Id of the LOS application (borrower pair) this person is on, used to match the person to the right pair in the LOS. A co-borrower carries its pair's. Null until the LOS has reported it.","nullable":true},"externalLegacyApplicationId":{"type":"string","description":"Id of the borrower pair's older-style application record in the LOS, kept for LOS writes. Null when it has not been read yet.","nullable":true},"firstName":{"type":"string","description":"Borrower's legal first name, as on their ID; sent to the LOS.","nullable":true},"lastName":{"type":"string","description":"Borrower's legal last name, as on their ID; sent to the LOS.","nullable":true},"middleName":{"type":"string","description":"Borrower's middle name or initial.","nullable":true},"suffixName":{"type":"string","description":"Name suffix, for example Jr, Sr or III.","nullable":true},"contacts":{"$ref":"#/components/schemas/Contacts"},"maritalStatus":{"$ref":"#/components/schemas/FieldType"},"citizenship":{"$ref":"#/components/schemas/FieldType"},"birthDate":{"type":"string","description":"Date of birth (ISO 8601 date).","nullable":true},"language":{"$ref":"#/components/schemas/Language"},"isMilitary":{"type":"boolean","description":"True when the borrower serves or has served in the military.","nullable":true},"currentAddress":{"$ref":"#/components/schemas/Residence"},"mailingAddress":{"$ref":"#/components/schemas/MailingAddress"},"previousAddresses":{"type":"array","items":{"$ref":"#/components/schemas/Residence"},"description":"Earlier residences, listed when the borrower has lived at the current address for a short time.","nullable":true},"ownedProperties":{"type":"array","items":{"$ref":"#/components/schemas/OwnedProperty"},"description":"Real estate the borrower owns.","nullable":true},"declaration":{"$ref":"#/components/schemas/Declaration"},"demographics":{"$ref":"#/components/schemas/Demographics"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/Employment"},"description":"The borrower's employers, current and previous.","nullable":true},"otherIncomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"},"description":"Income that does not come from an employer, such as Social Security or rental income.","nullable":true},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/PosLiability"},"description":"The borrower's debts.","nullable":true},"veteranDetail":{"$ref":"#/components/schemas/VeteranDetail"},"creditScores":{"type":"array","items":{"$ref":"#/components/schemas/PosCreditScore"},"description":"Credit scores on the borrower's file.","nullable":true},"hmdaApplicantCreditScore":{"$ref":"#/components/schemas/HmdaApplicantCreditScore"},"creditAuthorizationDate":{"type":"string","description":"Date the borrower authorized a credit check (ISO 8601 date). Null when they have not.","nullable":true},"isBeta":{"type":"boolean","description":"True when the borrower's account is flagged for beta features of the borrower app.","nullable":true},"fico":{"type":"integer","description":"The borrower's FICO score on file, as a whole number. Null when not set.","format":"int32","nullable":true},"softCreditExternalId":{"type":"string","description":"Id of the soft credit check recorded for the borrower in the LOS. Null when none.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower of the pair."},"borrowerType":{"type":"string","description":"The borrower's role on the loan, as a code, for example Borrower or CoSigner.","nullable":true},"assets":{"type":"array","items":{"$ref":"#/components/schemas/PosAsset"},"description":"The assets the borrower reports.","nullable":true},"numberOfDependents":{"type":"integer","description":"Number of people who depend on the borrower for support.","format":"int32","nullable":true},"dependentAges":{"type":"string","description":"Ages of the borrower's dependents, as entered (free text).","nullable":true},"ssn":{"type":"string","description":"Social Security number, digits only (dashes are removed when you send it). Sensitive: only some callers receive it.","nullable":true},"encryptedSsn":{"type":"string","description":"The Social Security number in encrypted form, for passing between Henge services. Do not rely on its format.","nullable":true},"pairId":{"type":"string","description":"The borrower pair this borrower is on. Set by the server; a co-borrower carries its pair's.","format":"uuid","nullable":true},"pairIndex":{"type":"integer","description":"The pair's position on the loan, 0 to 3; 0 is the primary pair.","format":"int32"},"vestingType":{"$ref":"#/components/schemas/BorrowerVestingType"},"coBorrower":{"allOf":[{"$ref":"#/components/schemas/PosBorrower"}],"description":"The co-borrower this borrower is paired with, in the same shape."}},"additionalProperties":false,"description":"A borrower on the loan: identity, contact details, addresses, employment, income, assets, liabilities, credit and declarations. A co-borrower is nested in coBorrower."},"Contacts":{"type":"object","properties":{"email":{"type":"string","description":"Email address.","nullable":true},"homePhone":{"type":"string","description":"Home phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"workPhone":{"type":"string","description":"Work phone number.","nullable":true}},"additionalProperties":false,"description":"How to reach a borrower."},"Language":{"type":"object","properties":{"code":{"type":"string","description":"Language code.","nullable":true},"otherDescription":{"type":"string","description":"Free-text language name when the code is Other.","nullable":true},"refuseToAnswer":{"type":"boolean","description":"True when the borrower chose not to answer."}},"additionalProperties":false,"description":"The language the borrower prefers."},"Residence":{"type":"object","properties":{"residencyDurationInMonths":{"type":"integer","description":"Months the borrower has lived at this address.","format":"int32","nullable":true},"residencyType":{"type":"string","description":"Whether the borrower owns, rents or lives rent-free at the address, as the LOS names it.","nullable":true},"monthlyRent":{"type":"number","description":"Monthly rent, in dollars.","format":"double","nullable":true},"startDate":{"type":"string","description":"Date the borrower moved in (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower moved out (ISO 8601 date). Empty for the current address.","nullable":true},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A place the borrower lives or has lived, with how long and what they pay."},"MailingAddress":{"type":"object","properties":{"isTheSameAsCurrentAddress":{"type":"boolean","description":"True when the mailing address is the borrower's current residence."},"isTheSameAsSubjectPropertyAddress":{"type":"boolean","description":"True when the mailing address is the subject property."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A borrower's mailing address, which can be flagged as the same as their current or subject property address."},"OwnedProperty":{"type":"object","properties":{"externalLabel":{"type":"string","description":"A display label kept by Henge. Not sent to the LOS.","nullable":true},"dispositionStatus":{"$ref":"#/components/schemas/FieldType"},"occupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancyOtherDescription":{"type":"string","description":"Free-text description when intendedOccupancy is Other.","nullable":true},"marketValue":{"type":"number","description":"Market value of the property, in dollars.","format":"double","nullable":true},"monthlyRentalGross":{"type":"number","description":"Gross monthly rental income from the property, in dollars.","format":"double"},"maintenanceExpense":{"type":"number","description":"Maintenance expense for the property, in dollars.","format":"double","nullable":true},"monthlyRentalNet":{"type":"number","description":"Monthly rental income net of the property's expenses, in dollars.","format":"double","nullable":true},"lienBalance":{"type":"number","description":"Unpaid balance of the liens on the property, in dollars, as entered.","format":"double","nullable":true},"lienMonthlyPayment":{"type":"number","description":"Monthly payment on the liens on the property, in dollars, as entered.","format":"double","nullable":true},"isSubject":{"type":"boolean","description":"True when this is the subject property of the loan."},"isCurrent":{"type":"boolean","description":"True when this is the borrower's current residence."},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/PosLiability"},"description":"The mortgages tied to this property. Null or empty when none.","nullable":true},"liability":{"$ref":"#/components/schemas/PosLiability"},"tieId":{"type":"string","description":"What to send as a liability's securedPropertyId to tie it to this property: the LOS id, or the address before the loan is in the LOS. Recomputed on every read.","nullable":true},"securingLiabilityIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids (GUIDs) of the stored liabilities tied to this property. Recomputed on every read; a save does not set it.","nullable":true},"derivedLienBalance":{"type":"number","description":"Sum of the tied liabilities' balances, in dollars; null when no liability is tied. lienBalance stays what was entered.","format":"double","nullable":true},"derivedLienMonthlyPayment":{"type":"number","description":"Sum of the tied liabilities' monthly payments, in dollars; null when no liability is tied or none has a payment.","format":"double","nullable":true},"hasLienDifference":{"type":"boolean","description":"True when an entered lien figure disagrees with the tied liabilities. It is reported, never corrected."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A property the borrower owns (real estate owned): where it is, how it is used, its value and rent, and the mortgages tied to it."},"PosLiability":{"type":"object","properties":{"amount":{"type":"number","description":"Unpaid balance, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Monthly payment, in dollars.","format":"double","nullable":true},"remainingMonths":{"type":"integer","description":"Months left on the debt. Null when the file does not say.","format":"int32","nullable":true},"isPaidOffAtClosing":{"type":"boolean","description":"True when the debt will be paid off at closing. Null leaves the LOS's value alone.","nullable":true},"isExcludedFromRatios":{"type":"boolean","description":"True when the payment is left out of the debt-to-income ratios. Null leaves the LOS's value alone.","nullable":true},"accountNumber":{"type":"string","description":"Account number of the debt, as reported.","nullable":true},"isExpense":{"type":"boolean","description":"True when the row is an expense rather than a debt, for example in an export."},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"borrowerExternalId":{"$ref":"#/components/schemas/BorrowerExternalId"},"borrowerExternalIds":{"type":"array","items":{"$ref":"#/components/schemas/BorrowerExternalId"},"description":"Every borrower who owns the debt. When empty, the borrower in borrowerExternalId owns it.","nullable":true},"cosmosDbLiabilityId":{"type":"string","description":"Id (GUID) of the matching liability on the loan, which links this entry to the liabilities endpoints.","format":"uuid"},"creditorName":{"type":"string","description":"Name of the creditor or lender.","nullable":true},"description":{"type":"string","description":"Free-text description of the debt.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A debt listed on the loan application."},"BorrowerExternalId":{"type":"object","properties":{"externalId":{"type":"string","description":"The borrower's id in the LOS.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower."}},"additionalProperties":false,"description":"Identifies a borrower (consumer) in the LOS."},"Declaration":{"type":"object","properties":{"hasIntentToOccupy":{"type":"boolean","description":"Borrower intends to occupy the subject property as their primary residence."},"isHomeownerPastThreeYears":{"type":"boolean","description":"Borrower has owned a home in the past three years."},"priorPropertyUsage":{"$ref":"#/components/schemas/FieldType"},"priorPropertyTitle":{"$ref":"#/components/schemas/FieldType"},"isBuyerSellerSpecialRelationship":{"type":"boolean","description":"Borrower has a family or business relationship with the seller of the subject property."},"hasUndisclosedBorrowedFunds":{"type":"boolean","description":"Borrower is borrowing money for this transaction (for example the down payment) that is not disclosed elsewhere in the application."},"undisclosedBorrowedFundsAmount":{"type":"number","description":"Amount of that borrowed money, in dollars.","format":"double","nullable":true},"hasUndisclosedCreditApplication":{"type":"boolean","description":"Borrower has applied, or will apply before closing, for other credit that is not disclosed."},"hasUndisclosedMortgageApplication":{"type":"boolean","description":"Borrower has applied for another mortgage on a property that is not disclosed."},"hasCleanEnergyLien":{"type":"boolean","description":"The subject property is subject to a lien that takes priority, such as a clean energy lien."},"isUndisclosedComakerOfNote":{"type":"boolean","description":"Borrower is a co-maker or endorser on a note whose debt is not disclosed."},"hasOutstandingJudgements":{"type":"boolean","description":"Borrower has outstanding judgments against them."},"isDelinquent":{"type":"boolean","description":"Borrower is delinquent or in default on a federal debt or loan."},"isPartyToLawsuit":{"type":"boolean","description":"Borrower is a party to a lawsuit."},"hasDeedInLieu":{"type":"boolean","description":"Borrower has transferred title to a property in lieu of foreclosure in the past seven years."},"hasShortSale":{"type":"boolean","description":"Borrower has completed a pre-foreclosure sale or short sale in the past seven years."},"hasForeclosure":{"type":"boolean","description":"Borrower has had a property foreclosed upon in the past seven years."},"hasBankruptcy":{"type":"boolean","description":"Borrower has declared bankruptcy in the past seven years."},"bankruptcyTypes":{"type":"array","items":{"type":"string"},"description":"The type (chapter) of each bankruptcy declared, when hasBankruptcy is true.","nullable":true},"hasHousingCounselingConsent":{"type":"boolean","description":"Housing counseling consent recorded for the borrower."}},"additionalProperties":false,"description":"A borrower's answers to the declarations on the loan application (Section 5 of the URLA)."},"Demographics":{"type":"object","properties":{"ethnicity":{"$ref":"#/components/schemas/Ethnicity"},"gender":{"$ref":"#/components/schemas/FieldType"},"races":{"type":"array","items":{"$ref":"#/components/schemas/Race"},"description":"The races the borrower reported.","nullable":true},"hasRefusedToDiscloseRace":{"type":"boolean","description":"True when the borrower chose not to provide their race."},"hasRefusedToDiscloseGender":{"type":"boolean","description":"True when the borrower chose not to provide their gender."},"hasRefusedToDiscloseEthnicity":{"type":"boolean","description":"True when the borrower chose not to provide their ethnicity."},"applicationTaken":{"$ref":"#/components/schemas/FieldType"},"isRaceBasedOnVisualOrSurname":{"type":"boolean","description":"True when the race was recorded from visual observation or surname rather than provided by the borrower."},"isGenderBasedOnVisualOrSurname":{"type":"boolean","description":"True when the gender was recorded from visual observation or surname rather than provided by the borrower."},"isEthnicityBasedOnVisualOrSurname":{"type":"boolean","description":"True when the ethnicity was recorded from visual observation or surname rather than provided by the borrower."}},"additionalProperties":false,"description":"The government monitoring (HMDA) information a borrower provided or declined to provide: ethnicity, race and gender."},"Ethnicity":{"type":"object","properties":{"origins":{"type":"array","items":{"$ref":"#/components/schemas/EthnicityOrigin"},"description":"The origins the borrower selected, for example Mexican or Puerto Rican.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"The borrower's ethnicity (HMDA), with the origins they selected."},"EthnicityOrigin":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text origin the borrower gave when the origin is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One ethnicity origin the borrower selected."},"Race":{"type":"object","properties":{"raceDesignations":{"type":"array","items":{"$ref":"#/components/schemas/RaceDesignation"},"description":"The designations the borrower selected within this race, for example Asian Indian or Chinese.","nullable":true},"additionalDescription":{"type":"string","description":"Free-text detail the borrower gave about this race.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A race the borrower reported (HMDA), with the designations they selected."},"RaceDesignation":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text designation the borrower gave when the designation is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One race designation the borrower selected."},"Employment":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the employment record in the LOS.","nullable":true},"isCurrent":{"type":"boolean","description":"True for a current job, false for a previous one."},"isSelfEmployed":{"type":"boolean","description":"True when the borrower is self-employed in this job."},"ownershipShare":{"$ref":"#/components/schemas/FieldType"},"isPrimary":{"type":"boolean","description":"True for the borrower's primary employment. Null when not stated.","nullable":true},"name":{"type":"string","description":"Name of the employer.","nullable":true},"position":{"type":"string","description":"The borrower's job title.","nullable":true},"address":{"$ref":"#/components/schemas/PosAddress"},"startDate":{"type":"string","description":"Date the borrower started this job (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower left this job (ISO 8601 date). Empty for a current job.","nullable":true},"professionStartDate":{"type":"string","description":"Date the borrower started working in this line of work (ISO 8601 date).","nullable":true},"lineOfWorkInMonths":{"type":"integer","description":"Months the borrower has worked in this line of work.","format":"int32","nullable":true},"businessPhone":{"type":"string","description":"The employer's phone number.","nullable":true},"email":{"type":"string","description":"Work email address for this employment.","nullable":true},"monthlyIncomeAmount":{"type":"number","description":"Total monthly income from this employment, in dollars.","format":"double","nullable":true},"incomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"},"description":"The income components from this employment, such as base pay, overtime or bonus.","nullable":true}},"additionalProperties":false,"description":"One job the borrower holds or has held, with the income it pays."},"PosAddress":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A postal address."},"Income":{"type":"object","properties":{"amount":{"type":"number","description":"Income amount, in dollars per month.","format":"double"},"otherDescription":{"type":"string","description":"Free-text description when the income type is Other.","nullable":true},"isAssociatedWithEmployment":{"type":"boolean","description":"True when the income belongs to an employment, such as overtime or bonus, rather than standing alone."},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One income amount, either tied to an employment or standing alone."},"VeteranDetail":{"type":"object","properties":{"isVeteran":{"type":"boolean","description":"True when the borrower is a veteran."},"activeDuty":{"type":"boolean","description":"True when the borrower is currently on active duty."},"activeDutyExpirationDate":{"type":"string","description":"Date the borrower's current active duty ends (ISO 8601 date).","nullable":true},"retiredDischargedOrSeparated":{"type":"boolean","description":"True when the borrower has retired, been discharged or separated from service."},"reserveNationalGuardNeverActivated":{"type":"boolean","description":"True when the borrower is in the Reserves or National Guard and has never been activated."},"isSurvivingSpouseOfVeteran":{"type":"boolean","description":"True when the borrower is the surviving spouse of a veteran."},"serviceType":{"$ref":"#/components/schemas/FieldType"}},"additionalProperties":false,"description":"A borrower's military service details, relevant to VA loans."},"PosCreditScore":{"type":"object","properties":{"source":{"type":"string","description":"Where the score came from, such as the credit agency that reported it.","nullable":true},"score":{"type":"string","description":"The score value, as text.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"Why there is no usable score, when there is none: NotApplicable, NoScore, ThinFile or Other.","nullable":true},"isBrokerEntered":{"type":"boolean","description":"True when a broker typed the score in rather than it being read from a credit agency. A broker-entered score is never sent to the LOS as an agency score."}},"additionalProperties":false,"description":"One credit score on a borrower's file."},"HmdaApplicantCreditScore":{"type":"object","properties":{"reliedOnCreditScore":{"type":"integer","description":"The credit score relied on in the credit decision for this applicant; null when none.","format":"int32","nullable":true},"reliedOnCreditScoreMode":{"type":"string","description":"Whether the relied-on score is the applicant's individual score or a single score for the loan.","nullable":true},"reliedOnCreditScoreModelType":{"type":"string","description":"The credit scoring model of the relied-on score, as a code.","nullable":true}},"additionalProperties":false,"description":"The credit score relied on for an applicant, as reported for HMDA."},"PosAsset":{"type":"object","properties":{"institutionName":{"type":"string","description":"Name of the bank or institution that holds the asset.","nullable":true},"accountNumber":{"type":"string","description":"Account number, as entered.","nullable":true},"amount":{"type":"number","description":"Current balance or value, in dollars.","format":"double"},"accountName":{"type":"string","description":"Name of the account.","nullable":true},"accountHolderName":{"type":"string","description":"Name of the account holder.","nullable":true},"source":{"type":"string","description":"How the asset got on the loan, for example entered manually, linked through the bank connection or synced from the LOS.","nullable":true},"giftSource":{"type":"string","description":"Who the gift came from, for a gift asset.","nullable":true},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account this asset belongs to.","format":"uuid"},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"ownerBorrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The hdBorrowerIds of the asset's owners. Empty means the primary borrower. A new asset is added in the LOS under the first owner named; the full list stays in Henge.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"An asset the borrower reports: an account balance, a gift or another asset."},"BorrowerVestingType":{"enum":["Individual","Trustee","Settlor","SettlorTrustee","TitleOnly","NonTitleSpouse","Other"],"type":"string","description":"How a person on the loan takes title: Individual (as themselves), Trustee, Settlor, SettlorTrustee (settlor and trustee of the same trust), TitleOnly (on title but not a borrower), NonTitleSpouse (a spouse who is not on title) or Other."},"ProposedHousingExpense":{"type":"object","properties":{"firstMortgagePrincipalAndInterest":{"type":"number","description":"Principal and interest on this mortgage, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"otherMortgageLoanPrincipalAndInterest":{"type":"number","description":"Principal and interest on subordinate financing, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"hazardInsurance":{"type":"number","description":"Monthly hazard insurance, in dollars. Calculated by the LOS from hazardInsuranceBasis.","format":"double","nullable":true},"propertyTax":{"type":"number","description":"Monthly property taxes, in dollars. Calculated by the LOS from propertyTaxBasis.","format":"double","nullable":true},"mortgageInsurance":{"type":"number","description":"Monthly mortgage insurance, in dollars. Can be overridden; lock it in fieldLocks or the LOS recalculates it.","format":"double","nullable":true},"hoa":{"type":"number","description":"Monthly homeowners association dues, in dollars.","format":"double","nullable":true},"other":{"type":"number","description":"Other monthly taxes and expenses, in dollars. Can be overridden; lock it in fieldLocks or the LOS recalculates it.","format":"double","nullable":true},"total":{"type":"number","description":"The total proposed monthly housing payment (principal, interest, taxes and insurance), in dollars. Calculated by the LOS; a write is ignored. It is not simply the sum of the components above, so read it rather than adding them up.","format":"double","nullable":true},"hazardInsuranceBasis":{"$ref":"#/components/schemas/EscrowExpenseBasis"},"propertyTaxBasis":{"$ref":"#/components/schemas/EscrowExpenseBasis"}},"additionalProperties":false,"description":"The proposed monthly housing payment, component by component. Every component is nullable: a real zero is returned as 0, so an absent value stays distinguishable from a zero one."},"EscrowExpenseBasis":{"type":"object","properties":{"baseTypeCode":{"type":"string","description":"The LOS code for the base amount the percentage applies to. baseTypeName gives its name.","nullable":true},"baseTypeName":{"type":"string","description":"The name of the base amount (for example \"Total Loan Amount\"), or null for a code with no known name. Read only.","nullable":true},"baseAmount":{"type":"number","description":"The base amount in dollars, as the LOS calculated it. Read only: a value sent is ignored.","format":"double","nullable":true},"ratePercent":{"type":"number","description":"Annual percentage applied to `baseAmount`.","format":"double","nullable":true},"monthlyAddend":{"type":"number","description":"Flat monthly amount added on top of the percentage result.","format":"double","nullable":true},"reserveMonths":{"type":"integer","description":"Months of this expense collected as reserves at closing (hazard insurance and property tax only).\r\nThe loan system derives a default and takes an override only with its lock flag, which the housing write sends with it.\r\nRead from the loan; the loan form save never writes it.","format":"int32","nullable":true},"prepaidMonths":{"type":"integer","description":"Months of this expense prepaid at closing (hazard insurance only).","format":"int32","nullable":true}},"additionalProperties":false,"description":"How the LOS works out one escrowed housing expense: a percentage of a chosen base amount plus a flat monthly amount, for example hazard insurance as Total Loan Amount x 0.500% + $0.00."},"CustomField":{"type":"object","properties":{"id":{"type":"string","description":"Id of the custom field.","nullable":true},"code":{"type":"string","description":"Short code of the custom field.","nullable":true},"externalId":{"type":"string","description":"Id of the field in the LOS.","nullable":true},"name":{"type":"string","description":"Display name of the custom field.","nullable":true},"value":{"type":"string","description":"The value stored in the field, as text.","nullable":true}},"additionalProperties":false,"description":"A custom field configured on the loan, with its value."},"DownPaymentSource":{"type":"object","properties":{"amount":{"type":"number","description":"Amount from this source, in dollars.","format":"double"},"source":{"type":"string","description":"The kind of source, for example savings, gift or sale of a property.","nullable":true},"explanation":{"type":"string","description":"Free-text explanation of the source, when one is needed.","nullable":true}},"additionalProperties":false},"LtvRatios":{"type":"object","properties":{"baseLTVRatio":{"type":"number","description":"Loan-to-value ratio on the base loan amount, as a percent.","format":"double","nullable":true},"grossLTVRatio":{"type":"number","description":"Loan-to-value ratio on the loan amount including financed upfront fees, as a percent.","format":"double","nullable":true},"baseCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio across all liens on the base loan amount, as a percent.","format":"double","nullable":true},"grossCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio across all liens including financed upfront fees, as a percent.","format":"double","nullable":true},"baseHomeEquityCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio counting the full credit limit of any home equity line, on the base loan amount, as a percent.","format":"double","nullable":true},"grossHomeEquityCombinedLTVRatio":{"type":"number","description":"Combined loan-to-value ratio counting the full credit limit of any home equity line, including financed upfront fees, as a percent.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's loan-to-value ratios, as percents."},"Qualification":{"type":"object","properties":{"housingExpenseRatio":{"type":"number","description":"Front-end ratio (housing expense to income), as a percent.","format":"double","nullable":true},"totalDebtExpenseRatio":{"type":"number","description":"Back-end ratio (total debt to income), as a percent.","format":"double","nullable":true},"totalMonthlyIncomeAmount":{"type":"number","description":"Total qualifying monthly income, in dollars.","format":"double","nullable":true},"qualifyingRatePercent":{"type":"number","description":"The rate the borrower is qualified at, as a percent. It is the note rate unless overridden; lock it in fieldLocks or the LOS recomputes it.","format":"double","nullable":true},"qualifyingTermInMonths":{"type":"integer","description":"The term in months the qualifying payment is amortized over.","format":"int32","nullable":true},"qualifyingTermCalculationTypeCode":{"type":"string","description":"Raw code for how the qualifying term is chosen, for example Standard Term.","nullable":true},"qualifyingTermCalculationTypeName":{"type":"string","description":"qualifyingTermCalculationTypeCode decoded, for example Standard Term. Null for a code not recognized. Read only.","nullable":true},"isQualifyingRateInterestOnly":{"type":"boolean","description":"True when the qualifying payment is interest-only.","nullable":true},"qualifyingPrincipalAndInterest":{"type":"number","description":"Qualifying principal and interest, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"qualifyingTotalPayment":{"type":"number","description":"Qualifying total monthly payment (principal, interest, taxes and insurance), in dollars. Calculated by the LOS; a write is ignored.","format":"double","nullable":true}},"additionalProperties":false,"description":"The ratios and payment figures the borrower is qualified on. The qualifying payment can differ from the proposed one when a qualifying rate or term overrides the note rate or term."},"SubjectPropertyRentalIncome":{"type":"object","properties":{"estimatedMonthlyMarketRent":{"type":"number","description":"Estimated market rent of the subject property per month, in dollars.","format":"double","nullable":true}},"additionalProperties":false,"description":"Rental income of the subject property."},"LoanLevelCredit":{"type":"object","properties":{"loanLevelCreditScoreValue":{"type":"string","description":"The credit score relied on for the loan, as reported for HMDA, as text.","nullable":true},"loanLevelCreditScoreSelectionMethodType":{"type":"string","description":"Whether the relied-on score is each applicant's individual score or a single score for the loan.","nullable":true},"creditScoreModelNameType":{"type":"string","description":"The credit scoring model of the relied-on score, as a code.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"The credit score impairment type recorded on the loan, as text.","nullable":true},"creditScoreCategoryType":{"type":"string","description":"The credit score category recorded on the loan, as text.","nullable":true},"creditScoreType1":{"type":"string","description":"Loan-level credit score of type 1 as held on the loan, as text; empty when none.","nullable":true},"creditScoreType2":{"type":"string","description":"Loan-level credit score of type 2 as held on the loan, as text; empty when none.","nullable":true},"creditScoreType2Soft":{"type":"string","description":"Loan-level credit score of type 2 from a soft pull, as text; empty when none.","nullable":true},"creditScore2Avg":{"type":"string","description":"Average of the type 2 scores, as text; empty when none.","nullable":true},"creditScoreType3":{"type":"string","description":"Loan-level credit score of type 3 as held on the loan, as text; empty when none.","nullable":true},"hmdaMultipleCreditScoresUsedIndicator":{"type":"boolean","description":"True when more than one credit score was used in the credit decision, as reported for HMDA.","nullable":true},"reliedOnCreditScoreSource":{"type":"string","description":"The source the relied-on credit score is calculated from: \"Type 2\" when it is that source, otherwise the value\r\nas the loan system holds it. The relied-on score is calculated from it unless it is Other.","nullable":true},"reliedOnCreditScoreModelName":{"type":"string","description":"The relied-on score's model name text (`sReliedOnCreditScoreModelName`).","nullable":true},"reliedOnCreditScoreSingleBorrower":{"type":"string","description":"Whose score is the single relied-on score (`sReliedOnCreditScoreSingleHmdaReportAsT`): Borrower or Coborrower.","nullable":true}},"additionalProperties":false,"description":"The credit score the loan relies on and how it was chosen, as held on the loan."},"LoanCredit":{"type":"object","properties":{"source":{"type":"string","description":"Report when the facts come from a credit report, Manual when they were entered by hand; null when the loan carries no credit at all.","nullable":true},"hasCreditReport":{"type":"boolean","description":"True when a credit report is on the loan, whether ordered through Henge or imported through the Loan Origination System."},"representativeScore":{"type":"integer","description":"The score pricing uses: the lowest representative score across the borrowers, by the usual rule\r\n(middle of three bureau scores, lower of two, the one when there is one). From the report when there\r\nis one, else from the broker's entry.","format":"int32","nullable":true},"pricingScore":{"type":"integer","description":"The score pricing uses (the lowest borrower's) when the scores are a manual entry; null otherwise.","format":"int32","nullable":true},"qualifyingScore":{"type":"integer","description":"The score qualification and the pre-approval check use: the average of the borrowers' middle scores, rounded half up. It differs from representativeScore (the lowest borrower's, used for pricing) on a loan with more than one borrower. Null when there are no scores.","format":"int32","nullable":true},"reports":{"type":"array","items":{"$ref":"#/components/schemas/LoanCreditReport"},"description":"Every credit report order on the loan, newest first, failed and cancelled ones included with their status. May be absent.","nullable":true},"mortgageLates":{"$ref":"#/components/schemas/MortgageLates"},"publicRecords":{"$ref":"#/components/schemas/CreditPublicRecords"},"manual":{"$ref":"#/components/schemas/ManualCreditEntry"},"reissue":{"$ref":"#/components/schemas/LoanCreditReissue"}},"additionalProperties":false,"description":"The loan's credit facts and where they come from: a credit report, or what a broker entered by hand to price and qualify before a report is on the loan. Rebuilt on every read. Once the loan has a report it always wins, and the broker's entry is kept with isCurrent false; broker-entered scores are never treated as bureau scores."},"LoanCreditReport":{"type":"object","properties":{"orderId":{"type":"string","description":"Id (GUID) of the credit report order.","format":"uuid"},"reportNumber":{"type":"string","description":"The agency's report number; null on a failed pull that was never issued one.","nullable":true},"status":{"type":"string","description":"The order's status by name, including Failed and Cancelled.","nullable":true},"isCurrent":{"type":"boolean","description":"True for the one order the rest of the platform reads scores from."},"source":{"type":"string","description":"How the order got onto the loan: Placed (ordered through Henge), Imported or Tracked.","nullable":true},"pullType":{"type":"string","description":"`Soft` or `Hard`; null when not known.","nullable":true},"agency":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"orderedAtUtc":{"type":"string","description":"When the report was ordered, in UTC (ISO 8601).","format":"date-time","nullable":true},"failureReason":{"type":"string","description":"The vendor's reason, on a failed order.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/OrdersCreditReportBorrower"},"description":"The borrowers the report covers, with the bureau scores returned for each.","nullable":true},"averageScore":{"type":"integer","description":"Average of the borrowers' middle scores: what qualification uses.","format":"int32","nullable":true},"pricingScore":{"type":"integer","description":"The lowest borrower's middle score: what pricing uses.","format":"int32","nullable":true},"referenceNumbers":{"type":"array","items":{"type":"string"},"description":"The agency's reference (file) numbers of the report; more than one when separate reports were reissued for separate borrowers.","nullable":true},"vaultDocumentId":{"type":"string","description":"Id of the loan document that holds the report; null when none was filed.","format":"uuid","nullable":true},"liabilityImport":{"$ref":"#/components/schemas/OrdersCreditReportLiabilityImport"}},"additionalProperties":false,"description":"One credit report order as the loan shows it: which pull, how it stands and what it returned. It never holds a login."},"OrdersCreditReportBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"The borrower's identifier on the loan, when the pull was matched to one.","format":"uuid","nullable":true},"name":{"type":"string","description":"The borrower's name as on the report.","nullable":true},"experian":{"type":"integer","description":"Null when the bureau returned no score for this borrower.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"score":{"type":"integer","description":"The borrower's single score derived from the bureau scores; null with no scores.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One borrower covered by a credit report, with the bureau scores it returned."},"OrdersCreditReportLiabilityImport":{"type":"object","properties":{"outcome":{"type":"string","description":"What the liability import did, as a short status word.","nullable":true},"imported":{"type":"integer","description":"Number of liabilities imported; null when none were attempted.","format":"int32","nullable":true},"message":{"type":"string","description":"An explanation of the outcome, such as a warning or the reason the import failed.","nullable":true}},"additionalProperties":false,"description":"What importing the report's liabilities into the loan did."},"MortgageLates":{"type":"object","properties":{"x30":{"type":"integer","description":"Mortgage payments 30 days late.","format":"int32","nullable":true},"x60":{"type":"integer","description":"Mortgage payments 60 days late.","format":"int32","nullable":true},"x90":{"type":"integer","description":"Mortgage payments 90 days late.","format":"int32","nullable":true},"x120":{"type":"integer","description":"Mortgage payments 120 days late.","format":"int32","nullable":true},"x150":{"type":"integer","description":"Mortgage payments 150 days late.","format":"int32","nullable":true},"rollingX30":{"type":"integer","description":"Mortgage payments 30 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX60":{"type":"integer","description":"Mortgage payments 60 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX90":{"type":"integer","description":"Mortgage payments 90 days late, counting rolling lates.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Counts of mortgage payments made late in the last 12 months. The x30 to x150 counts treat rolling lates as not allowed; the rollingX counts treat them as allowed. Null means not stated, 0 means none."},"CreditPublicRecords":{"type":"object","properties":{"foreclosure":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter7":{"$ref":"#/components/schemas/CreditPublicRecord"},"chapter13":{"$ref":"#/components/schemas/CreditPublicRecord"}},"additionalProperties":false,"description":"Foreclosure/NOD, Chapter 7 and Chapter 13 history."},"CreditPublicRecord":{"type":"object","properties":{"has":{"type":"boolean","description":"True when the borrower has this kind of public record."},"fileMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"fileYear":{"type":"integer","description":"Year the record was filed, four digits; null when not known.","format":"int32","nullable":true},"status":{"type":"string","description":"NotSatisfied, Discharged or Dismissed. Required when has is true.","nullable":true},"satisfiedMonth":{"type":"integer","description":"1 to 12.","format":"int32","nullable":true},"satisfiedYear":{"type":"integer","description":"Year the record was satisfied, four digits; null when it has not been or is not known.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One public record: whether the borrower has one, when it was filed, its status and when it was satisfied."},"ManualCreditEntry":{"type":"object","properties":{"isCurrent":{"type":"boolean","description":"False once a credit report supersedes the entry, or one was on the loan before it was saved without being corrected by it: the entry is kept, but the report's values are current."},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/ManualCreditBorrowerScores"},"description":"Bureau scores per borrower: the borrower first, then the co-borrower when one was entered.","nullable":true},"mortgageLates":{"$ref":"#/components/schemas/MortgageLates"},"publicRecords":{"$ref":"#/components/schemas/CreditPublicRecords"},"enteredAtUtc":{"type":"string","description":"When the broker saved the entry, in UTC (ISO 8601).","format":"date-time"},"enteredBy":{"type":"string","description":"Id of the user who saved the entry.","format":"uuid","nullable":true},"enteredByName":{"type":"string","description":"Name of the user who saved the entry.","nullable":true},"supersededAtUtc":{"type":"string","description":"When a report replaced the entry, and the report's number.","format":"date-time","nullable":true},"supersededByReportId":{"type":"string","description":"The number of the credit report that replaced the entry; null while the entry is current.","nullable":true}},"additionalProperties":false,"description":"What a broker entered by hand, and whether it is still what the loan goes by."},"ManualCreditBorrowerScores":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id of the borrower on the loan the scores belong to, when the loan had one.","format":"uuid","nullable":true},"isCoBorrower":{"type":"boolean","description":"True for the co-borrower's scores, false for the borrower's."},"experian":{"type":"integer","description":"The Experian score the broker entered; null when none was entered.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score the broker entered; null when none was entered.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score the broker entered; null when none was entered.","format":"int32","nullable":true},"representativeScore":{"type":"integer","description":"Middle of three, lower of two, the one when there is one; null when none were entered.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Broker-entered bureau scores for one borrower. Stored and reported as broker-entered, never as a bureau score."},"LoanCreditReissue":{"type":"object","properties":{"agencyId":{"type":"string","description":"Id (GUID) of the credit reporting agency the report was reissued from.","format":"uuid"},"agencyName":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"agencyDuCode":{"type":"string","description":"The agency's DU credit provider code.","nullable":true},"reportType":{"type":"string","description":"\"HardPull\" or \"SoftPull\".","nullable":true},"reissuedTimestamp":{"type":"string","description":"When the report was reissued, in UTC (ISO 8601).","format":"date-time"},"reissuedBy":{"type":"string","description":"Id of the user who reissued the report; null when unknown.","format":"uuid","nullable":true},"reissuedByName":{"type":"string","description":"Name of the user who reissued the report.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/LoanCreditReissueBorrower"},"description":"The borrowers the reissue landed for, each with the agency's reference number.","nullable":true}},"additionalProperties":false,"description":"The read-only view of the loan's latest credit report reissue: the agency, when and by whom, and the reference numbers. The agency login name, account id and password are never returned."},"LoanCreditReissueBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id (GUID) of the borrower on the loan.","format":"uuid"},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the report for this borrower.","nullable":true}},"additionalProperties":false,"description":"One borrower of a reissue: the borrower on the loan and the agency's reference number for them."},"PaymentShock":{"type":"object","properties":{"amount":{"type":"number","description":"Dollar increase over the present housing payment.","format":"double","nullable":true},"percent":{"type":"number","description":"Increase as a percentage of the present housing payment.","format":"double","nullable":true}},"additionalProperties":false,"description":"The jump from the borrower's present housing payment to the proposed one. Calculated by the LOS; read only."},"LoanFieldLocks":{"type":"object","properties":{"loanAmount":{"type":"boolean","description":"True when the loan amount is locked, so a change to the purchase price or down payment does not recalculate it.","nullable":true},"qualifyingRate":{"type":"boolean","description":"True when the qualifying rate is locked against its formula.","nullable":true},"mortgageInsurance":{"type":"boolean","description":"True when the monthly mortgage insurance is locked against the insurance schedule.","nullable":true},"otherHousingExpense":{"type":"boolean","description":"True when the other housing expense is locked.","nullable":true},"estimatedClosingDate":{"type":"boolean","description":"True when the estimated closing date is locked, so a status change does not recalculate it.","nullable":true},"higherPricedMortgageType":{"type":"boolean","description":"True when the higher-priced mortgage result is locked against the APR test.","nullable":true}},"additionalProperties":false,"description":"Which figures are locked in the LOS. A locked figure keeps the value it was given; an unlocked one is recalculated by the LOS from its inputs."},"LoanTrust":{"type":"object","properties":{"id":{"type":"string","description":"Stable id for the trust on this loan. Assigned on save when omitted.","format":"uuid","nullable":true},"name":{"type":"string","description":"The trust's exact name, including any amendment and restatement dates, as it will appear on title.","nullable":true},"classification":{"$ref":"#/components/schemas/LoanTrustClassification"},"establishedDate":{"type":"string","description":"The date the trust was established.","format":"date","nullable":true},"amendedDate":{"type":"string","description":"The date of the latest amendment or restatement, if any.","format":"date","nullable":true},"stateCode":{"type":"string","description":"Two-letter code of the state whose law governs the trust.","nullable":true},"parties":{"type":"array","items":{"$ref":"#/components/schemas/LoanTrustParty"},"description":"Trustees, settlors and beneficiaries.","nullable":true}},"additionalProperties":false,"description":"A trust that will hold title to the subject property. A trust is vesting, not a borrower: its settlors are ordinary borrowers, and the trust sits at loan level so it can name people from more than one borrower pair."},"LoanTrustClassification":{"enum":["InterVivosRevocable","Irrevocable","Land","Other"],"type":"string","description":"The legal classification of a trust: InterVivosRevocable (a living trust that can be changed or revoked), Irrevocable (cannot be revoked), Land (a land trust) or Other."},"LoanTrustParty":{"type":"object","properties":{"role":{"$ref":"#/components/schemas/LoanTrustPartyRole"},"borrowerId":{"type":"string","description":"The hdBorrowerId of the borrower this party is, on any pair. Must be a borrower on the loan.","format":"uuid","nullable":true},"name":{"type":"string","description":"The party's name when it is not a borrower on the loan.","nullable":true},"isInstitution":{"type":"boolean","description":"True when the party is an institution (a bank or trust company acting as trustee)."}},"additionalProperties":false,"description":"One party to a `LoanTrust`. A party who is a borrower on any pair is named by\r\n`borrowerId` (the borrower's `hdBorrowerId`); anyone else, a non-borrowing person or an\r\ninstitutional trustee, by `name`."},"LoanTrustPartyRole":{"enum":["Trustee","CoTrustee","SuccessorTrustee","Settlor","SettlorTrustee","Beneficiary"],"type":"string","description":"A party's role in a trust: Trustee, CoTrustee, SuccessorTrustee (takes over from a trustee), Settlor (created the trust), SettlorTrustee (both settlor and trustee) or Beneficiary."},"LoanAusResult":{"type":"object","properties":{"duCasefileId":{"type":"string","description":"The DU casefile id of the loan's latest DU run. A resubmission reuses it.","nullable":true},"lpaKey":{"type":"string","description":"The Freddie Mac LPA key written onto the loan by an LPA import; null when none.","nullable":true},"recommendation":{"type":"string","description":"The underwriting recommendation as text, for example Approve/Eligible.","nullable":true},"resultCode":{"type":"integer","description":"Numeric code of the result: 0 not submitted, 1 to 9 the DU results, 10 to 13 and 15 to 19 the LPA results, 14 out of scope. Null when nothing was sent.","format":"int32","nullable":true},"result":{"type":"string","description":"The name of resultCode; null when there is no code.","nullable":true}},"additionalProperties":false,"description":"The latest automated underwriting result held on the loan. It is read from the Loan Origination System on every loan read and is never written back; the run history is the aus/runs list."},"LoanRateLock":{"type":"object","properties":{"status":{"type":"string","description":"Lock status: Not Locked, Locked, Lock Requested, Lock Suspended or Lock Cancelled. Calculated by the LOS; never written.","nullable":true},"isLocked":{"type":"boolean","description":"True when status is Locked, false for any other status, null when there is no status.","nullable":true},"lockDate":{"type":"string","description":"Date the rate was locked, ISO 8601.","format":"date","nullable":true},"lockTime":{"type":"string","description":"Time of day of the lock, as the LOS formats it.","nullable":true},"periodDays":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Date the lock expires, ISO 8601. The LOS calculates it from the lock date and period.","format":"date","nullable":true},"noteRate":{"type":"number","description":"Locked note rate, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"The locked price, as a percentage of par (100 = par). Read only.","format":"double","nullable":true},"lockIdentifier":{"type":"string","description":"The lock's own identifier, when the source has one, for example an imported file. Usually null.","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/RateLockHistoryEntry"},"description":"Every lock, extension, relock and break the LOS recorded, newest first. Empty when the loan was never locked.","nullable":true},"ladder":{"$ref":"#/components/schemas/LoanRateLockLadder"},"priceGrid":{"$ref":"#/components/schemas/LoanRateLockPriceGrid"},"investorLock":{"$ref":"#/components/schemas/LoanInvestorLock"},"lockOutcome":{"type":"string","description":"What a write that asked to lock did, when the written values do not say it, for example values written but the lock not set, with the reason. Set only on a write response.","nullable":true}},"additionalProperties":false,"description":"The loan's rate lock with the broker as the LOS holds it, plus the lock history. It is read with the loan; only staff can change the lock date, period and note rate, through the rate lock endpoints. Everything else is calculated."},"RateLockHistoryEntry":{"type":"object","properties":{"kind":{"type":"string","description":"What happened, as the LOS names it: a lock, an extension, a relock or a break.","nullable":true},"occurredAt":{"type":"string","description":"When it happened, ISO 8601.","format":"date-time","nullable":true},"rate":{"type":"number","description":"Note rate at the time, in percent.","format":"double","nullable":true},"price":{"type":"number","description":"Price at the time, where 100 is par.","format":"double","nullable":true},"periodDays":{"type":"integer","description":"Lock period after the entry, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Lock expiration date after the entry, ISO 8601.","format":"date","nullable":true},"extensionDays":{"type":"integer","description":"Days an extension added, when the entry is an extension and they were recorded.","format":"int32","nullable":true},"user":{"type":"string","description":"Who made the change, as the LOS recorded it.","nullable":true},"note":{"type":"string","description":"Note recorded with the entry.","nullable":true}},"additionalProperties":false,"description":"One entry of a lock's history: a lock, extension, relock or break."},"LoanRateLockLadder":{"type":"object","properties":{"takenAt":{"type":"string","description":"When the snapshot was taken, which is when the lock was placed (UTC).","format":"date-time"},"productName":{"type":"string","description":"Name of the locked product.","nullable":true},"investor":{"type":"string","description":"Name of the investor behind the locked product, when the caller is shown the investor.","nullable":true},"lockPeriod":{"type":"integer","description":"The locked lock period in days; every row has it.","format":"int32","nullable":true},"selectedQuoteId":{"type":"string","description":"quoteId of the selected row.","nullable":true},"selected":{"$ref":"#/components/schemas/LoanRateLockRow"},"rows":{"type":"array","items":{"$ref":"#/components/schemas/LoanRateLockRow"},"description":"The rows of the locked lock period, lowest rate first.","nullable":true},"moves":{"type":"array","items":{"$ref":"#/components/schemas/LockPositionMove"},"description":"The moves of the selected row after the lock, oldest first.","nullable":true},"sourceInstruction":{"$ref":"#/components/schemas/SourceLockInstruction"},"productCode":{"type":"string","description":"The locked product's code. Shown with the source lock instruction only.","nullable":true},"rateSheetTime":{"type":"string","description":"When the product's rate sheet was published, ISO 8601. Shown with the source lock instruction only.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"The locked product's rate sheet at the time of the lock, as the rate lock read returns it: the rows of the locked lock period, the selected row and the moves. Absent on a loan locked before the snapshot was kept."},"LoanRateLockRow":{"type":"object","properties":{"quoteId":{"type":"string","description":"Identifier of this row; pass it to select the row or to request it as a change of circumstance.","nullable":true},"rate":{"type":"number","description":"Note rate of the row, in percent such as 6.875.","format":"double","nullable":true},"price":{"type":"number","description":"Price of the row, where 100 is par.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount; negative when the row pays a rebate.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment of the row, in dollars.","format":"double","nullable":true},"apr":{"type":"number","description":"Annual percentage rate of the row, in percent.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance of this row, in dollars; 0 when the product has none.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"The buydown (discount) this row costs, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"The rebate (credit) this row gives, in dollars; 0 on a buydown or par row.","format":"double","nullable":true},"isSelected":{"type":"boolean","description":"True for the row the lock is currently on."}},"additionalProperties":false,"description":"One rate and price of the locked product's rate sheet."},"LockPositionMove":{"type":"object","properties":{"movedAt":{"type":"string","description":"When the selected row was moved, ISO 8601 UTC.","format":"date-time"},"movedBy":{"type":"string","description":"Identifier (GUID) of the user who moved it.","format":"uuid","nullable":true},"movedByName":{"type":"string","description":"Name of the user who moved it.","nullable":true},"fromQuoteId":{"type":"string","description":"quoteId of the row before the move.","nullable":true},"fromRate":{"type":"number","description":"Note rate before the move, in percent.","format":"double","nullable":true},"fromPrice":{"type":"number","description":"Price before the move, where 100 is par.","format":"double","nullable":true},"toQuoteId":{"type":"string","description":"quoteId of the row after the move.","nullable":true},"toRate":{"type":"number","description":"Note rate after the move, in percent.","format":"double","nullable":true},"toPrice":{"type":"number","description":"Price after the move, where 100 is par.","format":"double","nullable":true},"sourceFromPrice":{"type":"number","description":"The source lender's price before the move, from its frozen rate sheet. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceToPrice":{"type":"number","description":"The source lender's price after the move. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceNote":{"type":"string","description":"Set when the instruction has no price at the new rate, in words. Staff only.","nullable":true}},"additionalProperties":false,"description":"One move of the selected row: who, when, and from which rate and price to which."},"SourceLockInstruction":{"type":"object","properties":{"status":{"type":"string","description":"Outcome of looking for the source price: Priced (the price is set), Unmapped (no source product is mapped to the locked product), NoSourcePricingAccount (the company has no source pricing account), SourceSearchFailed, SourceProductNotReturned or RateNotOnSourceSheet.","nullable":true},"message":{"type":"string","description":"In words, what happened when there is no price.","nullable":true},"sourceInvestor":{"type":"string","description":"Name of the source lender.","nullable":true},"sourceInvestorId":{"type":"integer","description":"Identifier of the source lender in the pricing engine.","format":"int32","nullable":true},"sourceProductName":{"type":"string","description":"Name of the source lender's product to lock.","nullable":true},"sourceProductCode":{"type":"string","description":"Product code of the source lender's product.","nullable":true},"portfolioProductCode":{"type":"string","description":"Code of the portfolio product the row was found by.","nullable":true},"rate":{"type":"number","description":"The selected note rate, in percent.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"sourcePrice":{"type":"number","description":"The source lender's price at the selected rate and lock period, from its frozen rate sheet.","format":"double","nullable":true},"sourceRateSheetTime":{"type":"string","description":"When the source lender's rate sheet was published, ISO 8601.","format":"date-time","nullable":true},"portfolioPrice":{"type":"number","description":"The portfolio price the broker locked at, including the portfolio's margin.","format":"double","nullable":true},"priceDifference":{"type":"number","description":"portfolioPrice minus sourcePrice: the margin, in points.","format":"double","nullable":true}},"additionalProperties":false,"description":"The instruction for the lock desk: lock the source product with the source lender at the source price. It follows the selected row, so a move of the selected rate rewrites it from the source lender's frozen rate sheet. Shown to staff only."},"LoanRateLockPriceGrid":{"type":"object","properties":{"basePrice":{"type":"number","description":"The base price, where 100 is par.","format":"double","nullable":true},"priceRow":{"type":"string","description":"Which price the grid's row is locked on: Base, BrokerBase, BrokerFinal or OriginatorPrice.","nullable":true},"visibleAdjustmentsTotal":{"type":"number","description":"Total of the adjustments the broker sees, in points.","format":"double","nullable":true},"hiddenAdjustmentsTotal":{"type":"number","description":"Total of the hidden lender adjustments, in points.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The adjustment lines on the price grid.","nullable":true},"originatorPrice":{"type":"number","description":"The Originator Price: the price before the originator compensation.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"The Final Price: the price after the originator compensation.","format":"double","nullable":true},"investorPrice":{"type":"number","description":"The investor's price.","format":"double","nullable":true},"internalNote":{"type":"string","description":"The lock screen's internal notes.","nullable":true},"originatorCompensation":{"$ref":"#/components/schemas/LoanOriginatorCompensation"}},"additionalProperties":false,"description":"The front-end lock's price grid and the originator compensation, read live from the LOS. Set only on rate lock reads and writes. The investor price and the lender lines are not returned to third-party-originator (broker) callers."},"LockAdjustment":{"type":"object","properties":{"description":{"type":"string","description":"What the adjustment is for.","nullable":true},"points":{"type":"number","description":"The adjustment in points; a negative value adds to the price.","format":"double","nullable":true},"rate":{"type":"number","description":"Rate adjustment, in percentage points.","format":"double","nullable":true},"margin":{"type":"number","description":"Margin adjustment, in percentage points.","format":"double","nullable":true},"hidden":{"type":"boolean","description":"True for a hidden lender line the broker never sees (front-end lock only)."}},"additionalProperties":false,"description":"One adjustment line as the LOS holds it."},"LoanOriginatorCompensation":{"type":"object","properties":{"paidBy":{"type":"string","description":"Borrower or Lender (`sOriginatorCompensationPaymentSourceT`); null when not specified.","nullable":true},"percent":{"type":"number","description":"Compensation as a percent of the base amount, for example 2.0 for two percent.","format":"double","nullable":true},"minAmount":{"type":"number","description":"Minimum compensation in dollars.","format":"double","nullable":true},"fixedAmount":{"type":"number","description":"Fixed compensation in dollars.","format":"double","nullable":true},"baseType":{"type":"string","description":"LoanAmount or TotalLoanAmount (`sOriginatorCompensationBaseT`).","nullable":true},"lenderFeeOption":{"type":"string","description":"IncludedInLenderFees or InAdditionToLenderFees (`sOriginatorCompensationLenderFeeOptionT`).","nullable":true}},"additionalProperties":false,"description":"The loan's originator compensation inputs (`sOriginatorCompensation*`), as the LOS holds them."},"LoanInvestorLock":{"type":"object","properties":{"investorId":{"type":"integer","description":"Identifier of the investor in the LOS's investor list.","format":"int32","nullable":true},"investorName":{"type":"string","description":"Name of the investor.","nullable":true},"investorLoanNumber":{"type":"string","description":"The investor's loan number for this loan.","nullable":true},"confirmationNumber":{"type":"string","description":"Confirmation number the investor gave the lock.","nullable":true},"programName":{"type":"string","description":"Name of the investor program the loan is locked to.","nullable":true},"rateSheetTime":{"type":"string","description":"Effective time of the investor's rate sheet, as text in the form MM/dd/yyyy h:mm tt.","nullable":true},"commitmentType":{"type":"string","description":"Delivery commitment: BestEfforts, Mandatory, Hedged or Securitized.","nullable":true},"lockFee":{"type":"number","description":"Fee charged for the lock.","format":"double","nullable":true},"lockDate":{"type":"string","description":"Date the investor lock was made, ISO 8601.","format":"date","nullable":true},"periodDays":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Date the lock expires, ISO 8601: the lock date plus the period, with no weekend roll.","format":"date","nullable":true},"deliveryExpirationDate":{"type":"string","description":"Date delivery of the loan to the investor expires, ISO 8601, calculated as the expiration is.","format":"date","nullable":true},"noteRate":{"type":"number","description":"Locked note rate, in percent such as 6.875.","format":"double","nullable":true},"basePrice":{"type":"number","description":"Base price from the investor's rate sheet, where 100 is par.","format":"double","nullable":true},"totalAdjustments":{"type":"number","description":"Total of the price adjustments, in points.","format":"double","nullable":true},"finalPrice":{"type":"number","description":"Price after all adjustments, where 100 is par.","format":"double","nullable":true},"projectedProfit":{"type":"number","description":"Projected profit on the lock, as the LOS calculates it.","format":"double","nullable":true},"status":{"type":"string","description":"Not Locked, Locked, Lock Requested, Lock Suspended or Lock Cancelled.","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/LockAdjustment"},"description":"The price adjustment lines on the investor lock.","nullable":true},"history":{"type":"array","items":{"$ref":"#/components/schemas/RateLockHistoryEntry"},"description":"Every event on the investor lock, newest first.","nullable":true},"lockOutcome":{"type":"string","description":"What a write that asked to lock or break the lock did when the LOS did not do it. Set only on a write response.","nullable":true}},"additionalProperties":false,"description":"The back-end (investor) lock as the LOS holds it, read live. Set only on rate lock reads and writes, and never for third-party-originator (broker) callers."},"LoanTemporaryBuydown":{"type":"object","properties":{"steps":{"type":"array","items":{"$ref":"#/components/schemas/TemporaryBuydownStep"},"description":"The steps in order, each { rateReduction, months }: a 2-1 is [{ rateReduction: 2, months: 12 }, { rateReduction: 1, months: 12 }]. At most five. The list replaces the stored steps as a whole; empty slots are left out when read.","nullable":true},"contributorType":{"type":"string","description":"Who pays for the buydown, as the LOS's raw contributor code (sBuydownContributorT). Optional: left out, the LOS's value is not touched.","nullable":true},"totalFundsAmount":{"type":"number","description":"Total buydown funds in dollars (sBuydownTotalFundsAmt). Optional: left out, the LOS's value is not touched.","format":"double","nullable":true},"hasTemporaryBuydown":{"type":"boolean","description":"sHasTempBuydown - calculated by the LOS from the steps. Read only: a write is ignored.","nullable":true},"totalMonths":{"type":"integer","description":"sBuydwnTotalMon - calculated by the LOS. Read only.","format":"int32","nullable":true},"resultRate":{"type":"number","description":"sBuydownResultIR - calculated by the LOS. Read only.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's temporary buydown as the LOS holds it: up to five steps, who pays for it and how much, and what the LOS calculates from them. Changed only by a partial update that names it."},"TemporaryBuydownStep":{"type":"object","properties":{"rateReduction":{"type":"number","description":"Points the note rate is reduced by during this step (number, 2 means 2 points). Not negative.","format":"double"},"months":{"type":"integer","description":"Months this step lasts (integer). Required when rateReduction is above 0.","format":"int32"}},"additionalProperties":false,"description":"One step of a temporary buydown: how many points the rate is reduced for how many months."},"LoanAppContact":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the contact on the loan (GUID).","format":"uuid","nullable":true},"role":{"$ref":"#/components/schemas/ContactRole"},"roleName":{"type":"string","description":"Display name of the contact's role.","nullable":true},"otherRoleName":{"type":"string","description":"Free-text label for a contact whose role is Other; without it they show as a bare Other.","nullable":true},"name":{"type":"string","description":"Full name of the contact.","nullable":true},"email":{"type":"string","description":"Email address.","nullable":true},"phone":{"type":"string","description":"Phone number.","nullable":true},"cellPhone":{"type":"string","description":"Cell phone number.","nullable":true},"fax":{"type":"string","description":"Fax number.","nullable":true},"pager":{"type":"string","description":"Pager number.","nullable":true},"companyName":{"type":"string","description":"Name of the contact's company.","nullable":true},"companyPhone":{"type":"string","description":"The company's phone number.","nullable":true},"companyFax":{"type":"string","description":"The company's fax number.","nullable":true},"branchName":{"type":"string","description":"Name of the branch the contact works at.","nullable":true},"departmentName":{"type":"string","description":"Name of the department the contact works in.","nullable":true},"employeeIdInCompany":{"type":"string","description":"The contact's employee id within their company.","nullable":true},"companyId":{"type":"string","description":"Identifier of the contact's company, as recorded on the contact.","nullable":true},"street":{"type":"string","description":"Street address.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zip":{"type":"string","description":"ZIP or postal code.","nullable":true},"notes":{"type":"string","description":"Free-text notes on the contact.","nullable":true},"isImported":{"type":"boolean","description":"True when the contact came from an imported file rather than from the LOS. A sync with the LOS keeps these rather than deleting what it did not create."},"isSystemCreated":{"type":"boolean","description":"True when the row is one the loan must not carry, such as a system integration account. Returned only when staff ask for system contacts; absent otherwise.","nullable":true},"isNotifyWhenLoanStatusChange":{"type":"boolean","description":"True when the LOS emails this contact when the loan status changes. Check it before sending a second notification."},"agentNMLS":{"type":"string","description":"The contact's NMLS id.","nullable":true},"companyNMLS":{"type":"string","description":"The contact's company NMLS id.","nullable":true},"agentLicenseNumber":{"type":"string","description":"The contact's license number.","nullable":true},"companyLicenseNumber":{"type":"string","description":"The company's license number.","nullable":true},"isAgentLicenseExpired":{"type":"boolean","description":"True when the contact's license has expired. A license number alone does not say whether it is still valid."},"isCompanyLicenseExpired":{"type":"boolean","description":"True when the company's license has expired."},"chumsId":{"type":"string","description":"The contact's CHUMS id (the id the FHA program uses for lenders and agents).","nullable":true},"caseNumber":{"type":"string","description":"Case number recorded on the contact.","nullable":true},"isLender":{"type":"boolean","description":"True when the contact is the lender."},"isOriginator":{"type":"boolean","description":"True when the contact is the loan originator."},"isLenderAffiliate":{"type":"boolean","description":"True when the contact is an affiliate of the lender."},"isOriginatorAffiliate":{"type":"boolean","description":"True when the contact is an affiliate of the originator."},"isListedInGFEProviderForm":{"type":"boolean","description":"True when the service provider has a relationship with the lender. The relationship fields below only mean something when this is set."},"providerItemNumber":{"type":"string","description":"Item number recorded for the provider's service on the disclosure.","nullable":true},"isLenderAssociation":{"type":"boolean","description":"True when the provider has an association with the lender (a disclosure fact)."},"isLenderRelative":{"type":"boolean","description":"True when the provider is a relative of the lender (a disclosure fact)."},"hasLenderRelationship":{"type":"boolean","description":"True when the provider has a business relationship with the lender (a disclosure fact)."},"hasLenderAccountLast12Months":{"type":"boolean","description":"True when the provider has had an account with the lender in the last 12 months (a disclosure fact)."},"isUsedRepeatlyByLenderLast12Months":{"type":"boolean","description":"True when the lender has used this provider repeatedly in the last 12 months. The property name keeps its original spelling."},"investorSoldDate":{"type":"string","description":"Date the loan was sold to this contact when it is the investor, as recorded.","nullable":true},"taxId":{"type":"string","description":"Tax id of the contact. Returned only to staff with compensation access; absent for other callers.","nullable":true},"commission":{"type":"string","description":"Commission amount for the contact. Returned only to staff with compensation access; absent for other callers.","nullable":true},"commissionMinBase":{"type":"string","description":"Minimum base amount for the commission. Returned only to staff with compensation access; absent for other callers.","nullable":true},"commissionPointOfLoanAmount":{"type":"string","description":"Commission expressed as points of the loan amount. Returned only to staff with compensation access; absent for other callers.","nullable":true},"commissionPointOfGrossProfit":{"type":"string","description":"Commission expressed as points of gross profit. Returned only to staff with compensation access; absent for other callers.","nullable":true},"commissionPaid":{"type":"string","description":"Amount of commission paid. Returned only to staff with compensation access; absent for other callers.","nullable":true},"isCommissionPaid":{"type":"boolean","description":"True when the commission has been paid. Returned only to staff with compensation access; absent for other callers.","nullable":true},"isUseOriginatorCompensationAmount":{"type":"boolean","description":"True when the originator compensation amount is used as the commission. Returned only to staff with compensation access; absent for other callers.","nullable":true},"investorBasisPoints":{"type":"string","description":"Investor compensation, in basis points. Returned only to staff with compensation access; absent for other callers.","nullable":true},"paymentNotes":{"type":"string","description":"Free-text notes about how the contact is paid. Returned only to staff with compensation access; absent for other callers.","nullable":true},"payToBankName":{"type":"string","description":"Name of the bank the contact is paid through. Returned only to staff with compensation access; absent for other callers.","nullable":true},"payToBankCityState":{"type":"string","description":"City and state of that bank. Returned only to staff with compensation access; absent for other callers.","nullable":true},"payToABANumber":{"type":"string","description":"ABA routing number of that bank. Returned only to staff with compensation access; absent for other callers.","nullable":true},"payToAccountNumber":{"type":"string","description":"Account number to pay. Returned only to staff with compensation access; absent for other callers.","nullable":true},"payToAccountName":{"type":"string","description":"Account name to pay. Returned only to staff with compensation access; absent for other callers.","nullable":true},"furtherCreditToAccountNumber":{"type":"string","description":"Account number to credit further, when payment goes through an intermediary. Returned only to staff with compensation access; absent for other callers.","nullable":true},"furtherCreditToAccountName":{"type":"string","description":"Account name to credit further, when payment goes through an intermediary. Returned only to staff with compensation access; absent for other callers.","nullable":true}},"additionalProperties":false,"description":"One party on a loan, such as the loan officer, an agent, a title company or an investor. Compensation, banking and tax detail is returned only to staff with compensation access, and is absent (not null) for other callers."},"LoanOrder":{"type":"object","properties":{"type":{"type":"string","description":"Our order type. Travels as `SERVICE_PRODUCT_NAME_DETAIL/ServiceProductNameIdentifier`.","nullable":true},"name":{"type":"string","description":"The order's name. `SERVICE_PRODUCT_NAME_DETAIL/ServiceProductNameDescription`.","nullable":true},"status":{"$ref":"#/components/schemas/LoanAppOrderStatus"},"statusDescription":{"type":"string","description":"The latest activity message. `STATUSES/STATUS/StatusDescription`.","nullable":true},"dueDate":{"type":"string","description":"`SERVICE_PRODUCT_DETAIL/ServiceNeedByDate` and `SERVICE_PRODUCT_FULFILLMENT_DETAIL/ServiceRequestedCompletionDate`.","format":"date","nullable":true},"receivedDate":{"type":"string","description":"`SERVICE_PRODUCT_FULFILLMENT_DETAIL/ServiceActualCompletionDate`.","format":"date","nullable":true},"isRush":{"type":"boolean","description":"`SERVICE_PRODUCT_DETAIL/ServiceExpediteIndicator`.","nullable":true},"productDescription":{"type":"string","description":"The products' names, joined with \"; \". `SERVICE_PRODUCT_DETAIL/ServiceProductDescription`.","nullable":true},"productIdentifier":{"type":"string","description":"The products' codes, joined with \"; \". `SERVICE_PRODUCT_DETAIL/ServiceProductIdentifier`.","nullable":true},"vendorOrderIdentifier":{"type":"string","description":"The vendor's order id, else the order number. `SERVICE_PRODUCT_FULFILLMENT_DETAIL/VendorOrderIdentifier`.","nullable":true},"vendorName":{"type":"string","description":"A `PARTIES/PARTY` (`LEGAL_ENTITY`) tied to the SERVICE by a `RELATIONSHIP`.","nullable":true}},"additionalProperties":false,"description":"One order as a MISMO `DEAL/SERVICES/SERVICE`. The order type picks the SERVICE's choice element\r\n(VALUATION, FLOOD, TITLE, ...; see `MismoOrderServices`). Only what MISMO carries is here: the\r\nordered date, our internal ids and anything to do with payment are not."},"LoanAppOrderStatus":{"enum":["Draft","Submitting","Submitted","Ordered","InProgress","Received","Completed","Failed","Cancelled","Unconfirmed"],"type":"string","description":"Where an order is in its life. A tracked order (dates only) moves through `Draft`,\r\n`Ordered` and `Received` as its dates are filled in; a placed one is moved\r\nby the vendor integration. Stored by name."},"KeyDates":{"type":"object","properties":{"estimatedClosing":{"type":"string","description":"Estimated closing date, ISO 8601.","format":"date-time","nullable":true},"firstPaymentDate":{"type":"string","description":"Date the borrower's first payment is due, ISO 8601.","format":"date-time","nullable":true},"lockExpiration":{"type":"string","description":"Date the rate lock expires, ISO 8601; null when the loan is not locked.","format":"date-time","nullable":true},"rateLockedDate":{"type":"string","description":"Date the rate was locked, ISO 8601.","format":"date-time","nullable":true},"rateLockedTime":{"type":"string","description":"Time of day the rate was locked, as text.","nullable":true},"preApprovedDate":{"type":"string","description":"Date the loan was pre-approved (yyyy-MM-dd).","format":"date","nullable":true},"registeredDate":{"type":"string","description":"Date the loan was registered with the lender (yyyy-MM-dd).","format":"date","nullable":true},"appSubmittedDate":{"type":"string","description":"Date the application was submitted (yyyy-MM-dd).","format":"date","nullable":true},"closingDate":{"type":"string","description":"Scheduled closing date (yyyy-MM-dd).","format":"date","nullable":true}},"additionalProperties":false,"description":"The loan's key dates; each is null until it is known."},"MismoMappingReport":{"type":"object","properties":{"notes":{"type":"array","items":{"$ref":"#/components/schemas/MismoMappingNote"},"description":"Notes on what the import or export did, each with a severity and the field it concerns.","nullable":true},"mappedFieldCount":{"type":"integer","description":"Count of top-level fields on the loan that came through with a value.","format":"int32"},"borrowerCount":{"type":"integer","description":"Number of borrowers mapped.","format":"int32"},"hasErrors":{"type":"boolean","description":"True when any note is an error. Read-only.","readOnly":true},"hasWarnings":{"type":"boolean","description":"True when any note is a warning. Read-only.","readOnly":true},"droppedElements":{"type":"array","items":{"$ref":"#/components/schemas/MismoDroppedElement"},"description":"Every element of the file that was read and not kept, one row per label-free path. Empty when\r\nnothing was dropped; see `SourceCoveragePercent` to tell that from \"not measured\".","nullable":true},"fieldsToCheck":{"type":"array","items":{"$ref":"#/components/schemas/MismoFieldToCheck"},"description":"Fields a person should check on the loan: unusable, implied or partial data from the file.","nullable":true},"sourceLeafCount":{"type":"integer","description":"Leaf elements and attributes in the file. Zero when the walk did not run.","format":"int32"},"mappedLeafCount":{"type":"integer","description":"Leaves that landed on a loan field or a store (liability, asset, contact, order, fee).","format":"int32"},"notCarriedLeafCount":{"type":"integer","description":"Leaves we deliberately do not carry, each with a reason in `MismoSourceNotCarried`.","format":"int32"},"sourceCoveragePercent":{"type":"number","description":"(Mapped + not carried) / all leaves of the file. Null when the walk did not run, so \"100\" always\r\nmeans measured.","format":"double","nullable":true}},"additionalProperties":false,"description":"What an import or export actually did. This is the lenient contract made observable: a partner\r\nintegration can be debugged from this instead of diffing the file by hand."},"MismoMappingNote":{"type":"object","properties":{"severity":{"$ref":"#/components/schemas/MismoMappingSeverity"},"path":{"type":"string","description":"Dotted path of the affected field, MISMO-side or internal, e.g. `LOAN/TERMS_OF_LOAN/LienPriorityType`.","nullable":true},"message":{"type":"string","description":"What was found.","nullable":true}},"additionalProperties":false},"MismoMappingSeverity":{"enum":["Info","Warning","Error"],"type":"string","description":"How serious a `MismoMappingNote` is. Nothing below `Error` stops an\r\nimport — the conformance target is lenient generic MISMO 3.4, so an unrecognized node is\r\nreported, not fatal."},"MismoDroppedElement":{"type":"object","properties":{"path":{"type":"string","description":"Label-free XPath from MESSAGE, e.g. `MESSAGE/DEAL_SETS/.../PROPERTY/ADDRESS/CountyName`; attributes end in `/@Name`.","nullable":true},"count":{"type":"integer","description":"How many times that path was dropped in the file.","format":"int32"},"sampleValue":{"type":"string","description":"The first dropped value, masked (names, account numbers, SSNs, contact points).","nullable":true}},"additionalProperties":false},"MismoFieldToCheck":{"type":"object","properties":{"section":{"type":"string","description":"The wizard section, by the name the section report uses.","nullable":true},"field":{"type":"string","description":"Name of the field to check.","nullable":true},"path":{"type":"string","description":"The form path, e.g. `loanInfo.borrowers[0].maritalStatus.name`.","nullable":true},"fileValue":{"type":"string","description":"The value in the MISMO file.","nullable":true},"loanValue":{"type":"string","description":"The value now on the loan.","nullable":true},"reason":{"type":"string","description":"Why the field needs checking.","nullable":true}},"additionalProperties":false,"description":"A leaf of the file that was read and not kept. Repeats of one path collapse to one row."},"LoanAppSectionCompletion":{"type":"object","properties":{"sectionName":{"type":"string","description":"Wizard section name as shown in the borrower UI sidebar: 'About You', 'Loan & Property', 'Work & Income', 'Assets', 'Liabilities', 'Real Estate', or 'Additional Details'.","nullable":true},"taskCode":{"type":"string","description":"Code of the verification task that tracks this section, e.g. 'LoanAndPropertyVerification'.","nullable":true},"taskName":{"type":"string","description":"Name of the verification task that tracks this section, e.g. 'Loan and Property Verification'.","nullable":true},"status":{"type":"string","description":"Normalized section status as the borrower UI sidebar shows it: 'NotStarted', 'InProgress', 'Submitted', 'Completed', or 'Accepted'. Derived from the verification task status; sections in 'Completed' or 'Accepted' count toward overall loan app completion.","nullable":true},"rawTaskStatusName":{"type":"string","description":"The verification task's raw status name as stored (e.g. 'Uploaded', 'Requested'); null when the loan has no verification task for this section (e.g. loans synced from the LOS that never went through the wizard).","nullable":true},"isValid":{"type":"boolean","description":"True when every required field in this section has a value and no section rule is violated, i.e. the borrower could press 'Complete Section' right now. Always true for Assets and Liabilities, which have no field-level validation here (use the section status for them)."},"fields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppFieldStatus"},"description":"Every wizard field in this section with its per-loan required flag and whether it currently holds a value. Empty for Assets and Liabilities, which have no field-level validation.","nullable":true},"missingRequiredFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"Convenience list: the entries from 'fields' that are required and have no value. Empty when the section's data is complete.","nullable":true},"ruleErrors":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionRuleError"},"description":"Cross-field rule violations in this section (e.g. 2-year address/employment history gaps, loan amount above purchase price). Empty when no rules are violated.","nullable":true},"pairs":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppPairCompletion"},"description":"The same missing fields and rule errors grouped by borrower pair. The flat lists above keep every entry; this adds the grouping. Empty for sections with no per-borrower fields.","nullable":true},"notes":{"type":"array","items":{"type":"string"},"description":"Caveats about how this section's completion is evaluated, when applicable.","nullable":true}},"additionalProperties":false},"LoanAppFieldStatus":{"type":"object","properties":{"path":{"type":"string","description":"Dot-path of the field, e.g. 'loanInfo.borrowers[0].currentAddress.zipCode'. Matches the frontend validation key and doubles as the camelCase JSON path into this same response.","nullable":true},"label":{"type":"string","description":"Human-readable label for the field, e.g. 'Co-Borrower Current Address ZIP Code'.","nullable":true},"required":{"type":"boolean","description":"Whether this field is required for THIS loan, with conditional rules already resolved (e.g. purchase price is not required on a Refinance, dependent ages only when the borrower has dependents). A field that is required and has no value blocks section completion."},"hasValue":{"type":"boolean","description":"Whether the field currently holds an acceptable value. False when empty AND when a value fails its format check (e.g. a malformed SSN or email), matching the wizard's treatment of invalid values as missing. required && !hasValue means the field is blocking section completion."},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the field belongs to a specific applicant; null for loan-level fields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the field belongs to; null for loan-level fields.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppMissingField":{"type":"object","properties":{"fieldPath":{"type":"string","description":"Dot-path of the required field that has no value, e.g. 'loanInfo.borrowers[0].currentAddress.zipCode'. Matches the frontend validation key and doubles as the camelCase JSON path into this same response.","nullable":true},"label":{"type":"string","description":"Human-readable label for the field, e.g. 'Co-Borrower Current Address ZIP Code'.","nullable":true},"section":{"type":"string","description":"The wizard section the field is on, e.g. 'About You'.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the field belongs to a specific applicant; null for loan-level fields.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the field belongs to; null for loan-level fields.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppSectionRuleError":{"type":"object","properties":{"message":{"type":"string","description":"Cross-field rule violation message, identical to the text the borrower-facing wizard shows (e.g. 'Address history must be at least 2 years', 'Missing March 2024 - May 2024'). Month-coverage rules are evaluated with the server clock, so results near a month boundary can differ by one month from a browser in another timezone.","nullable":true},"borrower":{"type":"string","description":"'Borrower' or 'CoBorrower' when the rule applies to a specific applicant; null for loan-level rules.","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair (0 is the primary pair) the rule belongs to; null for loan-level rules.","format":"int32","nullable":true}},"additionalProperties":false},"LoanAppPairCompletion":{"type":"object","properties":{"pairIndex":{"type":"integer","description":"The borrower pair's position on the loan; 0 is the primary pair.","format":"int32"},"isValid":{"type":"boolean","description":"True when this pair has no missing required field and no rule error."},"missingRequiredFields":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppMissingField"},"description":"The required fields of this pair's borrower and co-borrower that still have no value.","nullable":true},"ruleErrors":{"type":"array","items":{"$ref":"#/components/schemas/LoanAppSectionRuleError"},"description":"The cross-field rule violations of this pair's borrower and co-borrower.","nullable":true},"status":{"type":"string","description":"Normalized status of this pair's own verification task for the section ('NotStarted', 'InProgress', 'Submitted', 'Completed', 'Accepted'). Set only when pairs are enabled, and only on sections that have one task per pair.","nullable":true},"rawTaskStatusName":{"type":"string","description":"This pair's verification task's raw status name; null when the pair has no task for the section yet.","nullable":true},"taskId":{"type":"string","description":"Id of this pair's verification task for the section, the id sign_off_loan_section takes; null when the pair has no task yet.","format":"uuid","nullable":true}},"additionalProperties":false},"MismoRoundTripReport":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan checked.","format":"uuid","nullable":true},"loanNumber":{"type":"string","description":"Loan number of the loan checked.","nullable":true},"fieldsCompared":{"type":"integer","description":"Leaf values compared. A coarse denominator for the fidelity percentage.","format":"int32"},"differences":{"type":"array","items":{"$ref":"#/components/schemas/MismoFieldDifference"},"description":"Every field that differed after the round trip.","nullable":true},"unexpectedDifferences":{"type":"array","items":{"$ref":"#/components/schemas/MismoFieldDifference"},"description":"Differences that are not a documented limit of the format — i.e. the bugs.","nullable":true,"readOnly":true},"expectedCount":{"type":"integer","description":"Number of differences that are documented limits of the MISMO format. Read-only.","format":"int32","readOnly":true},"unexpectedCount":{"type":"integer","description":"Number of differences that are not documented limits. Read-only.","format":"int32","readOnly":true},"unexpectedLossCount":{"type":"integer","description":"Values that were present and came back empty, ignoring documented limits.","format":"int32","readOnly":true},"isFaithful":{"type":"boolean","description":"True when nothing beyond the documented limits changed.","readOnly":true},"fidelityPercent":{"type":"number","description":"Share of compared fields that survived unchanged, expected losses included.","format":"double","readOnly":true},"source":{"type":"string","description":"Anything the caller wants to note about where this loan came from.","nullable":true},"sourceCoveragePercent":{"type":"number","description":"The other number, beside `FidelityPercent`: how much of the document that was read\r\nthe import kept (mapped + not carried), measured against the document itself. Fidelity compares\r\none import with the next and cannot see a value dropped on the first read. Null when not measured.","format":"double","nullable":true},"sourceLeafCount":{"type":"integer","description":"Leaves in the document behind `SourceCoveragePercent`.","format":"int32"},"droppedElements":{"type":"array","items":{"$ref":"#/components/schemas/MismoDroppedElement"},"description":"Elements of the document that were read and not kept; empty when none, or not measured.","nullable":true}},"additionalProperties":false,"description":"What a loan lost by being written to MISMO 3.4 and read back. Produced against a real loan, so\r\nit measures the mapping against actual data rather than a fixture."},"MismoFieldDifference":{"type":"object","properties":{"path":{"type":"string","description":"Dotted path, e.g. `loanInfo.borrowers[0].employments[1].monthlyIncomeAmount`.","nullable":true},"kind":{"$ref":"#/components/schemas/MismoDifferenceKind"},"stored":{"type":"string","description":"The value held before the round trip.","nullable":true},"roundTripped":{"type":"string","description":"The value after the round trip.","nullable":true},"isExpected":{"type":"boolean","description":"True when this field is documented as not carried through MISMO. Expected differences are\r\nkept out of `UnexpectedDifferences` so a real regression is\r\nnot buried under known limits."}},"additionalProperties":false},"MismoDifferenceKind":{"enum":["Lost","Changed","Added"],"type":"string","description":"How a value differed after a round trip: Lost (had a value, now none), Changed (a different value) or Added (had none, now has one)."},"MismoReadBackSource":{"enum":["Platform","MeridianLink"],"type":"string","description":"Where a verified read-back came from, which changes what the fidelity number means."}}}}
```

## The MismoMappingNote object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MismoMappingNote":{"type":"object","properties":{"severity":{"$ref":"#/components/schemas/MismoMappingSeverity"},"path":{"type":"string","description":"Dotted path of the affected field, MISMO-side or internal, e.g. `LOAN/TERMS_OF_LOAN/LienPriorityType`.","nullable":true},"message":{"type":"string","description":"What was found.","nullable":true}},"additionalProperties":false},"MismoMappingSeverity":{"enum":["Info","Warning","Error"],"type":"string","description":"How serious a `MismoMappingNote` is. Nothing below `Error` stops an\r\nimport — the conformance target is lenient generic MISMO 3.4, so an unrecognized node is\r\nreported, not fatal."}}}}
```

## The MismoMappingReport object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MismoMappingReport":{"type":"object","properties":{"notes":{"type":"array","items":{"$ref":"#/components/schemas/MismoMappingNote"},"description":"Notes on what the import or export did, each with a severity and the field it concerns.","nullable":true},"mappedFieldCount":{"type":"integer","description":"Count of top-level fields on the loan that came through with a value.","format":"int32"},"borrowerCount":{"type":"integer","description":"Number of borrowers mapped.","format":"int32"},"hasErrors":{"type":"boolean","description":"True when any note is an error. Read-only.","readOnly":true},"hasWarnings":{"type":"boolean","description":"True when any note is a warning. Read-only.","readOnly":true},"droppedElements":{"type":"array","items":{"$ref":"#/components/schemas/MismoDroppedElement"},"description":"Every element of the file that was read and not kept, one row per label-free path. Empty when\r\nnothing was dropped; see `SourceCoveragePercent` to tell that from \"not measured\".","nullable":true},"fieldsToCheck":{"type":"array","items":{"$ref":"#/components/schemas/MismoFieldToCheck"},"description":"Fields a person should check on the loan: unusable, implied or partial data from the file.","nullable":true},"sourceLeafCount":{"type":"integer","description":"Leaf elements and attributes in the file. Zero when the walk did not run.","format":"int32"},"mappedLeafCount":{"type":"integer","description":"Leaves that landed on a loan field or a store (liability, asset, contact, order, fee).","format":"int32"},"notCarriedLeafCount":{"type":"integer","description":"Leaves we deliberately do not carry, each with a reason in `MismoSourceNotCarried`.","format":"int32"},"sourceCoveragePercent":{"type":"number","description":"(Mapped + not carried) / all leaves of the file. Null when the walk did not run, so \"100\" always\r\nmeans measured.","format":"double","nullable":true}},"additionalProperties":false,"description":"What an import or export actually did. This is the lenient contract made observable: a partner\r\nintegration can be debugged from this instead of diffing the file by hand."},"MismoMappingNote":{"type":"object","properties":{"severity":{"$ref":"#/components/schemas/MismoMappingSeverity"},"path":{"type":"string","description":"Dotted path of the affected field, MISMO-side or internal, e.g. `LOAN/TERMS_OF_LOAN/LienPriorityType`.","nullable":true},"message":{"type":"string","description":"What was found.","nullable":true}},"additionalProperties":false},"MismoMappingSeverity":{"enum":["Info","Warning","Error"],"type":"string","description":"How serious a `MismoMappingNote` is. Nothing below `Error` stops an\r\nimport — the conformance target is lenient generic MISMO 3.4, so an unrecognized node is\r\nreported, not fatal."},"MismoDroppedElement":{"type":"object","properties":{"path":{"type":"string","description":"Label-free XPath from MESSAGE, e.g. `MESSAGE/DEAL_SETS/.../PROPERTY/ADDRESS/CountyName`; attributes end in `/@Name`.","nullable":true},"count":{"type":"integer","description":"How many times that path was dropped in the file.","format":"int32"},"sampleValue":{"type":"string","description":"The first dropped value, masked (names, account numbers, SSNs, contact points).","nullable":true}},"additionalProperties":false},"MismoFieldToCheck":{"type":"object","properties":{"section":{"type":"string","description":"The wizard section, by the name the section report uses.","nullable":true},"field":{"type":"string","description":"Name of the field to check.","nullable":true},"path":{"type":"string","description":"The form path, e.g. `loanInfo.borrowers[0].maritalStatus.name`.","nullable":true},"fileValue":{"type":"string","description":"The value in the MISMO file.","nullable":true},"loanValue":{"type":"string","description":"The value now on the loan.","nullable":true},"reason":{"type":"string","description":"Why the field needs checking.","nullable":true}},"additionalProperties":false,"description":"A leaf of the file that was read and not kept. Repeats of one path collapse to one row."}}}}
```

## The MismoMappingSeverity object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MismoMappingSeverity":{"enum":["Info","Warning","Error"],"type":"string","description":"How serious a `MismoMappingNote` is. Nothing below `Error` stops an\r\nimport — the conformance target is lenient generic MISMO 3.4, so an unrecognized node is\r\nreported, not fatal."}}}}
```

## The MismoReadBackSource object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MismoReadBackSource":{"enum":["Platform","MeridianLink"],"type":"string","description":"Where a verified read-back came from, which changes what the fidelity number means."}}}}
```

## The MismoRoundTripReport object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MismoRoundTripReport":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan checked.","format":"uuid","nullable":true},"loanNumber":{"type":"string","description":"Loan number of the loan checked.","nullable":true},"fieldsCompared":{"type":"integer","description":"Leaf values compared. A coarse denominator for the fidelity percentage.","format":"int32"},"differences":{"type":"array","items":{"$ref":"#/components/schemas/MismoFieldDifference"},"description":"Every field that differed after the round trip.","nullable":true},"unexpectedDifferences":{"type":"array","items":{"$ref":"#/components/schemas/MismoFieldDifference"},"description":"Differences that are not a documented limit of the format — i.e. the bugs.","nullable":true,"readOnly":true},"expectedCount":{"type":"integer","description":"Number of differences that are documented limits of the MISMO format. Read-only.","format":"int32","readOnly":true},"unexpectedCount":{"type":"integer","description":"Number of differences that are not documented limits. Read-only.","format":"int32","readOnly":true},"unexpectedLossCount":{"type":"integer","description":"Values that were present and came back empty, ignoring documented limits.","format":"int32","readOnly":true},"isFaithful":{"type":"boolean","description":"True when nothing beyond the documented limits changed.","readOnly":true},"fidelityPercent":{"type":"number","description":"Share of compared fields that survived unchanged, expected losses included.","format":"double","readOnly":true},"source":{"type":"string","description":"Anything the caller wants to note about where this loan came from.","nullable":true},"sourceCoveragePercent":{"type":"number","description":"The other number, beside `FidelityPercent`: how much of the document that was read\r\nthe import kept (mapped + not carried), measured against the document itself. Fidelity compares\r\none import with the next and cannot see a value dropped on the first read. Null when not measured.","format":"double","nullable":true},"sourceLeafCount":{"type":"integer","description":"Leaves in the document behind `SourceCoveragePercent`.","format":"int32"},"droppedElements":{"type":"array","items":{"$ref":"#/components/schemas/MismoDroppedElement"},"description":"Elements of the document that were read and not kept; empty when none, or not measured.","nullable":true}},"additionalProperties":false,"description":"What a loan lost by being written to MISMO 3.4 and read back. Produced against a real loan, so\r\nit measures the mapping against actual data rather than a fixture."},"MismoFieldDifference":{"type":"object","properties":{"path":{"type":"string","description":"Dotted path, e.g. `loanInfo.borrowers[0].employments[1].monthlyIncomeAmount`.","nullable":true},"kind":{"$ref":"#/components/schemas/MismoDifferenceKind"},"stored":{"type":"string","description":"The value held before the round trip.","nullable":true},"roundTripped":{"type":"string","description":"The value after the round trip.","nullable":true},"isExpected":{"type":"boolean","description":"True when this field is documented as not carried through MISMO. Expected differences are\r\nkept out of `UnexpectedDifferences` so a real regression is\r\nnot buried under known limits."}},"additionalProperties":false},"MismoDifferenceKind":{"enum":["Lost","Changed","Added"],"type":"string","description":"How a value differed after a round trip: Lost (had a value, now none), Changed (a different value) or Added (had none, now has one)."},"MismoDroppedElement":{"type":"object","properties":{"path":{"type":"string","description":"Label-free XPath from MESSAGE, e.g. `MESSAGE/DEAL_SETS/.../PROPERTY/ADDRESS/CountyName`; attributes end in `/@Name`.","nullable":true},"count":{"type":"integer","description":"How many times that path was dropped in the file.","format":"int32"},"sampleValue":{"type":"string","description":"The first dropped value, masked (names, account numbers, SSNs, contact points).","nullable":true}},"additionalProperties":false}}}}
```

## The Modified object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Modified":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the entity that was modified."},"type":{"type":"string","description":"A string indicating the type or category of the modified entity (e.g., “Webhook”, “LoanApplicationTask”).","nullable":true},"createdTimestamp":{"type":"string","description":"The timestamp when the entity was first created.","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"The timestamp when the entity was last updated.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"Represents an audit record for an entity that has been created or updated."}}}}
```

## The MortgageLates object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MortgageLates":{"type":"object","properties":{"x30":{"type":"integer","description":"Mortgage payments 30 days late.","format":"int32","nullable":true},"x60":{"type":"integer","description":"Mortgage payments 60 days late.","format":"int32","nullable":true},"x90":{"type":"integer","description":"Mortgage payments 90 days late.","format":"int32","nullable":true},"x120":{"type":"integer","description":"Mortgage payments 120 days late.","format":"int32","nullable":true},"x150":{"type":"integer","description":"Mortgage payments 150 days late.","format":"int32","nullable":true},"rollingX30":{"type":"integer","description":"Mortgage payments 30 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX60":{"type":"integer","description":"Mortgage payments 60 days late, counting rolling lates.","format":"int32","nullable":true},"rollingX90":{"type":"integer","description":"Mortgage payments 90 days late, counting rolling lates.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Counts of mortgage payments made late in the last 12 months. The x30 to x150 counts treat rolling lates as not allowed; the rollingX counts treat them as allowed. Null means not stated, 0 means none."}}}}
```

## The MoveLoanDocumentToConditionRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MoveLoanDocumentToConditionRequest":{"required":["conditionId"],"type":"object","properties":{"conditionId":{"type":"string","description":"The condition on the same loan the document is moved to.","format":"uuid"}},"additionalProperties":false,"description":"The body of `PUT {id}/documents/{documentId}/condition`."}}}}
```

## The MoveLoanDocumentToTaskRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"MoveLoanDocumentToTaskRequest":{"required":["taskId"],"type":"object","properties":{"taskId":{"type":"string","description":"Id (GUID) of the task on the same loan to move the document to, or to attach it to when it has no task yet.","format":"uuid"}},"additionalProperties":false,"description":"The task on the same loan a document is moved to, or attached to when it has no task yet."}}}}
```

## The NotificationCatalogEntry object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"NotificationCatalogEntry":{"type":"object","properties":{"templateKey":{"type":"string","description":"Exact property name on `EmailProviderTemplateConfig`.","nullable":true},"category":{"type":"string","description":"The notification category: status, marketing, documents, tasks, rateLock, submission or transactional. Transactional notifications cannot be turned off.","nullable":true},"recipientTypes":{"type":"array","items":{"type":"string"},"description":"Who the notification can be sent to: client (the borrower), user (the loan officer or staff) or thirdParty.","nullable":true},"itemKey":{"type":"string","description":"The template key with its first letter lowercased; the key used for this template in settings documents and responses.","nullable":true,"readOnly":true},"displayName":{"type":"string","description":"Plain-English name for the settings UI. At most 40 characters.","nullable":true},"description":{"type":"string","description":"One line saying what the mail tells its recipient, for the settings UI.","nullable":true},"agentDelivery":{"type":"string","description":"How the loan officer receives this mail: `Native` when the\r\ntemplate is addressed to them, `Copy` when it is borrower\r\nmail they can be copied on, null for transactional mail that has no user branch at all.\r\nDerived from the category and recipient types — never set by hand.","nullable":true,"readOnly":true},"milestone":{"type":"string","description":"The loan-timeline stage this template announces, from `NotificationMilestones`.\r\nNull for every non-status template, and for status templates that are not tied to a stage\r\n(an inbox reminder, a client message). Only the \"status\" category may carry one.","nullable":true},"defaultEnabled":{"type":"boolean","description":"Whether the notification is on when no setting at any level says otherwise; true for almost every template."}},"additionalProperties":false}}}}
```

## The NotificationCatalogMilestones object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"NotificationCatalogMilestones":{"type":"object","properties":{"client":{"type":"array","items":{"$ref":"#/components/schemas/MilestoneSummary"},"description":"The loan milestones the borrower's notifications can be switched on or off by, in timeline order.","nullable":true},"user":{"type":"array","items":{"$ref":"#/components/schemas/MilestoneSummary"},"description":"The loan milestones the staff notifications can be switched on or off by, in timeline order.","nullable":true}},"additionalProperties":false,"description":"The milestone list per recipient branch; both list every milestone, in timeline order."},"MilestoneSummary":{"type":"object","properties":{"code":{"type":"string","description":"The milestone's code, as used when switching a milestone's notifications on or off.","nullable":true},"name":{"type":"string","description":"Display name of the milestone.","nullable":true},"order":{"type":"integer","description":"Position of the milestone in the loan timeline, starting at 0.","format":"int32"},"itemKeys":{"type":"array","items":{"type":"string"},"description":"Empty when no template in this branch has reached this stage yet.","nullable":true}},"additionalProperties":false,"description":"One milestone plus the templates of a single recipient branch that belong to it."}}}}
```

## The NotificationCatalogResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"NotificationCatalogResponse":{"type":"object","properties":{"entries":{"type":"array","items":{"$ref":"#/components/schemas/NotificationCatalogEntry"},"description":"Every notification template, with its category, recipients and display text.","nullable":true},"milestones":{"$ref":"#/components/schemas/NotificationCatalogMilestones"}},"additionalProperties":false,"description":"The notification catalog: every notification template, plus the loan milestones each recipient type can switch on or off as a group."},"NotificationCatalogEntry":{"type":"object","properties":{"templateKey":{"type":"string","description":"Exact property name on `EmailProviderTemplateConfig`.","nullable":true},"category":{"type":"string","description":"The notification category: status, marketing, documents, tasks, rateLock, submission or transactional. Transactional notifications cannot be turned off.","nullable":true},"recipientTypes":{"type":"array","items":{"type":"string"},"description":"Who the notification can be sent to: client (the borrower), user (the loan officer or staff) or thirdParty.","nullable":true},"itemKey":{"type":"string","description":"The template key with its first letter lowercased; the key used for this template in settings documents and responses.","nullable":true,"readOnly":true},"displayName":{"type":"string","description":"Plain-English name for the settings UI. At most 40 characters.","nullable":true},"description":{"type":"string","description":"One line saying what the mail tells its recipient, for the settings UI.","nullable":true},"agentDelivery":{"type":"string","description":"How the loan officer receives this mail: `Native` when the\r\ntemplate is addressed to them, `Copy` when it is borrower\r\nmail they can be copied on, null for transactional mail that has no user branch at all.\r\nDerived from the category and recipient types — never set by hand.","nullable":true,"readOnly":true},"milestone":{"type":"string","description":"The loan-timeline stage this template announces, from `NotificationMilestones`.\r\nNull for every non-status template, and for status templates that are not tied to a stage\r\n(an inbox reminder, a client message). Only the \"status\" category may carry one.","nullable":true},"defaultEnabled":{"type":"boolean","description":"Whether the notification is on when no setting at any level says otherwise; true for almost every template."}},"additionalProperties":false},"NotificationCatalogMilestones":{"type":"object","properties":{"client":{"type":"array","items":{"$ref":"#/components/schemas/MilestoneSummary"},"description":"The loan milestones the borrower's notifications can be switched on or off by, in timeline order.","nullable":true},"user":{"type":"array","items":{"$ref":"#/components/schemas/MilestoneSummary"},"description":"The loan milestones the staff notifications can be switched on or off by, in timeline order.","nullable":true}},"additionalProperties":false,"description":"The milestone list per recipient branch; both list every milestone, in timeline order."},"MilestoneSummary":{"type":"object","properties":{"code":{"type":"string","description":"The milestone's code, as used when switching a milestone's notifications on or off.","nullable":true},"name":{"type":"string","description":"Display name of the milestone.","nullable":true},"order":{"type":"integer","description":"Position of the milestone in the loan timeline, starting at 0.","format":"int32"},"itemKeys":{"type":"array","items":{"type":"string"},"description":"Empty when no template in this branch has reached this stage yet.","nullable":true}},"additionalProperties":false,"description":"One milestone plus the templates of a single recipient branch that belong to it."}}}}
```

## The NotificationSettingsDocument object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"NotificationSettingsDocument":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the settings record, formatted type:entityId.","nullable":true},"partitionKey":{"type":"string","description":"The same value as id.","nullable":true},"type":{"type":"string","description":"The kind of entity the settings are for: company, user, client, loanApplication or borrowerPair.","nullable":true},"entityId":{"type":"string","description":"Id (GUID) of the entity the settings belong to.","format":"uuid"},"companyId":{"type":"string","description":"Tenant guard. Null only for user documents (users are tenant-scoped elsewhere).\r\n            Informational only — never used for authorization.","format":"uuid","nullable":true},"categories":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/CategorySettings"},"description":"Overrides per notification category (for example status, documents, tasks), each with a branch for borrower mail and one for the loan officer's own mail.","nullable":true},"updatedBy":{"type":"string","description":"Id of the user who last changed the settings.","format":"uuid","nullable":true},"updatedAt":{"type":"string","description":"When the settings were last changed, in UTC (ISO 8601).","format":"date-time"},"_etag":{"type":"string","description":"Concurrency token of this settings record: send it back as If-Match when changing the settings. Never accepted in a request body.","nullable":true},"suppressClientEmails":{"type":"boolean","description":"Company-level switch on borrower mail: when true, nothing is sent to the company's borrowers in any category, transactional mail included. Only meaningful on a company document. Null means not decided here, so the company's type decides: on for a third-party originator company, off for any other.","nullable":true}},"additionalProperties":false,"description":"The notification overrides stored for one entity (company, user, client, loan or borrower pair). A null value anywhere means inherit from the next level up; a document exists only while it overrides something."},"CategorySettings":{"type":"object","properties":{"client":{"$ref":"#/components/schemas/RecipientBranch"},"user":{"$ref":"#/components/schemas/RecipientBranch"}},"additionalProperties":false},"RecipientBranch":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Null = inherit the category from the next level up.","nullable":true},"items":{"type":"object","additionalProperties":{"type":"boolean"},"description":"Template item key → value. Non-empty means this branch has explicit per-template\r\n            overrides; a key absent here falls back to `milestones`, then `enabled`,\r\n            then `knownTemplates`, then the next level up.","nullable":true},"milestones":{"type":"object","additionalProperties":{"type":"boolean"},"description":"Loan-timeline milestone code → value, for the \"status\" category only. Sits between\r\n`items` and `enabled`: a template with no explicit item takes its\r\nmilestone's value when this branch names it. Keys are stored as written (PascalCase codes)\r\nbut the Cosmos contract resolver camelCases them on the way out, so every lookup is\r\ncase-insensitive — exactly as for `items`.","nullable":true},"knownTemplates":{"type":"array","items":{"type":"string"},"description":"Item keys known at the time this branch's Items were first written. A template added to the\r\ncatalog later and absent from both Items and KnownTemplates resolves to false while Items is\r\nnon-empty, per the resolver's default-off-when-customized rule.","nullable":true}},"additionalProperties":false,"description":"One recipient type's overrides within a category. A \"client\"/\"loanApplication\" document only\r\never populates `client`; the User branch is reserved for user\r\ndocuments and PATCH paths that target it against a client/loanApplication document are rejected."}}}}
```

## The NotificationSettingsPatchOperation object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"NotificationSettingsPatchOperation":{"required":["path"],"type":"object","properties":{"path":{"type":"string","description":"\"categories.{category}.{client|user}.enabled\" or\r\n\"categories.{category}.{client|user}.items.{templateKey}\". The template key is accepted in any\r\ncasing and normalized to the catalog's camelCase item key before it is stored."},"value":{"type":"boolean","description":"true / false, or null to clear the override at this level.","nullable":true}},"additionalProperties":false,"description":"One declarative edit against an entity's notification settings. The request body is an array and must hold at least one operation."}}}}
```

## The ObjectEventTypeResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ObjectEventTypeResponse":{"type":"object","properties":{"objectType":{"$ref":"#/components/schemas/ObjectTypeResponse"},"eventTypes":{"type":"array","items":{"$ref":"#/components/schemas/EventTypeResponse"},"description":"The events that can be subscribed to for that object.","nullable":true}},"additionalProperties":false,"description":"Represents a webhook object type along with its available event types."},"ObjectTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the object type.","format":"uuid"},"name":{"type":"string","description":"The name of the object type (e.g., “LoanApp”, “LoanAppTask”, “LoanAppVault”).","nullable":true}},"additionalProperties":false,"description":"A kind of object a webhook can watch, for example LoanApp, LoanAppTask or LoanAppVault."},"EventTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the event type.","format":"uuid"},"name":{"type":"string","description":"The name of the event type (e.g., “Created”, “Deleted”, “Changed”).","nullable":true}},"additionalProperties":false,"description":"A webhook event type: what happened to an object, for example Created, Deleted or Changed."}}}}
```

## The ObjectTypeRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ObjectTypeRequest":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the object type (e.g., LoanApp, LoanAppTask, LoanAppVault) as returned by GET /types/webhook-object-event-types.","format":"uuid"}},"additionalProperties":false,"description":"Selects a webhook object type by id."}}}}
```

## The ObjectTypeResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ObjectTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"The unique identifier of the object type.","format":"uuid"},"name":{"type":"string","description":"The name of the object type (e.g., “LoanApp”, “LoanAppTask”, “LoanAppVault”).","nullable":true}},"additionalProperties":false,"description":"A kind of object a webhook can watch, for example LoanApp, LoanAppTask or LoanAppVault."}}}}
```

## The OpportunityTypeModel object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"OpportunityTypeModel":{"type":"object","properties":{"name":{"type":"string","description":"Display name of the program type, for example 30 Year Fixed or 7/6 ARM.","nullable":true},"shortName":{"type":"string","description":"Compact form of the program type name with no spaces, usable as a key.","nullable":true}},"additionalProperties":false,"description":"The program type of a priced product, for example a fixed term or an adjustable-rate program."}}}}
```

## The OrdersCreditReportBorrower object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"OrdersCreditReportBorrower":{"type":"object","properties":{"borrowerId":{"type":"string","description":"The borrower's identifier on the loan, when the pull was matched to one.","format":"uuid","nullable":true},"name":{"type":"string","description":"The borrower's name as on the report.","nullable":true},"experian":{"type":"integer","description":"Null when the bureau returned no score for this borrower.","format":"int32","nullable":true},"transUnion":{"type":"integer","description":"The TransUnion score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"equifax":{"type":"integer","description":"The Equifax score; null when the bureau returned none for this borrower.","format":"int32","nullable":true},"score":{"type":"integer","description":"The borrower's single score derived from the bureau scores; null with no scores.","format":"int32","nullable":true}},"additionalProperties":false,"description":"One borrower covered by a credit report, with the bureau scores it returned."}}}}
```

## The OrdersCreditReportLiabilityImport object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"OrdersCreditReportLiabilityImport":{"type":"object","properties":{"outcome":{"type":"string","description":"What the liability import did, as a short status word.","nullable":true},"imported":{"type":"integer","description":"Number of liabilities imported; null when none were attempted.","format":"int32","nullable":true},"message":{"type":"string","description":"An explanation of the outcome, such as a warning or the reason the import failed.","nullable":true}},"additionalProperties":false,"description":"What importing the report's liabilities into the loan did."}}}}
```

## The OwnedProperty object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"OwnedProperty":{"type":"object","properties":{"externalLabel":{"type":"string","description":"A display label kept by Henge. Not sent to the LOS.","nullable":true},"dispositionStatus":{"$ref":"#/components/schemas/FieldType"},"occupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancyOtherDescription":{"type":"string","description":"Free-text description when intendedOccupancy is Other.","nullable":true},"marketValue":{"type":"number","description":"Market value of the property, in dollars.","format":"double","nullable":true},"monthlyRentalGross":{"type":"number","description":"Gross monthly rental income from the property, in dollars.","format":"double"},"maintenanceExpense":{"type":"number","description":"Maintenance expense for the property, in dollars.","format":"double","nullable":true},"monthlyRentalNet":{"type":"number","description":"Monthly rental income net of the property's expenses, in dollars.","format":"double","nullable":true},"lienBalance":{"type":"number","description":"Unpaid balance of the liens on the property, in dollars, as entered.","format":"double","nullable":true},"lienMonthlyPayment":{"type":"number","description":"Monthly payment on the liens on the property, in dollars, as entered.","format":"double","nullable":true},"isSubject":{"type":"boolean","description":"True when this is the subject property of the loan."},"isCurrent":{"type":"boolean","description":"True when this is the borrower's current residence."},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/PosLiability"},"description":"The mortgages tied to this property. Null or empty when none.","nullable":true},"liability":{"$ref":"#/components/schemas/PosLiability"},"tieId":{"type":"string","description":"What to send as a liability's securedPropertyId to tie it to this property: the LOS id, or the address before the loan is in the LOS. Recomputed on every read.","nullable":true},"securingLiabilityIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids (GUIDs) of the stored liabilities tied to this property. Recomputed on every read; a save does not set it.","nullable":true},"derivedLienBalance":{"type":"number","description":"Sum of the tied liabilities' balances, in dollars; null when no liability is tied. lienBalance stays what was entered.","format":"double","nullable":true},"derivedLienMonthlyPayment":{"type":"number","description":"Sum of the tied liabilities' monthly payments, in dollars; null when no liability is tied or none has a payment.","format":"double","nullable":true},"hasLienDifference":{"type":"boolean","description":"True when an entered lien figure disagrees with the tied liabilities. It is reported, never corrected."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A property the borrower owns (real estate owned): where it is, how it is used, its value and rent, and the mortgages tied to it."},"FieldType":{"type":"object","properties":{"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A value chosen from a list in the LOS, with its code and display name. Also the base of records that carry an LOS id."},"PosLiability":{"type":"object","properties":{"amount":{"type":"number","description":"Unpaid balance, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Monthly payment, in dollars.","format":"double","nullable":true},"remainingMonths":{"type":"integer","description":"Months left on the debt. Null when the file does not say.","format":"int32","nullable":true},"isPaidOffAtClosing":{"type":"boolean","description":"True when the debt will be paid off at closing. Null leaves the LOS's value alone.","nullable":true},"isExcludedFromRatios":{"type":"boolean","description":"True when the payment is left out of the debt-to-income ratios. Null leaves the LOS's value alone.","nullable":true},"accountNumber":{"type":"string","description":"Account number of the debt, as reported.","nullable":true},"isExpense":{"type":"boolean","description":"True when the row is an expense rather than a debt, for example in an export."},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"borrowerExternalId":{"$ref":"#/components/schemas/BorrowerExternalId"},"borrowerExternalIds":{"type":"array","items":{"$ref":"#/components/schemas/BorrowerExternalId"},"description":"Every borrower who owns the debt. When empty, the borrower in borrowerExternalId owns it.","nullable":true},"cosmosDbLiabilityId":{"type":"string","description":"Id (GUID) of the matching liability on the loan, which links this entry to the liabilities endpoints.","format":"uuid"},"creditorName":{"type":"string","description":"Name of the creditor or lender.","nullable":true},"description":{"type":"string","description":"Free-text description of the debt.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A debt listed on the loan application."},"BorrowerExternalId":{"type":"object","properties":{"externalId":{"type":"string","description":"The borrower's id in the LOS.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower."}},"additionalProperties":false,"description":"Identifies a borrower (consumer) in the LOS."}}}}
```

## The OwnedPropertyPatch object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"OwnedPropertyPatch":{"type":"object","properties":{"id":{"type":"string","description":"The property's externalId. Takes precedence over index.","nullable":true},"index":{"type":"integer","description":"Zero-based position of the property in the list as last read. Use only for a property that has no externalId yet.","format":"int32","nullable":true},"remove":{"type":"boolean","description":"true removes the addressed property. Every other field is ignored when true."},"address":{"type":"object","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"dispositionStatus":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"occupancy":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"intendedOccupancy":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"intendedOccupancyOtherDescription":{"type":"string","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"marketValue":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"monthlyRentalGross":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"maintenanceExpense":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"monthlyRentalNet":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"lienBalance":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"lienMonthlyPayment":{"type":"number","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it.","format":"double"},"isSubject":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."},"isCurrent":{"type":"boolean","description":"A field of a partial update: leave it out to keep the stored value, or send null to clear it."}},"additionalProperties":false,"description":"One real-estate-owned property's changes. Addressed by `id` (the stored\r\n`ExternalId`) or, for a property that has none yet, by `index`. An entry with neither `id` nor `index` adds a property."}}}}
```

## The PageIssue object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."}}}}
```

## The ParQuote object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ParQuote":{"type":"object","properties":{"parRate":{"type":"number","description":"Note rate at par, in percent.","format":"double"},"parPrice":{"type":"number","description":"Price at par, where 100 is par.","format":"double"},"parLock":{"type":"integer","description":"Lock period of this par quote, in days.","format":"int32"}},"additionalProperties":false,"description":"The par rate for one lock period: the rate whose price is closest to 100."}}}}
```

## The PartnerCreditCredentialsResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PartnerCreditCredentialsResponse":{"type":"object","properties":{"credentials":{"type":"array","items":{"$ref":"#/components/schemas/CreditCredential"},"description":"The acting user's own first (when their company allows them), then the loan company's.","nullable":true},"defaultCredentialId":{"type":"string","description":"The acting user's own default, else the loan company's.","format":"uuid","nullable":true}},"additionalProperties":false,"description":"The saved credit credentials usable on a loan, as the Partner API lists them. A partner cannot add a\r\ncredential, so unlike the web app's list there is no save target."},"CreditCredential":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the saved credential; send it as creditCredentialId to use it.","format":"uuid"},"owner":{"type":"string","description":"Who owns the credential: company or user.","nullable":true},"companyId":{"type":"string","description":"The owning company (a user credential: the user's company).","format":"uuid"},"ownerUserId":{"type":"string","description":"The owning user; null for a company credential.","format":"uuid","nullable":true},"nickname":{"type":"string","description":"The name the credential is listed under; unique for one owner.","nullable":true},"agencyId":{"type":"string","description":"Id (GUID) of the credit reporting agency the credential is for.","format":"uuid","nullable":true},"agencyName":{"type":"string","description":"Name of the credit reporting agency.","nullable":true},"agencyDuCode":{"type":"string","description":"The agency's DU credit provider code.","nullable":true},"usernameHint":{"type":"string","description":"The last 3 characters of the hard-pull username; never more.","nullable":true},"hasSoftPullLogin":{"type":"boolean","description":"True when a soft-pull login is saved as well as the hard-pull login. The logins themselves are never returned."},"accountIdHint":{"type":"string","description":"The last 3 characters of the agency account id; empty when none is saved.","nullable":true},"isDefault":{"type":"boolean","description":"True when this is its owner's default credential, used when a request names none."},"canOrder":{"type":"boolean","description":"True when the credential's agency can take a new report order, so the credential can be used to order a new credit report."}},"additionalProperties":false,"description":"A saved credit credential: a credit reporting agency plus its login, kept by a company or by one of its users. The login is write-only: a response carries the last 3 characters of the hard-pull username and whether a soft-pull login is saved, never a password or the full username."}}}}
```

## The PartnerDuCreditReissue object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PartnerDuCreditReissue":{"required":["referenceNumber"],"type":"object","properties":{"creditCredentialId":{"type":"string","description":"A credential from `GET loan-applications/{id}/credit-credentials`. A credential the acting user may not use on the loan is a 403.","format":"uuid","nullable":true},"referenceNumber":{"type":"string","description":"The agency's report (file) number: one joint report for every borrower on the loan."},"instantViewPassword":{"type":"string","description":"The report's Instant View Password, for a report on another lender's account; used for this request only.","nullable":true}},"additionalProperties":false,"description":"A reissue by a saved credit credential: the credential's agency and login are used, and a partner types none."}}}}
```

## The PartnerDuSubmitRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PartnerDuSubmitRequest":{"type":"object","properties":{"confirmationToken":{"type":"string","description":"Leave it out to preview. Pass the token a preview returned to submit; it works once, for the same acting user and loan, for 15 minutes.","nullable":true},"creditReissue":{"$ref":"#/components/schemas/PartnerDuCreditReissue"}},"additionalProperties":false,"description":"A DU run on the loan. Without `confirmationToken` it is a preview, which returns a token; send the request again with that token to submit. Without `creditReissue` the run uses your default saved credit credential (the acting user's own, else the loan company's) and runs credit and underwriting as a preliminary submission. A credential is named by its id; a login is never sent. `creditReissue`: Optional. Send the same value on the preview and on the confirm: the token is bound to it. Send {} to preview, then the preview's confirmationToken to submit."},"PartnerDuCreditReissue":{"required":["referenceNumber"],"type":"object","properties":{"creditCredentialId":{"type":"string","description":"A credential from `GET loan-applications/{id}/credit-credentials`. A credential the acting user may not use on the loan is a 403.","format":"uuid","nullable":true},"referenceNumber":{"type":"string","description":"The agency's report (file) number: one joint report for every borrower on the loan."},"instantViewPassword":{"type":"string","description":"The report's Instant View Password, for a report on another lender's account; used for this request only.","nullable":true}},"additionalProperties":false,"description":"A reissue by a saved credit credential: the credential's agency and login are used, and a partner types none."}}}}
```

## The PartnerDuSubmitResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PartnerDuSubmitResponse":{"type":"object","properties":{"stage":{"type":"string","description":"`Preview` (nothing was submitted) or `Submitted`.","nullable":true},"message":{"type":"string","description":"In words, what the preview or the run did.","nullable":true},"confirmationToken":{"type":"string","description":"Token a preview returns; send it back to submit. It works once, for the same user and loan, for 15 minutes.","nullable":true},"tokenExpiresUtc":{"type":"string","description":"When the confirmation token expires, ISO 8601 UTC.","format":"date-time","nullable":true},"preview":{"$ref":"#/components/schemas/DuSubmissionPreview"},"run":{"$ref":"#/components/schemas/AusRunResult"},"issues":{"type":"array","items":{"type":"string"},"description":"Problems found with the loan data that stop or limit the submission.","nullable":true}},"additionalProperties":false,"description":"The preview or the result of submitting a loan to Desktop Underwriter."},"DuSubmissionPreview":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the submission would be made for.","format":"uuid"},"loanNumber":{"type":"string","description":"The loan's LOS number.","nullable":true},"casefileId":{"type":"string","description":"The casefile an earlier run left on the loan; null when this run opens a new casefile.","nullable":true},"orderingOption":{"type":"string","description":"What the submission would run: CreditAndUnderwriting, CreditOnly or UnderwritingOnly.","nullable":true},"submissionOption":{"type":"string","description":"The submission type: Preliminary, Interim or Final.","nullable":true},"creditOption":{"type":"string","description":"How credit would reach the casefile: Reissue, OrderNew or UsePrevious.","nullable":true},"creditProvider":{"type":"string","description":"With no reissue: the agency and saved credential the loan's report is brought into the casefile from.","nullable":true},"creditReissue":{"$ref":"#/components/schemas/DuReissuePreview"},"creditOrder":{"$ref":"#/components/schemas/DuOrderPreview"},"summary":{"type":"string","description":"The preview in words, for the person to read before they confirm.","nullable":true}},"additionalProperties":false,"description":"What a DU submission would do, shown before it is confirmed. It is built from the loan and the request alone: nothing is sent to the Loan Origination System, Fannie Mae or the credit agency to make it."},"DuReissuePreview":{"type":"object","properties":{"agencyName":{"type":"string","description":"The agency; null when the LOS's saved agency account is used.","nullable":true},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the report that would be reissued.","nullable":true},"loginName":{"type":"string","description":"The login name the caller typed. Never a saved credential's login.","nullable":true},"savedCredential":{"type":"string","description":"The saved credential used (nickname and owner), when one is.","nullable":true},"borrowers":{"type":"array","items":{"type":"string"},"description":"Every borrower on the loan: the one joint report applies to all of them.","nullable":true},"needsAgencyPassword":{"type":"boolean","description":"True when the confirming call must carry the agency password (a typed login)."}},"additionalProperties":false,"description":"The existing credit report a DU submission would bring onto the loan first: the agency, reference number and login to use."},"DuOrderPreview":{"type":"object","properties":{"agencyName":{"type":"string","description":"The agency DO orders from, and whose account is billed.","nullable":true},"agencyDuCode":{"type":"string","description":"The agency's DU code, e.g. \"200\" for Fannie Mae's Test Credit Agency.","nullable":true},"loginName":{"type":"string","description":"The login name the caller typed. Never a saved credential's login.","nullable":true},"savedCredential":{"type":"string","description":"The saved credential used (nickname and owner), when one is.","nullable":true},"borrowers":{"type":"array","items":{"type":"string"},"description":"Every borrower on the loan: the new report covers all of them.","nullable":true},"loanHasCreditReport":{"type":"boolean","description":"True when the loan already has a credit report, which the new one is different from."},"needsAgencyPassword":{"type":"boolean","description":"True when the confirming call must carry the agency password (a typed login)."}},"additionalProperties":false,"description":"What a DU submission that orders a new credit report would order and bill."},"AusRunResult":{"type":"object","properties":{"id":{"type":"string","description":"Unique id (GUID) of this automated underwriting run; use it as the runId when reading the run's findings.","format":"uuid"},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the run belongs to.","format":"uuid"},"ausType":{"type":"string","description":"The automated underwriting system the run is for: DU (Fannie Mae Desktop Underwriter) or LPA (Freddie Mac Loan Product Advisor).","nullable":true},"source":{"type":"string","description":"Where the run came from: Submitted when it was submitted through Henge, or Imported when it was read in from an existing DU casefile or LPA key.","nullable":true},"casefileId":{"type":"string","description":"The DU casefile id the run belongs to. A later submission on the same loan reuses the casefile. Null for an LPA run.","nullable":true},"lpaKey":{"type":"string","description":"The Freddie Mac LPA key of an LPA run; null for a DU run.","nullable":true},"recommendation":{"type":"string","description":"The underwriting recommendation as text, for example Approve/Eligible. Null when the run has none, such as a credit-only run or a run that ended in an error.","nullable":true},"resultCode":{"type":"integer","description":"Numeric code of the result: 0 not submitted, 1 to 9 the DU results, 10 to 13 and 15 to 19 the LPA results, 14 out of scope. Null when no result was returned.","format":"int32","nullable":true},"result":{"type":"string","description":"The name of resultCode, for example the DU or LPA outcome it stands for. Null when there is no result code.","nullable":true},"riskClass":{"type":"string","description":"For an LPA result, its risk class: Accept or Caution. Null for a DU run or when there is no result.","nullable":true},"status":{"type":"string","description":"How the run ended: Completed (it went through and its result was read back), Submitted (it was accepted but the result could not be read back yet; a later check or loan sync picks it up) or Error (it was refused; message says why).","nullable":true},"casefileStatus":{"type":"string","description":"The status of the DU casefile as last read. Often empty, because the casefile status is not read for every run.","nullable":true},"message":{"type":"string","description":"For a run with status Error, why it was refused; otherwise usually empty.","nullable":true},"creditReissued":{"type":"boolean","description":"True when the broker's existing credit report was reissued onto the loan as part of this run, false when it was not (for example when the report already on the loan was used)."},"creditAgencyDuCode":{"type":"string","description":"The DU code of the credit reporting agency whose report the run used; null when no agency was named.","nullable":true},"creditAgencyName":{"type":"string","description":"Name of the credit reporting agency whose report the run used; null when no agency was named.","nullable":true},"creditReferenceNumber":{"type":"string","description":"The agency's reference (file) number of the report that was reissued; null when no report was reissued.","nullable":true},"creditOption":{"type":"string","description":"How credit reached the casefile on a submission: Reissue (the broker's existing report), OrderNew (a new report ordered) or UsePrevious (the report already in the casefile). Null on an import.","nullable":true},"orderingOption":{"type":"string","description":"What the run did: CreditAndUnderwriting, CreditOnly or UnderwritingOnly. Null on an import and on runs made before this was recorded.","nullable":true},"submissionOption":{"type":"string","description":"The submission type: Preliminary, Interim or Final. Null on an import and on runs made before this was recorded.","nullable":true},"creditReportId":{"type":"string","description":"The id of the credit report that was ordered for the run (credit option OrderNew), as the underwriting system returned it; null when none was named.","nullable":true},"findingsDocumentId":{"type":"string","description":"Id of the loan document that holds the DU findings report for this run; null when no findings report was filed.","format":"uuid","nullable":true},"hasFindings":{"type":"boolean","description":"True when the run's findings are available as data through the findings route; false for older runs made before findings were read as data."},"ltv":{"type":"string","description":"The findings' LTV as DU prints it (\"75.00%\"); null when there are no findings or DU states none.","nullable":true},"debtToIncomeRatio":{"type":"string","description":"The findings' debt-to-income ratio as DU prints it; null when absent.","nullable":true},"closeByDate":{"type":"string","description":"The date DU says the casefile must close by, as DU prints it (\"03/01/2027\"); null when it states none.","nullable":true},"submittedBy":{"type":"string","description":"Id of the user who submitted the run; null for an import or a run without a recorded submitter.","format":"uuid","nullable":true},"submittedByName":{"type":"string","description":"The submitter's display name, read with the run list (`GET .../aus/runs`); null on a run without a submitter, one whose user is gone, and on the result of a submit or a status check.","nullable":true},"brokerNmlsId":{"type":"string","description":"The broker NMLS id sent with the submission; null when none was sent.","nullable":true},"submittedUtc":{"type":"string","description":"When the run was recorded, in UTC (ISO 8601).","format":"date-time"}},"additionalProperties":false,"description":"One run, as the run history and the submit return it. Never carries a credential."}}}}
```

## The PartnerOrderIncomeVerificationRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PartnerOrderIncomeVerificationRequest":{"required":["borrowerId"],"type":"object","properties":{"borrowerId":{"type":"string","description":"The borrower to verify. Must be on the loan and must have authorized the verification.","format":"uuid"}},"additionalProperties":false,"description":"The body of an income and employment verification order."}}}}
```

## The PartnerProcessPreApprovalRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PartnerProcessPreApprovalRequest":{"type":"object","properties":{"emailBorrowerOnSuccess":{"type":"boolean","description":"Email the borrower the approved letter when the result is an approval. Defaults to false: no mail\r\ngoes out unless this is true. A denial never emails the borrower."},"purchasePrice":{"type":"number","description":"Purchase price of the property, in dollars. Left out, it is read from the loan.","format":"double","nullable":true},"downPayment":{"type":"number","description":"The loan amount is the purchase price less this.","format":"double","nullable":true},"annualIncome":{"type":"number","description":"Borrower's annual income, in dollars. Left out, it is read from the loan.","format":"double","nullable":true},"occupancy":{"type":"string","description":"How the property will be used: PrimaryResidence, SecondaryResidence or Investment.","nullable":true},"incomeType":{"type":"string","description":"Type of the borrower's income, for example W2-earner.","nullable":true},"loanType":{"type":"string","description":"VA, FHA, Conventional or NonConforming. Left out, it is inferred from the loan as before.","nullable":true},"hasAny":{"type":"boolean","description":"True when the caller named at least one input.","readOnly":true}},"additionalProperties":false,"description":"The body of `pre-approval/process`: the scenario, all optional, and whether the borrower is emailed. A down payment or purchase price must leave a loan amount above zero and not above the purchase price."}}}}
```

## The PartnerReissueCreditReportRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PartnerReissueCreditReportRequest":{"required":["borrowers"],"type":"object","properties":{"creditCredentialId":{"type":"string","description":"A credential from `GET loan-applications/{id}/credit-credentials`. Leave it out to use the default one. A credential the acting user may not use on the loan is a 403.","format":"uuid","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/ReissueCreditReportBorrower"},"description":"One entry per borrower on the report. The same reference number on every borrower is one joint report."},"reportType":{"$ref":"#/components/schemas/CreditReportType"}},"additionalProperties":false,"description":"Body of the Partner API's credit report reissue. The agency and login come from a saved credit credential\r\n(`creditCredentialId`, or the default one when it is left out); a partner types no login and adds no credential. `reportType`: HardPull when left out."},"ReissueCreditReportBorrower":{"required":["borrowerId","referenceNumber"],"type":"object","properties":{"borrowerId":{"type":"string","description":"Id (GUID) of the borrower on the loan the report covers.","format":"uuid"},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the report for this borrower. The same number on every borrower means one joint report."},"instantViewPassword":{"type":"string","description":"The report's Instant View Password, needed for a report on another lender's account. Optional; leave blank when not needed. The same value goes on every borrower of a joint report; it is used for the one request and never stored.","nullable":true}},"additionalProperties":false},"CreditReportType":{"enum":["SoftPull","HardPull"],"type":"string","description":"How a credit report is pulled: SoftPull (no inquiry on the borrower's file) or HardPull (leaves an inquiry and is billed with the card in billingInformation)."}}}}
```

## The PaymentShock object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PaymentShock":{"type":"object","properties":{"amount":{"type":"number","description":"Dollar increase over the present housing payment.","format":"double","nullable":true},"percent":{"type":"number","description":"Increase as a percentage of the present housing payment.","format":"double","nullable":true}},"additionalProperties":false,"description":"The jump from the borrower's present housing payment to the proposed one. Calculated by the LOS; read only."}}}}
```

## The PlaidHostedLinkRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PlaidHostedLinkRequest":{"type":"object","properties":{"borrowerId":{"type":"string","description":"The borrower who will connect their bank: a borrower id on the loan. Defaults to the primary\r\nborrower.","format":"uuid","nullable":true},"completionRedirectUri":{"type":"string","description":"Where Plaid sends the borrower when they finish, e.g. a page on your platform or your app's own\r\nURL scheme. When omitted, Plaid shows its own completion page.","nullable":true}},"additionalProperties":false,"description":"A Plaid Hosted Link to create for a borrower. Both fields are optional, and so is the body."}}}}
```

## The PlaidHostedLinkResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PlaidHostedLinkResponse":{"type":"object","properties":{"linkId":{"type":"string","description":"Unique identifier (GUID) of the bank-linking session; use it to check its status.","format":"uuid"},"url":{"type":"string","description":"Link to give to the borrower so they can connect a bank account to the loan. Anyone who holds it can do so until it expires, so send it only to the borrower.","nullable":true},"expiresAt":{"type":"string","description":"When the link stops working, ISO 8601 in UTC.","format":"date-time"}},"additionalProperties":false}}}}
```

## The PlaidHostedLinkStatusResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PlaidHostedLinkStatusResponse":{"type":"object","properties":{"linkId":{"type":"string","description":"Unique identifier (GUID) of the bank-linking session.","format":"uuid"},"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan the accounts are linked to.","format":"uuid"},"borrowerId":{"type":"string","description":"Unique identifier (GUID) of the borrower the link was issued for.","format":"uuid"},"status":{"type":"string","description":"State of the session: pending, completed, expired or failed.","nullable":true},"failureReason":{"type":"string","description":"Why the session failed; null unless it failed.","nullable":true},"expiresAt":{"type":"string","description":"When the link stops working, ISO 8601 in UTC.","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the session was created, ISO 8601 in UTC.","format":"date-time"},"completedTimestamp":{"type":"string","description":"When the borrower finished linking, ISO 8601 in UTC; null until then.","format":"date-time","nullable":true},"accounts":{"type":"array","items":{"$ref":"#/components/schemas/AssetAccountResponse"},"description":"Once completed, the asset accounts the link created, with account numbers masked; empty otherwise.","nullable":true}},"additionalProperties":false},"AssetAccountResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id of the asset account (GUID).","format":"uuid"},"name":{"type":"string","description":"Name of the account, for example \"Primary Checking\".","nullable":true},"description":{"type":"string","description":"Free-text description of the account.","nullable":true},"assetType":{"$ref":"#/components/schemas/AssetType"},"documentsNeeded":{"type":"integer","description":"How many statements the borrower is asked to provide.","format":"int32","nullable":true},"documentTimePeriod":{"$ref":"#/components/schemas/DocumentTimePeriod"},"tasks":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplicationTaskItem"},"description":"The document request tasks that belong to this account.","nullable":true},"createdTimestamp":{"type":"string","description":"When the account was created (ISO 8601 date and time, UTC).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the account was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"asset":{"$ref":"#/components/schemas/Asset"},"isRequired":{"type":"boolean","description":"Whether documents for this account are required before the file can move forward."},"requiresPlaidReconnection":{"type":"boolean","description":"True when the account was linked through the bank connection and that link has expired, so the borrower must reconnect it before balances refresh."},"ownerBorrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The hdBorrowerIds of the account's owners. Null means the loan's primary borrower.","nullable":true},"potentialDuplicates":{"type":"array","items":{"$ref":"#/components/schemas/AssetPotentialDuplicate"},"description":"Other accounts on the loan that look like the same account: same institution, last four digits of the account number and owners, and a balance within tolerance. Worked out on every read; empty when there are none.","nullable":true},"notes":{"type":"array","items":{"$ref":"#/components/schemas/RecordNote"},"description":"Notes on this account, oldest first. Never sent to the LOS; empty for a borrower and on the Partner API.","nullable":true}},"additionalProperties":false,"description":"An asset account on the loan, with its requested documents and the borrowers who own it."},"AssetType":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the asset type.","format":"uuid"},"code":{"type":"string","description":"Short code of the asset type.","nullable":true},"name":{"type":"string","description":"Display name of the asset type.","nullable":true}},"additionalProperties":false,"description":"A kind of asset, for example checking or savings."},"DocumentTimePeriod":{"type":"object","properties":{"id":{"type":"string","description":"Id of the period (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the period; send it as documentTimePeriodCode.","nullable":true},"name":{"type":"string","description":"Display name of the period.","nullable":true}},"additionalProperties":false,"description":"The period a statement covers when documents are requested for an asset account, for example Monthly."},"LoanApplicationTaskItem":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task or condition (GUID).","format":"uuid","nullable":true},"taskStatusTimestamp":{"type":"string","description":"When the task's status last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"When the task was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created (ISO 8601 date and time, UTC).","format":"date-time"},"item":{"$ref":"#/components/schemas/Item"},"assignedToBorrowerId":{"type":"string","description":"Id (GUID) of the borrower the task is assigned to. Null for a user task or a task for the loan's borrowers generally.","format":"uuid","nullable":true},"status":{"$ref":"#/components/schemas/TaskStatus"},"document":{"$ref":"#/components/schemas/Document"},"rejectionReasonNote":{"type":"string","description":"The reviewer's free-text note when the task's document was rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReason"},"creditReportType":{"$ref":"#/components/schemas/PosCreditReportType"},"isForPrimaryBorrower":{"type":"boolean","description":"True when the task is for the primary borrower, false when it is for the co-borrower. Null when it is for neither in particular.","nullable":true},"isRequired":{"type":"boolean","description":"Whether the task must be completed before the file can move forward."},"isAccountMainTask":{"type":"boolean","description":"True for the main task of an asset account, the one that requests the account's statements."},"questionType":{"$ref":"#/components/schemas/TaskQuestionType"},"yesNoResponse":{"type":"boolean","description":"The borrower's answer to a yes/no question task. Null until answered.","nullable":true},"shortAnswer":{"type":"string","description":"The borrower's answer to a short-answer question task. Null until answered.","nullable":true},"assignedToUser":{"$ref":"#/components/schemas/LoanAppUser"},"name":{"type":"string","description":"Display name of the task or condition.","nullable":true},"description":{"type":"string","description":"Description of the task. For a condition, the condition text: the reworded text when staff edited it in Henge, otherwise the LOS text.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the task among its siblings, lowest first.","format":"int32","nullable":true},"type":{"$ref":"#/components/schemas/TaskType"},"code":{"type":"string","description":"Short code of the task.","nullable":true},"conditionNo":{"type":"integer","description":"Condition number in the LOS. Conditions only.","format":"int32","nullable":true},"conditionCategory":{"type":"string","description":"Category of the condition in the LOS. Conditions only.","nullable":true},"conditionDueDate":{"type":"string","description":"Due date of the condition (ISO 8601 date). Conditions only.","format":"date","nullable":true},"conditionAssignedUserFullName":{"type":"string","description":"Full name of the user the condition is assigned to in the LOS. Conditions only.","nullable":true},"conditionBorrowerFullName":{"type":"string","description":"Full name of the borrower the condition is for. Conditions only.","nullable":true},"conditionIsHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower. Staff roles still see it; a caller that receives a hidden condition is entitled to it.","nullable":true},"conditionSourceText":{"type":"string","description":"The LOS's original condition text. Set only when staff reworded the condition in Henge, in which case description carries the rewording; null otherwise.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True when staff reworded this condition in Henge. The rewording is never sent to the LOS."},"notes":{"type":"string","description":"Notes on the task or condition.","nullable":true},"taskAssignmentType":{"$ref":"#/components/schemas/TaskAssignmentType"},"isSubscribed":{"type":"boolean","description":"Whether the calling user is subscribed to status-change notifications for this task. Null when not computed.","nullable":true},"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition this task belongs to. Null on conditions and on standalone tasks. Read on create; ignored on update.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account the task belongs to, if any. Needed on create only for a Transaction History task; ignored on update.","format":"uuid","nullable":true},"assetAccountName":{"type":"string","description":"Name of the asset account the task belongs to. Response only, and filled only where the response includes accounts.","nullable":true},"creditReportNumber":{"type":"string","description":"For credit report tasks, the credit agency's report number.","nullable":true},"requestTaskId":{"type":"string","description":"Id of the first task of the document request this task is a copy of (one task per document). Null on the first task itself. On create, naming any task of a request makes the new task a copy that joins that request.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"ownerPairId":{"type":"string","description":"Id (GUID) of the borrower pair staff made the owner of this task or condition. Empty when the owner is worked out on read.","format":"uuid","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True for a whole-loan task or condition that every borrower pair sees."}},"additionalProperties":false,"description":"A task or condition on a loan: a document request, a question, a user task or a condition from the LOS."},"Item":{"type":"object","properties":{"id":{"type":"string","description":"Id of the item (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the item; send it as the item code when you create a task.","nullable":true},"name":{"type":"string","description":"Display name of the item.","nullable":true},"groupCode":{"type":"string","description":"Code of the condition group the item's tasks are shown under. Null means Other.","nullable":true},"canCreateManually":{"type":"boolean","description":"True when staff can create a task for this item by hand."},"canUploadDocument":{"type":"boolean","description":"True when a document can be uploaded against this item."}},"additionalProperties":false,"description":"A kind of request a task can ask for, such as a specific document."},"TaskStatus":{"type":"object","properties":{"id":{"type":"string","description":"Id of the status (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the status.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a task, for example Requested, Uploaded, Submitted or Accepted."},"Document":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"externalId":{"type":"string","description":"The document's id in the Loan Origination System; empty until it has been sent there.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once an uploaded file has been converted to PDF and can be opened; false while conversion is still running."},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition the document is attached to; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"blobName":{"type":"string","description":"The name the file is stored under. An internal storage key: download through the document routes rather than using it.","nullable":true},"createdTimestamp":{"type":"string","description":"When the document was created, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the document was last changed, in UTC (ISO 8601).","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user who last changed the document; null when the change was automatic or unknown.","format":"uuid","nullable":true},"documentTypeId":{"type":"string","description":"Id of the platform's broad document category (such as a vault or task document). Not the loan document type, which is loanDocumentTypeId.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan's vault, false when it hangs off a\r\ntask, a condition or an asset account. Callers use it to decide what a user may do with the\r\ndocument: only a vault document can be deleted. Any document can be given a document type."},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document is filed under (from the loan document types list); null when it has none.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the loan document type; null when the document has none.","nullable":true},"loanDocumentTypeExternalId":{"type":"string","description":"The loan document type's id in the Loan Origination System.","nullable":true},"loanDocumentTypeFolderName":{"type":"string","description":"Name of the folder the loan document type belongs to; null when the document has no type.","nullable":true},"description":{"type":"string","description":"A free-text description of the document; may be empty.","nullable":true},"isDeleted":{"type":"boolean","description":"True when the document has been deleted. Deleted documents are normally left out of lists."},"isInternal":{"type":"boolean","description":"True for a staff-only document that is hidden from borrowers and partner applications."},"isObsolete":{"type":"boolean","description":"The LOS no longer considers this document active. It stays visible so users can still see\r\nit, but it is not current and is never pushed back to the LOS."},"isProtected":{"type":"boolean","description":"The LOS holds the document as Protected, locked there against edits and deletion. Set and\r\ncleared by Admin and Processor through the document status endpoints, or in the LOS itself."},"losStatus":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"title":{"type":"string","description":"The title shown for the document; may be empty, in which case the file name is shown.","nullable":true},"splitFromDocumentId":{"type":"string","description":"On a part of a split combined PDF: the id of the original document it was cut from. Null on every other document.","format":"uuid","nullable":true},"splitStartPage":{"type":"integer","description":"On a part of a split combined PDF: the first page of the original it holds. Null on every other document.","format":"int32","nullable":true},"splitEndPage":{"type":"integer","description":"On a part of a split combined PDF: the last page of the original it holds. Null on every other document.","format":"int32","nullable":true},"isUnsorted":{"type":"boolean","description":"True while the document was bulk-uploaded to the loan with no task and no type and nobody has\r\nsorted it. It is held out of the LOS until it is put on a task or given a type."},"hasNoFile":{"type":"boolean","description":"True for a staff-only entry the Loan Origination System holds with no file here (a non-PDF assigned to a condition): there is nothing to open, download or move."},"intakeStatus":{"type":"string","description":"NeedsPassword or Duplicate for a bulk-uploaded document that is held for that reason; null\r\notherwise. See DocumentIntakeStatuses.","nullable":true},"duplicateOfDocumentId":{"type":"string","description":"The existing document this one repeats, when IntakeStatus is Duplicate.","format":"uuid","nullable":true},"indexStatus":{"type":"string","description":"Whether the document's text is searchable: Indexed, Pending, Failed or NotSubmitted. Set by\r\nthe document lists for staff callers; null when it was not looked up, or the lookup failed.","nullable":true},"analysis":{"$ref":"#/components/schemas/DocumentAnalysisSummary"},"internalNotes":{"type":"string","description":"Staff-only internal notes on the document, verbatim from the Loan Origination System. Returned only to callers who may see internal notes; null for everyone else.","nullable":true}},"additionalProperties":false,"description":"A document on a loan: the file, the task or condition it is attached to, its type and its status."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."},"DocumentAnalysisSummary":{"type":"object","properties":{"status":{"type":"string","description":"Pending, Completed, Failed or Skipped. Failed reads \"Not analysed\".","nullable":true},"verdict":{"type":"string","description":"Whether the document is what was asked for: Matches, Mismatch, Unreadable or Unknown.","nullable":true},"reasonCode":{"type":"string","description":"On a Mismatch, why: WrongDocument, WrongPeriod, WrongAccount, WrongBorrower, MissingPages or Expired. On an Unreadable verdict from the page quality check, UnreadablePages.","nullable":true},"reason":{"type":"string","description":"One line in plain language explaining the verdict, written for the borrower.","nullable":true},"suggestedRejectionReasonCode":{"type":"string","description":"The seeded TaskRejectionReason code the panel pre-selects for a Mismatch.","nullable":true},"suggestedTaskId":{"type":"string","description":"Id of the task or condition the document appears to belong to; null when none matched.","format":"uuid","nullable":true},"suggestedTaskName":{"type":"string","description":"Name of the suggested task or condition.","nullable":true},"isOnSuggestedTask":{"type":"boolean","description":"False when the document sits on a different task than the best match: shown for confirmation."},"matchConfidence":{"type":"number","description":"How sure the analysis is of the suggested task, from 0 to 1.","format":"double","nullable":true},"suggestedLoanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document looks like; null when not determined.","format":"uuid","nullable":true},"suggestedLoanDocumentTypeName":{"type":"string","description":"Name of the suggested loan document type.","nullable":true},"suggestedTitle":{"type":"string","description":"The title the analysis suggests for the document, built from what it read (for example the account and statement period).","nullable":true},"titleAppliedAutomatically":{"type":"boolean","description":"True when the document's current title was set by the analysis rather than by a person."},"previousTitle":{"type":"string","description":"The title the document had before the analysis renamed it; null when it was not renamed.","nullable":true},"autoNameDisabled":{"type":"boolean","description":"True when a person undid an automatic name; the analysis never renames this document again."},"filedByType":{"type":"boolean","description":"Filed under the suggested LOS type and folder by the analysis, for a person to confirm or correct."},"duplicateOfDocumentId":{"type":"string","description":"Id of an earlier document on the loan with the same content, when this one repeats it; otherwise null.","format":"uuid","nullable":true},"supersedesDocumentId":{"type":"string","description":"Id of an earlier document this one replaces (a newer version of the same document); otherwise null.","format":"uuid","nullable":true},"supersededByDocumentId":{"type":"string","description":"Id of a newer document that replaces this one; otherwise null.","format":"uuid","nullable":true},"outcome":{"type":"string","description":"What a person did with the suggestion: Confirmed, Corrected, Rejected or Ignored; null while no one has acted.","nullable":true},"outcomeAt":{"type":"string","description":"When the person acted on the suggestion, in UTC (ISO 8601); null while no one has.","format":"date-time","nullable":true},"coveredPeriods":{"type":"array","items":{"type":"string"},"description":"For a request that needs a span of statements, the months the uploaded documents cover, each formatted yyyy-MM.","nullable":true},"missingPeriods":{"type":"array","items":{"type":"string"},"description":"The requested months no uploaded document covers yet, each formatted yyyy-MM.","nullable":true},"monthsMissing":{"type":"integer","description":"How many months of the request are still missing.","format":"int32","nullable":true},"analyzedAt":{"type":"string","description":"When the analysis was done, in UTC (ISO 8601).","format":"date-time"},"splitSuggestion":{"$ref":"#/components/schemas/SplitSuggestion"},"pageIssues":{"type":"array","items":{"$ref":"#/components/schemas/PageIssue"},"description":"The pages the quality check flagged, which the Unreadable-page request names.","nullable":true}},"additionalProperties":false,"description":"What the document review shows for a document: the suggested task, type and title, the verdict and whether the title was applied automatically. The evidence and page text the analysis read are not included."},"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."},"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."},"TaskRejectionReason":{"type":"object","properties":{"id":{"type":"string","description":"Id of the rejection reason (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the rejection reason.","nullable":true},"code":{"type":"string","description":"Stable code of the rejection reason.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the reason in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"A reason a reviewer gives for rejecting a task's document."},"PosCreditReportType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the report type (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the report type.","nullable":true},"name":{"type":"string","description":"Display name of the report type.","nullable":true}},"additionalProperties":false,"description":"The type of credit report a credit report task asks for."},"TaskQuestionType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the question type (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the question type.","nullable":true},"code":{"type":"string","description":"Stable code of the question type.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the question type in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"For a question task, the kind of answer it asks for, such as yes/no or a short answer."},"LoanAppUser":{"type":"object","properties":{"id":{"type":"string","description":"Id of the user (GUID).","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true}},"additionalProperties":false,"description":"A user, such as the staff member a task is assigned to."},"TaskType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the task type.","nullable":true},"name":{"type":"string","description":"Display name of the task type.","nullable":true}},"additionalProperties":false,"description":"The kind of task."},"TaskAssignmentType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the assignment type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the assignment type.","nullable":true},"name":{"type":"string","description":"Display name of the assignment type.","nullable":true}},"additionalProperties":false,"description":"Who a task is assigned to: a borrower or a user."},"Asset":{"type":"object","properties":{"amount":{"type":"number","description":"Account balance in dollars.","format":"double"},"accountName":{"type":"string","description":"Name of the account.","nullable":true},"accountNumber":{"type":"string","description":"Account number, masked to the last four digits on reads.","nullable":true},"institutionName":{"type":"string","description":"Name of the financial institution.","nullable":true},"source":{"type":"string","description":"Where the asset came from: Manual (entered by hand), a linked bank, or the LOS.","nullable":true},"giftSource":{"type":"string","description":"Who the gift came from, for a gift asset.","nullable":true},"meridianLinkAssetType":{"type":"string","description":"The asset type as the LOS names it.","nullable":true},"isUpdatedExternally":{"type":"boolean","description":"True when the LOS or a linked bank changed the record after it was created."}},"additionalProperties":false,"description":"An asset account on a loan: its balance, institution and where the record came from."},"AssetPotentialDuplicate":{"type":"object","properties":{"assetAccountId":{"type":"string","description":"Id of the other asset account (GUID).","format":"uuid"},"differences":{"type":"array","items":{"$ref":"#/components/schemas/DuplicateDifference"},"description":"How this account differs from that one, one item per field whose values differ. Empty when they agree on every field.","nullable":true}},"additionalProperties":false,"description":"Another asset account on the loan that looks like the same account."},"DuplicateDifference":{"type":"object","properties":{"field":{"type":"string","description":"The name of the field on which the two liabilities differ.","nullable":true},"thisValue":{"type":"string","description":"The field's value on this liability, as text.","nullable":true},"otherValue":{"type":"string","description":"The field's value on the possible duplicate, as text.","nullable":true}},"additionalProperties":false,"description":"One field on which a duplicate differs from the row it is read with: the values of both rows, as text."},"RecordNote":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the note.","format":"uuid"},"text":{"type":"string","description":"The note text.","nullable":true},"authorId":{"type":"string","description":"Who wrote it; null for a system note.","format":"uuid","nullable":true},"authorName":{"type":"string","description":"Name of the note's author; null for a system note.","nullable":true},"createdTimestamp":{"type":"string","description":"When the note was written, ISO 8601 in UTC.","format":"date-time"},"source":{"type":"string","description":"Where the note was written: `UI`, `MCP` (an AI agent tool) or `System`.","nullable":true}},"additionalProperties":false,"description":"A note on a liability or an asset account, returned with that record. It stays in Henge and is not sent to the LOS."}}}}
```

## The PosAddress object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PosAddress":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A postal address."}}}}
```

## The PosAsset object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PosAsset":{"type":"object","properties":{"institutionName":{"type":"string","description":"Name of the bank or institution that holds the asset.","nullable":true},"accountNumber":{"type":"string","description":"Account number, as entered.","nullable":true},"amount":{"type":"number","description":"Current balance or value, in dollars.","format":"double"},"accountName":{"type":"string","description":"Name of the account.","nullable":true},"accountHolderName":{"type":"string","description":"Name of the account holder.","nullable":true},"source":{"type":"string","description":"How the asset got on the loan, for example entered manually, linked through the bank connection or synced from the LOS.","nullable":true},"giftSource":{"type":"string","description":"Who the gift came from, for a gift asset.","nullable":true},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account this asset belongs to.","format":"uuid"},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"ownerBorrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The hdBorrowerIds of the asset's owners. Empty means the primary borrower. A new asset is added in the LOS under the first owner named; the full list stays in Henge.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"An asset the borrower reports: an account balance, a gift or another asset."}}}}
```

## The PosBorrower object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PosBorrower":{"type":"object","properties":{"hdBorrowerId":{"type":"string","description":"Id of the borrower on this loan (GUID). Other endpoints take it as ownerBorrowerIds.","format":"uuid","nullable":true},"clientId":{"type":"string","description":"Id of the borrower's client record (GUID).","format":"uuid","nullable":true},"externalId":{"type":"string","description":"The borrower's (consumer) id in the LOS.","nullable":true},"externalLabel":{"type":"string","description":"A display label kept by Henge. Not sent to the LOS.","nullable":true},"externalApplicationId":{"type":"string","description":"Id of the LOS application (borrower pair) this person is on, used to match the person to the right pair in the LOS. A co-borrower carries its pair's. Null until the LOS has reported it.","nullable":true},"externalLegacyApplicationId":{"type":"string","description":"Id of the borrower pair's older-style application record in the LOS, kept for LOS writes. Null when it has not been read yet.","nullable":true},"firstName":{"type":"string","description":"Borrower's legal first name, as on their ID; sent to the LOS.","nullable":true},"lastName":{"type":"string","description":"Borrower's legal last name, as on their ID; sent to the LOS.","nullable":true},"middleName":{"type":"string","description":"Borrower's middle name or initial.","nullable":true},"suffixName":{"type":"string","description":"Name suffix, for example Jr, Sr or III.","nullable":true},"contacts":{"$ref":"#/components/schemas/Contacts"},"maritalStatus":{"$ref":"#/components/schemas/FieldType"},"citizenship":{"$ref":"#/components/schemas/FieldType"},"birthDate":{"type":"string","description":"Date of birth (ISO 8601 date).","nullable":true},"language":{"$ref":"#/components/schemas/Language"},"isMilitary":{"type":"boolean","description":"True when the borrower serves or has served in the military.","nullable":true},"currentAddress":{"$ref":"#/components/schemas/Residence"},"mailingAddress":{"$ref":"#/components/schemas/MailingAddress"},"previousAddresses":{"type":"array","items":{"$ref":"#/components/schemas/Residence"},"description":"Earlier residences, listed when the borrower has lived at the current address for a short time.","nullable":true},"ownedProperties":{"type":"array","items":{"$ref":"#/components/schemas/OwnedProperty"},"description":"Real estate the borrower owns.","nullable":true},"declaration":{"$ref":"#/components/schemas/Declaration"},"demographics":{"$ref":"#/components/schemas/Demographics"},"employments":{"type":"array","items":{"$ref":"#/components/schemas/Employment"},"description":"The borrower's employers, current and previous.","nullable":true},"otherIncomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"},"description":"Income that does not come from an employer, such as Social Security or rental income.","nullable":true},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/PosLiability"},"description":"The borrower's debts.","nullable":true},"veteranDetail":{"$ref":"#/components/schemas/VeteranDetail"},"creditScores":{"type":"array","items":{"$ref":"#/components/schemas/PosCreditScore"},"description":"Credit scores on the borrower's file.","nullable":true},"hmdaApplicantCreditScore":{"$ref":"#/components/schemas/HmdaApplicantCreditScore"},"creditAuthorizationDate":{"type":"string","description":"Date the borrower authorized a credit check (ISO 8601 date). Null when they have not.","nullable":true},"isBeta":{"type":"boolean","description":"True when the borrower's account is flagged for beta features of the borrower app.","nullable":true},"fico":{"type":"integer","description":"The borrower's FICO score on file, as a whole number. Null when not set.","format":"int32","nullable":true},"softCreditExternalId":{"type":"string","description":"Id of the soft credit check recorded for the borrower in the LOS. Null when none.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower of the pair."},"borrowerType":{"type":"string","description":"The borrower's role on the loan, as a code, for example Borrower or CoSigner.","nullable":true},"assets":{"type":"array","items":{"$ref":"#/components/schemas/PosAsset"},"description":"The assets the borrower reports.","nullable":true},"numberOfDependents":{"type":"integer","description":"Number of people who depend on the borrower for support.","format":"int32","nullable":true},"dependentAges":{"type":"string","description":"Ages of the borrower's dependents, as entered (free text).","nullable":true},"ssn":{"type":"string","description":"Social Security number, digits only (dashes are removed when you send it). Sensitive: only some callers receive it.","nullable":true},"encryptedSsn":{"type":"string","description":"The Social Security number in encrypted form, for passing between Henge services. Do not rely on its format.","nullable":true},"pairId":{"type":"string","description":"The borrower pair this borrower is on. Set by the server; a co-borrower carries its pair's.","format":"uuid","nullable":true},"pairIndex":{"type":"integer","description":"The pair's position on the loan, 0 to 3; 0 is the primary pair.","format":"int32"},"vestingType":{"$ref":"#/components/schemas/BorrowerVestingType"},"coBorrower":{"allOf":[{"$ref":"#/components/schemas/PosBorrower"}],"description":"The co-borrower this borrower is paired with, in the same shape."}},"additionalProperties":false,"description":"A borrower on the loan: identity, contact details, addresses, employment, income, assets, liabilities, credit and declarations. A co-borrower is nested in coBorrower."},"Contacts":{"type":"object","properties":{"email":{"type":"string","description":"Email address.","nullable":true},"homePhone":{"type":"string","description":"Home phone number.","nullable":true},"mobilePhone":{"type":"string","description":"Mobile phone number.","nullable":true},"workPhone":{"type":"string","description":"Work phone number.","nullable":true}},"additionalProperties":false,"description":"How to reach a borrower."},"FieldType":{"type":"object","properties":{"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A value chosen from a list in the LOS, with its code and display name. Also the base of records that carry an LOS id."},"Language":{"type":"object","properties":{"code":{"type":"string","description":"Language code.","nullable":true},"otherDescription":{"type":"string","description":"Free-text language name when the code is Other.","nullable":true},"refuseToAnswer":{"type":"boolean","description":"True when the borrower chose not to answer."}},"additionalProperties":false,"description":"The language the borrower prefers."},"Residence":{"type":"object","properties":{"residencyDurationInMonths":{"type":"integer","description":"Months the borrower has lived at this address.","format":"int32","nullable":true},"residencyType":{"type":"string","description":"Whether the borrower owns, rents or lives rent-free at the address, as the LOS names it.","nullable":true},"monthlyRent":{"type":"number","description":"Monthly rent, in dollars.","format":"double","nullable":true},"startDate":{"type":"string","description":"Date the borrower moved in (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower moved out (ISO 8601 date). Empty for the current address.","nullable":true},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A place the borrower lives or has lived, with how long and what they pay."},"MailingAddress":{"type":"object","properties":{"isTheSameAsCurrentAddress":{"type":"boolean","description":"True when the mailing address is the borrower's current residence."},"isTheSameAsSubjectPropertyAddress":{"type":"boolean","description":"True when the mailing address is the subject property."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A borrower's mailing address, which can be flagged as the same as their current or subject property address."},"OwnedProperty":{"type":"object","properties":{"externalLabel":{"type":"string","description":"A display label kept by Henge. Not sent to the LOS.","nullable":true},"dispositionStatus":{"$ref":"#/components/schemas/FieldType"},"occupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancy":{"$ref":"#/components/schemas/FieldType"},"intendedOccupancyOtherDescription":{"type":"string","description":"Free-text description when intendedOccupancy is Other.","nullable":true},"marketValue":{"type":"number","description":"Market value of the property, in dollars.","format":"double","nullable":true},"monthlyRentalGross":{"type":"number","description":"Gross monthly rental income from the property, in dollars.","format":"double"},"maintenanceExpense":{"type":"number","description":"Maintenance expense for the property, in dollars.","format":"double","nullable":true},"monthlyRentalNet":{"type":"number","description":"Monthly rental income net of the property's expenses, in dollars.","format":"double","nullable":true},"lienBalance":{"type":"number","description":"Unpaid balance of the liens on the property, in dollars, as entered.","format":"double","nullable":true},"lienMonthlyPayment":{"type":"number","description":"Monthly payment on the liens on the property, in dollars, as entered.","format":"double","nullable":true},"isSubject":{"type":"boolean","description":"True when this is the subject property of the loan."},"isCurrent":{"type":"boolean","description":"True when this is the borrower's current residence."},"liabilities":{"type":"array","items":{"$ref":"#/components/schemas/PosLiability"},"description":"The mortgages tied to this property. Null or empty when none.","nullable":true},"liability":{"$ref":"#/components/schemas/PosLiability"},"tieId":{"type":"string","description":"What to send as a liability's securedPropertyId to tie it to this property: the LOS id, or the address before the loan is in the LOS. Recomputed on every read.","nullable":true},"securingLiabilityIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Ids (GUIDs) of the stored liabilities tied to this property. Recomputed on every read; a save does not set it.","nullable":true},"derivedLienBalance":{"type":"number","description":"Sum of the tied liabilities' balances, in dollars; null when no liability is tied. lienBalance stays what was entered.","format":"double","nullable":true},"derivedLienMonthlyPayment":{"type":"number","description":"Sum of the tied liabilities' monthly payments, in dollars; null when no liability is tied or none has a payment.","format":"double","nullable":true},"hasLienDifference":{"type":"boolean","description":"True when an entered lien figure disagrees with the tied liabilities. It is reported, never corrected."},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A property the borrower owns (real estate owned): where it is, how it is used, its value and rent, and the mortgages tied to it."},"PosLiability":{"type":"object","properties":{"amount":{"type":"number","description":"Unpaid balance, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Monthly payment, in dollars.","format":"double","nullable":true},"remainingMonths":{"type":"integer","description":"Months left on the debt. Null when the file does not say.","format":"int32","nullable":true},"isPaidOffAtClosing":{"type":"boolean","description":"True when the debt will be paid off at closing. Null leaves the LOS's value alone.","nullable":true},"isExcludedFromRatios":{"type":"boolean","description":"True when the payment is left out of the debt-to-income ratios. Null leaves the LOS's value alone.","nullable":true},"accountNumber":{"type":"string","description":"Account number of the debt, as reported.","nullable":true},"isExpense":{"type":"boolean","description":"True when the row is an expense rather than a debt, for example in an export."},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"borrowerExternalId":{"$ref":"#/components/schemas/BorrowerExternalId"},"borrowerExternalIds":{"type":"array","items":{"$ref":"#/components/schemas/BorrowerExternalId"},"description":"Every borrower who owns the debt. When empty, the borrower in borrowerExternalId owns it.","nullable":true},"cosmosDbLiabilityId":{"type":"string","description":"Id (GUID) of the matching liability on the loan, which links this entry to the liabilities endpoints.","format":"uuid"},"creditorName":{"type":"string","description":"Name of the creditor or lender.","nullable":true},"description":{"type":"string","description":"Free-text description of the debt.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A debt listed on the loan application."},"BorrowerExternalId":{"type":"object","properties":{"externalId":{"type":"string","description":"The borrower's id in the LOS.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower."}},"additionalProperties":false,"description":"Identifies a borrower (consumer) in the LOS."},"Declaration":{"type":"object","properties":{"hasIntentToOccupy":{"type":"boolean","description":"Borrower intends to occupy the subject property as their primary residence."},"isHomeownerPastThreeYears":{"type":"boolean","description":"Borrower has owned a home in the past three years."},"priorPropertyUsage":{"$ref":"#/components/schemas/FieldType"},"priorPropertyTitle":{"$ref":"#/components/schemas/FieldType"},"isBuyerSellerSpecialRelationship":{"type":"boolean","description":"Borrower has a family or business relationship with the seller of the subject property."},"hasUndisclosedBorrowedFunds":{"type":"boolean","description":"Borrower is borrowing money for this transaction (for example the down payment) that is not disclosed elsewhere in the application."},"undisclosedBorrowedFundsAmount":{"type":"number","description":"Amount of that borrowed money, in dollars.","format":"double","nullable":true},"hasUndisclosedCreditApplication":{"type":"boolean","description":"Borrower has applied, or will apply before closing, for other credit that is not disclosed."},"hasUndisclosedMortgageApplication":{"type":"boolean","description":"Borrower has applied for another mortgage on a property that is not disclosed."},"hasCleanEnergyLien":{"type":"boolean","description":"The subject property is subject to a lien that takes priority, such as a clean energy lien."},"isUndisclosedComakerOfNote":{"type":"boolean","description":"Borrower is a co-maker or endorser on a note whose debt is not disclosed."},"hasOutstandingJudgements":{"type":"boolean","description":"Borrower has outstanding judgments against them."},"isDelinquent":{"type":"boolean","description":"Borrower is delinquent or in default on a federal debt or loan."},"isPartyToLawsuit":{"type":"boolean","description":"Borrower is a party to a lawsuit."},"hasDeedInLieu":{"type":"boolean","description":"Borrower has transferred title to a property in lieu of foreclosure in the past seven years."},"hasShortSale":{"type":"boolean","description":"Borrower has completed a pre-foreclosure sale or short sale in the past seven years."},"hasForeclosure":{"type":"boolean","description":"Borrower has had a property foreclosed upon in the past seven years."},"hasBankruptcy":{"type":"boolean","description":"Borrower has declared bankruptcy in the past seven years."},"bankruptcyTypes":{"type":"array","items":{"type":"string"},"description":"The type (chapter) of each bankruptcy declared, when hasBankruptcy is true.","nullable":true},"hasHousingCounselingConsent":{"type":"boolean","description":"Housing counseling consent recorded for the borrower."}},"additionalProperties":false,"description":"A borrower's answers to the declarations on the loan application (Section 5 of the URLA)."},"Demographics":{"type":"object","properties":{"ethnicity":{"$ref":"#/components/schemas/Ethnicity"},"gender":{"$ref":"#/components/schemas/FieldType"},"races":{"type":"array","items":{"$ref":"#/components/schemas/Race"},"description":"The races the borrower reported.","nullable":true},"hasRefusedToDiscloseRace":{"type":"boolean","description":"True when the borrower chose not to provide their race."},"hasRefusedToDiscloseGender":{"type":"boolean","description":"True when the borrower chose not to provide their gender."},"hasRefusedToDiscloseEthnicity":{"type":"boolean","description":"True when the borrower chose not to provide their ethnicity."},"applicationTaken":{"$ref":"#/components/schemas/FieldType"},"isRaceBasedOnVisualOrSurname":{"type":"boolean","description":"True when the race was recorded from visual observation or surname rather than provided by the borrower."},"isGenderBasedOnVisualOrSurname":{"type":"boolean","description":"True when the gender was recorded from visual observation or surname rather than provided by the borrower."},"isEthnicityBasedOnVisualOrSurname":{"type":"boolean","description":"True when the ethnicity was recorded from visual observation or surname rather than provided by the borrower."}},"additionalProperties":false,"description":"The government monitoring (HMDA) information a borrower provided or declined to provide: ethnicity, race and gender."},"Ethnicity":{"type":"object","properties":{"origins":{"type":"array","items":{"$ref":"#/components/schemas/EthnicityOrigin"},"description":"The origins the borrower selected, for example Mexican or Puerto Rican.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"The borrower's ethnicity (HMDA), with the origins they selected."},"EthnicityOrigin":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text origin the borrower gave when the origin is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One ethnicity origin the borrower selected."},"Race":{"type":"object","properties":{"raceDesignations":{"type":"array","items":{"$ref":"#/components/schemas/RaceDesignation"},"description":"The designations the borrower selected within this race, for example Asian Indian or Chinese.","nullable":true},"additionalDescription":{"type":"string","description":"Free-text detail the borrower gave about this race.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A race the borrower reported (HMDA), with the designations they selected."},"RaceDesignation":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text designation the borrower gave when the designation is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One race designation the borrower selected."},"Employment":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the employment record in the LOS.","nullable":true},"isCurrent":{"type":"boolean","description":"True for a current job, false for a previous one."},"isSelfEmployed":{"type":"boolean","description":"True when the borrower is self-employed in this job."},"ownershipShare":{"$ref":"#/components/schemas/FieldType"},"isPrimary":{"type":"boolean","description":"True for the borrower's primary employment. Null when not stated.","nullable":true},"name":{"type":"string","description":"Name of the employer.","nullable":true},"position":{"type":"string","description":"The borrower's job title.","nullable":true},"address":{"$ref":"#/components/schemas/PosAddress"},"startDate":{"type":"string","description":"Date the borrower started this job (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower left this job (ISO 8601 date). Empty for a current job.","nullable":true},"professionStartDate":{"type":"string","description":"Date the borrower started working in this line of work (ISO 8601 date).","nullable":true},"lineOfWorkInMonths":{"type":"integer","description":"Months the borrower has worked in this line of work.","format":"int32","nullable":true},"businessPhone":{"type":"string","description":"The employer's phone number.","nullable":true},"email":{"type":"string","description":"Work email address for this employment.","nullable":true},"monthlyIncomeAmount":{"type":"number","description":"Total monthly income from this employment, in dollars.","format":"double","nullable":true},"incomes":{"type":"array","items":{"$ref":"#/components/schemas/Income"},"description":"The income components from this employment, such as base pay, overtime or bonus.","nullable":true}},"additionalProperties":false,"description":"One job the borrower holds or has held, with the income it pays."},"PosAddress":{"type":"object","properties":{"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A postal address."},"Income":{"type":"object","properties":{"amount":{"type":"number","description":"Income amount, in dollars per month.","format":"double"},"otherDescription":{"type":"string","description":"Free-text description when the income type is Other.","nullable":true},"isAssociatedWithEmployment":{"type":"boolean","description":"True when the income belongs to an employment, such as overtime or bonus, rather than standing alone."},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One income amount, either tied to an employment or standing alone."},"VeteranDetail":{"type":"object","properties":{"isVeteran":{"type":"boolean","description":"True when the borrower is a veteran."},"activeDuty":{"type":"boolean","description":"True when the borrower is currently on active duty."},"activeDutyExpirationDate":{"type":"string","description":"Date the borrower's current active duty ends (ISO 8601 date).","nullable":true},"retiredDischargedOrSeparated":{"type":"boolean","description":"True when the borrower has retired, been discharged or separated from service."},"reserveNationalGuardNeverActivated":{"type":"boolean","description":"True when the borrower is in the Reserves or National Guard and has never been activated."},"isSurvivingSpouseOfVeteran":{"type":"boolean","description":"True when the borrower is the surviving spouse of a veteran."},"serviceType":{"$ref":"#/components/schemas/FieldType"}},"additionalProperties":false,"description":"A borrower's military service details, relevant to VA loans."},"PosCreditScore":{"type":"object","properties":{"source":{"type":"string","description":"Where the score came from, such as the credit agency that reported it.","nullable":true},"score":{"type":"string","description":"The score value, as text.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"Why there is no usable score, when there is none: NotApplicable, NoScore, ThinFile or Other.","nullable":true},"isBrokerEntered":{"type":"boolean","description":"True when a broker typed the score in rather than it being read from a credit agency. A broker-entered score is never sent to the LOS as an agency score."}},"additionalProperties":false,"description":"One credit score on a borrower's file."},"HmdaApplicantCreditScore":{"type":"object","properties":{"reliedOnCreditScore":{"type":"integer","description":"The credit score relied on in the credit decision for this applicant; null when none.","format":"int32","nullable":true},"reliedOnCreditScoreMode":{"type":"string","description":"Whether the relied-on score is the applicant's individual score or a single score for the loan.","nullable":true},"reliedOnCreditScoreModelType":{"type":"string","description":"The credit scoring model of the relied-on score, as a code.","nullable":true}},"additionalProperties":false,"description":"The credit score relied on for an applicant, as reported for HMDA."},"PosAsset":{"type":"object","properties":{"institutionName":{"type":"string","description":"Name of the bank or institution that holds the asset.","nullable":true},"accountNumber":{"type":"string","description":"Account number, as entered.","nullable":true},"amount":{"type":"number","description":"Current balance or value, in dollars.","format":"double"},"accountName":{"type":"string","description":"Name of the account.","nullable":true},"accountHolderName":{"type":"string","description":"Name of the account holder.","nullable":true},"source":{"type":"string","description":"How the asset got on the loan, for example entered manually, linked through the bank connection or synced from the LOS.","nullable":true},"giftSource":{"type":"string","description":"Who the gift came from, for a gift asset.","nullable":true},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account this asset belongs to.","format":"uuid"},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"ownerBorrowerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"The hdBorrowerIds of the asset's owners. Empty means the primary borrower. A new asset is added in the LOS under the first owner named; the full list stays in Henge.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"An asset the borrower reports: an account balance, a gift or another asset."},"BorrowerVestingType":{"enum":["Individual","Trustee","Settlor","SettlorTrustee","TitleOnly","NonTitleSpouse","Other"],"type":"string","description":"How a person on the loan takes title: Individual (as themselves), Trustee, Settlor, SettlorTrustee (settlor and trustee of the same trust), TitleOnly (on title but not a borrower), NonTitleSpouse (a spouse who is not on title) or Other."}}}}
```

## The PosCreditReportType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PosCreditReportType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the report type (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the report type.","nullable":true},"name":{"type":"string","description":"Display name of the report type.","nullable":true}},"additionalProperties":false,"description":"The type of credit report a credit report task asks for."}}}}
```

## The PosCreditScore object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PosCreditScore":{"type":"object","properties":{"source":{"type":"string","description":"Where the score came from, such as the credit agency that reported it.","nullable":true},"score":{"type":"string","description":"The score value, as text.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"Why there is no usable score, when there is none: NotApplicable, NoScore, ThinFile or Other.","nullable":true},"isBrokerEntered":{"type":"boolean","description":"True when a broker typed the score in rather than it being read from a credit agency. A broker-entered score is never sent to the LOS as an agency score."}},"additionalProperties":false,"description":"One credit score on a borrower's file."}}}}
```

## The PosLiability object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PosLiability":{"type":"object","properties":{"amount":{"type":"number","description":"Unpaid balance, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Monthly payment, in dollars.","format":"double","nullable":true},"remainingMonths":{"type":"integer","description":"Months left on the debt. Null when the file does not say.","format":"int32","nullable":true},"isPaidOffAtClosing":{"type":"boolean","description":"True when the debt will be paid off at closing. Null leaves the LOS's value alone.","nullable":true},"isExcludedFromRatios":{"type":"boolean","description":"True when the payment is left out of the debt-to-income ratios. Null leaves the LOS's value alone.","nullable":true},"accountNumber":{"type":"string","description":"Account number of the debt, as reported.","nullable":true},"isExpense":{"type":"boolean","description":"True when the row is an expense rather than a debt, for example in an export."},"temporaryId":{"type":"string","description":"A client-chosen id that lets a save match a new row to the id the LOS assigns. Not stored as a field.","nullable":true},"isDeleted":{"type":"boolean","description":"Set true on a save to delete the LOS record named by externalId."},"borrowerExternalId":{"$ref":"#/components/schemas/BorrowerExternalId"},"borrowerExternalIds":{"type":"array","items":{"$ref":"#/components/schemas/BorrowerExternalId"},"description":"Every borrower who owns the debt. When empty, the borrower in borrowerExternalId owns it.","nullable":true},"cosmosDbLiabilityId":{"type":"string","description":"Id (GUID) of the matching liability on the loan, which links this entry to the liabilities endpoints.","format":"uuid"},"creditorName":{"type":"string","description":"Name of the creditor or lender.","nullable":true},"description":{"type":"string","description":"Free-text description of the debt.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A debt listed on the loan application."},"BorrowerExternalId":{"type":"object","properties":{"externalId":{"type":"string","description":"The borrower's id in the LOS.","nullable":true},"isPrimary":{"type":"boolean","description":"True for the primary borrower."}},"additionalProperties":false,"description":"Identifies a borrower (consumer) in the LOS."}}}}
```

## The PotentialDuplicate object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PotentialDuplicate":{"type":"object","properties":{"liabilityId":{"type":"string","description":"Id (GUID) of the liability this one may duplicate.","format":"uuid"},"confidenceScore":{"type":"number","description":"How confident the duplicate check is that the two liabilities are the same debt; a higher number is more likely.","format":"double"},"reasoning":{"type":"string","description":"The check's explanation, in plain language, of why the two look like the same debt.","nullable":true},"differences":{"type":"array","items":{"$ref":"#/components/schemas/DuplicateDifference"},"description":"How this liability differs from the possible duplicate, worked out from both as they are now on every read; never stored, so a change made after the check shows. Empty when the two agree on every field.","nullable":true}},"additionalProperties":false},"DuplicateDifference":{"type":"object","properties":{"field":{"type":"string","description":"The name of the field on which the two liabilities differ.","nullable":true},"thisValue":{"type":"string","description":"The field's value on this liability, as text.","nullable":true},"otherValue":{"type":"string","description":"The field's value on the possible duplicate, as text.","nullable":true}},"additionalProperties":false,"description":"One field on which a duplicate differs from the row it is read with: the values of both rows, as text."}}}}
```

## The PreApprovalInputs object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PreApprovalInputs":{"type":"object","properties":{"purchasePrice":{"type":"number","description":"Purchase price of the property, in dollars. Left out, it is read from the loan.","format":"double","nullable":true},"downPayment":{"type":"number","description":"The loan amount is the purchase price less this.","format":"double","nullable":true},"annualIncome":{"type":"number","description":"Borrower's annual income, in dollars. Left out, it is read from the loan.","format":"double","nullable":true},"occupancy":{"type":"string","description":"How the property will be used: PrimaryResidence, SecondaryResidence or Investment.","nullable":true},"incomeType":{"type":"string","description":"Type of the borrower's income, for example W2-earner.","nullable":true},"loanType":{"type":"string","description":"VA, FHA, Conventional or NonConforming. Left out, it is inferred from the loan as before.","nullable":true},"hasAny":{"type":"boolean","description":"True when the caller named at least one input.","readOnly":true}},"additionalProperties":false,"description":"The scenario a pre-approval is run on. Every field is optional; one left out is read from the loan,\r\nso an empty body evaluates the loan as it stands. A down payment or purchase price must leave a loan amount above zero and not above the purchase price."}}}}
```

## The PreApprovalRun object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PreApprovalRun":{"type":"object","properties":{"date":{"type":"string","description":"When the run was made, ISO 8601 in UTC.","format":"date-time"},"actorUserId":{"type":"string","description":"Unique identifier (GUID) of the user who ran it; null when no user ran it.","format":"uuid","nullable":true},"purchasePrice":{"type":"number","description":"Purchase price the run used, in dollars.","format":"double"},"downPayment":{"type":"number","description":"Down payment the run used, in dollars.","format":"double"},"annualIncome":{"type":"number","description":"Annual income the run used, in dollars.","format":"double"},"occupancy":{"type":"string","description":"Occupancy the run used: PrimaryResidence, SecondaryResidence or Investment.","nullable":true},"incomeType":{"type":"string","description":"Income type the run used, for example W2-earner.","nullable":true},"loanType":{"type":"string","description":"Loan type the run used: VA, FHA, Conventional or NonConforming.","nullable":true},"isApproved":{"type":"boolean","description":"True when the run was approved."},"denialReasons":{"type":"array","items":{"type":"string"},"description":"Why the run was denied; empty when approved.","nullable":true},"loanAmount":{"type":"number","description":"Loan amount of the run, in dollars.","format":"double"},"maxLoanAmount":{"type":"number","description":"Largest loan amount the borrower qualified for, in dollars.","format":"double"},"dti":{"type":"number","description":"Debt-to-income ratio of the run, in percent.","format":"double"},"ltv":{"type":"number","description":"Loan-to-value ratio of the run, in percent.","format":"double"},"creditScore":{"type":"integer","description":"Qualifying credit score of the run.","format":"int32"},"rate":{"type":"number","description":"Best note rate found, in percent; null when not approved.","format":"double","nullable":true},"loanProgram":{"type":"string","description":"Program priced, as a term label such as 30-Yr.; null when not approved.","nullable":true},"documentId":{"type":"string","description":"The letter document when approved; the denied document is filed by the subscriber, so it is not known here.","format":"uuid","nullable":true}},"additionalProperties":false,"description":"One persisted pre-approval run, appended to `PreApprovalRuns` and never trimmed."}}}}
```

## The PreApprovalSummary object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PreApprovalSummary":{"type":"object","properties":{"isApproved":{"type":"boolean","description":"True when the latest pre-approval was approved, false when denied; null when none has run.","nullable":true},"denialReasons":{"type":"array","items":{"type":"string"},"description":"Why the latest pre-approval was denied; empty when it was approved.","nullable":true},"issuedDate":{"type":"string","description":"When the latest pre-approval was issued, ISO 8601 in UTC.","format":"date-time","nullable":true},"expiryDate":{"type":"string","description":"When the latest pre-approval letter expires, ISO 8601 in UTC.","format":"date-time","nullable":true},"creditPulledOn":{"type":"string","description":"When the soft credit pull the latest run used was pulled, ISO 8601 in UTC.","format":"date-time","nullable":true},"letterDocumentId":{"type":"string","description":"Unique identifier (GUID) of the pre-approval letter document, when one was issued.","format":"uuid","nullable":true},"canRerun":{"type":"boolean","description":"True when the pre-approval can be run again now."},"cannotRerunReason":{"type":"string","description":"Why it cannot be run again; null when it can.","nullable":true},"runs":{"type":"array","items":{"$ref":"#/components/schemas/PreApprovalRun"},"description":"Every persisted run, oldest first. Filled for staff roles only.","nullable":true}},"additionalProperties":false,"description":"The loan response's `preApproval` block: the last result, and whether and why a re-run is refused."},"PreApprovalRun":{"type":"object","properties":{"date":{"type":"string","description":"When the run was made, ISO 8601 in UTC.","format":"date-time"},"actorUserId":{"type":"string","description":"Unique identifier (GUID) of the user who ran it; null when no user ran it.","format":"uuid","nullable":true},"purchasePrice":{"type":"number","description":"Purchase price the run used, in dollars.","format":"double"},"downPayment":{"type":"number","description":"Down payment the run used, in dollars.","format":"double"},"annualIncome":{"type":"number","description":"Annual income the run used, in dollars.","format":"double"},"occupancy":{"type":"string","description":"Occupancy the run used: PrimaryResidence, SecondaryResidence or Investment.","nullable":true},"incomeType":{"type":"string","description":"Income type the run used, for example W2-earner.","nullable":true},"loanType":{"type":"string","description":"Loan type the run used: VA, FHA, Conventional or NonConforming.","nullable":true},"isApproved":{"type":"boolean","description":"True when the run was approved."},"denialReasons":{"type":"array","items":{"type":"string"},"description":"Why the run was denied; empty when approved.","nullable":true},"loanAmount":{"type":"number","description":"Loan amount of the run, in dollars.","format":"double"},"maxLoanAmount":{"type":"number","description":"Largest loan amount the borrower qualified for, in dollars.","format":"double"},"dti":{"type":"number","description":"Debt-to-income ratio of the run, in percent.","format":"double"},"ltv":{"type":"number","description":"Loan-to-value ratio of the run, in percent.","format":"double"},"creditScore":{"type":"integer","description":"Qualifying credit score of the run.","format":"int32"},"rate":{"type":"number","description":"Best note rate found, in percent; null when not approved.","format":"double","nullable":true},"loanProgram":{"type":"string","description":"Program priced, as a term label such as 30-Yr.; null when not approved.","nullable":true},"documentId":{"type":"string","description":"The letter document when approved; the denied document is filed by the subscriber, so it is not known here.","format":"uuid","nullable":true}},"additionalProperties":false,"description":"One persisted pre-approval run, appended to `PreApprovalRuns` and never trimmed."}}}}
```

## The PricingScenarioLockSnapshot object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PricingScenarioLockSnapshot":{"type":"object","properties":{"takenAt":{"type":"string","description":"When the lock was placed, ISO 8601 UTC.","format":"date-time"},"productId":{"type":"string","description":"Identifier of the locked product.","nullable":true},"productName":{"type":"string","description":"Name of the locked product.","nullable":true},"investor":{"type":"string","description":"Name of the investor behind the locked product, when the caller is shown the investor.","nullable":true},"sourceInvestor":{"type":"string","description":"The lender behind a portfolio investor's product. Set for callers who are shown the investor; never stored.","nullable":true},"productCode":{"type":"string","description":"The locked product's code. Staff only; taken off the scenario for other callers.","nullable":true},"rateSheetTime":{"type":"string","description":"When the locked product's rate sheet was published, ISO 8601. Staff only.","format":"date-time","nullable":true},"sourceInstruction":{"$ref":"#/components/schemas/SourceLockInstruction"},"sourceProductQuote":{"$ref":"#/components/schemas/ProductQuote"},"lockPeriod":{"type":"integer","description":"Locked lock period, in days. A move stays within it.","format":"int32","nullable":true},"selectedQuoteId":{"type":"string","description":"quoteId of the selected row: the locked one at first, then the one the last move chose.","nullable":true},"productQuote":{"$ref":"#/components/schemas/ProductQuote"},"moves":{"type":"array","items":{"$ref":"#/components/schemas/LockPositionMove"},"description":"Moves of the selected row after the lock, oldest first.","nullable":true}},"additionalProperties":false,"description":"The product's rate sheet as the lock re-price returned it, kept on the pricing scenario when a lock is placed. The rate sheet is frozen; only the selected row and the moves change after the lock."},"SourceLockInstruction":{"type":"object","properties":{"status":{"type":"string","description":"Outcome of looking for the source price: Priced (the price is set), Unmapped (no source product is mapped to the locked product), NoSourcePricingAccount (the company has no source pricing account), SourceSearchFailed, SourceProductNotReturned or RateNotOnSourceSheet.","nullable":true},"message":{"type":"string","description":"In words, what happened when there is no price.","nullable":true},"sourceInvestor":{"type":"string","description":"Name of the source lender.","nullable":true},"sourceInvestorId":{"type":"integer","description":"Identifier of the source lender in the pricing engine.","format":"int32","nullable":true},"sourceProductName":{"type":"string","description":"Name of the source lender's product to lock.","nullable":true},"sourceProductCode":{"type":"string","description":"Product code of the source lender's product.","nullable":true},"portfolioProductCode":{"type":"string","description":"Code of the portfolio product the row was found by.","nullable":true},"rate":{"type":"number","description":"The selected note rate, in percent.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"sourcePrice":{"type":"number","description":"The source lender's price at the selected rate and lock period, from its frozen rate sheet.","format":"double","nullable":true},"sourceRateSheetTime":{"type":"string","description":"When the source lender's rate sheet was published, ISO 8601.","format":"date-time","nullable":true},"portfolioPrice":{"type":"number","description":"The portfolio price the broker locked at, including the portfolio's margin.","format":"double","nullable":true},"priceDifference":{"type":"number","description":"portfolioPrice minus sourcePrice: the margin, in points.","format":"double","nullable":true}},"additionalProperties":false,"description":"The instruction for the lock desk: lock the source product with the source lender at the source price. It follows the selected row, so a move of the selected rate rewrites it from the source lender's frozen rate sheet. Shown to staff only."},"ProductQuote":{"type":"object","properties":{"productName":{"type":"string","description":"Name of the product, including the investor when it is shown.","nullable":true},"quotes":{"type":"array","items":{"$ref":"#/components/schemas/Quote"},"description":"The rate rows of the product, one per rate and lock period.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search this rate sheet came from.","nullable":true},"productId":{"type":"string","description":"Identifier of the product.","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/QuoteAdjustment"},"description":"Adjustments applied to the product's rate or price.","nullable":true},"parQuotes":{"type":"array","items":{"$ref":"#/components/schemas/ParQuote"},"description":"The par rate for each lock period.","nullable":true},"totalRateAdjustment":{"type":"number","description":"Sum of the rate adjustments, in percentage points.","format":"double","nullable":true},"totalPriceAdjustment":{"type":"number","description":"Sum of the price adjustments, in points.","format":"double","nullable":true},"totalSRPAdjustment":{"type":"number","description":"Sum of the servicing-release-premium adjustments, in points.","format":"double","nullable":true},"totalMarginAdjustment":{"type":"number","description":"Sum of the margin adjustments, in percentage points.","format":"double","nullable":true},"notesAndAdvisories":{"type":"array","items":{"type":"string"},"description":"Notes and advisories the lender attached to the product.","nullable":true},"armSubsequentChangePeriod":{"type":"string","description":"How often an adjustable rate changes after its fixed period, as a code such as OneYear or SixMonth.","nullable":true},"armIndex":{"type":"string","description":"Index an adjustable rate follows, for example SOFR or Treasury.","nullable":true},"armIndexValue":{"type":"number","description":"Current value of the index, in percent.","format":"double","nullable":true},"armFirstCap":{"type":"number","description":"Cap on the first rate adjustment, in percentage points.","format":"double","nullable":true},"armPeriodicCap":{"type":"number","description":"Cap on each later rate adjustment, in percentage points.","format":"double","nullable":true},"armFixedTerm":{"type":"string","description":"Initial fixed period of an adjustable-rate product, as a code such as FiveYear.","nullable":true},"armFixedTermMonths":{"type":"integer","description":"Initial fixed period of an adjustable-rate product, in months.","format":"int32","nullable":true},"armLifetimeCap":{"type":"number","description":"Cap on the total rate change over the life of the loan, in percentage points.","format":"double","nullable":true},"armRelativeCap":{"type":"number","description":"Relative cap on the rate, in percentage points.","format":"double","nullable":true},"constructionTermMonths":{"type":"integer","description":"Construction period of a construction loan, in months.","format":"int32","nullable":true},"originationFees":{"type":"number","description":"Origination fees of the product, in dollars.","format":"double","nullable":true},"investorId":{"type":"integer","description":"Identifier of the investor behind the product. Omitted for callers who are not shown the investor.","format":"int32","nullable":true},"miRequiredOver80Ltv":{"type":"boolean","description":"True when mortgage insurance is required above 80% loan-to-value.","nullable":true},"interestOnlyTerm":{"type":"integer","description":"Length of the interest-only period of an interest-only product.","format":"int32","nullable":true},"lenderFeeDetails":{"type":"array","items":{"$ref":"#/components/schemas/LenderFeeDetail"},"description":"The lender fees charged on the product.","nullable":true},"lenderFeeTotal":{"type":"number","description":"Sum of the lender fees in lenderFeeDetails, in dollars. Calculated; read-only.","format":"double","nullable":true,"readOnly":true}},"additionalProperties":false,"description":"The full rate sheet of one product: every rate and lock period, with the adjustments, par rates and lender fees behind them."},"Quote":{"type":"object","properties":{"id":{"type":"string","description":"Identifier the pricing search gave this row.","nullable":true},"rate":{"type":"number","description":"Note rate, in percent such as 6.875.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Rate lock period of this row, in days.","format":"int32","nullable":true},"lockExpirationDate":{"type":"string","description":"Date a lock at this row's lock period would expire, ISO 8601.","format":"date-time","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, in percent. Uses adjustedApr when one was calculated.","format":"double","nullable":true},"price":{"type":"number","description":"Price as a percent of par, where 100 is par; above 100 pays the borrower a rebate and below 100 costs a discount.","format":"double","nullable":true},"armMargin":{"type":"number","description":"Margin added to the index for an adjustable-rate product, in percentage points.","format":"double","nullable":true},"closingCost":{"type":"number","description":"Lender closing costs of this row, in dollars.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount: 100 minus price, so negative when the row pays a rebate.","format":"double","nullable":true},"pointsCost":{"type":"number","description":"Cost of the points in dollars: positive for a discount, negative for a rebate.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"Buydown (discount) this row costs the borrower, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"discountPercent":{"type":"number","description":"Buydown (discount) as a percent of the loan amount; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"Rebate (credit) this row gives the borrower, in dollars; 0 on a discount or par row.","format":"double","nullable":true},"rebatePercent":{"type":"number","description":"Rebate (credit) as a percent of the loan amount; 0 on a discount or par row.","format":"double","nullable":true},"loCompensationDollar":{"type":"number","description":"Loan officer compensation built into this row, in dollars.","format":"double","nullable":true},"loCompensationPercent":{"type":"number","description":"Loan officer compensation built into this row, as a percent of the loan amount.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment, in dollars.","format":"double","nullable":true},"totalCredit":{"type":"number","description":"Total credit this row gives the borrower, in dollars.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance, in dollars; 0 when the product has none.","format":"double","nullable":true},"totalPayment":{"type":"number","description":"Total monthly payment in dollars: principal, interest and mortgage insurance.","format":"double","nullable":true},"amiRuleApplied":{"type":"boolean","description":"True when the area-median-income rule of affordable programs was applied to this row."},"borrowerPaidDetails":{"type":"array","items":{"$ref":"#/components/schemas/FeeDetail"},"description":"Fees the borrower pays for this row.","nullable":true},"groupAdjustmentProperties":{"type":"array","items":{"$ref":"#/components/schemas/GroupAdjustmentProperty"},"description":"The groups of price adjustments that make up this row's final price.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search this row came from.","nullable":true},"productId":{"type":"string","description":"Identifier of the product this row belongs to.","nullable":true},"adjustedApr":{"type":"number","description":"APR after the loan officer's adjustments to the quote, in percent.","format":"double","nullable":true},"adjustedFee":{"type":"number","description":"Fee amount after the loan officer's adjustments, in dollars.","format":"double","nullable":true},"computedApr":{"type":"number","description":"APR computed by Henge from the row's rate and costs, in percent.","format":"double","nullable":true},"originalApr":{"type":"number","description":"APR as the pricing search returned it, before any adjustment, in percent.","format":"double","nullable":true},"quoteId":{"type":"string","description":"Henge's identifier for this row. Pass it to select or lock the row.","nullable":true},"isArchived":{"type":"boolean","description":"True when this saved row has been archived."},"isLocked":{"type":"boolean","description":"True once a lock has been requested on this row."}},"additionalProperties":false,"description":"One row of a product's rate sheet: a note rate at a lock period, with its price, payment and costs. Rates are percents such as 6.875; price is a percent of par, where 100 is par."},"FeeDetail":{"type":"object","properties":{"amount":{"type":"number","description":"The fee amount in dollars.","format":"double","nullable":true},"description":{"type":"string","description":"What the fee is for.","nullable":true},"isOrigination":{"type":"boolean","description":"True when the fee is an origination charge.","nullable":true},"points":{"type":"number","description":"The fee expressed in points (percent of the loan amount, for example 1.0 for one point), when it is charged that way.","format":"double","nullable":true},"type":{"type":"string","description":"The fee's category as the pricing engine names it.","nullable":true}},"additionalProperties":false},"GroupAdjustmentProperty":{"type":"object","properties":{"id":{"type":"string","description":"Name of the adjustment group, for example the category its adjustments fall under.","nullable":true},"finalAdjustment":{"type":"number","description":"Net adjustment of the group once all its adjustments are applied.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/Adjustment"},"description":"The individual adjustments in the group.","nullable":true}},"additionalProperties":false,"description":"A named group of adjustments that together move a quote's price or rate."},"Adjustment":{"type":"object","properties":{"key":{"type":"string","description":"Name of the adjustment, saying what it is for.","nullable":true},"adj":{"type":"number","description":"Size of the adjustment, in the unit of the group it belongs to (price points or rate).","format":"double","nullable":true}},"additionalProperties":false,"description":"One price or rate adjustment applied to a quote."},"QuoteAdjustment":{"type":"object","properties":{"reason":{"type":"string","description":"Why the adjustment applies, as text.","nullable":true},"adjustor":{"type":"number","description":"Size of the adjustment; its unit follows the type.","format":"double"},"type":{"type":"string","description":"What the adjustment changes, for example the rate, the price or the margin.","nullable":true}},"additionalProperties":false,"description":"An adjustment the lender applied to a product's rate or price."},"ParQuote":{"type":"object","properties":{"parRate":{"type":"number","description":"Note rate at par, in percent.","format":"double"},"parPrice":{"type":"number","description":"Price at par, where 100 is par.","format":"double"},"parLock":{"type":"integer","description":"Lock period of this par quote, in days.","format":"int32"}},"additionalProperties":false,"description":"The par rate for one lock period: the rate whose price is closest to 100."},"LenderFeeDetail":{"type":"object","properties":{"feeDetailNumber":{"type":"integer","description":"Sequence number of the fee in the product's fee list.","format":"int32"},"feeTotalAmountPercent":{"type":"number","description":"Fee as a percent of the base named in feePercentageBasedOn, when it is percentage-based.","format":"double"},"feeSpecifiedFixedAmount":{"type":"number","description":"Fixed fee amount in dollars, when the fee is a fixed amount.","format":"double"},"feeTotalCalculatedAmount":{"type":"number","description":"Total fee in dollars after calculation.","format":"double"},"feePaymentFinancedIndicator":{"type":"boolean","description":"True when the fee is financed into the loan amount."},"feePaidBy":{"type":"string","description":"Who pays the fee: Buyer or Seller.","nullable":true},"feePaidTo":{"type":"string","description":"Who receives the fee: Lender, Broker, Affiliate, ThirdParty or Other.","nullable":true},"rebatePriority":{"type":"integer","description":"Priority of this fee when a rebate is applied.","format":"int32"},"feeDescription":{"type":"string","description":"Name of the fee as the lender describes it.","nullable":true},"prepaidFinanceChargeIndicator":{"type":"boolean","description":"True when the fee is a prepaid finance charge, which counts toward APR."},"includedInQMPointsAndFeesTest":{"type":"boolean","description":"True when the fee counts toward the Qualified Mortgage points-and-fees test."},"feePercentageBasedOn":{"type":"string","description":"Amount a percentage fee is calculated on: PurchasePriceAmount, PropertyAppraisedValueAmount, OriginalLoanAmount, BaseLoanAmount or Other.","nullable":true},"feeType":{"type":"string","description":"Standard fee category, for example LoanOriginationFee or UnderwritingFee.","nullable":true}},"additionalProperties":false,"description":"One lender fee charged on a product."},"LockPositionMove":{"type":"object","properties":{"movedAt":{"type":"string","description":"When the selected row was moved, ISO 8601 UTC.","format":"date-time"},"movedBy":{"type":"string","description":"Identifier (GUID) of the user who moved it.","format":"uuid","nullable":true},"movedByName":{"type":"string","description":"Name of the user who moved it.","nullable":true},"fromQuoteId":{"type":"string","description":"quoteId of the row before the move.","nullable":true},"fromRate":{"type":"number","description":"Note rate before the move, in percent.","format":"double","nullable":true},"fromPrice":{"type":"number","description":"Price before the move, where 100 is par.","format":"double","nullable":true},"toQuoteId":{"type":"string","description":"quoteId of the row after the move.","nullable":true},"toRate":{"type":"number","description":"Note rate after the move, in percent.","format":"double","nullable":true},"toPrice":{"type":"number","description":"Price after the move, where 100 is par.","format":"double","nullable":true},"sourceFromPrice":{"type":"number","description":"The source lender's price before the move, from its frozen rate sheet. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceToPrice":{"type":"number","description":"The source lender's price after the move. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceNote":{"type":"string","description":"Set when the instruction has no price at the new rate, in words. Staff only.","nullable":true}},"additionalProperties":false,"description":"One move of the selected row: who, when, and from which rate and price to which."}}}}
```

## The PricingScenarioModel object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PricingScenarioModel":{"type":"object","properties":{"id":{"type":"string","description":"Identifier (GUID) of the scenario. Set by the server on create.","format":"uuid","nullable":true},"clientId":{"type":"string","description":"Identifier (GUID) of the borrower client the scenario is for.","format":"uuid","nullable":true},"propertyId":{"type":"string","description":"Identifier (GUID) of the property the scenario is linked to, when there is one.","format":"uuid","nullable":true},"name":{"type":"string","description":"Name of the scenario, as shown in lists.","nullable":true},"notes":{"type":"string","description":"Free-text notes on the scenario.","nullable":true},"loanId":{"type":"string","description":"Legacy loan link kept on older scenarios. Use loanApplicationId.","format":"uuid","nullable":true},"loanNumber":{"type":"string","description":"Loan number the LOS gave the linked loan (externalId). Set by the server from the linked loan.","nullable":true},"loanScenarioId":{"type":"string","description":"Legacy link to an older loan-scenario record, kept on older scenarios.","format":"uuid","nullable":true},"loanApplicationId":{"type":"string","description":"Identifier (GUID) of the Henge loan application the scenario is linked to.","format":"uuid","nullable":true},"pricingScenarioType":{"type":"string","description":"Who the scenario is for: agent (the default) or client for scenarios a person saved, or Automated for scenarios the platform generated.","nullable":true},"request":{"$ref":"#/components/schemas/PricingSearchRequest"},"response":{"$ref":"#/components/schemas/PricingSearchResponse"},"dealDeskRequest":{"$ref":"#/components/schemas/PricingSearchRequest"},"dealDeskResponse":{"$ref":"#/components/schemas/PricingSearchResponse"},"createdTimestamp":{"type":"string","description":"When the scenario was created, ISO 8601 UTC. Set by the server.","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the scenario was last changed, ISO 8601 UTC. Set by the server.","format":"date-time"},"status":{"$ref":"#/components/schemas/PricingScenarioStatus"},"isArchived":{"type":"boolean","description":"True when the scenario has been deleted (archived). Archived scenarios are kept but no longer listed."},"sendBorrowerEmail":{"type":"boolean","description":"Retired with Loan Quotes: no borrower quote email is sent. Kept to read old scenario documents.","deprecated":true},"registration":{"$ref":"#/components/schemas/PricingScenarioRegistration"},"lockSnapshot":{"$ref":"#/components/schemas/PricingScenarioLockSnapshot"}},"additionalProperties":false},"PricingSearchRequest":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of this stored search request, set by the server.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search that ran with these criteria, set by the server.","nullable":true},"pricingScenarioId":{"type":"string","description":"Identifier of the pricing scenario this search belongs to, set by the server.","nullable":true},"canUpdate":{"type":"boolean","description":"True when the caller may change the scenario this request belongs to. Set by the server; read-only."},"qmInformation":{"$ref":"#/components/schemas/QMCriteria"},"borrowerInformation":{"$ref":"#/components/schemas/BorrowerCriteria"},"coBorrowerInformation":{"$ref":"#/components/schemas/CoBorrowerCriteria"},"loanInformation":{"$ref":"#/components/schemas/LoanPricingCriteria"},"propertyInformation":{"$ref":"#/components/schemas/PropertySearchCriteria"},"brokerCriteria":{"$ref":"#/components/schemas/BrokerCriteria"},"rateRange":{"$ref":"#/components/schemas/RateRange"},"dayLocksCriteria":{"type":"array","items":{"type":"integer","format":"int32"},"description":"Lock periods, in days, asked for. Kept for reference; the search prices loanInformation.desiredLockPeriod.","nullable":true},"representativeFico":{"type":"integer","description":"Representative credit score of the request. Kept for reference; the search prices the borrower and loan scores.","format":"int64","nullable":true},"loanLevelDebtToIncomeRatio":{"type":"number","description":"Loan-level debt-to-income ratio, in percent. Kept for reference; the search prices loanInformation.loanLevelDebtToIncomeRatio.","format":"double","nullable":true},"customerInternalId":{"type":"string","description":"Caller-supplied identifier, echoed on the search response.","nullable":true},"agentId":{"type":"string","description":"Identifier (GUID) of the loan officer the search ran for, which decides the pricing account it prices under.","format":"uuid"},"companyId":{"type":"string","description":"Identifier (GUID) of the loan officer's company.","format":"uuid"},"version":{"type":"string","description":"Version tag of the request, kept for reference.","nullable":true},"dynamicPropertiesMap":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/FieldPropertyParameter"},"description":"Custom pricing fields, keyed by field identifier.","nullable":true},"includeGuidelines":{"type":"boolean","description":"True to include the guideline documents that apply to each product in the response."},"markupOverrides":{"type":"array","items":{"$ref":"#/components/schemas/MarkupOverride"},"description":"Per-request overrides of configured markup tiers, such as a corporate margin or loan officer compensation.","nullable":true},"commissionTier":{"$ref":"#/components/schemas/CommissionTier"}},"additionalProperties":false,"description":"A pricing search as it is stored with a scenario: the borrower, loan, property and fee criteria, plus who it was run for."},"QMCriteria":{"type":"object","properties":{"refinancePrepaymentFeeAmount":{"type":"number","description":"Prepayment fee charged on the loan being refinanced, in dollars.","format":"double"},"creditInsuranceFeeAmount":{"type":"number","description":"Credit insurance premium charged at closing, in dollars.","format":"double"},"cashIncentiveDiscountAmount":{"type":"number","description":"Cash incentive or discount applied at closing, in dollars.","format":"double"},"escrowTrusteeFeeAmount":{"type":"number","description":"Escrow or trustee fee, in dollars.","format":"double"},"propertyAssessmentFeeAmount":{"type":"number","description":"Property assessment fee, in dollars.","format":"double"},"notaryCreditReportFeeAmount":{"type":"number","description":"Notary and credit report fees, in dollars.","format":"double"},"documentPreperationFeeAmount":{"type":"number","description":"Document preparation fee, in dollars.","format":"double"},"titleFeeAmount":{"type":"number","description":"Title fees, in dollars.","format":"double"},"borrowerPaidLOCompensation":{"type":"number","description":"Loan officer compensation the borrower pays directly, in dollars.","format":"double"},"additionalQMFeesAffectAPOR":{"type":"boolean","description":"True when the additional fees are finance charges that also change the APR comparison."},"additionalQMFeeAmount":{"type":"number","description":"Other fees that count toward the points-and-fees test, in dollars.","format":"double"},"financedPMI":{"type":"number","description":"Mortgage insurance premium that is financed into the loan, in dollars.","format":"double"}},"additionalProperties":false,"description":"Itemized fees that count toward the Qualified Mortgage points-and-fees test and the APOR comparison. Every amount is in dollars and defaults to zero."},"BorrowerCriteria":{"type":"object","properties":{"applicationDate":{"type":"string","description":"Date the loan application was taken, ISO 8601.","format":"date-time","nullable":true},"assetDocumentation":{"type":"string","description":"How the borrower's assets are documented. Kept for reference; not used when pricing.","nullable":true},"bankruptcy":{"type":"string","description":"Bankruptcy history of the borrower. Kept for reference; not used when pricing.","nullable":true},"bankruptcyChapter":{"type":"string","description":"Chapter of the borrower's bankruptcy. Kept for reference; not used when pricing.","nullable":true},"bankStatementsForIncome":{"type":"string","description":"Months of bank statements used to document income. Kept for reference; not used when pricing.","nullable":true},"citizenship":{"type":"string","description":"Borrower's citizenship status: USCitizen, USCitizenAbroad, PermResidentAlien, NonPermResidentAlien or ForeignNational. Used when pricing.","nullable":true},"debtToIncomeRatio":{"type":"number","description":"Borrower's debt-to-income ratio, in percent. Kept for reference; the loan-level ratio on the request is what pricing uses.","format":"double","nullable":true},"disclosureDate":{"type":"string","description":"Date the initial loan disclosures were issued, ISO 8601.","format":"date-time","nullable":true},"docType":{"type":"string","description":"Documentation type of the loan. Kept for reference; not used when pricing.","nullable":true},"employmentDocumentation":{"type":"string","description":"How the borrower's employment is documented. Kept for reference; not used when pricing.","nullable":true},"fico":{"type":"integer","description":"Borrower's credit score. Used when pricing.","format":"int32","nullable":true},"firstName":{"type":"string","description":"Borrower's first name.","nullable":true},"firstTimeHomeBuyer":{"type":"boolean","description":"True when the borrower is a first-time home buyer, which makes first-time-buyer programs eligible.","nullable":true},"foreclosure":{"type":"string","description":"Foreclosure history of the borrower. Kept for reference; not used when pricing.","nullable":true},"incomeDocumentation":{"type":"string","description":"How the borrower's income is documented. Kept for reference; not used when pricing.","nullable":true},"lastName":{"type":"string","description":"Borrower's last name.","nullable":true},"militaryType":{"type":"string","description":"Borrower's military status. Kept for reference; use typeOfVeteran when pricing.","nullable":true},"monthlyIncome":{"type":"number","description":"Borrower's gross monthly income, in dollars. Kept for reference; not used when pricing.","format":"double","nullable":true},"monthsReserves":{"type":"integer","description":"Months of post-closing reserves the borrower has.","format":"int64","nullable":true},"mortgageLatesRolling":{"type":"integer","description":"Number of rolling mortgage late payments. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX120":{"type":"integer","description":"Number of mortgage payments 120 or more days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX30":{"type":"integer","description":"Number of mortgage payments 30 days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX60":{"type":"integer","description":"Number of mortgage payments 60 days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX90":{"type":"integer","description":"Number of mortgage payments 90 days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"pledgedAssets":{"type":"boolean","description":"True when the borrower pledges assets to qualify. Kept for reference; not used when pricing.","nullable":true},"selfEmployed":{"type":"boolean","description":"True when the borrower is self-employed.","nullable":true},"state":{"type":"string","description":"Two-letter state of the borrower's residence.","nullable":true},"vaFirstTimeUse":{"type":"boolean","description":"True when this is the borrower's first use of the VA loan benefit, which lowers the VA funding fee.","nullable":true},"typeOfVeteran":{"type":"string","description":"Veteran status for VA pricing: ActiveDuty or NationalGuardOrReserves. Used when pricing.","nullable":true},"waiveEscrows":{"type":"boolean","description":"True when the borrower asks to waive escrows for taxes and insurance, which can add a price adjustment.","nullable":true},"compensationType":{"type":"string","description":"How the loan officer is compensated. Kept for reference; not used when pricing.","nullable":true},"ownProperties":{"type":"integer","description":"Number of properties the borrower owns. Kept for reference; not used when pricing.","format":"int32","nullable":true},"numberOfBorrower":{"type":"integer","description":"Number of borrowers on the loan. Kept for reference; not used when pricing.","format":"int32","nullable":true},"averageMedianCreditScore":{"type":"integer","description":"Average of the borrowers' median credit scores. Kept for reference; not used when pricing.","format":"int32","nullable":true},"balloon":{"type":"boolean","description":"True when the loan has a balloon payment. Kept for reference; not used when pricing.","nullable":true},"paymentInterestType":{"type":"string","description":"Payment and interest structure of the loan. Kept for reference; not used when pricing.","nullable":true},"lenderFeeWaiver":{"type":"boolean","description":"True when lender fees are waived. Kept for reference; not used when pricing.","nullable":true},"noMortgageHistory":{"type":"boolean","description":"True when the borrower has no mortgage payment history. Kept for reference; not used when pricing."},"escrowHoldback":{"type":"boolean","description":"True when an escrow holdback applies. Kept for reference; not used when pricing."},"texas50a6":{"type":"boolean","description":"True for a Texas 50(a)(6) home equity loan. Kept for reference; not used when pricing."},"affordableLendingPrograms":{"type":"array","items":{"type":"string"},"description":"Affordable-lending programs the borrower is in. Kept for reference; not used when pricing.","nullable":true},"mortgageLoanChargeOffs":{"type":"array","items":{"type":"string"},"description":"Mortgage charge-offs in the borrower's history. Kept for reference; not used when pricing.","nullable":true},"shortSale":{"type":"string","description":"Short sale history of the borrower. Kept for reference; not used when pricing.","nullable":true},"deedInLieu":{"type":"string","description":"Deed-in-lieu-of-foreclosure history of the borrower. Kept for reference; not used when pricing.","nullable":true},"forbearance":{"type":"string","description":"Mortgage forbearance history of the borrower. Kept for reference; not used when pricing.","nullable":true}},"additionalProperties":false,"description":"Borrower-side criteria a search was priced with. Only the fields noted as used affect pricing; the rest are kept with the scenario for reference."},"CoBorrowerCriteria":{"type":"object","properties":{"intentToOccupy":{"type":"boolean","description":"True when the co-borrower intends to occupy the property as a residence."}},"additionalProperties":false,"description":"Co-borrower criteria a search was priced with."},"LoanPricingCriteria":{"type":"object","properties":{"amortizationTypes":{"type":"array","items":{"type":"string"},"description":"Amortization types to include: Fixed, ARM, Balloon or OptionArm.","nullable":true},"armFixedTerms":{"type":"array","items":{"type":"string"},"description":"Initial fixed periods to include for adjustable-rate products, for example FiveYear.","nullable":true},"automatedUnderwritingSystem":{"type":"string","description":"Automated underwriting system the loan was run through (DU, LP, InvestorAUS, ManualTraditional or NotSpecified).","nullable":true},"baseLoanAmount":{"type":"number","description":"Base loan amount in dollars, before any financed fees or mortgage insurance.","format":"double","nullable":true},"borrowerPaidMi":{"type":"string","description":"Yes when the borrower pays the mortgage insurance premium, No otherwise.","nullable":true},"buydown":{"type":"string","description":"Temporary buydown structure: None, ThreeTwoOne, TwoOne, OneOne or OneZero.","nullable":true},"buydownContributorType":{"type":"string","description":"Who funds the buydown: Lender, Borrower, Seller, Builder or OtherInterestedThirdParty. Used only when buydown is not None.","nullable":true},"calculateTotalLoanAmount":{"type":"boolean","description":"True to have the total loan amount (base amount plus financed upfront fee) calculated for the search.","nullable":true},"cashOutAmount":{"type":"number","description":"Cash the borrower takes out in a refinance, in dollars.","format":"double","nullable":true},"currentServicer":{"type":"string","description":"Name of the servicer of the existing loan, for a refinance. Kept for reference; not used when pricing.","nullable":true},"desiredLockPeriod":{"type":"integer","description":"Rate lock period to price, in days.","format":"int64","nullable":true},"desiredPrice":{"type":"number","description":"Target price to search for, where 100 is par. Zero means no target.","format":"double","nullable":true},"desiredRate":{"type":"number","description":"Target note rate to search for, in percent such as 6.875.","format":"double","nullable":true},"exemptFromVAFundingFee":{"type":"boolean","description":"VA loans only. True when the veteran is exempt from the funding fee, for example for a service-connected disability.","nullable":true},"expandedApprovalLevel":{"type":"string","description":"Expanded-approval tier the loan qualifies under, or NotApplicable.","nullable":true},"feesIn":{"type":"string","description":"Fees-in pricing option. Pricing always runs with No.","nullable":true},"fhaCaseAssigned":{"type":"string","description":"Date the FHA case number was assigned, ISO 8601.","format":"date-time","nullable":true},"fhaCaseEndorsement":{"type":"string","description":"Date the existing FHA loan was endorsed, ISO 8601, for an FHA streamline refinance. Kept for reference; not used when pricing.","format":"date-time","nullable":true},"firstLienAmount":{"type":"number","description":"Balance of the first lien in dollars, when pricing a second lien.","format":"double","nullable":true},"helocDrawnAmount":{"type":"number","description":"Amount drawn on the home equity line, in dollars.","format":"double","nullable":true},"helocLineAmount":{"type":"number","description":"Total home equity line amount, in dollars.","format":"double","nullable":true},"includeLoCompensationInPricing":{"type":"string","description":"How loan officer compensation is reflected in the price: YesLenderPaid, NoBuyerPaid or NoLenderPaid.","nullable":true},"interestOnly":{"type":"boolean","description":"True to price interest-only products.","nullable":true},"interestOnlyTerm":{"type":"integer","description":"Length of the interest-only period. Kept for reference; not used when pricing.","format":"int32","nullable":true},"lienType":{"type":"string","description":"Lien position being priced: First or Second.","nullable":true},"loanPurpose":{"type":"string","description":"Purpose of the loan, for example Purchase or RefiCashout.","nullable":true},"loanTerms":{"type":"array","items":{"type":"string"},"description":"Loan terms to include, for example ThirtyYear or FifteenYear.","nullable":true},"loanType":{"type":"string","description":"Loan type, for example Conforming, FHA or VA.","nullable":true},"loanTypes":{"type":"array","items":{"type":"string"},"description":"Additional loan types to include. Kept for reference; not used when pricing.","nullable":true},"prepaymentPenalty":{"type":"string","description":"Prepayment penalty period to price: None or OneYear through FiveYear.","nullable":true},"productTypes":{"type":"array","items":{"type":"string"},"description":"Product categories to include, for example StandardProducts.","nullable":true},"secondLienAmount":{"type":"number","description":"Balance of the second lien in dollars, which counts toward combined loan-to-value.","format":"double","nullable":true},"ltv":{"type":"number","description":"Loan-to-value ratio, in percent. Kept for reference; the pricing engine calculates it.","format":"double","nullable":true},"cltv":{"type":"number","description":"Combined loan-to-value ratio, in percent. Kept for reference; the pricing engine calculates it.","format":"double","nullable":true},"renovationLoan":{"type":"boolean","description":"True for a renovation loan. Kept for reference; not used when pricing.","nullable":true},"renovationCost":{"type":"number","description":"Renovation cost in dollars. Kept for reference; not used when pricing.","format":"double","nullable":true},"assetDepletion":{"type":"string","description":"Yes when the borrower qualifies using asset depletion, No otherwise.","nullable":true},"autoDebit":{"type":"string","description":"Yes when the borrower authorizes automatic debit of the payment, No otherwise.","nullable":true},"employeeLoan":{"type":"string","description":"Yes when the borrower is an employee of the lender, No otherwise.","nullable":true},"communityAffordableSecond":{"type":"string","description":"Yes when the loan has a community or affordable second mortgage, No otherwise.","nullable":true},"reducedMI":{"type":"boolean","description":"True to price with reduced mortgage insurance, for programs that offer it."},"representativeFICO":{"type":"integer","description":"Representative credit score used to price the loan.","format":"int32"},"loanLevelDebtToIncomeRatio":{"type":"number","description":"Loan-level debt-to-income ratio, in percent. A value of zero or less prices as 30.","format":"double"},"totalMonthlyQualifyingIncome":{"type":"number","description":"Total monthly income used to qualify the borrowers, in dollars.","format":"double"},"expandedGuidelines":{"$ref":"#/components/schemas/ExpandedGuidelines"},"propertiesFinanced":{"type":"integer","description":"Number of properties the borrower has financed with the lender.","format":"int32","nullable":true},"totalLoanAmountDetails":{"$ref":"#/components/schemas/TotalLoanAmountDetails"},"constructionLoanType":{"type":"string","description":"Whether the loan finances construction: NotApplicable, Construction or ConstructionToPerm.","nullable":true}},"additionalProperties":false,"description":"Loan-side criteria a search was priced with. Coded fields take the values of the matching enum (loan purpose, lien type and so on)."},"ExpandedGuidelines":{"type":"object","properties":{"incomeVerificationType":{"type":"string","description":"How the borrower's income is documented, for example FullDoc or a bank statement program.","nullable":true},"housingEventType":{"type":"string","description":"Type of negative housing event in the borrower's history, or None.","nullable":true},"housingEventSeasoning":{"type":"string","description":"How long ago the housing event happened.","nullable":true},"bankruptcyType":{"type":"string","description":"Chapter of the borrower's bankruptcy, or None.","nullable":true},"bankruptcyOutcome":{"type":"string","description":"How the bankruptcy ended: discharged, dismissed or still open.","nullable":true},"bankruptcySeasoning":{"type":"string","description":"How long ago the bankruptcy happened.","nullable":true},"mortgageLatesx30_12Mos":{"type":"integer","description":"Number of mortgage payments 30 days late in the last 12 months.","format":"int32"},"mortgageLatesx30_13to24Mos":{"type":"integer","description":"Number of mortgage payments 30 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx60_12Mos":{"type":"integer","description":"Number of mortgage payments 60 days late in the last 12 months.","format":"int32"},"mortgageLatesx60_13to24Mos":{"type":"integer","description":"Number of mortgage payments 60 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx90_12Mos":{"type":"integer","description":"Number of mortgage payments 90 days late in the last 12 months.","format":"int32"},"mortgageLatesx90_13to24Mos":{"type":"integer","description":"Number of mortgage payments 90 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx120_12Mos":{"type":"integer","description":"Number of mortgage payments 120 days late in the last 12 months.","format":"int32"},"mortgageLatesx120_13to24Mos":{"type":"integer","description":"Number of mortgage payments 120 days late 13 to 24 months ago.","format":"int32"},"debtConsolidation":{"type":"boolean","description":"True when the loan is a debt-consolidation refinance."},"uniqueProperty":{"type":"boolean","description":"True when the property is unique, for example unusual construction or use."},"debtServiceCoverageRatio":{"type":"number","description":"Debt service coverage ratio of an investment property (rental income divided by the property's debt payments), as a decimal such as 1.25.","format":"double"}},"additionalProperties":false,"description":"Extra borrower history used to price expanded-guideline (non-agency) products. Each coded field takes the values of the matching expanded-guideline enum."},"TotalLoanAmountDetails":{"type":"object","properties":{"totalLoanAmount":{"type":"number","description":"Base loan amount plus the financed upfront fee, in dollars.","format":"double"},"upfrontPmiMipFfGfPercent":{"type":"number","description":"Upfront mortgage insurance or funding fee, as a percent of the base loan amount.","format":"double"},"upfrontPmiMipFfGfAmount":{"type":"number","description":"Upfront mortgage insurance or funding fee, in dollars.","format":"double"},"upfrontPmiMipFfGfPaidinCash":{"type":"number","description":"Portion of the upfront fee the borrower pays in cash at closing, in dollars.","format":"double"},"upfrontPmiMipFfGfFinancedAmount":{"type":"number","description":"Portion of the upfront fee added to the loan amount, in dollars.","format":"double"}},"additionalProperties":false,"description":"The total loan amount with the upfront mortgage insurance or guarantee fee (FHA MIP, VA or USDA funding fee, private MI) added, and how that fee is split between cash and financing."},"PropertySearchCriteria":{"type":"object","properties":{"appraisedValue":{"type":"number","description":"Appraised value of the property, in dollars.","format":"double","nullable":true},"city":{"type":"string","description":"City of the subject property.","nullable":true},"construction":{"type":"boolean","description":"True when the property is new construction. Kept for reference; not used when pricing.","nullable":true},"corporateRelocation":{"type":"boolean","description":"True when the loan is a corporate relocation, which some programs price differently.","nullable":true},"county":{"type":"string","description":"County of the subject property.","nullable":true},"numberOfStories":{"type":"integer","description":"Number of stories of the building.","format":"int64","nullable":true},"numberOfUnits":{"type":"string","description":"Number of units: OneUnit through FourUnits, or five and more as FiveUnits upward.","nullable":true},"occupancy":{"type":"string","description":"How the property is used: PrimaryResidence, SecondHome or InvestmentProperty.","nullable":true},"propertyStreetAddress":{"type":"string","description":"Street address of the subject property; not used for eligibility.","nullable":true},"propertyType":{"type":"string","description":"Type of the property, for example SingleFamily or Condo.","nullable":true},"salesPrice":{"type":"number","description":"Purchase price of the property, in dollars.","format":"double","nullable":true},"state":{"type":"string","description":"Two-letter state of the subject property.","nullable":true},"zipCode":{"type":"string","description":"ZIP code of the subject property.","nullable":true},"attachmentType":{"type":"string","description":"Whether the property is attached or detached. Kept for reference; not used when pricing.","nullable":true}},"additionalProperties":false,"description":"Property-side criteria a search was priced with."},"BrokerCriteria":{"type":"object","properties":{"minCompensation":{"type":"number","description":"Minimum loan officer compensation, in dollars.","format":"double","nullable":true},"maxCompensation":{"type":"number","description":"Maximum loan officer compensation, in dollars.","format":"double","nullable":true},"compPercent":{"type":"number","description":"Loan officer compensation as a percent of the loan amount.","format":"double","nullable":true},"ausList":{"type":"array","items":{"type":"string"},"description":"Automated underwriting systems the officer's criteria allow; usually empty.","nullable":true}},"additionalProperties":false,"description":"Loan officer compensation limits a search was priced with, taken from the officer's profile."},"RateRange":{"type":"object","properties":{"from":{"type":"number","description":"Lowest rate of the range in percent, for example 6.0.","format":"double","nullable":true},"to":{"type":"number","description":"Highest rate of the range in percent, for example 7.0.","format":"double","nullable":true}},"additionalProperties":false,"description":"A range of note rates in percent."},"FieldPropertyParameter":{"type":"object","properties":{"fieldId":{"type":"string","description":"Identifier of the custom pricing field.","nullable":true},"value":{"type":"string","description":"Value to price with for that field, as text.","nullable":true}},"additionalProperties":false,"description":"A custom pricing field and the value it is set to."},"MarkupOverride":{"type":"object","properties":{"level":{"type":"integer","description":"Which configured markup tier this entry overrides, as its level index in the pricing account.","format":"int32","nullable":true},"dollar":{"type":"integer","description":"Flat markup in dollars. Leave null to use percentage instead.","format":"int32","nullable":true},"percentage":{"type":"number","description":"Markup as a percent of the loan amount, for example 1.40 for 140 basis points.","format":"double","nullable":true},"minCapDollar":{"type":"integer","description":"Minimum markup in dollars. Leave null for no minimum.","format":"int32","nullable":true},"maxCapDollar":{"type":"integer","description":"Maximum markup in dollars. Leave null for no maximum; a 0 caps the markup at 0.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Per-request override of a configured markup tier (a corporate or servicing-release margin, or loan officer compensation). Every field is optional; only those set are applied."},"CommissionTier":{"enum":["HalfPercent","ThreeQuarterPercent","OnePercent","OneAndThreeQuarterPercent"],"type":"string","description":"Loan officer compensation tier, as a percent of the loan amount, that selects which pricing account a search runs under. Reserved for Henge's own automated agents; ignored for other callers. HalfPercent is 0.50%, ThreeQuarterPercent 0.75%, OnePercent 1.00% and OneAndThreeQuarterPercent 1.75%."},"PricingSearchResponse":{"type":"object","properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/EligibleProduct"},"description":"Eligible products, each at one rate and lock period.","nullable":true},"cltv":{"type":"number","description":"Combined loan-to-value ratio the search used, in percent.","format":"double"},"ltv":{"type":"number","description":"Loan-to-value ratio the search used, in percent.","format":"double"},"hcltv":{"type":"number","description":"Home-equity combined loan-to-value ratio the search used, in percent.","format":"double"},"amiPercentage":{"type":"number","description":"Percentage of the area median income the search calculated, used by affordable programs.","format":"double"},"searchId":{"type":"string","description":"Identifier of this search; pass it with a product id to fetch product details.","nullable":true},"searchTime":{"type":"string","description":"When the search ran.","nullable":true},"customerInternalId":{"type":"string","description":"Caller-supplied identifier echoed from the request.","nullable":true},"totalLoanAmountDetails":{"$ref":"#/components/schemas/TotalLoanAmountDetails"},"guidelines":{"type":"array","items":{"$ref":"#/components/schemas/Guideline"},"description":"Guideline documents that apply to the results; present when guidelines were requested.","nullable":true},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Message"},"description":"Messages from the search, such as warnings about the criteria.","nullable":true},"pricedAs":{"$ref":"#/components/schemas/PricingSearchRequest"},"pricingExpiresAt":{"type":"string","description":"When this search's pricing expires. Not set by the Partner API, so it is left out of the response.","format":"date-time","nullable":true},"serverTime":{"type":"string","description":"The server's clock when `pricingExpiresAt` was set, so a page can compare without trusting its own.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"The result of a pricing search: the products the loan is eligible for, with the ratios the search calculated."},"EligibleProduct":{"type":"object","properties":{"bonaFideDiscountPoints":{"type":"number","description":"Discount points, as a percent of the loan amount, that count as bona fide and are excluded from the Qualified Mortgage points-and-fees test.","format":"double"},"qmStatus":{"type":"string","description":"Qualified Mortgage test result: Pass, Fail, or a pass flagged as a higher-priced mortgage loan (the HPML values); AlwaysPass for products the test does not apply to.","nullable":true},"amortizationTerm":{"type":"string","description":"Amortization term in years, as text, for example 30.","nullable":true},"amortizationType":{"type":"string","description":"How the loan is repaid: Fixed, ARM, Balloon or OptionArm.","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, in percent.","format":"double"},"armIndex":{"type":"string","description":"Index an adjustable rate follows, for example SOFR or Treasury.","nullable":true},"armFirstCap":{"type":"number","description":"Cap on the first rate adjustment, in percentage points.","format":"double"},"armIndexValue":{"type":"number","description":"Current value of the index, in percent.","format":"double"},"armPeriodicCap":{"type":"number","description":"Cap on each later rate adjustment, in percentage points.","format":"double"},"armLifetimeCap":{"type":"number","description":"Cap on the total rate change over the life of the loan, in percentage points.","format":"double"},"armRelativeCap":{"type":"number","description":"Relative cap on the rate, in percentage points.","format":"double"},"armMargin":{"type":"number","description":"Margin added to the index, in percentage points.","format":"double"},"armsubsequentChangePeriod":{"type":"string","description":"How often an adjustable rate changes after its fixed period, in months, as text.","nullable":true},"armFixedTerm":{"type":"string","description":"Initial fixed period of an adjustable-rate product, as a code such as FiveYear.","nullable":true},"closingCost":{"type":"number","description":"Lender closing costs, in dollars.","format":"double"},"points":{"type":"number","description":"Discount points as a percent of the loan amount: 100 minus price, so negative when the product pays a rebate.","format":"double","nullable":true},"pointsCost":{"type":"number","description":"Cost of the points in dollars: the discount when positive, the rebate as a negative number.","format":"double","nullable":true},"discount":{"type":"number","description":"Buydown (discount) cost at this rate, in dollars; 0 on a rebate or par rate.","format":"double"},"investor":{"type":"string","description":"Name of the investor behind the product. Omitted for callers who are not shown the investor.","nullable":true},"investorId":{"type":"integer","description":"Identifier of the investor. Omitted for callers who are not shown the investor.","format":"int32","nullable":true},"sourceInvestor":{"type":"string","description":"The lender behind a portfolio investor's product. Omitted unless the caller is shown the investor.","nullable":true},"lastUpdate":{"type":"string","description":"When the lender's rate sheet was published, ISO 8601. Omitted for callers who are not shown the investor.","format":"date-time","nullable":true},"loanTerm":{"type":"string","description":"Loan term in years, as text, for example 30.","nullable":true},"loanType":{"type":"string","description":"Loan type, for example Conforming, FHA or VA.","nullable":true},"lockPeriod":{"type":"integer","description":"Rate lock period, in days.","format":"int64"},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance, in dollars; 0 when the product has none.","format":"double"},"pendingUpdate":{"type":"boolean","description":"True when a pricing update for the product is pending, so the price may change."},"price":{"type":"number","description":"Price as a percent of par, where 100 is par.","format":"double"},"priceStatus":{"type":"string","description":"Whether the price can be used: Available, Suspended, Expired or TodaysPricingExpired.","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment, in dollars.","format":"double"},"productCode":{"type":"string","description":"The lender's product code. Omitted for callers who are not shown the investor.","nullable":true},"productId":{"type":"string","description":"Identifier of the product, to fetch its details or select it.","nullable":true},"productName":{"type":"string","description":"Name of the product, including the investor when shown.","nullable":true},"rate":{"type":"number","description":"Note rate, in percent such as 6.875.","format":"double"},"rebate":{"type":"number","description":"Rebate (credit) at this rate, in dollars; 0 on a discount or par rate.","format":"double"},"totalPayment":{"type":"number","description":"Total monthly payment in dollars: principal, interest and mortgage insurance.","format":"double"},"loCompensationDollars":{"type":"integer","description":"Loan officer compensation built into the price, in dollars.","format":"int32"},"loCompensationPercent":{"type":"number","description":"Loan officer compensation built into the price, as a percent of the loan amount.","format":"double"},"highBalance":{"type":"string","description":"Yes when the loan amount is above the standard conforming limit (a high-balance loan), No otherwise.","nullable":true},"productQuote":{"$ref":"#/components/schemas/ProductQuote"},"keyLabel":{"type":"string","description":"Label grouping the product by term, amortization and loan type, for example 30 Year Fixed Conforming.","nullable":true},"programName":{"type":"string","description":"Product name without the investor prefix.","nullable":true},"originalApr":{"type":"number","description":"APR before any adjustment by the loan officer, in percent.","format":"double"},"adjustedApr":{"type":"number","description":"APR after the loan officer's adjustments, in percent.","format":"double"},"computedApr":{"type":"number","description":"APR computed by Henge from the rate and costs, in percent.","format":"double"},"armFixedTermMonths":{"type":"integer","description":"Initial fixed period of an adjustable-rate product, in months.","format":"int32","nullable":true},"opportunityType":{"$ref":"#/components/schemas/OpportunityTypeModel"}},"additionalProperties":false,"description":"A product the loan is eligible for, shown at one rate and lock period with its price and payment. Search results carry no productQuote; fetch the product's details for its full rate sheet."},"ProductQuote":{"type":"object","properties":{"productName":{"type":"string","description":"Name of the product, including the investor when it is shown.","nullable":true},"quotes":{"type":"array","items":{"$ref":"#/components/schemas/Quote"},"description":"The rate rows of the product, one per rate and lock period.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search this rate sheet came from.","nullable":true},"productId":{"type":"string","description":"Identifier of the product.","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/QuoteAdjustment"},"description":"Adjustments applied to the product's rate or price.","nullable":true},"parQuotes":{"type":"array","items":{"$ref":"#/components/schemas/ParQuote"},"description":"The par rate for each lock period.","nullable":true},"totalRateAdjustment":{"type":"number","description":"Sum of the rate adjustments, in percentage points.","format":"double","nullable":true},"totalPriceAdjustment":{"type":"number","description":"Sum of the price adjustments, in points.","format":"double","nullable":true},"totalSRPAdjustment":{"type":"number","description":"Sum of the servicing-release-premium adjustments, in points.","format":"double","nullable":true},"totalMarginAdjustment":{"type":"number","description":"Sum of the margin adjustments, in percentage points.","format":"double","nullable":true},"notesAndAdvisories":{"type":"array","items":{"type":"string"},"description":"Notes and advisories the lender attached to the product.","nullable":true},"armSubsequentChangePeriod":{"type":"string","description":"How often an adjustable rate changes after its fixed period, as a code such as OneYear or SixMonth.","nullable":true},"armIndex":{"type":"string","description":"Index an adjustable rate follows, for example SOFR or Treasury.","nullable":true},"armIndexValue":{"type":"number","description":"Current value of the index, in percent.","format":"double","nullable":true},"armFirstCap":{"type":"number","description":"Cap on the first rate adjustment, in percentage points.","format":"double","nullable":true},"armPeriodicCap":{"type":"number","description":"Cap on each later rate adjustment, in percentage points.","format":"double","nullable":true},"armFixedTerm":{"type":"string","description":"Initial fixed period of an adjustable-rate product, as a code such as FiveYear.","nullable":true},"armFixedTermMonths":{"type":"integer","description":"Initial fixed period of an adjustable-rate product, in months.","format":"int32","nullable":true},"armLifetimeCap":{"type":"number","description":"Cap on the total rate change over the life of the loan, in percentage points.","format":"double","nullable":true},"armRelativeCap":{"type":"number","description":"Relative cap on the rate, in percentage points.","format":"double","nullable":true},"constructionTermMonths":{"type":"integer","description":"Construction period of a construction loan, in months.","format":"int32","nullable":true},"originationFees":{"type":"number","description":"Origination fees of the product, in dollars.","format":"double","nullable":true},"investorId":{"type":"integer","description":"Identifier of the investor behind the product. Omitted for callers who are not shown the investor.","format":"int32","nullable":true},"miRequiredOver80Ltv":{"type":"boolean","description":"True when mortgage insurance is required above 80% loan-to-value.","nullable":true},"interestOnlyTerm":{"type":"integer","description":"Length of the interest-only period of an interest-only product.","format":"int32","nullable":true},"lenderFeeDetails":{"type":"array","items":{"$ref":"#/components/schemas/LenderFeeDetail"},"description":"The lender fees charged on the product.","nullable":true},"lenderFeeTotal":{"type":"number","description":"Sum of the lender fees in lenderFeeDetails, in dollars. Calculated; read-only.","format":"double","nullable":true,"readOnly":true}},"additionalProperties":false,"description":"The full rate sheet of one product: every rate and lock period, with the adjustments, par rates and lender fees behind them."},"Quote":{"type":"object","properties":{"id":{"type":"string","description":"Identifier the pricing search gave this row.","nullable":true},"rate":{"type":"number","description":"Note rate, in percent such as 6.875.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Rate lock period of this row, in days.","format":"int32","nullable":true},"lockExpirationDate":{"type":"string","description":"Date a lock at this row's lock period would expire, ISO 8601.","format":"date-time","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, in percent. Uses adjustedApr when one was calculated.","format":"double","nullable":true},"price":{"type":"number","description":"Price as a percent of par, where 100 is par; above 100 pays the borrower a rebate and below 100 costs a discount.","format":"double","nullable":true},"armMargin":{"type":"number","description":"Margin added to the index for an adjustable-rate product, in percentage points.","format":"double","nullable":true},"closingCost":{"type":"number","description":"Lender closing costs of this row, in dollars.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount: 100 minus price, so negative when the row pays a rebate.","format":"double","nullable":true},"pointsCost":{"type":"number","description":"Cost of the points in dollars: positive for a discount, negative for a rebate.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"Buydown (discount) this row costs the borrower, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"discountPercent":{"type":"number","description":"Buydown (discount) as a percent of the loan amount; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"Rebate (credit) this row gives the borrower, in dollars; 0 on a discount or par row.","format":"double","nullable":true},"rebatePercent":{"type":"number","description":"Rebate (credit) as a percent of the loan amount; 0 on a discount or par row.","format":"double","nullable":true},"loCompensationDollar":{"type":"number","description":"Loan officer compensation built into this row, in dollars.","format":"double","nullable":true},"loCompensationPercent":{"type":"number","description":"Loan officer compensation built into this row, as a percent of the loan amount.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment, in dollars.","format":"double","nullable":true},"totalCredit":{"type":"number","description":"Total credit this row gives the borrower, in dollars.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance, in dollars; 0 when the product has none.","format":"double","nullable":true},"totalPayment":{"type":"number","description":"Total monthly payment in dollars: principal, interest and mortgage insurance.","format":"double","nullable":true},"amiRuleApplied":{"type":"boolean","description":"True when the area-median-income rule of affordable programs was applied to this row."},"borrowerPaidDetails":{"type":"array","items":{"$ref":"#/components/schemas/FeeDetail"},"description":"Fees the borrower pays for this row.","nullable":true},"groupAdjustmentProperties":{"type":"array","items":{"$ref":"#/components/schemas/GroupAdjustmentProperty"},"description":"The groups of price adjustments that make up this row's final price.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search this row came from.","nullable":true},"productId":{"type":"string","description":"Identifier of the product this row belongs to.","nullable":true},"adjustedApr":{"type":"number","description":"APR after the loan officer's adjustments to the quote, in percent.","format":"double","nullable":true},"adjustedFee":{"type":"number","description":"Fee amount after the loan officer's adjustments, in dollars.","format":"double","nullable":true},"computedApr":{"type":"number","description":"APR computed by Henge from the row's rate and costs, in percent.","format":"double","nullable":true},"originalApr":{"type":"number","description":"APR as the pricing search returned it, before any adjustment, in percent.","format":"double","nullable":true},"quoteId":{"type":"string","description":"Henge's identifier for this row. Pass it to select or lock the row.","nullable":true},"isArchived":{"type":"boolean","description":"True when this saved row has been archived."},"isLocked":{"type":"boolean","description":"True once a lock has been requested on this row."}},"additionalProperties":false,"description":"One row of a product's rate sheet: a note rate at a lock period, with its price, payment and costs. Rates are percents such as 6.875; price is a percent of par, where 100 is par."},"FeeDetail":{"type":"object","properties":{"amount":{"type":"number","description":"The fee amount in dollars.","format":"double","nullable":true},"description":{"type":"string","description":"What the fee is for.","nullable":true},"isOrigination":{"type":"boolean","description":"True when the fee is an origination charge.","nullable":true},"points":{"type":"number","description":"The fee expressed in points (percent of the loan amount, for example 1.0 for one point), when it is charged that way.","format":"double","nullable":true},"type":{"type":"string","description":"The fee's category as the pricing engine names it.","nullable":true}},"additionalProperties":false},"GroupAdjustmentProperty":{"type":"object","properties":{"id":{"type":"string","description":"Name of the adjustment group, for example the category its adjustments fall under.","nullable":true},"finalAdjustment":{"type":"number","description":"Net adjustment of the group once all its adjustments are applied.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/Adjustment"},"description":"The individual adjustments in the group.","nullable":true}},"additionalProperties":false,"description":"A named group of adjustments that together move a quote's price or rate."},"Adjustment":{"type":"object","properties":{"key":{"type":"string","description":"Name of the adjustment, saying what it is for.","nullable":true},"adj":{"type":"number","description":"Size of the adjustment, in the unit of the group it belongs to (price points or rate).","format":"double","nullable":true}},"additionalProperties":false,"description":"One price or rate adjustment applied to a quote."},"QuoteAdjustment":{"type":"object","properties":{"reason":{"type":"string","description":"Why the adjustment applies, as text.","nullable":true},"adjustor":{"type":"number","description":"Size of the adjustment; its unit follows the type.","format":"double"},"type":{"type":"string","description":"What the adjustment changes, for example the rate, the price or the margin.","nullable":true}},"additionalProperties":false,"description":"An adjustment the lender applied to a product's rate or price."},"ParQuote":{"type":"object","properties":{"parRate":{"type":"number","description":"Note rate at par, in percent.","format":"double"},"parPrice":{"type":"number","description":"Price at par, where 100 is par.","format":"double"},"parLock":{"type":"integer","description":"Lock period of this par quote, in days.","format":"int32"}},"additionalProperties":false,"description":"The par rate for one lock period: the rate whose price is closest to 100."},"LenderFeeDetail":{"type":"object","properties":{"feeDetailNumber":{"type":"integer","description":"Sequence number of the fee in the product's fee list.","format":"int32"},"feeTotalAmountPercent":{"type":"number","description":"Fee as a percent of the base named in feePercentageBasedOn, when it is percentage-based.","format":"double"},"feeSpecifiedFixedAmount":{"type":"number","description":"Fixed fee amount in dollars, when the fee is a fixed amount.","format":"double"},"feeTotalCalculatedAmount":{"type":"number","description":"Total fee in dollars after calculation.","format":"double"},"feePaymentFinancedIndicator":{"type":"boolean","description":"True when the fee is financed into the loan amount."},"feePaidBy":{"type":"string","description":"Who pays the fee: Buyer or Seller.","nullable":true},"feePaidTo":{"type":"string","description":"Who receives the fee: Lender, Broker, Affiliate, ThirdParty or Other.","nullable":true},"rebatePriority":{"type":"integer","description":"Priority of this fee when a rebate is applied.","format":"int32"},"feeDescription":{"type":"string","description":"Name of the fee as the lender describes it.","nullable":true},"prepaidFinanceChargeIndicator":{"type":"boolean","description":"True when the fee is a prepaid finance charge, which counts toward APR."},"includedInQMPointsAndFeesTest":{"type":"boolean","description":"True when the fee counts toward the Qualified Mortgage points-and-fees test."},"feePercentageBasedOn":{"type":"string","description":"Amount a percentage fee is calculated on: PurchasePriceAmount, PropertyAppraisedValueAmount, OriginalLoanAmount, BaseLoanAmount or Other.","nullable":true},"feeType":{"type":"string","description":"Standard fee category, for example LoanOriginationFee or UnderwritingFee.","nullable":true}},"additionalProperties":false,"description":"One lender fee charged on a product."},"OpportunityTypeModel":{"type":"object","properties":{"name":{"type":"string","description":"Display name of the program type, for example 30 Year Fixed or 7/6 ARM.","nullable":true},"shortName":{"type":"string","description":"Compact form of the program type name with no spaces, usable as a key.","nullable":true}},"additionalProperties":false,"description":"The program type of a priced product, for example a fixed term or an adjustable-rate program."},"Guideline":{"type":"object","properties":{"documentDescription":{"type":"string","description":"Title of the guideline document.","nullable":true},"guidelineLink":{"$ref":"#/components/schemas/Link"}},"additionalProperties":false,"description":"A lender guideline document that applies to a product."},"Link":{"type":"object","properties":{"href":{"type":"string","description":"URL of the document.","format":"uri","nullable":true},"action":{"type":"string","description":"HTTP method to use on the URL, for example GET.","nullable":true},"fileExtension":{"type":"string","description":"File extension of the document, for example pdf.","nullable":true},"types":{"type":"array","items":{"type":"string"},"description":"Media types the link serves.","nullable":true}},"additionalProperties":false,"description":"A link to a document, with how to follow it."},"Message":{"type":"object","properties":{"code":{"type":"string","description":"Short code of the message.","nullable":true},"messageText":{"type":"string","description":"The message, as text for a person.","nullable":true}},"additionalProperties":false,"description":"A message from the pricing search, such as a warning about the criteria."},"PricingScenarioStatus":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the status.","format":"uuid","nullable":true},"code":{"type":"string","description":"Short code of the status; the stable value to compare against.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a pricing scenario, such as Initial Pricing or Ready to Lock."},"PricingScenarioRegistration":{"type":"object","properties":{"election":{"type":"string","description":"`Float` or `Lock`.","nullable":true},"registeredBy":{"type":"string","description":"The registering user; null for an application principal with no user.","format":"uuid","nullable":true},"registeredByType":{"type":"string","description":"The `AccessingUserType` name of the principal that registered.","nullable":true},"registeredByName":{"type":"string","description":"The registering user's name when it was registered.","nullable":true},"registeredAt":{"type":"string","description":"UTC.","format":"date-time"}},"additionalProperties":false,"description":"Stored on a pricing scenario that a TPO broker registered (float or lock) through\r\n`POST loanapplications/{id}/registration`: what they elected, who they were and when. Null on every\r\nother scenario, including a lock requested through the quote-and-ReadyToLock flow."},"PricingScenarioLockSnapshot":{"type":"object","properties":{"takenAt":{"type":"string","description":"When the lock was placed, ISO 8601 UTC.","format":"date-time"},"productId":{"type":"string","description":"Identifier of the locked product.","nullable":true},"productName":{"type":"string","description":"Name of the locked product.","nullable":true},"investor":{"type":"string","description":"Name of the investor behind the locked product, when the caller is shown the investor.","nullable":true},"sourceInvestor":{"type":"string","description":"The lender behind a portfolio investor's product. Set for callers who are shown the investor; never stored.","nullable":true},"productCode":{"type":"string","description":"The locked product's code. Staff only; taken off the scenario for other callers.","nullable":true},"rateSheetTime":{"type":"string","description":"When the locked product's rate sheet was published, ISO 8601. Staff only.","format":"date-time","nullable":true},"sourceInstruction":{"$ref":"#/components/schemas/SourceLockInstruction"},"sourceProductQuote":{"$ref":"#/components/schemas/ProductQuote"},"lockPeriod":{"type":"integer","description":"Locked lock period, in days. A move stays within it.","format":"int32","nullable":true},"selectedQuoteId":{"type":"string","description":"quoteId of the selected row: the locked one at first, then the one the last move chose.","nullable":true},"productQuote":{"$ref":"#/components/schemas/ProductQuote"},"moves":{"type":"array","items":{"$ref":"#/components/schemas/LockPositionMove"},"description":"Moves of the selected row after the lock, oldest first.","nullable":true}},"additionalProperties":false,"description":"The product's rate sheet as the lock re-price returned it, kept on the pricing scenario when a lock is placed. The rate sheet is frozen; only the selected row and the moves change after the lock."},"SourceLockInstruction":{"type":"object","properties":{"status":{"type":"string","description":"Outcome of looking for the source price: Priced (the price is set), Unmapped (no source product is mapped to the locked product), NoSourcePricingAccount (the company has no source pricing account), SourceSearchFailed, SourceProductNotReturned or RateNotOnSourceSheet.","nullable":true},"message":{"type":"string","description":"In words, what happened when there is no price.","nullable":true},"sourceInvestor":{"type":"string","description":"Name of the source lender.","nullable":true},"sourceInvestorId":{"type":"integer","description":"Identifier of the source lender in the pricing engine.","format":"int32","nullable":true},"sourceProductName":{"type":"string","description":"Name of the source lender's product to lock.","nullable":true},"sourceProductCode":{"type":"string","description":"Product code of the source lender's product.","nullable":true},"portfolioProductCode":{"type":"string","description":"Code of the portfolio product the row was found by.","nullable":true},"rate":{"type":"number","description":"The selected note rate, in percent.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"sourcePrice":{"type":"number","description":"The source lender's price at the selected rate and lock period, from its frozen rate sheet.","format":"double","nullable":true},"sourceRateSheetTime":{"type":"string","description":"When the source lender's rate sheet was published, ISO 8601.","format":"date-time","nullable":true},"portfolioPrice":{"type":"number","description":"The portfolio price the broker locked at, including the portfolio's margin.","format":"double","nullable":true},"priceDifference":{"type":"number","description":"portfolioPrice minus sourcePrice: the margin, in points.","format":"double","nullable":true}},"additionalProperties":false,"description":"The instruction for the lock desk: lock the source product with the source lender at the source price. It follows the selected row, so a move of the selected rate rewrites it from the source lender's frozen rate sheet. Shown to staff only."},"LockPositionMove":{"type":"object","properties":{"movedAt":{"type":"string","description":"When the selected row was moved, ISO 8601 UTC.","format":"date-time"},"movedBy":{"type":"string","description":"Identifier (GUID) of the user who moved it.","format":"uuid","nullable":true},"movedByName":{"type":"string","description":"Name of the user who moved it.","nullable":true},"fromQuoteId":{"type":"string","description":"quoteId of the row before the move.","nullable":true},"fromRate":{"type":"number","description":"Note rate before the move, in percent.","format":"double","nullable":true},"fromPrice":{"type":"number","description":"Price before the move, where 100 is par.","format":"double","nullable":true},"toQuoteId":{"type":"string","description":"quoteId of the row after the move.","nullable":true},"toRate":{"type":"number","description":"Note rate after the move, in percent.","format":"double","nullable":true},"toPrice":{"type":"number","description":"Price after the move, where 100 is par.","format":"double","nullable":true},"sourceFromPrice":{"type":"number","description":"The source lender's price before the move, from its frozen rate sheet. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceToPrice":{"type":"number","description":"The source lender's price after the move. Null when there is no source instruction or the rate is not on that sheet. Staff only.","format":"double","nullable":true},"sourceNote":{"type":"string","description":"Set when the instruction has no price at the new rate, in words. Staff only.","nullable":true}},"additionalProperties":false,"description":"One move of the selected row: who, when, and from which rate and price to which."}}}}
```

## The PricingScenarioQuoteSelection object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PricingScenarioQuoteSelection":{"required":["lockPeriod","rate"],"type":"object","properties":{"rate":{"type":"number","description":"REQUIRED. The note rate of the quote to save, exactly as shown in the product's quote ladder (e.g. 6.625).","format":"double"},"lockPeriod":{"type":"integer","description":"REQUIRED. The lock period in days of the quote to save (e.g. 30).","format":"int32"}},"additionalProperties":false,"description":"One quote under a selected product: a rate/lock-period pair from its quote ladder."}}}}
```

## The PricingScenarioRegistration object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PricingScenarioRegistration":{"type":"object","properties":{"election":{"type":"string","description":"`Float` or `Lock`.","nullable":true},"registeredBy":{"type":"string","description":"The registering user; null for an application principal with no user.","format":"uuid","nullable":true},"registeredByType":{"type":"string","description":"The `AccessingUserType` name of the principal that registered.","nullable":true},"registeredByName":{"type":"string","description":"The registering user's name when it was registered.","nullable":true},"registeredAt":{"type":"string","description":"UTC.","format":"date-time"}},"additionalProperties":false,"description":"Stored on a pricing scenario that a TPO broker registered (float or lock) through\r\n`POST loanapplications/{id}/registration`: what they elected, who they were and when. Null on every\r\nother scenario, including a lock requested through the quote-and-ReadyToLock flow."}}}}
```

## The PricingScenarioSelection object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PricingScenarioSelection":{"required":["quotes"],"type":"object","properties":{"productId":{"type":"string","description":"PREFERRED. The productId from a search_pricing result. Provide this or productName.","nullable":true},"productName":{"type":"string","description":"Fallback identifier: the exact product name from a search_pricing result (case-insensitive). Ignored when productId is provided.","nullable":true},"quotes":{"type":"array","items":{"$ref":"#/components/schemas/PricingScenarioQuoteSelection"},"description":"The quotes to save for this product, each a rate + lockPeriod pair picked from the product's quote ladder (get_product_details). Omit entirely to select the product as a deal-desk PROGRAM without quotes (Admin/Processor only)."}},"additionalProperties":false,"description":"One product to save on the scenario, with the quotes to save under it, or none to save the program without a quote. Send productId or productName, and exactly one entry in quotes."},"PricingScenarioQuoteSelection":{"required":["lockPeriod","rate"],"type":"object","properties":{"rate":{"type":"number","description":"REQUIRED. The note rate of the quote to save, exactly as shown in the product's quote ladder (e.g. 6.625).","format":"double"},"lockPeriod":{"type":"integer","description":"REQUIRED. The lock period in days of the quote to save (e.g. 30).","format":"int32"}},"additionalProperties":false,"description":"One quote under a selected product: a rate/lock-period pair from its quote ladder."}}}}
```

## The PricingScenarioStatus object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PricingScenarioStatus":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the status.","format":"uuid","nullable":true},"code":{"type":"string","description":"Short code of the status; the stable value to compare against.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a pricing scenario, such as Initial Pricing or Ready to Lock."}}}}
```

## The PricingSearchRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PricingSearchRequest":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of this stored search request, set by the server.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search that ran with these criteria, set by the server.","nullable":true},"pricingScenarioId":{"type":"string","description":"Identifier of the pricing scenario this search belongs to, set by the server.","nullable":true},"canUpdate":{"type":"boolean","description":"True when the caller may change the scenario this request belongs to. Set by the server; read-only."},"qmInformation":{"$ref":"#/components/schemas/QMCriteria"},"borrowerInformation":{"$ref":"#/components/schemas/BorrowerCriteria"},"coBorrowerInformation":{"$ref":"#/components/schemas/CoBorrowerCriteria"},"loanInformation":{"$ref":"#/components/schemas/LoanPricingCriteria"},"propertyInformation":{"$ref":"#/components/schemas/PropertySearchCriteria"},"brokerCriteria":{"$ref":"#/components/schemas/BrokerCriteria"},"rateRange":{"$ref":"#/components/schemas/RateRange"},"dayLocksCriteria":{"type":"array","items":{"type":"integer","format":"int32"},"description":"Lock periods, in days, asked for. Kept for reference; the search prices loanInformation.desiredLockPeriod.","nullable":true},"representativeFico":{"type":"integer","description":"Representative credit score of the request. Kept for reference; the search prices the borrower and loan scores.","format":"int64","nullable":true},"loanLevelDebtToIncomeRatio":{"type":"number","description":"Loan-level debt-to-income ratio, in percent. Kept for reference; the search prices loanInformation.loanLevelDebtToIncomeRatio.","format":"double","nullable":true},"customerInternalId":{"type":"string","description":"Caller-supplied identifier, echoed on the search response.","nullable":true},"agentId":{"type":"string","description":"Identifier (GUID) of the loan officer the search ran for, which decides the pricing account it prices under.","format":"uuid"},"companyId":{"type":"string","description":"Identifier (GUID) of the loan officer's company.","format":"uuid"},"version":{"type":"string","description":"Version tag of the request, kept for reference.","nullable":true},"dynamicPropertiesMap":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/FieldPropertyParameter"},"description":"Custom pricing fields, keyed by field identifier.","nullable":true},"includeGuidelines":{"type":"boolean","description":"True to include the guideline documents that apply to each product in the response."},"markupOverrides":{"type":"array","items":{"$ref":"#/components/schemas/MarkupOverride"},"description":"Per-request overrides of configured markup tiers, such as a corporate margin or loan officer compensation.","nullable":true},"commissionTier":{"$ref":"#/components/schemas/CommissionTier"}},"additionalProperties":false,"description":"A pricing search as it is stored with a scenario: the borrower, loan, property and fee criteria, plus who it was run for."},"QMCriteria":{"type":"object","properties":{"refinancePrepaymentFeeAmount":{"type":"number","description":"Prepayment fee charged on the loan being refinanced, in dollars.","format":"double"},"creditInsuranceFeeAmount":{"type":"number","description":"Credit insurance premium charged at closing, in dollars.","format":"double"},"cashIncentiveDiscountAmount":{"type":"number","description":"Cash incentive or discount applied at closing, in dollars.","format":"double"},"escrowTrusteeFeeAmount":{"type":"number","description":"Escrow or trustee fee, in dollars.","format":"double"},"propertyAssessmentFeeAmount":{"type":"number","description":"Property assessment fee, in dollars.","format":"double"},"notaryCreditReportFeeAmount":{"type":"number","description":"Notary and credit report fees, in dollars.","format":"double"},"documentPreperationFeeAmount":{"type":"number","description":"Document preparation fee, in dollars.","format":"double"},"titleFeeAmount":{"type":"number","description":"Title fees, in dollars.","format":"double"},"borrowerPaidLOCompensation":{"type":"number","description":"Loan officer compensation the borrower pays directly, in dollars.","format":"double"},"additionalQMFeesAffectAPOR":{"type":"boolean","description":"True when the additional fees are finance charges that also change the APR comparison."},"additionalQMFeeAmount":{"type":"number","description":"Other fees that count toward the points-and-fees test, in dollars.","format":"double"},"financedPMI":{"type":"number","description":"Mortgage insurance premium that is financed into the loan, in dollars.","format":"double"}},"additionalProperties":false,"description":"Itemized fees that count toward the Qualified Mortgage points-and-fees test and the APOR comparison. Every amount is in dollars and defaults to zero."},"BorrowerCriteria":{"type":"object","properties":{"applicationDate":{"type":"string","description":"Date the loan application was taken, ISO 8601.","format":"date-time","nullable":true},"assetDocumentation":{"type":"string","description":"How the borrower's assets are documented. Kept for reference; not used when pricing.","nullable":true},"bankruptcy":{"type":"string","description":"Bankruptcy history of the borrower. Kept for reference; not used when pricing.","nullable":true},"bankruptcyChapter":{"type":"string","description":"Chapter of the borrower's bankruptcy. Kept for reference; not used when pricing.","nullable":true},"bankStatementsForIncome":{"type":"string","description":"Months of bank statements used to document income. Kept for reference; not used when pricing.","nullable":true},"citizenship":{"type":"string","description":"Borrower's citizenship status: USCitizen, USCitizenAbroad, PermResidentAlien, NonPermResidentAlien or ForeignNational. Used when pricing.","nullable":true},"debtToIncomeRatio":{"type":"number","description":"Borrower's debt-to-income ratio, in percent. Kept for reference; the loan-level ratio on the request is what pricing uses.","format":"double","nullable":true},"disclosureDate":{"type":"string","description":"Date the initial loan disclosures were issued, ISO 8601.","format":"date-time","nullable":true},"docType":{"type":"string","description":"Documentation type of the loan. Kept for reference; not used when pricing.","nullable":true},"employmentDocumentation":{"type":"string","description":"How the borrower's employment is documented. Kept for reference; not used when pricing.","nullable":true},"fico":{"type":"integer","description":"Borrower's credit score. Used when pricing.","format":"int32","nullable":true},"firstName":{"type":"string","description":"Borrower's first name.","nullable":true},"firstTimeHomeBuyer":{"type":"boolean","description":"True when the borrower is a first-time home buyer, which makes first-time-buyer programs eligible.","nullable":true},"foreclosure":{"type":"string","description":"Foreclosure history of the borrower. Kept for reference; not used when pricing.","nullable":true},"incomeDocumentation":{"type":"string","description":"How the borrower's income is documented. Kept for reference; not used when pricing.","nullable":true},"lastName":{"type":"string","description":"Borrower's last name.","nullable":true},"militaryType":{"type":"string","description":"Borrower's military status. Kept for reference; use typeOfVeteran when pricing.","nullable":true},"monthlyIncome":{"type":"number","description":"Borrower's gross monthly income, in dollars. Kept for reference; not used when pricing.","format":"double","nullable":true},"monthsReserves":{"type":"integer","description":"Months of post-closing reserves the borrower has.","format":"int64","nullable":true},"mortgageLatesRolling":{"type":"integer","description":"Number of rolling mortgage late payments. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX120":{"type":"integer","description":"Number of mortgage payments 120 or more days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX30":{"type":"integer","description":"Number of mortgage payments 30 days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX60":{"type":"integer","description":"Number of mortgage payments 60 days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX90":{"type":"integer","description":"Number of mortgage payments 90 days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"pledgedAssets":{"type":"boolean","description":"True when the borrower pledges assets to qualify. Kept for reference; not used when pricing.","nullable":true},"selfEmployed":{"type":"boolean","description":"True when the borrower is self-employed.","nullable":true},"state":{"type":"string","description":"Two-letter state of the borrower's residence.","nullable":true},"vaFirstTimeUse":{"type":"boolean","description":"True when this is the borrower's first use of the VA loan benefit, which lowers the VA funding fee.","nullable":true},"typeOfVeteran":{"type":"string","description":"Veteran status for VA pricing: ActiveDuty or NationalGuardOrReserves. Used when pricing.","nullable":true},"waiveEscrows":{"type":"boolean","description":"True when the borrower asks to waive escrows for taxes and insurance, which can add a price adjustment.","nullable":true},"compensationType":{"type":"string","description":"How the loan officer is compensated. Kept for reference; not used when pricing.","nullable":true},"ownProperties":{"type":"integer","description":"Number of properties the borrower owns. Kept for reference; not used when pricing.","format":"int32","nullable":true},"numberOfBorrower":{"type":"integer","description":"Number of borrowers on the loan. Kept for reference; not used when pricing.","format":"int32","nullable":true},"averageMedianCreditScore":{"type":"integer","description":"Average of the borrowers' median credit scores. Kept for reference; not used when pricing.","format":"int32","nullable":true},"balloon":{"type":"boolean","description":"True when the loan has a balloon payment. Kept for reference; not used when pricing.","nullable":true},"paymentInterestType":{"type":"string","description":"Payment and interest structure of the loan. Kept for reference; not used when pricing.","nullable":true},"lenderFeeWaiver":{"type":"boolean","description":"True when lender fees are waived. Kept for reference; not used when pricing.","nullable":true},"noMortgageHistory":{"type":"boolean","description":"True when the borrower has no mortgage payment history. Kept for reference; not used when pricing."},"escrowHoldback":{"type":"boolean","description":"True when an escrow holdback applies. Kept for reference; not used when pricing."},"texas50a6":{"type":"boolean","description":"True for a Texas 50(a)(6) home equity loan. Kept for reference; not used when pricing."},"affordableLendingPrograms":{"type":"array","items":{"type":"string"},"description":"Affordable-lending programs the borrower is in. Kept for reference; not used when pricing.","nullable":true},"mortgageLoanChargeOffs":{"type":"array","items":{"type":"string"},"description":"Mortgage charge-offs in the borrower's history. Kept for reference; not used when pricing.","nullable":true},"shortSale":{"type":"string","description":"Short sale history of the borrower. Kept for reference; not used when pricing.","nullable":true},"deedInLieu":{"type":"string","description":"Deed-in-lieu-of-foreclosure history of the borrower. Kept for reference; not used when pricing.","nullable":true},"forbearance":{"type":"string","description":"Mortgage forbearance history of the borrower. Kept for reference; not used when pricing.","nullable":true}},"additionalProperties":false,"description":"Borrower-side criteria a search was priced with. Only the fields noted as used affect pricing; the rest are kept with the scenario for reference."},"CoBorrowerCriteria":{"type":"object","properties":{"intentToOccupy":{"type":"boolean","description":"True when the co-borrower intends to occupy the property as a residence."}},"additionalProperties":false,"description":"Co-borrower criteria a search was priced with."},"LoanPricingCriteria":{"type":"object","properties":{"amortizationTypes":{"type":"array","items":{"type":"string"},"description":"Amortization types to include: Fixed, ARM, Balloon or OptionArm.","nullable":true},"armFixedTerms":{"type":"array","items":{"type":"string"},"description":"Initial fixed periods to include for adjustable-rate products, for example FiveYear.","nullable":true},"automatedUnderwritingSystem":{"type":"string","description":"Automated underwriting system the loan was run through (DU, LP, InvestorAUS, ManualTraditional or NotSpecified).","nullable":true},"baseLoanAmount":{"type":"number","description":"Base loan amount in dollars, before any financed fees or mortgage insurance.","format":"double","nullable":true},"borrowerPaidMi":{"type":"string","description":"Yes when the borrower pays the mortgage insurance premium, No otherwise.","nullable":true},"buydown":{"type":"string","description":"Temporary buydown structure: None, ThreeTwoOne, TwoOne, OneOne or OneZero.","nullable":true},"buydownContributorType":{"type":"string","description":"Who funds the buydown: Lender, Borrower, Seller, Builder or OtherInterestedThirdParty. Used only when buydown is not None.","nullable":true},"calculateTotalLoanAmount":{"type":"boolean","description":"True to have the total loan amount (base amount plus financed upfront fee) calculated for the search.","nullable":true},"cashOutAmount":{"type":"number","description":"Cash the borrower takes out in a refinance, in dollars.","format":"double","nullable":true},"currentServicer":{"type":"string","description":"Name of the servicer of the existing loan, for a refinance. Kept for reference; not used when pricing.","nullable":true},"desiredLockPeriod":{"type":"integer","description":"Rate lock period to price, in days.","format":"int64","nullable":true},"desiredPrice":{"type":"number","description":"Target price to search for, where 100 is par. Zero means no target.","format":"double","nullable":true},"desiredRate":{"type":"number","description":"Target note rate to search for, in percent such as 6.875.","format":"double","nullable":true},"exemptFromVAFundingFee":{"type":"boolean","description":"VA loans only. True when the veteran is exempt from the funding fee, for example for a service-connected disability.","nullable":true},"expandedApprovalLevel":{"type":"string","description":"Expanded-approval tier the loan qualifies under, or NotApplicable.","nullable":true},"feesIn":{"type":"string","description":"Fees-in pricing option. Pricing always runs with No.","nullable":true},"fhaCaseAssigned":{"type":"string","description":"Date the FHA case number was assigned, ISO 8601.","format":"date-time","nullable":true},"fhaCaseEndorsement":{"type":"string","description":"Date the existing FHA loan was endorsed, ISO 8601, for an FHA streamline refinance. Kept for reference; not used when pricing.","format":"date-time","nullable":true},"firstLienAmount":{"type":"number","description":"Balance of the first lien in dollars, when pricing a second lien.","format":"double","nullable":true},"helocDrawnAmount":{"type":"number","description":"Amount drawn on the home equity line, in dollars.","format":"double","nullable":true},"helocLineAmount":{"type":"number","description":"Total home equity line amount, in dollars.","format":"double","nullable":true},"includeLoCompensationInPricing":{"type":"string","description":"How loan officer compensation is reflected in the price: YesLenderPaid, NoBuyerPaid or NoLenderPaid.","nullable":true},"interestOnly":{"type":"boolean","description":"True to price interest-only products.","nullable":true},"interestOnlyTerm":{"type":"integer","description":"Length of the interest-only period. Kept for reference; not used when pricing.","format":"int32","nullable":true},"lienType":{"type":"string","description":"Lien position being priced: First or Second.","nullable":true},"loanPurpose":{"type":"string","description":"Purpose of the loan, for example Purchase or RefiCashout.","nullable":true},"loanTerms":{"type":"array","items":{"type":"string"},"description":"Loan terms to include, for example ThirtyYear or FifteenYear.","nullable":true},"loanType":{"type":"string","description":"Loan type, for example Conforming, FHA or VA.","nullable":true},"loanTypes":{"type":"array","items":{"type":"string"},"description":"Additional loan types to include. Kept for reference; not used when pricing.","nullable":true},"prepaymentPenalty":{"type":"string","description":"Prepayment penalty period to price: None or OneYear through FiveYear.","nullable":true},"productTypes":{"type":"array","items":{"type":"string"},"description":"Product categories to include, for example StandardProducts.","nullable":true},"secondLienAmount":{"type":"number","description":"Balance of the second lien in dollars, which counts toward combined loan-to-value.","format":"double","nullable":true},"ltv":{"type":"number","description":"Loan-to-value ratio, in percent. Kept for reference; the pricing engine calculates it.","format":"double","nullable":true},"cltv":{"type":"number","description":"Combined loan-to-value ratio, in percent. Kept for reference; the pricing engine calculates it.","format":"double","nullable":true},"renovationLoan":{"type":"boolean","description":"True for a renovation loan. Kept for reference; not used when pricing.","nullable":true},"renovationCost":{"type":"number","description":"Renovation cost in dollars. Kept for reference; not used when pricing.","format":"double","nullable":true},"assetDepletion":{"type":"string","description":"Yes when the borrower qualifies using asset depletion, No otherwise.","nullable":true},"autoDebit":{"type":"string","description":"Yes when the borrower authorizes automatic debit of the payment, No otherwise.","nullable":true},"employeeLoan":{"type":"string","description":"Yes when the borrower is an employee of the lender, No otherwise.","nullable":true},"communityAffordableSecond":{"type":"string","description":"Yes when the loan has a community or affordable second mortgage, No otherwise.","nullable":true},"reducedMI":{"type":"boolean","description":"True to price with reduced mortgage insurance, for programs that offer it."},"representativeFICO":{"type":"integer","description":"Representative credit score used to price the loan.","format":"int32"},"loanLevelDebtToIncomeRatio":{"type":"number","description":"Loan-level debt-to-income ratio, in percent. A value of zero or less prices as 30.","format":"double"},"totalMonthlyQualifyingIncome":{"type":"number","description":"Total monthly income used to qualify the borrowers, in dollars.","format":"double"},"expandedGuidelines":{"$ref":"#/components/schemas/ExpandedGuidelines"},"propertiesFinanced":{"type":"integer","description":"Number of properties the borrower has financed with the lender.","format":"int32","nullable":true},"totalLoanAmountDetails":{"$ref":"#/components/schemas/TotalLoanAmountDetails"},"constructionLoanType":{"type":"string","description":"Whether the loan finances construction: NotApplicable, Construction or ConstructionToPerm.","nullable":true}},"additionalProperties":false,"description":"Loan-side criteria a search was priced with. Coded fields take the values of the matching enum (loan purpose, lien type and so on)."},"ExpandedGuidelines":{"type":"object","properties":{"incomeVerificationType":{"type":"string","description":"How the borrower's income is documented, for example FullDoc or a bank statement program.","nullable":true},"housingEventType":{"type":"string","description":"Type of negative housing event in the borrower's history, or None.","nullable":true},"housingEventSeasoning":{"type":"string","description":"How long ago the housing event happened.","nullable":true},"bankruptcyType":{"type":"string","description":"Chapter of the borrower's bankruptcy, or None.","nullable":true},"bankruptcyOutcome":{"type":"string","description":"How the bankruptcy ended: discharged, dismissed or still open.","nullable":true},"bankruptcySeasoning":{"type":"string","description":"How long ago the bankruptcy happened.","nullable":true},"mortgageLatesx30_12Mos":{"type":"integer","description":"Number of mortgage payments 30 days late in the last 12 months.","format":"int32"},"mortgageLatesx30_13to24Mos":{"type":"integer","description":"Number of mortgage payments 30 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx60_12Mos":{"type":"integer","description":"Number of mortgage payments 60 days late in the last 12 months.","format":"int32"},"mortgageLatesx60_13to24Mos":{"type":"integer","description":"Number of mortgage payments 60 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx90_12Mos":{"type":"integer","description":"Number of mortgage payments 90 days late in the last 12 months.","format":"int32"},"mortgageLatesx90_13to24Mos":{"type":"integer","description":"Number of mortgage payments 90 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx120_12Mos":{"type":"integer","description":"Number of mortgage payments 120 days late in the last 12 months.","format":"int32"},"mortgageLatesx120_13to24Mos":{"type":"integer","description":"Number of mortgage payments 120 days late 13 to 24 months ago.","format":"int32"},"debtConsolidation":{"type":"boolean","description":"True when the loan is a debt-consolidation refinance."},"uniqueProperty":{"type":"boolean","description":"True when the property is unique, for example unusual construction or use."},"debtServiceCoverageRatio":{"type":"number","description":"Debt service coverage ratio of an investment property (rental income divided by the property's debt payments), as a decimal such as 1.25.","format":"double"}},"additionalProperties":false,"description":"Extra borrower history used to price expanded-guideline (non-agency) products. Each coded field takes the values of the matching expanded-guideline enum."},"TotalLoanAmountDetails":{"type":"object","properties":{"totalLoanAmount":{"type":"number","description":"Base loan amount plus the financed upfront fee, in dollars.","format":"double"},"upfrontPmiMipFfGfPercent":{"type":"number","description":"Upfront mortgage insurance or funding fee, as a percent of the base loan amount.","format":"double"},"upfrontPmiMipFfGfAmount":{"type":"number","description":"Upfront mortgage insurance or funding fee, in dollars.","format":"double"},"upfrontPmiMipFfGfPaidinCash":{"type":"number","description":"Portion of the upfront fee the borrower pays in cash at closing, in dollars.","format":"double"},"upfrontPmiMipFfGfFinancedAmount":{"type":"number","description":"Portion of the upfront fee added to the loan amount, in dollars.","format":"double"}},"additionalProperties":false,"description":"The total loan amount with the upfront mortgage insurance or guarantee fee (FHA MIP, VA or USDA funding fee, private MI) added, and how that fee is split between cash and financing."},"PropertySearchCriteria":{"type":"object","properties":{"appraisedValue":{"type":"number","description":"Appraised value of the property, in dollars.","format":"double","nullable":true},"city":{"type":"string","description":"City of the subject property.","nullable":true},"construction":{"type":"boolean","description":"True when the property is new construction. Kept for reference; not used when pricing.","nullable":true},"corporateRelocation":{"type":"boolean","description":"True when the loan is a corporate relocation, which some programs price differently.","nullable":true},"county":{"type":"string","description":"County of the subject property.","nullable":true},"numberOfStories":{"type":"integer","description":"Number of stories of the building.","format":"int64","nullable":true},"numberOfUnits":{"type":"string","description":"Number of units: OneUnit through FourUnits, or five and more as FiveUnits upward.","nullable":true},"occupancy":{"type":"string","description":"How the property is used: PrimaryResidence, SecondHome or InvestmentProperty.","nullable":true},"propertyStreetAddress":{"type":"string","description":"Street address of the subject property; not used for eligibility.","nullable":true},"propertyType":{"type":"string","description":"Type of the property, for example SingleFamily or Condo.","nullable":true},"salesPrice":{"type":"number","description":"Purchase price of the property, in dollars.","format":"double","nullable":true},"state":{"type":"string","description":"Two-letter state of the subject property.","nullable":true},"zipCode":{"type":"string","description":"ZIP code of the subject property.","nullable":true},"attachmentType":{"type":"string","description":"Whether the property is attached or detached. Kept for reference; not used when pricing.","nullable":true}},"additionalProperties":false,"description":"Property-side criteria a search was priced with."},"BrokerCriteria":{"type":"object","properties":{"minCompensation":{"type":"number","description":"Minimum loan officer compensation, in dollars.","format":"double","nullable":true},"maxCompensation":{"type":"number","description":"Maximum loan officer compensation, in dollars.","format":"double","nullable":true},"compPercent":{"type":"number","description":"Loan officer compensation as a percent of the loan amount.","format":"double","nullable":true},"ausList":{"type":"array","items":{"type":"string"},"description":"Automated underwriting systems the officer's criteria allow; usually empty.","nullable":true}},"additionalProperties":false,"description":"Loan officer compensation limits a search was priced with, taken from the officer's profile."},"RateRange":{"type":"object","properties":{"from":{"type":"number","description":"Lowest rate of the range in percent, for example 6.0.","format":"double","nullable":true},"to":{"type":"number","description":"Highest rate of the range in percent, for example 7.0.","format":"double","nullable":true}},"additionalProperties":false,"description":"A range of note rates in percent."},"FieldPropertyParameter":{"type":"object","properties":{"fieldId":{"type":"string","description":"Identifier of the custom pricing field.","nullable":true},"value":{"type":"string","description":"Value to price with for that field, as text.","nullable":true}},"additionalProperties":false,"description":"A custom pricing field and the value it is set to."},"MarkupOverride":{"type":"object","properties":{"level":{"type":"integer","description":"Which configured markup tier this entry overrides, as its level index in the pricing account.","format":"int32","nullable":true},"dollar":{"type":"integer","description":"Flat markup in dollars. Leave null to use percentage instead.","format":"int32","nullable":true},"percentage":{"type":"number","description":"Markup as a percent of the loan amount, for example 1.40 for 140 basis points.","format":"double","nullable":true},"minCapDollar":{"type":"integer","description":"Minimum markup in dollars. Leave null for no minimum.","format":"int32","nullable":true},"maxCapDollar":{"type":"integer","description":"Maximum markup in dollars. Leave null for no maximum; a 0 caps the markup at 0.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Per-request override of a configured markup tier (a corporate or servicing-release margin, or loan officer compensation). Every field is optional; only those set are applied."},"CommissionTier":{"enum":["HalfPercent","ThreeQuarterPercent","OnePercent","OneAndThreeQuarterPercent"],"type":"string","description":"Loan officer compensation tier, as a percent of the loan amount, that selects which pricing account a search runs under. Reserved for Henge's own automated agents; ignored for other callers. HalfPercent is 0.50%, ThreeQuarterPercent 0.75%, OnePercent 1.00% and OneAndThreeQuarterPercent 1.75%."}}}}
```

## The PricingSearchResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PricingSearchResponse":{"type":"object","properties":{"products":{"type":"array","items":{"$ref":"#/components/schemas/EligibleProduct"},"description":"Eligible products, each at one rate and lock period.","nullable":true},"cltv":{"type":"number","description":"Combined loan-to-value ratio the search used, in percent.","format":"double"},"ltv":{"type":"number","description":"Loan-to-value ratio the search used, in percent.","format":"double"},"hcltv":{"type":"number","description":"Home-equity combined loan-to-value ratio the search used, in percent.","format":"double"},"amiPercentage":{"type":"number","description":"Percentage of the area median income the search calculated, used by affordable programs.","format":"double"},"searchId":{"type":"string","description":"Identifier of this search; pass it with a product id to fetch product details.","nullable":true},"searchTime":{"type":"string","description":"When the search ran.","nullable":true},"customerInternalId":{"type":"string","description":"Caller-supplied identifier echoed from the request.","nullable":true},"totalLoanAmountDetails":{"$ref":"#/components/schemas/TotalLoanAmountDetails"},"guidelines":{"type":"array","items":{"$ref":"#/components/schemas/Guideline"},"description":"Guideline documents that apply to the results; present when guidelines were requested.","nullable":true},"messages":{"type":"array","items":{"$ref":"#/components/schemas/Message"},"description":"Messages from the search, such as warnings about the criteria.","nullable":true},"pricedAs":{"$ref":"#/components/schemas/PricingSearchRequest"},"pricingExpiresAt":{"type":"string","description":"When this search's pricing expires. Not set by the Partner API, so it is left out of the response.","format":"date-time","nullable":true},"serverTime":{"type":"string","description":"The server's clock when `pricingExpiresAt` was set, so a page can compare without trusting its own.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"The result of a pricing search: the products the loan is eligible for, with the ratios the search calculated."},"EligibleProduct":{"type":"object","properties":{"bonaFideDiscountPoints":{"type":"number","description":"Discount points, as a percent of the loan amount, that count as bona fide and are excluded from the Qualified Mortgage points-and-fees test.","format":"double"},"qmStatus":{"type":"string","description":"Qualified Mortgage test result: Pass, Fail, or a pass flagged as a higher-priced mortgage loan (the HPML values); AlwaysPass for products the test does not apply to.","nullable":true},"amortizationTerm":{"type":"string","description":"Amortization term in years, as text, for example 30.","nullable":true},"amortizationType":{"type":"string","description":"How the loan is repaid: Fixed, ARM, Balloon or OptionArm.","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, in percent.","format":"double"},"armIndex":{"type":"string","description":"Index an adjustable rate follows, for example SOFR or Treasury.","nullable":true},"armFirstCap":{"type":"number","description":"Cap on the first rate adjustment, in percentage points.","format":"double"},"armIndexValue":{"type":"number","description":"Current value of the index, in percent.","format":"double"},"armPeriodicCap":{"type":"number","description":"Cap on each later rate adjustment, in percentage points.","format":"double"},"armLifetimeCap":{"type":"number","description":"Cap on the total rate change over the life of the loan, in percentage points.","format":"double"},"armRelativeCap":{"type":"number","description":"Relative cap on the rate, in percentage points.","format":"double"},"armMargin":{"type":"number","description":"Margin added to the index, in percentage points.","format":"double"},"armsubsequentChangePeriod":{"type":"string","description":"How often an adjustable rate changes after its fixed period, in months, as text.","nullable":true},"armFixedTerm":{"type":"string","description":"Initial fixed period of an adjustable-rate product, as a code such as FiveYear.","nullable":true},"closingCost":{"type":"number","description":"Lender closing costs, in dollars.","format":"double"},"points":{"type":"number","description":"Discount points as a percent of the loan amount: 100 minus price, so negative when the product pays a rebate.","format":"double","nullable":true},"pointsCost":{"type":"number","description":"Cost of the points in dollars: the discount when positive, the rebate as a negative number.","format":"double","nullable":true},"discount":{"type":"number","description":"Buydown (discount) cost at this rate, in dollars; 0 on a rebate or par rate.","format":"double"},"investor":{"type":"string","description":"Name of the investor behind the product. Omitted for callers who are not shown the investor.","nullable":true},"investorId":{"type":"integer","description":"Identifier of the investor. Omitted for callers who are not shown the investor.","format":"int32","nullable":true},"sourceInvestor":{"type":"string","description":"The lender behind a portfolio investor's product. Omitted unless the caller is shown the investor.","nullable":true},"lastUpdate":{"type":"string","description":"When the lender's rate sheet was published, ISO 8601. Omitted for callers who are not shown the investor.","format":"date-time","nullable":true},"loanTerm":{"type":"string","description":"Loan term in years, as text, for example 30.","nullable":true},"loanType":{"type":"string","description":"Loan type, for example Conforming, FHA or VA.","nullable":true},"lockPeriod":{"type":"integer","description":"Rate lock period, in days.","format":"int64"},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance, in dollars; 0 when the product has none.","format":"double"},"pendingUpdate":{"type":"boolean","description":"True when a pricing update for the product is pending, so the price may change."},"price":{"type":"number","description":"Price as a percent of par, where 100 is par.","format":"double"},"priceStatus":{"type":"string","description":"Whether the price can be used: Available, Suspended, Expired or TodaysPricingExpired.","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment, in dollars.","format":"double"},"productCode":{"type":"string","description":"The lender's product code. Omitted for callers who are not shown the investor.","nullable":true},"productId":{"type":"string","description":"Identifier of the product, to fetch its details or select it.","nullable":true},"productName":{"type":"string","description":"Name of the product, including the investor when shown.","nullable":true},"rate":{"type":"number","description":"Note rate, in percent such as 6.875.","format":"double"},"rebate":{"type":"number","description":"Rebate (credit) at this rate, in dollars; 0 on a discount or par rate.","format":"double"},"totalPayment":{"type":"number","description":"Total monthly payment in dollars: principal, interest and mortgage insurance.","format":"double"},"loCompensationDollars":{"type":"integer","description":"Loan officer compensation built into the price, in dollars.","format":"int32"},"loCompensationPercent":{"type":"number","description":"Loan officer compensation built into the price, as a percent of the loan amount.","format":"double"},"highBalance":{"type":"string","description":"Yes when the loan amount is above the standard conforming limit (a high-balance loan), No otherwise.","nullable":true},"productQuote":{"$ref":"#/components/schemas/ProductQuote"},"keyLabel":{"type":"string","description":"Label grouping the product by term, amortization and loan type, for example 30 Year Fixed Conforming.","nullable":true},"programName":{"type":"string","description":"Product name without the investor prefix.","nullable":true},"originalApr":{"type":"number","description":"APR before any adjustment by the loan officer, in percent.","format":"double"},"adjustedApr":{"type":"number","description":"APR after the loan officer's adjustments, in percent.","format":"double"},"computedApr":{"type":"number","description":"APR computed by Henge from the rate and costs, in percent.","format":"double"},"armFixedTermMonths":{"type":"integer","description":"Initial fixed period of an adjustable-rate product, in months.","format":"int32","nullable":true},"opportunityType":{"$ref":"#/components/schemas/OpportunityTypeModel"}},"additionalProperties":false,"description":"A product the loan is eligible for, shown at one rate and lock period with its price and payment. Search results carry no productQuote; fetch the product's details for its full rate sheet."},"ProductQuote":{"type":"object","properties":{"productName":{"type":"string","description":"Name of the product, including the investor when it is shown.","nullable":true},"quotes":{"type":"array","items":{"$ref":"#/components/schemas/Quote"},"description":"The rate rows of the product, one per rate and lock period.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search this rate sheet came from.","nullable":true},"productId":{"type":"string","description":"Identifier of the product.","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/QuoteAdjustment"},"description":"Adjustments applied to the product's rate or price.","nullable":true},"parQuotes":{"type":"array","items":{"$ref":"#/components/schemas/ParQuote"},"description":"The par rate for each lock period.","nullable":true},"totalRateAdjustment":{"type":"number","description":"Sum of the rate adjustments, in percentage points.","format":"double","nullable":true},"totalPriceAdjustment":{"type":"number","description":"Sum of the price adjustments, in points.","format":"double","nullable":true},"totalSRPAdjustment":{"type":"number","description":"Sum of the servicing-release-premium adjustments, in points.","format":"double","nullable":true},"totalMarginAdjustment":{"type":"number","description":"Sum of the margin adjustments, in percentage points.","format":"double","nullable":true},"notesAndAdvisories":{"type":"array","items":{"type":"string"},"description":"Notes and advisories the lender attached to the product.","nullable":true},"armSubsequentChangePeriod":{"type":"string","description":"How often an adjustable rate changes after its fixed period, as a code such as OneYear or SixMonth.","nullable":true},"armIndex":{"type":"string","description":"Index an adjustable rate follows, for example SOFR or Treasury.","nullable":true},"armIndexValue":{"type":"number","description":"Current value of the index, in percent.","format":"double","nullable":true},"armFirstCap":{"type":"number","description":"Cap on the first rate adjustment, in percentage points.","format":"double","nullable":true},"armPeriodicCap":{"type":"number","description":"Cap on each later rate adjustment, in percentage points.","format":"double","nullable":true},"armFixedTerm":{"type":"string","description":"Initial fixed period of an adjustable-rate product, as a code such as FiveYear.","nullable":true},"armFixedTermMonths":{"type":"integer","description":"Initial fixed period of an adjustable-rate product, in months.","format":"int32","nullable":true},"armLifetimeCap":{"type":"number","description":"Cap on the total rate change over the life of the loan, in percentage points.","format":"double","nullable":true},"armRelativeCap":{"type":"number","description":"Relative cap on the rate, in percentage points.","format":"double","nullable":true},"constructionTermMonths":{"type":"integer","description":"Construction period of a construction loan, in months.","format":"int32","nullable":true},"originationFees":{"type":"number","description":"Origination fees of the product, in dollars.","format":"double","nullable":true},"investorId":{"type":"integer","description":"Identifier of the investor behind the product. Omitted for callers who are not shown the investor.","format":"int32","nullable":true},"miRequiredOver80Ltv":{"type":"boolean","description":"True when mortgage insurance is required above 80% loan-to-value.","nullable":true},"interestOnlyTerm":{"type":"integer","description":"Length of the interest-only period of an interest-only product.","format":"int32","nullable":true},"lenderFeeDetails":{"type":"array","items":{"$ref":"#/components/schemas/LenderFeeDetail"},"description":"The lender fees charged on the product.","nullable":true},"lenderFeeTotal":{"type":"number","description":"Sum of the lender fees in lenderFeeDetails, in dollars. Calculated; read-only.","format":"double","nullable":true,"readOnly":true}},"additionalProperties":false,"description":"The full rate sheet of one product: every rate and lock period, with the adjustments, par rates and lender fees behind them."},"Quote":{"type":"object","properties":{"id":{"type":"string","description":"Identifier the pricing search gave this row.","nullable":true},"rate":{"type":"number","description":"Note rate, in percent such as 6.875.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Rate lock period of this row, in days.","format":"int32","nullable":true},"lockExpirationDate":{"type":"string","description":"Date a lock at this row's lock period would expire, ISO 8601.","format":"date-time","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, in percent. Uses adjustedApr when one was calculated.","format":"double","nullable":true},"price":{"type":"number","description":"Price as a percent of par, where 100 is par; above 100 pays the borrower a rebate and below 100 costs a discount.","format":"double","nullable":true},"armMargin":{"type":"number","description":"Margin added to the index for an adjustable-rate product, in percentage points.","format":"double","nullable":true},"closingCost":{"type":"number","description":"Lender closing costs of this row, in dollars.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount: 100 minus price, so negative when the row pays a rebate.","format":"double","nullable":true},"pointsCost":{"type":"number","description":"Cost of the points in dollars: positive for a discount, negative for a rebate.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"Buydown (discount) this row costs the borrower, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"discountPercent":{"type":"number","description":"Buydown (discount) as a percent of the loan amount; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"Rebate (credit) this row gives the borrower, in dollars; 0 on a discount or par row.","format":"double","nullable":true},"rebatePercent":{"type":"number","description":"Rebate (credit) as a percent of the loan amount; 0 on a discount or par row.","format":"double","nullable":true},"loCompensationDollar":{"type":"number","description":"Loan officer compensation built into this row, in dollars.","format":"double","nullable":true},"loCompensationPercent":{"type":"number","description":"Loan officer compensation built into this row, as a percent of the loan amount.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment, in dollars.","format":"double","nullable":true},"totalCredit":{"type":"number","description":"Total credit this row gives the borrower, in dollars.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance, in dollars; 0 when the product has none.","format":"double","nullable":true},"totalPayment":{"type":"number","description":"Total monthly payment in dollars: principal, interest and mortgage insurance.","format":"double","nullable":true},"amiRuleApplied":{"type":"boolean","description":"True when the area-median-income rule of affordable programs was applied to this row."},"borrowerPaidDetails":{"type":"array","items":{"$ref":"#/components/schemas/FeeDetail"},"description":"Fees the borrower pays for this row.","nullable":true},"groupAdjustmentProperties":{"type":"array","items":{"$ref":"#/components/schemas/GroupAdjustmentProperty"},"description":"The groups of price adjustments that make up this row's final price.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search this row came from.","nullable":true},"productId":{"type":"string","description":"Identifier of the product this row belongs to.","nullable":true},"adjustedApr":{"type":"number","description":"APR after the loan officer's adjustments to the quote, in percent.","format":"double","nullable":true},"adjustedFee":{"type":"number","description":"Fee amount after the loan officer's adjustments, in dollars.","format":"double","nullable":true},"computedApr":{"type":"number","description":"APR computed by Henge from the row's rate and costs, in percent.","format":"double","nullable":true},"originalApr":{"type":"number","description":"APR as the pricing search returned it, before any adjustment, in percent.","format":"double","nullable":true},"quoteId":{"type":"string","description":"Henge's identifier for this row. Pass it to select or lock the row.","nullable":true},"isArchived":{"type":"boolean","description":"True when this saved row has been archived."},"isLocked":{"type":"boolean","description":"True once a lock has been requested on this row."}},"additionalProperties":false,"description":"One row of a product's rate sheet: a note rate at a lock period, with its price, payment and costs. Rates are percents such as 6.875; price is a percent of par, where 100 is par."},"FeeDetail":{"type":"object","properties":{"amount":{"type":"number","description":"The fee amount in dollars.","format":"double","nullable":true},"description":{"type":"string","description":"What the fee is for.","nullable":true},"isOrigination":{"type":"boolean","description":"True when the fee is an origination charge.","nullable":true},"points":{"type":"number","description":"The fee expressed in points (percent of the loan amount, for example 1.0 for one point), when it is charged that way.","format":"double","nullable":true},"type":{"type":"string","description":"The fee's category as the pricing engine names it.","nullable":true}},"additionalProperties":false},"GroupAdjustmentProperty":{"type":"object","properties":{"id":{"type":"string","description":"Name of the adjustment group, for example the category its adjustments fall under.","nullable":true},"finalAdjustment":{"type":"number","description":"Net adjustment of the group once all its adjustments are applied.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/Adjustment"},"description":"The individual adjustments in the group.","nullable":true}},"additionalProperties":false,"description":"A named group of adjustments that together move a quote's price or rate."},"Adjustment":{"type":"object","properties":{"key":{"type":"string","description":"Name of the adjustment, saying what it is for.","nullable":true},"adj":{"type":"number","description":"Size of the adjustment, in the unit of the group it belongs to (price points or rate).","format":"double","nullable":true}},"additionalProperties":false,"description":"One price or rate adjustment applied to a quote."},"QuoteAdjustment":{"type":"object","properties":{"reason":{"type":"string","description":"Why the adjustment applies, as text.","nullable":true},"adjustor":{"type":"number","description":"Size of the adjustment; its unit follows the type.","format":"double"},"type":{"type":"string","description":"What the adjustment changes, for example the rate, the price or the margin.","nullable":true}},"additionalProperties":false,"description":"An adjustment the lender applied to a product's rate or price."},"ParQuote":{"type":"object","properties":{"parRate":{"type":"number","description":"Note rate at par, in percent.","format":"double"},"parPrice":{"type":"number","description":"Price at par, where 100 is par.","format":"double"},"parLock":{"type":"integer","description":"Lock period of this par quote, in days.","format":"int32"}},"additionalProperties":false,"description":"The par rate for one lock period: the rate whose price is closest to 100."},"LenderFeeDetail":{"type":"object","properties":{"feeDetailNumber":{"type":"integer","description":"Sequence number of the fee in the product's fee list.","format":"int32"},"feeTotalAmountPercent":{"type":"number","description":"Fee as a percent of the base named in feePercentageBasedOn, when it is percentage-based.","format":"double"},"feeSpecifiedFixedAmount":{"type":"number","description":"Fixed fee amount in dollars, when the fee is a fixed amount.","format":"double"},"feeTotalCalculatedAmount":{"type":"number","description":"Total fee in dollars after calculation.","format":"double"},"feePaymentFinancedIndicator":{"type":"boolean","description":"True when the fee is financed into the loan amount."},"feePaidBy":{"type":"string","description":"Who pays the fee: Buyer or Seller.","nullable":true},"feePaidTo":{"type":"string","description":"Who receives the fee: Lender, Broker, Affiliate, ThirdParty or Other.","nullable":true},"rebatePriority":{"type":"integer","description":"Priority of this fee when a rebate is applied.","format":"int32"},"feeDescription":{"type":"string","description":"Name of the fee as the lender describes it.","nullable":true},"prepaidFinanceChargeIndicator":{"type":"boolean","description":"True when the fee is a prepaid finance charge, which counts toward APR."},"includedInQMPointsAndFeesTest":{"type":"boolean","description":"True when the fee counts toward the Qualified Mortgage points-and-fees test."},"feePercentageBasedOn":{"type":"string","description":"Amount a percentage fee is calculated on: PurchasePriceAmount, PropertyAppraisedValueAmount, OriginalLoanAmount, BaseLoanAmount or Other.","nullable":true},"feeType":{"type":"string","description":"Standard fee category, for example LoanOriginationFee or UnderwritingFee.","nullable":true}},"additionalProperties":false,"description":"One lender fee charged on a product."},"OpportunityTypeModel":{"type":"object","properties":{"name":{"type":"string","description":"Display name of the program type, for example 30 Year Fixed or 7/6 ARM.","nullable":true},"shortName":{"type":"string","description":"Compact form of the program type name with no spaces, usable as a key.","nullable":true}},"additionalProperties":false,"description":"The program type of a priced product, for example a fixed term or an adjustable-rate program."},"TotalLoanAmountDetails":{"type":"object","properties":{"totalLoanAmount":{"type":"number","description":"Base loan amount plus the financed upfront fee, in dollars.","format":"double"},"upfrontPmiMipFfGfPercent":{"type":"number","description":"Upfront mortgage insurance or funding fee, as a percent of the base loan amount.","format":"double"},"upfrontPmiMipFfGfAmount":{"type":"number","description":"Upfront mortgage insurance or funding fee, in dollars.","format":"double"},"upfrontPmiMipFfGfPaidinCash":{"type":"number","description":"Portion of the upfront fee the borrower pays in cash at closing, in dollars.","format":"double"},"upfrontPmiMipFfGfFinancedAmount":{"type":"number","description":"Portion of the upfront fee added to the loan amount, in dollars.","format":"double"}},"additionalProperties":false,"description":"The total loan amount with the upfront mortgage insurance or guarantee fee (FHA MIP, VA or USDA funding fee, private MI) added, and how that fee is split between cash and financing."},"Guideline":{"type":"object","properties":{"documentDescription":{"type":"string","description":"Title of the guideline document.","nullable":true},"guidelineLink":{"$ref":"#/components/schemas/Link"}},"additionalProperties":false,"description":"A lender guideline document that applies to a product."},"Link":{"type":"object","properties":{"href":{"type":"string","description":"URL of the document.","format":"uri","nullable":true},"action":{"type":"string","description":"HTTP method to use on the URL, for example GET.","nullable":true},"fileExtension":{"type":"string","description":"File extension of the document, for example pdf.","nullable":true},"types":{"type":"array","items":{"type":"string"},"description":"Media types the link serves.","nullable":true}},"additionalProperties":false,"description":"A link to a document, with how to follow it."},"Message":{"type":"object","properties":{"code":{"type":"string","description":"Short code of the message.","nullable":true},"messageText":{"type":"string","description":"The message, as text for a person.","nullable":true}},"additionalProperties":false,"description":"A message from the pricing search, such as a warning about the criteria."},"PricingSearchRequest":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of this stored search request, set by the server.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search that ran with these criteria, set by the server.","nullable":true},"pricingScenarioId":{"type":"string","description":"Identifier of the pricing scenario this search belongs to, set by the server.","nullable":true},"canUpdate":{"type":"boolean","description":"True when the caller may change the scenario this request belongs to. Set by the server; read-only."},"qmInformation":{"$ref":"#/components/schemas/QMCriteria"},"borrowerInformation":{"$ref":"#/components/schemas/BorrowerCriteria"},"coBorrowerInformation":{"$ref":"#/components/schemas/CoBorrowerCriteria"},"loanInformation":{"$ref":"#/components/schemas/LoanPricingCriteria"},"propertyInformation":{"$ref":"#/components/schemas/PropertySearchCriteria"},"brokerCriteria":{"$ref":"#/components/schemas/BrokerCriteria"},"rateRange":{"$ref":"#/components/schemas/RateRange"},"dayLocksCriteria":{"type":"array","items":{"type":"integer","format":"int32"},"description":"Lock periods, in days, asked for. Kept for reference; the search prices loanInformation.desiredLockPeriod.","nullable":true},"representativeFico":{"type":"integer","description":"Representative credit score of the request. Kept for reference; the search prices the borrower and loan scores.","format":"int64","nullable":true},"loanLevelDebtToIncomeRatio":{"type":"number","description":"Loan-level debt-to-income ratio, in percent. Kept for reference; the search prices loanInformation.loanLevelDebtToIncomeRatio.","format":"double","nullable":true},"customerInternalId":{"type":"string","description":"Caller-supplied identifier, echoed on the search response.","nullable":true},"agentId":{"type":"string","description":"Identifier (GUID) of the loan officer the search ran for, which decides the pricing account it prices under.","format":"uuid"},"companyId":{"type":"string","description":"Identifier (GUID) of the loan officer's company.","format":"uuid"},"version":{"type":"string","description":"Version tag of the request, kept for reference.","nullable":true},"dynamicPropertiesMap":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/FieldPropertyParameter"},"description":"Custom pricing fields, keyed by field identifier.","nullable":true},"includeGuidelines":{"type":"boolean","description":"True to include the guideline documents that apply to each product in the response."},"markupOverrides":{"type":"array","items":{"$ref":"#/components/schemas/MarkupOverride"},"description":"Per-request overrides of configured markup tiers, such as a corporate margin or loan officer compensation.","nullable":true},"commissionTier":{"$ref":"#/components/schemas/CommissionTier"}},"additionalProperties":false,"description":"A pricing search as it is stored with a scenario: the borrower, loan, property and fee criteria, plus who it was run for."},"QMCriteria":{"type":"object","properties":{"refinancePrepaymentFeeAmount":{"type":"number","description":"Prepayment fee charged on the loan being refinanced, in dollars.","format":"double"},"creditInsuranceFeeAmount":{"type":"number","description":"Credit insurance premium charged at closing, in dollars.","format":"double"},"cashIncentiveDiscountAmount":{"type":"number","description":"Cash incentive or discount applied at closing, in dollars.","format":"double"},"escrowTrusteeFeeAmount":{"type":"number","description":"Escrow or trustee fee, in dollars.","format":"double"},"propertyAssessmentFeeAmount":{"type":"number","description":"Property assessment fee, in dollars.","format":"double"},"notaryCreditReportFeeAmount":{"type":"number","description":"Notary and credit report fees, in dollars.","format":"double"},"documentPreperationFeeAmount":{"type":"number","description":"Document preparation fee, in dollars.","format":"double"},"titleFeeAmount":{"type":"number","description":"Title fees, in dollars.","format":"double"},"borrowerPaidLOCompensation":{"type":"number","description":"Loan officer compensation the borrower pays directly, in dollars.","format":"double"},"additionalQMFeesAffectAPOR":{"type":"boolean","description":"True when the additional fees are finance charges that also change the APR comparison."},"additionalQMFeeAmount":{"type":"number","description":"Other fees that count toward the points-and-fees test, in dollars.","format":"double"},"financedPMI":{"type":"number","description":"Mortgage insurance premium that is financed into the loan, in dollars.","format":"double"}},"additionalProperties":false,"description":"Itemized fees that count toward the Qualified Mortgage points-and-fees test and the APOR comparison. Every amount is in dollars and defaults to zero."},"BorrowerCriteria":{"type":"object","properties":{"applicationDate":{"type":"string","description":"Date the loan application was taken, ISO 8601.","format":"date-time","nullable":true},"assetDocumentation":{"type":"string","description":"How the borrower's assets are documented. Kept for reference; not used when pricing.","nullable":true},"bankruptcy":{"type":"string","description":"Bankruptcy history of the borrower. Kept for reference; not used when pricing.","nullable":true},"bankruptcyChapter":{"type":"string","description":"Chapter of the borrower's bankruptcy. Kept for reference; not used when pricing.","nullable":true},"bankStatementsForIncome":{"type":"string","description":"Months of bank statements used to document income. Kept for reference; not used when pricing.","nullable":true},"citizenship":{"type":"string","description":"Borrower's citizenship status: USCitizen, USCitizenAbroad, PermResidentAlien, NonPermResidentAlien or ForeignNational. Used when pricing.","nullable":true},"debtToIncomeRatio":{"type":"number","description":"Borrower's debt-to-income ratio, in percent. Kept for reference; the loan-level ratio on the request is what pricing uses.","format":"double","nullable":true},"disclosureDate":{"type":"string","description":"Date the initial loan disclosures were issued, ISO 8601.","format":"date-time","nullable":true},"docType":{"type":"string","description":"Documentation type of the loan. Kept for reference; not used when pricing.","nullable":true},"employmentDocumentation":{"type":"string","description":"How the borrower's employment is documented. Kept for reference; not used when pricing.","nullable":true},"fico":{"type":"integer","description":"Borrower's credit score. Used when pricing.","format":"int32","nullable":true},"firstName":{"type":"string","description":"Borrower's first name.","nullable":true},"firstTimeHomeBuyer":{"type":"boolean","description":"True when the borrower is a first-time home buyer, which makes first-time-buyer programs eligible.","nullable":true},"foreclosure":{"type":"string","description":"Foreclosure history of the borrower. Kept for reference; not used when pricing.","nullable":true},"incomeDocumentation":{"type":"string","description":"How the borrower's income is documented. Kept for reference; not used when pricing.","nullable":true},"lastName":{"type":"string","description":"Borrower's last name.","nullable":true},"militaryType":{"type":"string","description":"Borrower's military status. Kept for reference; use typeOfVeteran when pricing.","nullable":true},"monthlyIncome":{"type":"number","description":"Borrower's gross monthly income, in dollars. Kept for reference; not used when pricing.","format":"double","nullable":true},"monthsReserves":{"type":"integer","description":"Months of post-closing reserves the borrower has.","format":"int64","nullable":true},"mortgageLatesRolling":{"type":"integer","description":"Number of rolling mortgage late payments. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX120":{"type":"integer","description":"Number of mortgage payments 120 or more days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX30":{"type":"integer","description":"Number of mortgage payments 30 days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX60":{"type":"integer","description":"Number of mortgage payments 60 days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"mortgageLatesX90":{"type":"integer","description":"Number of mortgage payments 90 days late. Kept for reference; not used when pricing.","format":"int64","nullable":true},"pledgedAssets":{"type":"boolean","description":"True when the borrower pledges assets to qualify. Kept for reference; not used when pricing.","nullable":true},"selfEmployed":{"type":"boolean","description":"True when the borrower is self-employed.","nullable":true},"state":{"type":"string","description":"Two-letter state of the borrower's residence.","nullable":true},"vaFirstTimeUse":{"type":"boolean","description":"True when this is the borrower's first use of the VA loan benefit, which lowers the VA funding fee.","nullable":true},"typeOfVeteran":{"type":"string","description":"Veteran status for VA pricing: ActiveDuty or NationalGuardOrReserves. Used when pricing.","nullable":true},"waiveEscrows":{"type":"boolean","description":"True when the borrower asks to waive escrows for taxes and insurance, which can add a price adjustment.","nullable":true},"compensationType":{"type":"string","description":"How the loan officer is compensated. Kept for reference; not used when pricing.","nullable":true},"ownProperties":{"type":"integer","description":"Number of properties the borrower owns. Kept for reference; not used when pricing.","format":"int32","nullable":true},"numberOfBorrower":{"type":"integer","description":"Number of borrowers on the loan. Kept for reference; not used when pricing.","format":"int32","nullable":true},"averageMedianCreditScore":{"type":"integer","description":"Average of the borrowers' median credit scores. Kept for reference; not used when pricing.","format":"int32","nullable":true},"balloon":{"type":"boolean","description":"True when the loan has a balloon payment. Kept for reference; not used when pricing.","nullable":true},"paymentInterestType":{"type":"string","description":"Payment and interest structure of the loan. Kept for reference; not used when pricing.","nullable":true},"lenderFeeWaiver":{"type":"boolean","description":"True when lender fees are waived. Kept for reference; not used when pricing.","nullable":true},"noMortgageHistory":{"type":"boolean","description":"True when the borrower has no mortgage payment history. Kept for reference; not used when pricing."},"escrowHoldback":{"type":"boolean","description":"True when an escrow holdback applies. Kept for reference; not used when pricing."},"texas50a6":{"type":"boolean","description":"True for a Texas 50(a)(6) home equity loan. Kept for reference; not used when pricing."},"affordableLendingPrograms":{"type":"array","items":{"type":"string"},"description":"Affordable-lending programs the borrower is in. Kept for reference; not used when pricing.","nullable":true},"mortgageLoanChargeOffs":{"type":"array","items":{"type":"string"},"description":"Mortgage charge-offs in the borrower's history. Kept for reference; not used when pricing.","nullable":true},"shortSale":{"type":"string","description":"Short sale history of the borrower. Kept for reference; not used when pricing.","nullable":true},"deedInLieu":{"type":"string","description":"Deed-in-lieu-of-foreclosure history of the borrower. Kept for reference; not used when pricing.","nullable":true},"forbearance":{"type":"string","description":"Mortgage forbearance history of the borrower. Kept for reference; not used when pricing.","nullable":true}},"additionalProperties":false,"description":"Borrower-side criteria a search was priced with. Only the fields noted as used affect pricing; the rest are kept with the scenario for reference."},"CoBorrowerCriteria":{"type":"object","properties":{"intentToOccupy":{"type":"boolean","description":"True when the co-borrower intends to occupy the property as a residence."}},"additionalProperties":false,"description":"Co-borrower criteria a search was priced with."},"LoanPricingCriteria":{"type":"object","properties":{"amortizationTypes":{"type":"array","items":{"type":"string"},"description":"Amortization types to include: Fixed, ARM, Balloon or OptionArm.","nullable":true},"armFixedTerms":{"type":"array","items":{"type":"string"},"description":"Initial fixed periods to include for adjustable-rate products, for example FiveYear.","nullable":true},"automatedUnderwritingSystem":{"type":"string","description":"Automated underwriting system the loan was run through (DU, LP, InvestorAUS, ManualTraditional or NotSpecified).","nullable":true},"baseLoanAmount":{"type":"number","description":"Base loan amount in dollars, before any financed fees or mortgage insurance.","format":"double","nullable":true},"borrowerPaidMi":{"type":"string","description":"Yes when the borrower pays the mortgage insurance premium, No otherwise.","nullable":true},"buydown":{"type":"string","description":"Temporary buydown structure: None, ThreeTwoOne, TwoOne, OneOne or OneZero.","nullable":true},"buydownContributorType":{"type":"string","description":"Who funds the buydown: Lender, Borrower, Seller, Builder or OtherInterestedThirdParty. Used only when buydown is not None.","nullable":true},"calculateTotalLoanAmount":{"type":"boolean","description":"True to have the total loan amount (base amount plus financed upfront fee) calculated for the search.","nullable":true},"cashOutAmount":{"type":"number","description":"Cash the borrower takes out in a refinance, in dollars.","format":"double","nullable":true},"currentServicer":{"type":"string","description":"Name of the servicer of the existing loan, for a refinance. Kept for reference; not used when pricing.","nullable":true},"desiredLockPeriod":{"type":"integer","description":"Rate lock period to price, in days.","format":"int64","nullable":true},"desiredPrice":{"type":"number","description":"Target price to search for, where 100 is par. Zero means no target.","format":"double","nullable":true},"desiredRate":{"type":"number","description":"Target note rate to search for, in percent such as 6.875.","format":"double","nullable":true},"exemptFromVAFundingFee":{"type":"boolean","description":"VA loans only. True when the veteran is exempt from the funding fee, for example for a service-connected disability.","nullable":true},"expandedApprovalLevel":{"type":"string","description":"Expanded-approval tier the loan qualifies under, or NotApplicable.","nullable":true},"feesIn":{"type":"string","description":"Fees-in pricing option. Pricing always runs with No.","nullable":true},"fhaCaseAssigned":{"type":"string","description":"Date the FHA case number was assigned, ISO 8601.","format":"date-time","nullable":true},"fhaCaseEndorsement":{"type":"string","description":"Date the existing FHA loan was endorsed, ISO 8601, for an FHA streamline refinance. Kept for reference; not used when pricing.","format":"date-time","nullable":true},"firstLienAmount":{"type":"number","description":"Balance of the first lien in dollars, when pricing a second lien.","format":"double","nullable":true},"helocDrawnAmount":{"type":"number","description":"Amount drawn on the home equity line, in dollars.","format":"double","nullable":true},"helocLineAmount":{"type":"number","description":"Total home equity line amount, in dollars.","format":"double","nullable":true},"includeLoCompensationInPricing":{"type":"string","description":"How loan officer compensation is reflected in the price: YesLenderPaid, NoBuyerPaid or NoLenderPaid.","nullable":true},"interestOnly":{"type":"boolean","description":"True to price interest-only products.","nullable":true},"interestOnlyTerm":{"type":"integer","description":"Length of the interest-only period. Kept for reference; not used when pricing.","format":"int32","nullable":true},"lienType":{"type":"string","description":"Lien position being priced: First or Second.","nullable":true},"loanPurpose":{"type":"string","description":"Purpose of the loan, for example Purchase or RefiCashout.","nullable":true},"loanTerms":{"type":"array","items":{"type":"string"},"description":"Loan terms to include, for example ThirtyYear or FifteenYear.","nullable":true},"loanType":{"type":"string","description":"Loan type, for example Conforming, FHA or VA.","nullable":true},"loanTypes":{"type":"array","items":{"type":"string"},"description":"Additional loan types to include. Kept for reference; not used when pricing.","nullable":true},"prepaymentPenalty":{"type":"string","description":"Prepayment penalty period to price: None or OneYear through FiveYear.","nullable":true},"productTypes":{"type":"array","items":{"type":"string"},"description":"Product categories to include, for example StandardProducts.","nullable":true},"secondLienAmount":{"type":"number","description":"Balance of the second lien in dollars, which counts toward combined loan-to-value.","format":"double","nullable":true},"ltv":{"type":"number","description":"Loan-to-value ratio, in percent. Kept for reference; the pricing engine calculates it.","format":"double","nullable":true},"cltv":{"type":"number","description":"Combined loan-to-value ratio, in percent. Kept for reference; the pricing engine calculates it.","format":"double","nullable":true},"renovationLoan":{"type":"boolean","description":"True for a renovation loan. Kept for reference; not used when pricing.","nullable":true},"renovationCost":{"type":"number","description":"Renovation cost in dollars. Kept for reference; not used when pricing.","format":"double","nullable":true},"assetDepletion":{"type":"string","description":"Yes when the borrower qualifies using asset depletion, No otherwise.","nullable":true},"autoDebit":{"type":"string","description":"Yes when the borrower authorizes automatic debit of the payment, No otherwise.","nullable":true},"employeeLoan":{"type":"string","description":"Yes when the borrower is an employee of the lender, No otherwise.","nullable":true},"communityAffordableSecond":{"type":"string","description":"Yes when the loan has a community or affordable second mortgage, No otherwise.","nullable":true},"reducedMI":{"type":"boolean","description":"True to price with reduced mortgage insurance, for programs that offer it."},"representativeFICO":{"type":"integer","description":"Representative credit score used to price the loan.","format":"int32"},"loanLevelDebtToIncomeRatio":{"type":"number","description":"Loan-level debt-to-income ratio, in percent. A value of zero or less prices as 30.","format":"double"},"totalMonthlyQualifyingIncome":{"type":"number","description":"Total monthly income used to qualify the borrowers, in dollars.","format":"double"},"expandedGuidelines":{"$ref":"#/components/schemas/ExpandedGuidelines"},"propertiesFinanced":{"type":"integer","description":"Number of properties the borrower has financed with the lender.","format":"int32","nullable":true},"totalLoanAmountDetails":{"$ref":"#/components/schemas/TotalLoanAmountDetails"},"constructionLoanType":{"type":"string","description":"Whether the loan finances construction: NotApplicable, Construction or ConstructionToPerm.","nullable":true}},"additionalProperties":false,"description":"Loan-side criteria a search was priced with. Coded fields take the values of the matching enum (loan purpose, lien type and so on)."},"ExpandedGuidelines":{"type":"object","properties":{"incomeVerificationType":{"type":"string","description":"How the borrower's income is documented, for example FullDoc or a bank statement program.","nullable":true},"housingEventType":{"type":"string","description":"Type of negative housing event in the borrower's history, or None.","nullable":true},"housingEventSeasoning":{"type":"string","description":"How long ago the housing event happened.","nullable":true},"bankruptcyType":{"type":"string","description":"Chapter of the borrower's bankruptcy, or None.","nullable":true},"bankruptcyOutcome":{"type":"string","description":"How the bankruptcy ended: discharged, dismissed or still open.","nullable":true},"bankruptcySeasoning":{"type":"string","description":"How long ago the bankruptcy happened.","nullable":true},"mortgageLatesx30_12Mos":{"type":"integer","description":"Number of mortgage payments 30 days late in the last 12 months.","format":"int32"},"mortgageLatesx30_13to24Mos":{"type":"integer","description":"Number of mortgage payments 30 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx60_12Mos":{"type":"integer","description":"Number of mortgage payments 60 days late in the last 12 months.","format":"int32"},"mortgageLatesx60_13to24Mos":{"type":"integer","description":"Number of mortgage payments 60 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx90_12Mos":{"type":"integer","description":"Number of mortgage payments 90 days late in the last 12 months.","format":"int32"},"mortgageLatesx90_13to24Mos":{"type":"integer","description":"Number of mortgage payments 90 days late 13 to 24 months ago.","format":"int32"},"mortgageLatesx120_12Mos":{"type":"integer","description":"Number of mortgage payments 120 days late in the last 12 months.","format":"int32"},"mortgageLatesx120_13to24Mos":{"type":"integer","description":"Number of mortgage payments 120 days late 13 to 24 months ago.","format":"int32"},"debtConsolidation":{"type":"boolean","description":"True when the loan is a debt-consolidation refinance."},"uniqueProperty":{"type":"boolean","description":"True when the property is unique, for example unusual construction or use."},"debtServiceCoverageRatio":{"type":"number","description":"Debt service coverage ratio of an investment property (rental income divided by the property's debt payments), as a decimal such as 1.25.","format":"double"}},"additionalProperties":false,"description":"Extra borrower history used to price expanded-guideline (non-agency) products. Each coded field takes the values of the matching expanded-guideline enum."},"PropertySearchCriteria":{"type":"object","properties":{"appraisedValue":{"type":"number","description":"Appraised value of the property, in dollars.","format":"double","nullable":true},"city":{"type":"string","description":"City of the subject property.","nullable":true},"construction":{"type":"boolean","description":"True when the property is new construction. Kept for reference; not used when pricing.","nullable":true},"corporateRelocation":{"type":"boolean","description":"True when the loan is a corporate relocation, which some programs price differently.","nullable":true},"county":{"type":"string","description":"County of the subject property.","nullable":true},"numberOfStories":{"type":"integer","description":"Number of stories of the building.","format":"int64","nullable":true},"numberOfUnits":{"type":"string","description":"Number of units: OneUnit through FourUnits, or five and more as FiveUnits upward.","nullable":true},"occupancy":{"type":"string","description":"How the property is used: PrimaryResidence, SecondHome or InvestmentProperty.","nullable":true},"propertyStreetAddress":{"type":"string","description":"Street address of the subject property; not used for eligibility.","nullable":true},"propertyType":{"type":"string","description":"Type of the property, for example SingleFamily or Condo.","nullable":true},"salesPrice":{"type":"number","description":"Purchase price of the property, in dollars.","format":"double","nullable":true},"state":{"type":"string","description":"Two-letter state of the subject property.","nullable":true},"zipCode":{"type":"string","description":"ZIP code of the subject property.","nullable":true},"attachmentType":{"type":"string","description":"Whether the property is attached or detached. Kept for reference; not used when pricing.","nullable":true}},"additionalProperties":false,"description":"Property-side criteria a search was priced with."},"BrokerCriteria":{"type":"object","properties":{"minCompensation":{"type":"number","description":"Minimum loan officer compensation, in dollars.","format":"double","nullable":true},"maxCompensation":{"type":"number","description":"Maximum loan officer compensation, in dollars.","format":"double","nullable":true},"compPercent":{"type":"number","description":"Loan officer compensation as a percent of the loan amount.","format":"double","nullable":true},"ausList":{"type":"array","items":{"type":"string"},"description":"Automated underwriting systems the officer's criteria allow; usually empty.","nullable":true}},"additionalProperties":false,"description":"Loan officer compensation limits a search was priced with, taken from the officer's profile."},"RateRange":{"type":"object","properties":{"from":{"type":"number","description":"Lowest rate of the range in percent, for example 6.0.","format":"double","nullable":true},"to":{"type":"number","description":"Highest rate of the range in percent, for example 7.0.","format":"double","nullable":true}},"additionalProperties":false,"description":"A range of note rates in percent."},"FieldPropertyParameter":{"type":"object","properties":{"fieldId":{"type":"string","description":"Identifier of the custom pricing field.","nullable":true},"value":{"type":"string","description":"Value to price with for that field, as text.","nullable":true}},"additionalProperties":false,"description":"A custom pricing field and the value it is set to."},"MarkupOverride":{"type":"object","properties":{"level":{"type":"integer","description":"Which configured markup tier this entry overrides, as its level index in the pricing account.","format":"int32","nullable":true},"dollar":{"type":"integer","description":"Flat markup in dollars. Leave null to use percentage instead.","format":"int32","nullable":true},"percentage":{"type":"number","description":"Markup as a percent of the loan amount, for example 1.40 for 140 basis points.","format":"double","nullable":true},"minCapDollar":{"type":"integer","description":"Minimum markup in dollars. Leave null for no minimum.","format":"int32","nullable":true},"maxCapDollar":{"type":"integer","description":"Maximum markup in dollars. Leave null for no maximum; a 0 caps the markup at 0.","format":"int32","nullable":true}},"additionalProperties":false,"description":"Per-request override of a configured markup tier (a corporate or servicing-release margin, or loan officer compensation). Every field is optional; only those set are applied."},"CommissionTier":{"enum":["HalfPercent","ThreeQuarterPercent","OnePercent","OneAndThreeQuarterPercent"],"type":"string","description":"Loan officer compensation tier, as a percent of the loan amount, that selects which pricing account a search runs under. Reserved for Henge's own automated agents; ignored for other callers. HalfPercent is 0.50%, ThreeQuarterPercent 0.75%, OnePercent 1.00% and OneAndThreeQuarterPercent 1.75%."}}}}
```

## The ProblemDetails object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ProblemDetails":{"required":["status","title","detail","instance","code","traceId"],"type":"object","properties":{"type":{"type":"string","description":"A URI that identifies the kind of problem, or null when none is given.","nullable":true},"title":{"type":"string","description":"A short, human-readable summary of the problem; it does not change between occurrences of the same problem."},"status":{"type":"integer","description":"The HTTP status code of the response.","format":"int32"},"detail":{"type":"string","description":"A human-readable explanation of this occurrence of the problem."},"instance":{"type":"string","description":"A URI that identifies this occurrence of the problem, typically the request path."},"code":{"type":"string","description":"A stable error code, such as `NotFound`, `ValidationFailed`, `Conflict` or `BusinessRuleViolation`. Present on every error; the Errors guide lists every value."},"traceId":{"type":"string","description":"The request's trace id. Quote it when you contact support about a failed call."},"requiredScope":{"type":"string","description":"The scope the token lacks, by its standard name. Present when `code` is `MissingScope` (403); ask your Henge contact to grant it to your credential."}},"additionalProperties":{},"description":"An error, in the RFC 9457 problem details shape. Branch on `code`, never on `title` or `detail`, which are for people and may change."}}}}
```

## The ProcessPreApprovalResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ProcessPreApprovalResponse":{"type":"object","properties":{"creditScore":{"type":"integer","description":"The qualifying credit score used for the decision.","format":"int32"},"downPayment":{"type":"number","description":"Down payment in dollars (purchase price less loan amount).","format":"double"},"downPaymentPercentage":{"type":"number","description":"Down payment as a percent of the purchase price, rounded to a whole number.","format":"double"},"ltv":{"type":"number","description":"Loan-to-value ratio in percent, rounded to a whole number.","format":"double"},"dti":{"type":"number","description":"Debt-to-income ratio in percent, rounded to a whole number: monthly debt payments from the credit report over monthly income.","format":"double"},"loanAmount":{"type":"number","description":"Loan amount the pre-approval was run for, in dollars.","format":"double"},"maxLoanAmount":{"type":"number","description":"Largest loan amount the borrower qualifies for, in dollars.","format":"double"},"issuedDate":{"type":"string","description":"When the pre-approval was issued, ISO 8601 in UTC.","format":"date-time"},"expirationDate":{"type":"string","description":"When the pre-approval letter expires, ISO 8601; null when not approved.","format":"date-time","nullable":true},"denialReasons":{"type":"array","items":{"type":"string"},"description":"Why the pre-approval was denied; empty or null when it was approved.","nullable":true},"rate":{"type":"number","description":"Best note rate found for the scenario, in percent (for example 6.875); null when not approved.","format":"double","nullable":true},"loanProgram":{"type":"string","description":"The program priced, as a term label such as 30-Yr.; null when not approved.","nullable":true},"preApprovalDocumentId":{"type":"string","description":"Unique identifier (GUID) of the pre-approval letter in the loan's documents, when one was created.","format":"uuid","nullable":true},"totalDebt":{"type":"number","description":"Total balance of the liabilities on the credit report, in dollars.","format":"double"},"monthlyPayment":{"type":"number","description":"Total monthly payments of those liabilities, in dollars.","format":"double"},"annualIncome":{"type":"number","description":"Annual income used, in dollars.","format":"double"},"purchasePrice":{"type":"number","description":"Purchase price used, in dollars.","format":"double"},"loanType":{"type":"string","description":"Loan type the rules were applied for: VA, FHA, Conventional or NonConforming.","nullable":true},"occupancy":{"type":"string","description":"Occupancy used: PrimaryResidence, SecondaryResidence or Investment.","nullable":true},"incomeType":{"type":"string","description":"Income type used, for example W2-earner.","nullable":true},"hasBankruptcy":{"type":"boolean","description":"True when the credit report shows a bankruptcy."},"hasCollections":{"type":"boolean","description":"True when the credit report shows collections."},"citizenship":{"type":"string","description":"The primary borrower's citizenship status.","nullable":true},"isApproved":{"type":"boolean","description":"True when there are no denial reasons. Read-only.","readOnly":true}},"additionalProperties":false}}}}
```

## The ProductQuote object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ProductQuote":{"type":"object","properties":{"productName":{"type":"string","description":"Name of the product, including the investor when it is shown.","nullable":true},"quotes":{"type":"array","items":{"$ref":"#/components/schemas/Quote"},"description":"The rate rows of the product, one per rate and lock period.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search this rate sheet came from.","nullable":true},"productId":{"type":"string","description":"Identifier of the product.","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/QuoteAdjustment"},"description":"Adjustments applied to the product's rate or price.","nullable":true},"parQuotes":{"type":"array","items":{"$ref":"#/components/schemas/ParQuote"},"description":"The par rate for each lock period.","nullable":true},"totalRateAdjustment":{"type":"number","description":"Sum of the rate adjustments, in percentage points.","format":"double","nullable":true},"totalPriceAdjustment":{"type":"number","description":"Sum of the price adjustments, in points.","format":"double","nullable":true},"totalSRPAdjustment":{"type":"number","description":"Sum of the servicing-release-premium adjustments, in points.","format":"double","nullable":true},"totalMarginAdjustment":{"type":"number","description":"Sum of the margin adjustments, in percentage points.","format":"double","nullable":true},"notesAndAdvisories":{"type":"array","items":{"type":"string"},"description":"Notes and advisories the lender attached to the product.","nullable":true},"armSubsequentChangePeriod":{"type":"string","description":"How often an adjustable rate changes after its fixed period, as a code such as OneYear or SixMonth.","nullable":true},"armIndex":{"type":"string","description":"Index an adjustable rate follows, for example SOFR or Treasury.","nullable":true},"armIndexValue":{"type":"number","description":"Current value of the index, in percent.","format":"double","nullable":true},"armFirstCap":{"type":"number","description":"Cap on the first rate adjustment, in percentage points.","format":"double","nullable":true},"armPeriodicCap":{"type":"number","description":"Cap on each later rate adjustment, in percentage points.","format":"double","nullable":true},"armFixedTerm":{"type":"string","description":"Initial fixed period of an adjustable-rate product, as a code such as FiveYear.","nullable":true},"armFixedTermMonths":{"type":"integer","description":"Initial fixed period of an adjustable-rate product, in months.","format":"int32","nullable":true},"armLifetimeCap":{"type":"number","description":"Cap on the total rate change over the life of the loan, in percentage points.","format":"double","nullable":true},"armRelativeCap":{"type":"number","description":"Relative cap on the rate, in percentage points.","format":"double","nullable":true},"constructionTermMonths":{"type":"integer","description":"Construction period of a construction loan, in months.","format":"int32","nullable":true},"originationFees":{"type":"number","description":"Origination fees of the product, in dollars.","format":"double","nullable":true},"investorId":{"type":"integer","description":"Identifier of the investor behind the product. Omitted for callers who are not shown the investor.","format":"int32","nullable":true},"miRequiredOver80Ltv":{"type":"boolean","description":"True when mortgage insurance is required above 80% loan-to-value.","nullable":true},"interestOnlyTerm":{"type":"integer","description":"Length of the interest-only period of an interest-only product.","format":"int32","nullable":true},"lenderFeeDetails":{"type":"array","items":{"$ref":"#/components/schemas/LenderFeeDetail"},"description":"The lender fees charged on the product.","nullable":true},"lenderFeeTotal":{"type":"number","description":"Sum of the lender fees in lenderFeeDetails, in dollars. Calculated; read-only.","format":"double","nullable":true,"readOnly":true}},"additionalProperties":false,"description":"The full rate sheet of one product: every rate and lock period, with the adjustments, par rates and lender fees behind them."},"Quote":{"type":"object","properties":{"id":{"type":"string","description":"Identifier the pricing search gave this row.","nullable":true},"rate":{"type":"number","description":"Note rate, in percent such as 6.875.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Rate lock period of this row, in days.","format":"int32","nullable":true},"lockExpirationDate":{"type":"string","description":"Date a lock at this row's lock period would expire, ISO 8601.","format":"date-time","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, in percent. Uses adjustedApr when one was calculated.","format":"double","nullable":true},"price":{"type":"number","description":"Price as a percent of par, where 100 is par; above 100 pays the borrower a rebate and below 100 costs a discount.","format":"double","nullable":true},"armMargin":{"type":"number","description":"Margin added to the index for an adjustable-rate product, in percentage points.","format":"double","nullable":true},"closingCost":{"type":"number","description":"Lender closing costs of this row, in dollars.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount: 100 minus price, so negative when the row pays a rebate.","format":"double","nullable":true},"pointsCost":{"type":"number","description":"Cost of the points in dollars: positive for a discount, negative for a rebate.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"Buydown (discount) this row costs the borrower, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"discountPercent":{"type":"number","description":"Buydown (discount) as a percent of the loan amount; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"Rebate (credit) this row gives the borrower, in dollars; 0 on a discount or par row.","format":"double","nullable":true},"rebatePercent":{"type":"number","description":"Rebate (credit) as a percent of the loan amount; 0 on a discount or par row.","format":"double","nullable":true},"loCompensationDollar":{"type":"number","description":"Loan officer compensation built into this row, in dollars.","format":"double","nullable":true},"loCompensationPercent":{"type":"number","description":"Loan officer compensation built into this row, as a percent of the loan amount.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment, in dollars.","format":"double","nullable":true},"totalCredit":{"type":"number","description":"Total credit this row gives the borrower, in dollars.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance, in dollars; 0 when the product has none.","format":"double","nullable":true},"totalPayment":{"type":"number","description":"Total monthly payment in dollars: principal, interest and mortgage insurance.","format":"double","nullable":true},"amiRuleApplied":{"type":"boolean","description":"True when the area-median-income rule of affordable programs was applied to this row."},"borrowerPaidDetails":{"type":"array","items":{"$ref":"#/components/schemas/FeeDetail"},"description":"Fees the borrower pays for this row.","nullable":true},"groupAdjustmentProperties":{"type":"array","items":{"$ref":"#/components/schemas/GroupAdjustmentProperty"},"description":"The groups of price adjustments that make up this row's final price.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search this row came from.","nullable":true},"productId":{"type":"string","description":"Identifier of the product this row belongs to.","nullable":true},"adjustedApr":{"type":"number","description":"APR after the loan officer's adjustments to the quote, in percent.","format":"double","nullable":true},"adjustedFee":{"type":"number","description":"Fee amount after the loan officer's adjustments, in dollars.","format":"double","nullable":true},"computedApr":{"type":"number","description":"APR computed by Henge from the row's rate and costs, in percent.","format":"double","nullable":true},"originalApr":{"type":"number","description":"APR as the pricing search returned it, before any adjustment, in percent.","format":"double","nullable":true},"quoteId":{"type":"string","description":"Henge's identifier for this row. Pass it to select or lock the row.","nullable":true},"isArchived":{"type":"boolean","description":"True when this saved row has been archived."},"isLocked":{"type":"boolean","description":"True once a lock has been requested on this row."}},"additionalProperties":false,"description":"One row of a product's rate sheet: a note rate at a lock period, with its price, payment and costs. Rates are percents such as 6.875; price is a percent of par, where 100 is par."},"FeeDetail":{"type":"object","properties":{"amount":{"type":"number","description":"The fee amount in dollars.","format":"double","nullable":true},"description":{"type":"string","description":"What the fee is for.","nullable":true},"isOrigination":{"type":"boolean","description":"True when the fee is an origination charge.","nullable":true},"points":{"type":"number","description":"The fee expressed in points (percent of the loan amount, for example 1.0 for one point), when it is charged that way.","format":"double","nullable":true},"type":{"type":"string","description":"The fee's category as the pricing engine names it.","nullable":true}},"additionalProperties":false},"GroupAdjustmentProperty":{"type":"object","properties":{"id":{"type":"string","description":"Name of the adjustment group, for example the category its adjustments fall under.","nullable":true},"finalAdjustment":{"type":"number","description":"Net adjustment of the group once all its adjustments are applied.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/Adjustment"},"description":"The individual adjustments in the group.","nullable":true}},"additionalProperties":false,"description":"A named group of adjustments that together move a quote's price or rate."},"Adjustment":{"type":"object","properties":{"key":{"type":"string","description":"Name of the adjustment, saying what it is for.","nullable":true},"adj":{"type":"number","description":"Size of the adjustment, in the unit of the group it belongs to (price points or rate).","format":"double","nullable":true}},"additionalProperties":false,"description":"One price or rate adjustment applied to a quote."},"QuoteAdjustment":{"type":"object","properties":{"reason":{"type":"string","description":"Why the adjustment applies, as text.","nullable":true},"adjustor":{"type":"number","description":"Size of the adjustment; its unit follows the type.","format":"double"},"type":{"type":"string","description":"What the adjustment changes, for example the rate, the price or the margin.","nullable":true}},"additionalProperties":false,"description":"An adjustment the lender applied to a product's rate or price."},"ParQuote":{"type":"object","properties":{"parRate":{"type":"number","description":"Note rate at par, in percent.","format":"double"},"parPrice":{"type":"number","description":"Price at par, where 100 is par.","format":"double"},"parLock":{"type":"integer","description":"Lock period of this par quote, in days.","format":"int32"}},"additionalProperties":false,"description":"The par rate for one lock period: the rate whose price is closest to 100."},"LenderFeeDetail":{"type":"object","properties":{"feeDetailNumber":{"type":"integer","description":"Sequence number of the fee in the product's fee list.","format":"int32"},"feeTotalAmountPercent":{"type":"number","description":"Fee as a percent of the base named in feePercentageBasedOn, when it is percentage-based.","format":"double"},"feeSpecifiedFixedAmount":{"type":"number","description":"Fixed fee amount in dollars, when the fee is a fixed amount.","format":"double"},"feeTotalCalculatedAmount":{"type":"number","description":"Total fee in dollars after calculation.","format":"double"},"feePaymentFinancedIndicator":{"type":"boolean","description":"True when the fee is financed into the loan amount."},"feePaidBy":{"type":"string","description":"Who pays the fee: Buyer or Seller.","nullable":true},"feePaidTo":{"type":"string","description":"Who receives the fee: Lender, Broker, Affiliate, ThirdParty or Other.","nullable":true},"rebatePriority":{"type":"integer","description":"Priority of this fee when a rebate is applied.","format":"int32"},"feeDescription":{"type":"string","description":"Name of the fee as the lender describes it.","nullable":true},"prepaidFinanceChargeIndicator":{"type":"boolean","description":"True when the fee is a prepaid finance charge, which counts toward APR."},"includedInQMPointsAndFeesTest":{"type":"boolean","description":"True when the fee counts toward the Qualified Mortgage points-and-fees test."},"feePercentageBasedOn":{"type":"string","description":"Amount a percentage fee is calculated on: PurchasePriceAmount, PropertyAppraisedValueAmount, OriginalLoanAmount, BaseLoanAmount or Other.","nullable":true},"feeType":{"type":"string","description":"Standard fee category, for example LoanOriginationFee or UnderwritingFee.","nullable":true}},"additionalProperties":false,"description":"One lender fee charged on a product."}}}}
```

## The ProductTypes object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ProductTypes":{"enum":["StandardProducts","AffordableProducts","HARP","HeroProducts","StudentLoanCORefi","RenovationAndRehabilitation","BondAndHFA","HUDspecialty","USDAStreamline","ExpandedGuidelines"],"type":"string","description":"Category of loan product to include in a search. StandardProducts are the standard agency and government products; AffordableProducts are affordable-lending programs; HARP is the refinance program for loans with high loan-to-value; HeroProducts are programs for military and public-service borrowers; StudentLoanCORefi is a cash-out refinance that pays off student loans; RenovationAndRehabilitation finances repairs or renovation; BondAndHFA are housing-finance-agency and bond programs; HUDspecialty are HUD specialty programs; USDAStreamline is the USDA streamline refinance; ExpandedGuidelines are non-agency products with expanded guidelines."}}}}
```

## The PropertySearchCriteria object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PropertySearchCriteria":{"type":"object","properties":{"appraisedValue":{"type":"number","description":"Appraised value of the property, in dollars.","format":"double","nullable":true},"city":{"type":"string","description":"City of the subject property.","nullable":true},"construction":{"type":"boolean","description":"True when the property is new construction. Kept for reference; not used when pricing.","nullable":true},"corporateRelocation":{"type":"boolean","description":"True when the loan is a corporate relocation, which some programs price differently.","nullable":true},"county":{"type":"string","description":"County of the subject property.","nullable":true},"numberOfStories":{"type":"integer","description":"Number of stories of the building.","format":"int64","nullable":true},"numberOfUnits":{"type":"string","description":"Number of units: OneUnit through FourUnits, or five and more as FiveUnits upward.","nullable":true},"occupancy":{"type":"string","description":"How the property is used: PrimaryResidence, SecondHome or InvestmentProperty.","nullable":true},"propertyStreetAddress":{"type":"string","description":"Street address of the subject property; not used for eligibility.","nullable":true},"propertyType":{"type":"string","description":"Type of the property, for example SingleFamily or Condo.","nullable":true},"salesPrice":{"type":"number","description":"Purchase price of the property, in dollars.","format":"double","nullable":true},"state":{"type":"string","description":"Two-letter state of the subject property.","nullable":true},"zipCode":{"type":"string","description":"ZIP code of the subject property.","nullable":true},"attachmentType":{"type":"string","description":"Whether the property is attached or detached. Kept for reference; not used when pricing.","nullable":true}},"additionalProperties":false,"description":"Property-side criteria a search was priced with."}}}}
```

## The PropertySearchCriteriaOccupancy object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PropertySearchCriteriaOccupancy":{"enum":["InvestmentProperty","PrimaryResidence","SecondHome"],"type":"string","description":"How the borrower will use the property. PrimaryResidence is the borrower's main home; SecondHome is a vacation or second home; InvestmentProperty is held for rent or resale."}}}}
```

## The PropertySearchCriteriaPropertyType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"PropertySearchCriteriaPropertyType":{"enum":["SingleFamily","Condo","ManufacturedDoubleWide","Condotel","Modular","PUD","Timeshare","ManufacturedSingleWide","Coop","NonWarrantableCondo","Townhouse","DetachedCondo"],"type":"string","description":"Type of the subject property. SingleFamily, Townhouse, Condo, DetachedCondo, NonWarrantableCondo (a condo project that does not meet agency eligibility rules), Condotel (hotel-style condo), Coop, PUD (planned unit development), Modular, ManufacturedSingleWide, ManufacturedDoubleWide and Timeshare."}}}}
```

## The ProposedHousingExpense object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ProposedHousingExpense":{"type":"object","properties":{"firstMortgagePrincipalAndInterest":{"type":"number","description":"Principal and interest on this mortgage, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"otherMortgageLoanPrincipalAndInterest":{"type":"number","description":"Principal and interest on subordinate financing, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"hazardInsurance":{"type":"number","description":"Monthly hazard insurance, in dollars. Calculated by the LOS from hazardInsuranceBasis.","format":"double","nullable":true},"propertyTax":{"type":"number","description":"Monthly property taxes, in dollars. Calculated by the LOS from propertyTaxBasis.","format":"double","nullable":true},"mortgageInsurance":{"type":"number","description":"Monthly mortgage insurance, in dollars. Can be overridden; lock it in fieldLocks or the LOS recalculates it.","format":"double","nullable":true},"hoa":{"type":"number","description":"Monthly homeowners association dues, in dollars.","format":"double","nullable":true},"other":{"type":"number","description":"Other monthly taxes and expenses, in dollars. Can be overridden; lock it in fieldLocks or the LOS recalculates it.","format":"double","nullable":true},"total":{"type":"number","description":"The total proposed monthly housing payment (principal, interest, taxes and insurance), in dollars. Calculated by the LOS; a write is ignored. It is not simply the sum of the components above, so read it rather than adding them up.","format":"double","nullable":true},"hazardInsuranceBasis":{"$ref":"#/components/schemas/EscrowExpenseBasis"},"propertyTaxBasis":{"$ref":"#/components/schemas/EscrowExpenseBasis"}},"additionalProperties":false,"description":"The proposed monthly housing payment, component by component. Every component is nullable: a real zero is returned as 0, so an absent value stays distinguishable from a zero one."},"EscrowExpenseBasis":{"type":"object","properties":{"baseTypeCode":{"type":"string","description":"The LOS code for the base amount the percentage applies to. baseTypeName gives its name.","nullable":true},"baseTypeName":{"type":"string","description":"The name of the base amount (for example \"Total Loan Amount\"), or null for a code with no known name. Read only.","nullable":true},"baseAmount":{"type":"number","description":"The base amount in dollars, as the LOS calculated it. Read only: a value sent is ignored.","format":"double","nullable":true},"ratePercent":{"type":"number","description":"Annual percentage applied to `baseAmount`.","format":"double","nullable":true},"monthlyAddend":{"type":"number","description":"Flat monthly amount added on top of the percentage result.","format":"double","nullable":true},"reserveMonths":{"type":"integer","description":"Months of this expense collected as reserves at closing (hazard insurance and property tax only).\r\nThe loan system derives a default and takes an override only with its lock flag, which the housing write sends with it.\r\nRead from the loan; the loan form save never writes it.","format":"int32","nullable":true},"prepaidMonths":{"type":"integer","description":"Months of this expense prepaid at closing (hazard insurance only).","format":"int32","nullable":true}},"additionalProperties":false,"description":"How the LOS works out one escrowed housing expense: a percentage of a chosen base amount plus a flat monthly amount, for example hazard insurance as Total Loan Amount x 0.500% + $0.00."}}}}
```

## The QMCriteria object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"QMCriteria":{"type":"object","properties":{"refinancePrepaymentFeeAmount":{"type":"number","description":"Prepayment fee charged on the loan being refinanced, in dollars.","format":"double"},"creditInsuranceFeeAmount":{"type":"number","description":"Credit insurance premium charged at closing, in dollars.","format":"double"},"cashIncentiveDiscountAmount":{"type":"number","description":"Cash incentive or discount applied at closing, in dollars.","format":"double"},"escrowTrusteeFeeAmount":{"type":"number","description":"Escrow or trustee fee, in dollars.","format":"double"},"propertyAssessmentFeeAmount":{"type":"number","description":"Property assessment fee, in dollars.","format":"double"},"notaryCreditReportFeeAmount":{"type":"number","description":"Notary and credit report fees, in dollars.","format":"double"},"documentPreperationFeeAmount":{"type":"number","description":"Document preparation fee, in dollars.","format":"double"},"titleFeeAmount":{"type":"number","description":"Title fees, in dollars.","format":"double"},"borrowerPaidLOCompensation":{"type":"number","description":"Loan officer compensation the borrower pays directly, in dollars.","format":"double"},"additionalQMFeesAffectAPOR":{"type":"boolean","description":"True when the additional fees are finance charges that also change the APR comparison."},"additionalQMFeeAmount":{"type":"number","description":"Other fees that count toward the points-and-fees test, in dollars.","format":"double"},"financedPMI":{"type":"number","description":"Mortgage insurance premium that is financed into the loan, in dollars.","format":"double"}},"additionalProperties":false,"description":"Itemized fees that count toward the Qualified Mortgage points-and-fees test and the APOR comparison. Every amount is in dollars and defaults to zero."}}}}
```

## The Qualification object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Qualification":{"type":"object","properties":{"housingExpenseRatio":{"type":"number","description":"Front-end ratio (housing expense to income), as a percent.","format":"double","nullable":true},"totalDebtExpenseRatio":{"type":"number","description":"Back-end ratio (total debt to income), as a percent.","format":"double","nullable":true},"totalMonthlyIncomeAmount":{"type":"number","description":"Total qualifying monthly income, in dollars.","format":"double","nullable":true},"qualifyingRatePercent":{"type":"number","description":"The rate the borrower is qualified at, as a percent. It is the note rate unless overridden; lock it in fieldLocks or the LOS recomputes it.","format":"double","nullable":true},"qualifyingTermInMonths":{"type":"integer","description":"The term in months the qualifying payment is amortized over.","format":"int32","nullable":true},"qualifyingTermCalculationTypeCode":{"type":"string","description":"Raw code for how the qualifying term is chosen, for example Standard Term.","nullable":true},"qualifyingTermCalculationTypeName":{"type":"string","description":"qualifyingTermCalculationTypeCode decoded, for example Standard Term. Null for a code not recognized. Read only.","nullable":true},"isQualifyingRateInterestOnly":{"type":"boolean","description":"True when the qualifying payment is interest-only.","nullable":true},"qualifyingPrincipalAndInterest":{"type":"number","description":"Qualifying principal and interest, in dollars per month. Calculated by the LOS; a write is ignored.","format":"double","nullable":true},"qualifyingTotalPayment":{"type":"number","description":"Qualifying total monthly payment (principal, interest, taxes and insurance), in dollars. Calculated by the LOS; a write is ignored.","format":"double","nullable":true}},"additionalProperties":false,"description":"The ratios and payment figures the borrower is qualified on. The qualifying payment can differ from the proposed one when a qualifying rate or term overrides the note rate or term."}}}}
```

## The QueryLoansRequestDto object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"QueryLoansRequestDto":{"type":"object","properties":{"conditions":{"type":"array","items":{"$ref":"#/components/schemas/LoanQueryConditionDto"},"description":"WHERE conditions, AND'd. Fields come from a fixed whitelist (GET /loans/query/fields) and values are bound as parameters.","nullable":true},"select":{"type":"array","items":{"type":"string"},"description":"Field keys to return. Defaults to a standard loan summary.","nullable":true},"orderBy":{"type":"string","description":"Field key to sort by, from GET /loans/query/fields; a select-only field cannot be used.","nullable":true},"orderDescending":{"type":"boolean","description":"True (the default) to sort highest or newest first."},"skip":{"type":"integer","description":"Number of rows to skip, for paging; default 0.","format":"int32"},"top":{"type":"integer","description":"1-50, default 20.","format":"int32"}},"additionalProperties":false,"description":"A custom, whitelisted query returning one row per loan. Send {} for the 20 most recently updated loans."},"LoanQueryConditionDto":{"required":["field"],"type":"object","properties":{"field":{"type":"string","description":"Whitelisted field key. An unknown key is rejected, never interpolated."},"operator":{"$ref":"#/components/schemas/LoanQueryOperator"},"value":{"type":"string","description":"The value to compare the field with, as text; numbers and dates are parsed from it. Not used by the In operator, which takes values. Required for Eq, Ne, Gt, Gte, Lt and Lte.","nullable":true},"values":{"type":"array","items":{"type":"string"},"description":"Values for the In operator. Required, with at least one entry, for In.","nullable":true}},"additionalProperties":false,"description":"Send value for every operator except In, which takes values; Contains and StartsWith also accept no value (treated as empty text)."},"LoanQueryOperator":{"enum":["Eq","Ne","Gt","Gte","Lt","Lte","Contains","StartsWith","In"],"type":"string","description":"Comparison used in a query condition: Eq (equals), Ne (not equals), Gt (greater than), Gte (greater than or equal), Lt (less than), Lte (less than or equal), Contains (text contains), StartsWith (text starts with) or In (equals any of a list)."}}}}
```

## The QueryLoansResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"QueryLoansResponse":{"type":"object","properties":{"totalCount":{"type":"integer","description":"Number of loans matching the query, across every page.","format":"int32"},"skip":{"type":"integer","description":"Number of rows skipped before this page.","format":"int32"},"top":{"type":"integer","description":"Maximum number of rows on this page.","format":"int32"},"fields":{"type":"array","items":{"type":"string"},"description":"The field keys returned in each row, in order.","nullable":true},"rows":{"type":"array","items":{"type":"object","additionalProperties":{}},"description":"One object per loan, keyed by field key.","nullable":true}},"additionalProperties":false}}}}
```

## The Quote object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Quote":{"type":"object","properties":{"id":{"type":"string","description":"Identifier the pricing search gave this row.","nullable":true},"rate":{"type":"number","description":"Note rate, in percent such as 6.875.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Rate lock period of this row, in days.","format":"int32","nullable":true},"lockExpirationDate":{"type":"string","description":"Date a lock at this row's lock period would expire, ISO 8601.","format":"date-time","nullable":true},"apr":{"type":"number","description":"Annual percentage rate, in percent. Uses adjustedApr when one was calculated.","format":"double","nullable":true},"price":{"type":"number","description":"Price as a percent of par, where 100 is par; above 100 pays the borrower a rebate and below 100 costs a discount.","format":"double","nullable":true},"armMargin":{"type":"number","description":"Margin added to the index for an adjustable-rate product, in percentage points.","format":"double","nullable":true},"closingCost":{"type":"number","description":"Lender closing costs of this row, in dollars.","format":"double","nullable":true},"points":{"type":"number","description":"Discount points as a percent of the loan amount: 100 minus price, so negative when the row pays a rebate.","format":"double","nullable":true},"pointsCost":{"type":"number","description":"Cost of the points in dollars: positive for a discount, negative for a rebate.","format":"double","nullable":true},"discountDollar":{"type":"number","description":"Buydown (discount) this row costs the borrower, in dollars; 0 on a rebate or par row.","format":"double","nullable":true},"discountPercent":{"type":"number","description":"Buydown (discount) as a percent of the loan amount; 0 on a rebate or par row.","format":"double","nullable":true},"rebateDollar":{"type":"number","description":"Rebate (credit) this row gives the borrower, in dollars; 0 on a discount or par row.","format":"double","nullable":true},"rebatePercent":{"type":"number","description":"Rebate (credit) as a percent of the loan amount; 0 on a discount or par row.","format":"double","nullable":true},"loCompensationDollar":{"type":"number","description":"Loan officer compensation built into this row, in dollars.","format":"double","nullable":true},"loCompensationPercent":{"type":"number","description":"Loan officer compensation built into this row, as a percent of the loan amount.","format":"double","nullable":true},"principalAndInterest":{"type":"number","description":"Monthly principal and interest payment, in dollars.","format":"double","nullable":true},"totalCredit":{"type":"number","description":"Total credit this row gives the borrower, in dollars.","format":"double","nullable":true},"monthlyMi":{"type":"number","description":"Monthly mortgage insurance, in dollars; 0 when the product has none.","format":"double","nullable":true},"totalPayment":{"type":"number","description":"Total monthly payment in dollars: principal, interest and mortgage insurance.","format":"double","nullable":true},"amiRuleApplied":{"type":"boolean","description":"True when the area-median-income rule of affordable programs was applied to this row."},"borrowerPaidDetails":{"type":"array","items":{"$ref":"#/components/schemas/FeeDetail"},"description":"Fees the borrower pays for this row.","nullable":true},"groupAdjustmentProperties":{"type":"array","items":{"$ref":"#/components/schemas/GroupAdjustmentProperty"},"description":"The groups of price adjustments that make up this row's final price.","nullable":true},"searchId":{"type":"string","description":"Identifier of the pricing search this row came from.","nullable":true},"productId":{"type":"string","description":"Identifier of the product this row belongs to.","nullable":true},"adjustedApr":{"type":"number","description":"APR after the loan officer's adjustments to the quote, in percent.","format":"double","nullable":true},"adjustedFee":{"type":"number","description":"Fee amount after the loan officer's adjustments, in dollars.","format":"double","nullable":true},"computedApr":{"type":"number","description":"APR computed by Henge from the row's rate and costs, in percent.","format":"double","nullable":true},"originalApr":{"type":"number","description":"APR as the pricing search returned it, before any adjustment, in percent.","format":"double","nullable":true},"quoteId":{"type":"string","description":"Henge's identifier for this row. Pass it to select or lock the row.","nullable":true},"isArchived":{"type":"boolean","description":"True when this saved row has been archived."},"isLocked":{"type":"boolean","description":"True once a lock has been requested on this row."}},"additionalProperties":false,"description":"One row of a product's rate sheet: a note rate at a lock period, with its price, payment and costs. Rates are percents such as 6.875; price is a percent of par, where 100 is par."},"FeeDetail":{"type":"object","properties":{"amount":{"type":"number","description":"The fee amount in dollars.","format":"double","nullable":true},"description":{"type":"string","description":"What the fee is for.","nullable":true},"isOrigination":{"type":"boolean","description":"True when the fee is an origination charge.","nullable":true},"points":{"type":"number","description":"The fee expressed in points (percent of the loan amount, for example 1.0 for one point), when it is charged that way.","format":"double","nullable":true},"type":{"type":"string","description":"The fee's category as the pricing engine names it.","nullable":true}},"additionalProperties":false},"GroupAdjustmentProperty":{"type":"object","properties":{"id":{"type":"string","description":"Name of the adjustment group, for example the category its adjustments fall under.","nullable":true},"finalAdjustment":{"type":"number","description":"Net adjustment of the group once all its adjustments are applied.","format":"double","nullable":true},"adjustments":{"type":"array","items":{"$ref":"#/components/schemas/Adjustment"},"description":"The individual adjustments in the group.","nullable":true}},"additionalProperties":false,"description":"A named group of adjustments that together move a quote's price or rate."},"Adjustment":{"type":"object","properties":{"key":{"type":"string","description":"Name of the adjustment, saying what it is for.","nullable":true},"adj":{"type":"number","description":"Size of the adjustment, in the unit of the group it belongs to (price points or rate).","format":"double","nullable":true}},"additionalProperties":false,"description":"One price or rate adjustment applied to a quote."}}}}
```

## The QuoteAdjustment object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"QuoteAdjustment":{"type":"object","properties":{"reason":{"type":"string","description":"Why the adjustment applies, as text.","nullable":true},"adjustor":{"type":"number","description":"Size of the adjustment; its unit follows the type.","format":"double"},"type":{"type":"string","description":"What the adjustment changes, for example the rate, the price or the margin.","nullable":true}},"additionalProperties":false,"description":"An adjustment the lender applied to a product's rate or price."}}}}
```

## The Race object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Race":{"type":"object","properties":{"raceDesignations":{"type":"array","items":{"$ref":"#/components/schemas/RaceDesignation"},"description":"The designations the borrower selected within this race, for example Asian Indian or Chinese.","nullable":true},"additionalDescription":{"type":"string","description":"Free-text detail the borrower gave about this race.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A race the borrower reported (HMDA), with the designations they selected."},"RaceDesignation":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text designation the borrower gave when the designation is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One race designation the borrower selected."}}}}
```

## The RaceDesignation object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"RaceDesignation":{"type":"object","properties":{"otherDescription":{"type":"string","description":"Free-text designation the borrower gave when the designation is Other.","nullable":true},"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"One race designation the borrower selected."}}}}
```

## The RateLockHistoryEntry object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"RateLockHistoryEntry":{"type":"object","properties":{"kind":{"type":"string","description":"What happened, as the LOS names it: a lock, an extension, a relock or a break.","nullable":true},"occurredAt":{"type":"string","description":"When it happened, ISO 8601.","format":"date-time","nullable":true},"rate":{"type":"number","description":"Note rate at the time, in percent.","format":"double","nullable":true},"price":{"type":"number","description":"Price at the time, where 100 is par.","format":"double","nullable":true},"periodDays":{"type":"integer","description":"Lock period after the entry, in days.","format":"int32","nullable":true},"expirationDate":{"type":"string","description":"Lock expiration date after the entry, ISO 8601.","format":"date","nullable":true},"extensionDays":{"type":"integer","description":"Days an extension added, when the entry is an extension and they were recorded.","format":"int32","nullable":true},"user":{"type":"string","description":"Who made the change, as the LOS recorded it.","nullable":true},"note":{"type":"string","description":"Note recorded with the entry.","nullable":true}},"additionalProperties":false,"description":"One entry of a lock's history: a lock, extension, relock or break."}}}}
```

## The RateMonitor object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"RateMonitor":{"type":"object","properties":{"state":{"type":"string","description":"`Watching`, `Paused` or `Ended` (`RateWatchStates`).","nullable":true},"endReason":{"type":"string","description":"Why the watch ended (`RateWatchEndReasons`); null while it has not. One of:\r\n`Replaced` (a later Float registered the loan again and replaced this watch),\r\n`LockRequested` (the loan went to a lock request),\r\n`NoLongerFloating` (the scenario was archived or is no longer Floating),\r\n`LoanLocked` (the loan is locked in the loan system or carries an unexpired rate lock),\r\n`LoanClosed` (the loan reached a terminal pipeline stage),\r\n`LoanDeleted` (the loan was deleted or no longer exists),\r\n`Expired` (the watch ran longer than the configured number of days).","nullable":true},"startedAt":{"type":"string","description":"UTC.","format":"date-time"},"lastCheckedAt":{"type":"string","description":"When the price was last read, UTC; null before the first reading.","format":"date-time","nullable":true},"nextCheckAt":{"type":"string","description":"When the next reading is due, UTC; null when none is scheduled or the watch ended.","format":"date-time","nullable":true},"latest":{"$ref":"#/components/schemas/RateMonitorReading"},"baseline":{"$ref":"#/components/schemas/RateMonitorBaseline"},"priceChange":{"type":"number","description":"The latest price minus the registered price, in points; null unless the latest reading has a price and the registration had one.","format":"double","nullable":true},"priceChangeDollars":{"type":"number","description":"The loan amount times `priceChange` over 100, in dollars; null when either is unknown.","format":"double","nullable":true},"targetPrice":{"type":"number","description":"The price the broker is waiting for, where 100 is par; null when none is set.","format":"double","nullable":true},"targetReachedAt":{"type":"string","description":"When a reading first met the target, UTC; null until it does, and cleared when the target changes.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"How a floating registration's price has moved since it was registered: the watch's state, the latest reading against the registered quote, and the broker's target price."},"RateMonitorReading":{"type":"object","properties":{"price":{"type":"number","description":"The price at the registered rate and lock period, where 100 is par; null unless the outcome is `Ok`.","format":"double","nullable":true},"rate":{"type":"number","description":"The registered note rate in percent.","format":"double"},"lockPeriod":{"type":"integer","description":"Lock period in days.","format":"int32"},"parRate":{"type":"number","description":"The par rate of the product's ladder at the lock period, when the reading found one.","format":"double","nullable":true},"outcome":{"type":"string","description":"`Ok`, `NotOffered` (the product or the rate is no longer on the sheet) or `Failed` (`RateWatchOutcomes`).","nullable":true},"observedAt":{"type":"string","description":"UTC.","format":"date-time"}},"additionalProperties":false,"description":"One reading of the registered quote."},"RateMonitorBaseline":{"type":"object","properties":{"price":{"type":"number","description":"The registered price, where 100 is par.","format":"double","nullable":true},"rate":{"type":"number","description":"The registered note rate in percent.","format":"double"},"parRate":{"type":"number","description":"The par rate of the ladder the quote was taken from, at the registered lock period.","format":"double","nullable":true}},"additionalProperties":false,"description":"The quote a watch started from."}}}}
```

## The RateMonitorBaseline object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"RateMonitorBaseline":{"type":"object","properties":{"price":{"type":"number","description":"The registered price, where 100 is par.","format":"double","nullable":true},"rate":{"type":"number","description":"The registered note rate in percent.","format":"double"},"parRate":{"type":"number","description":"The par rate of the ladder the quote was taken from, at the registered lock period.","format":"double","nullable":true}},"additionalProperties":false,"description":"The quote a watch started from."}}}}
```

## The RateMonitorReading object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"RateMonitorReading":{"type":"object","properties":{"price":{"type":"number","description":"The price at the registered rate and lock period, where 100 is par; null unless the outcome is `Ok`.","format":"double","nullable":true},"rate":{"type":"number","description":"The registered note rate in percent.","format":"double"},"lockPeriod":{"type":"integer","description":"Lock period in days.","format":"int32"},"parRate":{"type":"number","description":"The par rate of the product's ladder at the lock period, when the reading found one.","format":"double","nullable":true},"outcome":{"type":"string","description":"`Ok`, `NotOffered` (the product or the rate is no longer on the sheet) or `Failed` (`RateWatchOutcomes`).","nullable":true},"observedAt":{"type":"string","description":"UTC.","format":"date-time"}},"additionalProperties":false,"description":"One reading of the registered quote."}}}}
```

## The RateRange object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"RateRange":{"type":"object","properties":{"from":{"type":"number","description":"Lowest rate of the range in percent, for example 6.0.","format":"double","nullable":true},"to":{"type":"number","description":"Highest rate of the range in percent, for example 7.0.","format":"double","nullable":true}},"additionalProperties":false,"description":"A range of note rates in percent."}}}}
```

## The RecipientBranch object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"RecipientBranch":{"type":"object","properties":{"enabled":{"type":"boolean","description":"Null = inherit the category from the next level up.","nullable":true},"items":{"type":"object","additionalProperties":{"type":"boolean"},"description":"Template item key → value. Non-empty means this branch has explicit per-template\r\n            overrides; a key absent here falls back to `milestones`, then `enabled`,\r\n            then `knownTemplates`, then the next level up.","nullable":true},"milestones":{"type":"object","additionalProperties":{"type":"boolean"},"description":"Loan-timeline milestone code → value, for the \"status\" category only. Sits between\r\n`items` and `enabled`: a template with no explicit item takes its\r\nmilestone's value when this branch names it. Keys are stored as written (PascalCase codes)\r\nbut the Cosmos contract resolver camelCases them on the way out, so every lookup is\r\ncase-insensitive — exactly as for `items`.","nullable":true},"knownTemplates":{"type":"array","items":{"type":"string"},"description":"Item keys known at the time this branch's Items were first written. A template added to the\r\ncatalog later and absent from both Items and KnownTemplates resolves to false while Items is\r\nnon-empty, per the resolver's default-off-when-customized rule.","nullable":true}},"additionalProperties":false,"description":"One recipient type's overrides within a category. A \"client\"/\"loanApplication\" document only\r\never populates `client`; the User branch is reserved for user\r\ndocuments and PATCH paths that target it against a client/loanApplication document are rejected."}}}}
```

## The RecordNote object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"RecordNote":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the note.","format":"uuid"},"text":{"type":"string","description":"The note text.","nullable":true},"authorId":{"type":"string","description":"Who wrote it; null for a system note.","format":"uuid","nullable":true},"authorName":{"type":"string","description":"Name of the note's author; null for a system note.","nullable":true},"createdTimestamp":{"type":"string","description":"When the note was written, ISO 8601 in UTC.","format":"date-time"},"source":{"type":"string","description":"Where the note was written: `UI`, `MCP` (an AI agent tool) or `System`.","nullable":true}},"additionalProperties":false,"description":"A note on a liability or an asset account, returned with that record. It stays in Henge and is not sent to the LOS."}}}}
```

## The RefinanceInfo object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"RefinanceInfo":{"type":"object","properties":{"cashOutAmount":{"type":"number","description":"Cash the borrower takes out, in dollars.","format":"double","nullable":true},"purpose":{"$ref":"#/components/schemas/FieldType"},"purposeOtherDescription":{"type":"string","description":"Free-text refinance purpose when the purpose is Other.","nullable":true}},"additionalProperties":false,"description":"Details that apply to a refinance loan."},"FieldType":{"type":"object","properties":{"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A value chosen from a list in the LOS, with its code and display name. Also the base of records that carry an LOS id."}}}}
```

## The RegisterLoanProgramRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"RegisterLoanProgramRequest":{"required":["election","selection"],"type":"object","properties":{"selection":{"$ref":"#/components/schemas/PricingScenarioSelection"},"election":{"$ref":"#/components/schemas/LoanRegistrationElection"},"loanOverrides":{"$ref":"#/components/schemas/LoanPricingOverrides"},"notes":{"type":"string","description":"Optional notes saved on the registration.","nullable":true}},"additionalProperties":false,"description":"Registers one program on a TPO loan, floating or with a lock request: the body of `POST /loan-applications/{id}/registration`. `loanOverrides`: searchCriteria inside loanOverrides is ignored on the Partner API; use the named overrides."},"PricingScenarioSelection":{"required":["quotes"],"type":"object","properties":{"productId":{"type":"string","description":"PREFERRED. The productId from a search_pricing result. Provide this or productName.","nullable":true},"productName":{"type":"string","description":"Fallback identifier: the exact product name from a search_pricing result (case-insensitive). Ignored when productId is provided.","nullable":true},"quotes":{"type":"array","items":{"$ref":"#/components/schemas/PricingScenarioQuoteSelection"},"description":"The quotes to save for this product, each a rate + lockPeriod pair picked from the product's quote ladder (get_product_details). Omit entirely to select the product as a deal-desk PROGRAM without quotes (Admin/Processor only)."}},"additionalProperties":false,"description":"One product to save on the scenario, with the quotes to save under it, or none to save the program without a quote. Send productId or productName, and exactly one entry in quotes."},"PricingScenarioQuoteSelection":{"required":["lockPeriod","rate"],"type":"object","properties":{"rate":{"type":"number","description":"REQUIRED. The note rate of the quote to save, exactly as shown in the product's quote ladder (e.g. 6.625).","format":"double"},"lockPeriod":{"type":"integer","description":"REQUIRED. The lock period in days of the quote to save (e.g. 30).","format":"int32"}},"additionalProperties":false,"description":"One quote under a selected product: a rate/lock-period pair from its quote ladder."},"LoanRegistrationElection":{"enum":["Float","Lock"],"type":"string","description":"Float the registered program, or request a lock on it."},"LoanPricingOverrides":{"type":"object","properties":{"loanAmount":{"type":"number","description":"Base loan amount in USD. Overrides the loan's amount.","format":"double","nullable":true},"propertyValue":{"type":"number","description":"Property value in USD, used as appraised value and sales price. Overrides the loan's appraised value / purchase price.","format":"double","nullable":true},"ficoScore":{"type":"integer","description":"Representative FICO score (300-850). Overrides the loan's credit score. 0 or less counts as no score. The 300-850 range is not checked.","format":"int32","nullable":true},"loanType":{"$ref":"#/components/schemas/LoanPricingCriteriaLoanType"},"loanPurpose":{"$ref":"#/components/schemas/LoanPricingCriteriaLoanPurpose"},"cashOutAmount":{"type":"number","description":"Cash-out amount in USD (refinance).","format":"double","nullable":true},"occupancy":{"$ref":"#/components/schemas/PropertySearchCriteriaOccupancy"},"propertyType":{"$ref":"#/components/schemas/PropertySearchCriteriaPropertyType"},"numberOfUnits":{"type":"string","description":"Number of dwelling units: OneUnit, TwoUnits, ThreeUnits, FourUnits, or a count of 5 or more such as \"6\". Overrides the loan's unit count.","nullable":true},"state":{"type":"string","description":"Property state (two-letter US code). Overrides the subject property's state.","nullable":true},"zipCode":{"type":"string","description":"Property ZIP code. Overrides the subject property's ZIP code.","nullable":true},"county":{"type":"string","description":"Property county. When absent it is looked up from the property state and ZIP code.","nullable":true},"citizenship":{"$ref":"#/components/schemas/BorrowerCriteriaCitizenship"},"debtToIncomeRatio":{"type":"number","description":"DTI percent (25 = 25%). Overrides the loan's qualifying back-end ratio.","format":"double","nullable":true},"monthsReserves":{"type":"integer","description":"Months of post-closing reserves.","format":"int32","nullable":true},"waiveEscrows":{"type":"boolean","description":"Whether escrows are waived. Overrides the loan's escrow waiver.","nullable":true},"selfEmployed":{"type":"boolean","description":"Whether a borrower is self-employed. Overrides what the loan's employment says.","nullable":true},"firstTimeHomeBuyer":{"type":"boolean","description":"Whether the borrower is a first-time home buyer. Overrides the loan's declarations.","nullable":true},"interestOnly":{"type":"boolean","description":"Whether to price interest-only products. A loan is priced without them when absent.","nullable":true},"includeLoCompensationInPricing":{"$ref":"#/components/schemas/LoanPricingCriteriaIncludeLOCompensationInPricing"},"loanTerms":{"type":"array","items":{"$ref":"#/components/schemas/LoanTerms"},"description":"Loan terms to price. Overrides the loan's term.","nullable":true},"amortizationTypes":{"type":"array","items":{"$ref":"#/components/schemas/AmortizationTypes"},"description":"Amortization types to price. Overrides the loan's amortization type.","nullable":true},"armFixedTerms":{"type":"array","items":{"$ref":"#/components/schemas/ArmFixedTerms"},"description":"ARM fixed periods to price when amortizationTypes contains ARM.","nullable":true},"productTypes":{"type":"array","items":{"$ref":"#/components/schemas/ProductTypes"},"description":"Product categories to include. [StandardProducts] when absent; non-QM uses [ExpandedGuidelines].","nullable":true},"desiredLockPeriod":{"type":"integer","description":"Desired lock period in days. Overrides the loan's lock period.","format":"int32","nullable":true},"desiredPrice":{"type":"number","description":"Desired price (par = 100).","format":"double","nullable":true},"desiredRate":{"type":"number","description":"Target interest rate. 0 returns all eligible rates.","format":"double","nullable":true},"includeGuidelines":{"type":"boolean","description":"If true, include per-product eligibility guidelines.","nullable":true}},"additionalProperties":false,"description":"Criteria a caller passes alongside a loan id when pricing a loan from its stored data. Every field is\r\noptional and has no default: a field left null is taken from the loan, and a field set here wins over\r\nthe loan's value. After the overrides are applied the loan must still have a loan amount, property value, number of units, state, ZIP code, occupancy, loan purpose, loan type and credit score, or the request is refused with a 400 naming each one missing."},"LoanPricingCriteriaLoanType":{"enum":["Conforming","NonConforming","FHA","VA","Conventional","HELOC","USDARuralHousing"],"type":"string","description":"Loan type, which drives the product set. Conforming is a conventional loan within agency loan limits; NonConforming is a conventional loan above those limits (jumbo); Conventional is a conventional, non-government loan; FHA, VA and USDARuralHousing are government-insured or guaranteed loans; HELOC is a home equity line of credit."},"LoanPricingCriteriaLoanPurpose":{"enum":["Purchase","RefiCashout","RefiRateTermLimitedCO","FHAStreamlineRefi","VARateReduction","SimpleRefinance"],"type":"string","description":"Purpose of the loan. Purchase buys the property; RefiCashout is a cash-out refinance; RefiRateTermLimitedCO is a rate-and-term or limited cash-out refinance; FHAStreamlineRefi is an FHA streamline refinance; VARateReduction is a VA interest rate reduction refinance; SimpleRefinance is a refinance without cash out."},"PropertySearchCriteriaOccupancy":{"enum":["InvestmentProperty","PrimaryResidence","SecondHome"],"type":"string","description":"How the borrower will use the property. PrimaryResidence is the borrower's main home; SecondHome is a vacation or second home; InvestmentProperty is held for rent or resale."},"PropertySearchCriteriaPropertyType":{"enum":["SingleFamily","Condo","ManufacturedDoubleWide","Condotel","Modular","PUD","Timeshare","ManufacturedSingleWide","Coop","NonWarrantableCondo","Townhouse","DetachedCondo"],"type":"string","description":"Type of the subject property. SingleFamily, Townhouse, Condo, DetachedCondo, NonWarrantableCondo (a condo project that does not meet agency eligibility rules), Condotel (hotel-style condo), Coop, PUD (planned unit development), Modular, ManufacturedSingleWide, ManufacturedDoubleWide and Timeshare."},"BorrowerCriteriaCitizenship":{"enum":["USCitizen","USCitizenAbroad","PermResidentAlien","NonPermResidentAlien","ForeignNational"],"type":"string","description":"The borrower's citizenship status for pricing: USCitizen, USCitizenAbroad (a U.S. citizen living abroad), PermResidentAlien, NonPermResidentAlien or ForeignNational."},"LoanPricingCriteriaIncludeLOCompensationInPricing":{"enum":["YesLenderPaid","NoBuyerPaid","NoLenderPaid"],"type":"string","description":"Whether and how the loan officer's compensation is reflected in the quoted price. YesLenderPaid includes lender-paid compensation in the price; NoBuyerPaid leaves it out because the borrower pays it directly; NoLenderPaid leaves out lender-paid compensation."},"LoanTerms":{"enum":["ThirtyYear","TwentyFiveYear","TwentyYear","FifteenYear","TenYear","SevenYear","FiveYear","FortyYear","FourYear","TwoYear","ThreeMonth","SixMonth","NineMonth","ThreeYear","NineYear","EightYear","SixYear","OneYear","TwelveYear","NonStandardTerm"],"type":"string","description":"The loan term: ThirtyYear, TwentyFiveYear, TwentyYear, FifteenYear, TenYear, SevenYear, FiveYear, FortyYear, FourYear, TwoYear, ThreeMonth, SixMonth, NineMonth, ThreeYear, NineYear, EightYear, SixYear, OneYear, TwelveYear or NonStandardTerm; each is that length of time."},"AmortizationTypes":{"enum":["Fixed","ARM","Balloon","OptionArm"],"type":"string","description":"How the loan's principal is repaid and its rate set. Fixed has one rate for the whole term; ARM is an adjustable-rate mortgage; Balloon has a short term with a large final payment; OptionArm is an adjustable-rate loan that lets the borrower choose among payment options."},"ArmFixedTerms":{"enum":["SixMonth","OneYear","ThreeYear","FiveYear","SevenYear","TenYear","TwoYear","OneMonth","ThreeMonth","FifteenYear","SixYear"],"type":"string","description":"Initial fixed-rate period of an adjustable-rate mortgage, before the rate first adjusts. OneMonth, ThreeMonth and SixMonth are that many months; OneYear, TwoYear, ThreeYear, FiveYear, SixYear, SevenYear, TenYear and FifteenYear are that many years."},"ProductTypes":{"enum":["StandardProducts","AffordableProducts","HARP","HeroProducts","StudentLoanCORefi","RenovationAndRehabilitation","BondAndHFA","HUDspecialty","USDAStreamline","ExpandedGuidelines"],"type":"string","description":"Category of loan product to include in a search. StandardProducts are the standard agency and government products; AffordableProducts are affordable-lending programs; HARP is the refinance program for loans with high loan-to-value; HeroProducts are programs for military and public-service borrowers; StudentLoanCORefi is a cash-out refinance that pays off student loans; RenovationAndRehabilitation finances repairs or renovation; BondAndHFA are housing-finance-agency and bond programs; HUDspecialty are HUD specialty programs; USDAStreamline is the USDA streamline refinance; ExpandedGuidelines are non-agency products with expanded guidelines."}}}}
```

## The ReissueCreditReportBorrower object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ReissueCreditReportBorrower":{"required":["borrowerId","referenceNumber"],"type":"object","properties":{"borrowerId":{"type":"string","description":"Id (GUID) of the borrower on the loan the report covers.","format":"uuid"},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the report for this borrower. The same number on every borrower means one joint report."},"instantViewPassword":{"type":"string","description":"The report's Instant View Password, needed for a report on another lender's account. Optional; leave blank when not needed. The same value goes on every borrower of a joint report; it is used for the one request and never stored.","nullable":true}},"additionalProperties":false}}}}
```

## The ReissueCreditReportBorrowerResult object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ReissueCreditReportBorrowerResult":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id (GUID) of the borrower on the loan.","format":"uuid"},"firstName":{"type":"string","description":"Borrower's first name.","nullable":true},"lastName":{"type":"string","description":"Borrower's last name.","nullable":true},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the borrower's report.","nullable":true},"creditScores":{"type":"array","items":{"$ref":"#/components/schemas/PosCreditScore"},"description":"The bureau scores read back for the borrower.","nullable":true},"representativeScore":{"type":"integer","description":"The score used for the borrower: the middle of three bureau scores, the lower of two, or the only one. Null when there are no scores.","format":"int32","nullable":true}},"additionalProperties":false},"PosCreditScore":{"type":"object","properties":{"source":{"type":"string","description":"Where the score came from, such as the credit agency that reported it.","nullable":true},"score":{"type":"string","description":"The score value, as text.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"Why there is no usable score, when there is none: NotApplicable, NoScore, ThinFile or Other.","nullable":true},"isBrokerEntered":{"type":"boolean","description":"True when a broker typed the score in rather than it being read from a credit agency. A broker-entered score is never sent to the LOS as an agency score."}},"additionalProperties":false,"description":"One credit score on a borrower's file."}}}}
```

## The ReissueCreditReportResult object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ReissueCreditReportResult":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the report was reissued onto.","format":"uuid"},"agency":{"$ref":"#/components/schemas/CreditReportingAgencyResult"},"reportType":{"type":"string","description":"HardPull or SoftPull: how the report was pulled.","nullable":true},"borrowers":{"type":"array","items":{"$ref":"#/components/schemas/ReissueCreditReportBorrowerResult"},"description":"Each borrower the reissue landed for, with the agency's reference number and the scores read back.","nullable":true},"importedLiabilityCount":{"type":"integer","description":"Number of liabilities imported from the reissued report.","format":"int32"},"issues":{"type":"array","items":{"type":"string"},"description":"Follow-up steps that did not land (such as the liability or document sync); they are retried on the next sync.","nullable":true},"reissuedTimestamp":{"type":"string","description":"When the report was reissued, in UTC (ISO 8601).","format":"date-time"},"savedCredentialId":{"type":"string","description":"The id of the credential a typed login was saved as; null when nothing was saved.","format":"uuid","nullable":true}},"additionalProperties":false,"description":"What a credit report reissue did. Scores are what the Loan Origination System read back from the agency; issues are follow-up steps that did not land and will be retried on the next sync."},"CreditReportingAgencyResult":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the agency; send it as agencyId on a reissue.","format":"uuid"},"name":{"type":"string","description":"The agency's name.","nullable":true},"duCode":{"type":"string","description":"The agency's Fannie Mae DU credit provider code, for example 001.","nullable":true},"freddieCode":{"type":"string","description":"The agency's Freddie Mac LPA code; null while not available.","nullable":true},"platform":{"type":"string","description":"The agency's credit platform; null while not available.","nullable":true},"canOrder":{"type":"boolean","description":"True when the agency can take a new report order, so a saved credential for it can order a new report. False means the agency is for reissue and automated underwriting only."},"isDuOnly":{"type":"boolean","description":"True for an agency that can only be named for a new report ordered through a DU submission (such as Fannie Mae's test credit agency); it is refused for a reissue or a credit report order."}},"additionalProperties":false,"description":"A credit reporting agency a broker can reissue a credit report from, as the agencies list returns it."},"ReissueCreditReportBorrowerResult":{"type":"object","properties":{"borrowerId":{"type":"string","description":"Id (GUID) of the borrower on the loan.","format":"uuid"},"firstName":{"type":"string","description":"Borrower's first name.","nullable":true},"lastName":{"type":"string","description":"Borrower's last name.","nullable":true},"referenceNumber":{"type":"string","description":"The agency's reference (file) number of the borrower's report.","nullable":true},"creditScores":{"type":"array","items":{"$ref":"#/components/schemas/PosCreditScore"},"description":"The bureau scores read back for the borrower.","nullable":true},"representativeScore":{"type":"integer","description":"The score used for the borrower: the middle of three bureau scores, the lower of two, or the only one. Null when there are no scores.","format":"int32","nullable":true}},"additionalProperties":false},"PosCreditScore":{"type":"object","properties":{"source":{"type":"string","description":"Where the score came from, such as the credit agency that reported it.","nullable":true},"score":{"type":"string","description":"The score value, as text.","nullable":true},"creditScoreImpairmentType":{"type":"string","description":"Why there is no usable score, when there is none: NotApplicable, NoScore, ThinFile or Other.","nullable":true},"isBrokerEntered":{"type":"boolean","description":"True when a broker typed the score in rather than it being read from a credit agency. A broker-entered score is never sent to the LOS as an agency score."}},"additionalProperties":false,"description":"One credit score on a borrower's file."}}}}
```

## The RejectLoanApplicationTaskDocumentRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"RejectLoanApplicationTaskDocumentRequest":{"required":["rejectionReason"],"type":"object","properties":{"rejectionReasonNote":{"type":"string","description":"A note for the borrower explaining why the document was rejected; optional.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReasonRequest"}},"additionalProperties":false},"TaskRejectionReasonRequest":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the rejection reason, from the task rejection reasons lookup.","format":"uuid"},"name":{"type":"string","description":"The rejection reason's name.","nullable":true}},"additionalProperties":false,"description":"The reason a task's document is rejected, chosen from the task rejection reasons lookup."}}}}
```

## The ReportLoansRequestDto object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ReportLoansRequestDto":{"type":"object","properties":{"filter":{"$ref":"#/components/schemas/LoanFilterDto"},"groupBy":{"$ref":"#/components/schemas/LoanGroupByDimension"},"metric":{"$ref":"#/components/schemas/LoanMetricFunction"},"metricField":{"$ref":"#/components/schemas/LoanMetricField"},"dateField":{"$ref":"#/components/schemas/LoanDateField"}},"additionalProperties":false,"description":"Group-by + metric aggregation over the loan snapshot."},"LoanFilterDto":{"type":"object","properties":{"searchText":{"type":"string","description":"Case-insensitive match on loan number and borrower first/last name and email. All whitespace-separated tokens must match.","nullable":true},"statuses":{"type":"array","items":{"type":"string"},"description":"Exact LOS status names, OR'd together (e.g. \"Loan Funded\", \"Loan Underwriting\").","nullable":true},"loanTypes":{"type":"array","items":{"type":"string"},"description":"Exact loan type names (e.g. \"Conventional\", \"FHA\", \"VA\"). See GET /reports/metadata.","nullable":true},"purposes":{"type":"array","items":{"type":"string"},"description":"Exact loan purpose names (e.g. \"Purchase\", \"Refinance\"). See GET /reports/metadata.","nullable":true},"statusDateFrom":{"type":"string","description":"Loans whose CURRENT status was set on/after this date. Not \"closed in period\" - use the milestones report for that.","format":"date-time","nullable":true},"statusDateTo":{"type":"string","description":"Loans whose current status was set on or before this date.","format":"date-time","nullable":true},"closingDateFrom":{"type":"string","description":"Estimated closing date. Sparsely populated - an empty result usually means the field is unset, not that nothing closed.","format":"date-time","nullable":true},"closingDateTo":{"type":"string","description":"Estimated closing date on or before this date.","format":"date-time","nullable":true},"updatedFrom":{"type":"string","description":"Loans updated on or after this date and time.","format":"date-time","nullable":true},"updatedTo":{"type":"string","description":"Loans updated on or before this date and time.","format":"date-time","nullable":true},"loanOfficerIds":{"type":"array","items":{"type":"string","format":"uuid"},"description":"Restrict to these loan officers. Always applied in addition to your company scope, so it can only narrow the result.","nullable":true},"referringAgentId":{"type":"string","description":"Only loans referred by this user (GUID).","format":"uuid","nullable":true},"processorId":{"type":"string","description":"Only loans worked by this processor (GUID).","format":"uuid","nullable":true},"loanAmountMin":{"type":"number","description":"Minimum loan amount in dollars.","format":"double","nullable":true},"loanAmountMax":{"type":"number","description":"Maximum loan amount in dollars.","format":"double","nullable":true},"commissionMin":{"type":"number","description":"Locked compensation range, in USD.","format":"double","nullable":true},"commissionMax":{"type":"number","description":"Maximum locked compensation in dollars.","format":"double","nullable":true},"propertyState":{"type":"string","description":"Two-letter subject-property state code, e.g. \"FL\".","nullable":true}},"additionalProperties":false,"description":"Caller-supplied loan filter for the reporting endpoints. Send {} for no filter."},"LoanGroupByDimension":{"enum":["None","Status","LoanType","Purpose","LoanOfficer","ReferringAgent","Month","Quarter","Year","Company","Day"],"type":"string","description":"What to group loans by: None (one bucket), Status, LoanType, Purpose, LoanOfficer, ReferringAgent, Month, Quarter, Year, Company or Day. Month, Quarter, Year and Day bucket by the chosen date field."},"LoanMetricFunction":{"enum":["Count","Sum","Average","Min","Max"],"type":"string","description":"How to combine the metric field across a bucket: Count, Sum, Average, Min or Max."},"LoanMetricField":{"enum":["LoanAmount","LockedCompensation","EstimatedCompensation"],"type":"string","description":"The loan figure to measure: LoanAmount (dollars), LockedCompensation (compensation on locked loans, dollars) or EstimatedCompensation (estimated compensation, dollars)."},"LoanDateField":{"enum":["StatusDate","ClosingDate","Updated","Created"],"type":"string","description":"Which date drives Month/Quarter/Year bucketing."}}}}
```

## The RequestLockRowRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"RequestLockRowRequest":{"required":["attestsNoRevisedLeIssued","attestsSubmittedWithin24Hours","quoteId","receivedAt"],"type":"object","properties":{"quoteId":{"type":"string","description":"The row asked for, from the ladder's rows."},"note":{"type":"string","description":"Optional words from the broker, added to the description.","nullable":true},"attestsSubmittedWithin24Hours":{"type":"boolean","description":"The broker attests the request was submitted within 24 hours of receiving the information. Required."},"attestsNoRevisedLeIssued":{"type":"boolean","description":"The broker attests no revised Loan Estimate has been issued for this change. Required."},"receivedAt":{"type":"string","description":"When the broker received the information behind the request, ISO 8601. Required.","format":"date-time"}},"additionalProperties":false,"description":"A broker's request for another row of the locked rate sheet, filed as a change of circumstance and never as a direct move. The attestations and the time the information was received are the broker's to give and are never defaulted. Both attestations must be true."}}}}
```

## The Residence object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Residence":{"type":"object","properties":{"residencyDurationInMonths":{"type":"integer","description":"Months the borrower has lived at this address.","format":"int32","nullable":true},"residencyType":{"type":"string","description":"Whether the borrower owns, rents or lives rent-free at the address, as the LOS names it.","nullable":true},"monthlyRent":{"type":"number","description":"Monthly rent, in dollars.","format":"double","nullable":true},"startDate":{"type":"string","description":"Date the borrower moved in (ISO 8601 date).","nullable":true},"endDate":{"type":"string","description":"Date the borrower moved out (ISO 8601 date). Empty for the current address.","nullable":true},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"A place the borrower lives or has lived, with how long and what they pay."}}}}
```

## The SearchPricingBorrowerInformation object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SearchPricingBorrowerInformation":{"type":"object","properties":{"citizenship":{"$ref":"#/components/schemas/BorrowerCriteriaCitizenship"},"ficoScore":{"type":"integer","description":"Representative FICO score (300-850).","format":"int32"},"firstTimeHomeBuyer":{"type":"boolean","description":"Set true on purchases to surface FTHB products and reduced MIP."},"selfEmployed":{"type":"boolean","description":"True if the borrower is self-employed."},"monthsReserves":{"type":"integer","description":"Months of post-closing reserves.","format":"int32"},"typeOfVeteran":{"$ref":"#/components/schemas/BorrowerCriteriaTypeOfVeteran"},"vaFirstTimeUse":{"type":"boolean","description":"VA only. First use of VA entitlement (affects funding fee)."},"waiveEscrows":{"type":"boolean","description":"Whether escrows are waived."},"state":{"type":"string","description":"Borrower mailing-address state (two-letter code), distinct from the property state. Optional.","nullable":true},"firstName":{"type":"string","description":"Optional borrower first name; not used for eligibility.","nullable":true},"lastName":{"type":"string","description":"Optional borrower last name; not used for eligibility.","nullable":true}},"additionalProperties":false,"description":"Borrower-side criteria of a pricing search. Used only when pricing from criteria; ignored when a loan is named. Anything left out takes the default noted on its field."},"BorrowerCriteriaCitizenship":{"enum":["USCitizen","USCitizenAbroad","PermResidentAlien","NonPermResidentAlien","ForeignNational"],"type":"string","description":"The borrower's citizenship status for pricing: USCitizen, USCitizenAbroad (a U.S. citizen living abroad), PermResidentAlien, NonPermResidentAlien or ForeignNational."},"BorrowerCriteriaTypeOfVeteran":{"enum":["ActiveDuty","NationalGuardOrReserves"],"type":"string","description":"The kind of military service for veteran pricing: ActiveDuty, or NationalGuardOrReserves."}}}}
```

## The SearchPricingExpandedGuidelines object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SearchPricingExpandedGuidelines":{"type":"object","properties":{"incomeVerificationType":{"$ref":"#/components/schemas/ExpandedGuidelinesIncomeVerificationType"},"housingEventType":{"$ref":"#/components/schemas/ExpandedGuidelinesHousingEventType"},"housingEventSeasoning":{"$ref":"#/components/schemas/ExpandedGuidelinesHousingEventSeasoning"},"bankruptcyType":{"$ref":"#/components/schemas/ExpandedGuidelinesBankruptcyType"},"bankruptcyOutcome":{"$ref":"#/components/schemas/ExpandedGuidelinesBankruptcyOutcome"},"bankruptcySeasoning":{"$ref":"#/components/schemas/ExpandedGuidelinesBankruptcySeasoning"},"debtServiceCoverageRatio":{"type":"number","description":"DSCR for investor / non-QM products.","format":"double"},"uniqueProperty":{"type":"boolean","description":"Unique property flag."},"debtConsolidation":{"type":"boolean","description":"Debt consolidation flag."},"mortgageLates30In12Months":{"type":"integer","description":"30-day mortgage lates, last 12 months.","format":"int32"},"mortgageLates30In13To24Months":{"type":"integer","description":"30-day mortgage lates, months 13-24.","format":"int32"},"mortgageLates60In12Months":{"type":"integer","description":"60-day mortgage lates, last 12 months.","format":"int32"},"mortgageLates60In13To24Months":{"type":"integer","description":"60-day mortgage lates, months 13-24.","format":"int32"},"mortgageLates90In12Months":{"type":"integer","description":"90-day mortgage lates, last 12 months.","format":"int32"},"mortgageLates90In13To24Months":{"type":"integer","description":"90-day mortgage lates, months 13-24.","format":"int32"},"mortgageLates120In12Months":{"type":"integer","description":"120-day mortgage lates, last 12 months.","format":"int32"},"mortgageLates120In13To24Months":{"type":"integer","description":"120-day mortgage lates, months 13-24.","format":"int32"}},"additionalProperties":false,"description":"Extra borrower history used to price expanded-guideline (non-agency) products. Used only when pricing from criteria; ignored when a loan is named. Anything left out takes the default noted on its field."},"ExpandedGuidelinesIncomeVerificationType":{"enum":["FullDoc","PersonalBankStmt1Mo","PersonalBankStmt6Mos","PersonalBankStmt12Mos","PersonalBankStmt18Mos","PersonalBankStmt24Mos","BusinessBankStmt1Mo","BusinessBankStmt6Mos","BusinessBankStmt12Mos","BusinessBankStmt18Mos","BusinessBankStmt24Mos","OneYearAltDoc","AssetRelated","InvestorDscr","RestrictedStock","InvestorNoRatio","PersonalBankStmt3Mos","BusinessBankStmt3Mos","TwoYearAltDoc","WrittenVOE","Stated","OneYear1099","TwoYear1099","PLOneYear","PLTwoYear","NoIncomeVerification"],"type":"string","description":"How the borrower's income is documented, for expanded-guideline (non-agency) pricing. FullDoc is full documentation; PersonalBankStmt and BusinessBankStmt values (1, 3, 6, 12, 18 or 24 months) qualify on personal or business bank statements covering that many months; OneYearAltDoc and TwoYearAltDoc are alternative documentation for one or two years; OneYear1099 and TwoYear1099 use 1099 income; PLOneYear and PLTwoYear use a profit-and-loss statement; WrittenVOE is a written verification of employment; AssetRelated qualifies on assets; InvestorDscr qualifies an investment property on its debt service coverage ratio; InvestorNoRatio is an investor loan with no ratio qualification; RestrictedStock uses restricted-stock income; Stated is stated income; NoIncomeVerification means income is not verified."},"ExpandedGuidelinesHousingEventType":{"enum":["None","DeedInLieu","Foreclosure","Modification","ShortSale","Forbearance"],"type":"string","description":"A negative housing event in the borrower's history, for expanded-guideline (non-agency) pricing. None means there was none; otherwise DeedInLieu (deed in lieu of foreclosure), Foreclosure, Modification (loan modification), ShortSale or Forbearance."},"ExpandedGuidelinesHousingEventSeasoning":{"enum":["NotApplicable","Last1To12Months","Last13To24Months","Last25To36Months","Last37To48Months","Last49To60Months","MoreThanFiveYearsAgo"],"type":"string","description":"How long ago the borrower's housing event (foreclosure, short sale and the like) happened, for expanded-guideline (non-agency) pricing. NotApplicable means it never happened; Last1To12Months through Last49To60Months are the 12-month windows counted back from today (1 to 12 months ago, 13 to 24, 25 to 36, 37 to 48, 49 to 60); MoreThanFiveYearsAgo is older than 60 months."},"ExpandedGuidelinesBankruptcyType":{"enum":["None","Chapter7","Chapter11","Chapter13"],"type":"string","description":"Chapter of the borrower's bankruptcy, for expanded-guideline (non-agency) pricing. None means no bankruptcy; otherwise Chapter7, Chapter11 or Chapter13."},"ExpandedGuidelinesBankruptcyOutcome":{"enum":["NotApplicable","Discharged","Dismissed","OpenOrPending"],"type":"string","description":"How the borrower's bankruptcy ended, for expanded-guideline (non-agency) pricing. NotApplicable means no bankruptcy; Discharged means the debts were discharged; Dismissed means the case was dismissed without discharge; OpenOrPending means the case is not yet resolved."},"ExpandedGuidelinesBankruptcySeasoning":{"enum":["NotApplicable","Last1To12Months","Last13To24Months","Last25To36Months","Last37To48Months","Last49To60Months","MoreThanFiveYearsAgo"],"type":"string","description":"How long ago the borrower's bankruptcy happened, for expanded-guideline (non-agency) pricing. NotApplicable means it never happened; Last1To12Months through Last49To60Months are the 12-month windows counted back from today (1 to 12 months ago, 13 to 24, 25 to 36, 37 to 48, 49 to 60); MoreThanFiveYearsAgo is older than 60 months."}}}}
```

## The SearchPricingLoanInformation object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SearchPricingLoanInformation":{"type":"object","properties":{"loanType":{"$ref":"#/components/schemas/LoanPricingCriteriaLoanType"},"loanPurpose":{"$ref":"#/components/schemas/LoanPricingCriteriaLoanPurpose"},"loanAmount":{"type":"number","description":"Base loan amount in USD, excluding financed fees and MIP.","format":"double"},"cashOutAmount":{"type":"number","description":"Cash-out amount in USD (refinance).","format":"double"},"secondLienAmount":{"type":"number","description":"Second lien amount in USD. Affects CLTV.","format":"double"},"helocDrawnAmount":{"type":"number","description":"HELOC drawn amount in USD.","format":"double"},"helocLineAmount":{"type":"number","description":"HELOC line (limit) amount in USD.","format":"double"},"productTypes":{"type":"array","items":{"$ref":"#/components/schemas/ProductTypes"},"description":"Product categories to include. Most scenarios use [StandardProducts]; non-QM uses [ExpandedGuidelines]."},"amortizationTypes":{"type":"array","items":{"$ref":"#/components/schemas/AmortizationTypes"},"description":"Amortization types. Conventional typically [Fixed, ARM]; FHA/VA/USDA typically [Fixed]."},"loanTerms":{"type":"array","items":{"$ref":"#/components/schemas/LoanTerms"},"description":"Loan terms to include."},"armFixedTerms":{"type":"array","items":{"$ref":"#/components/schemas/ArmFixedTerms"},"description":"REQUIRED when amortizationTypes contains ARM; defaults to [FiveYear, SevenYear, TenYear]. Ignored otherwise. Not refused when left out: with ARM it defaults to FiveYear, SevenYear and TenYear.","nullable":true},"desiredRate":{"type":"number","description":"Target interest rate. 0 returns all eligible rates.","format":"double"},"desiredLockPeriod":{"type":"integer","description":"Desired lock period in days.","format":"int32"},"desiredPrice":{"type":"number","description":"Desired price (par = 100).","format":"double"},"constructionLoanType":{"$ref":"#/components/schemas/LoanPricingCriteriaConstructionLoanType"},"exemptFromVAFundingFee":{"type":"boolean","description":"VA only. True for veterans with a service-connected disability."},"debtToIncomeRatio":{"type":"number","description":"DTI percent (25 = 25%).","format":"double"},"interestOnly":{"type":"boolean","description":"Include interest-only products."},"propertiesFinanced":{"type":"integer","description":"Number of properties the borrower already finances.","format":"int32"},"lienType":{"$ref":"#/components/schemas/LoanPricingCriteriaLienType"},"automatedUnderwritingSystem":{"$ref":"#/components/schemas/LoanPricingCriteriaAutomatedUnderwritingSystem"},"borrowerPaidMi":{"$ref":"#/components/schemas/LoanPricingCriteriaBorrowerPaidMI"},"buydown":{"$ref":"#/components/schemas/LoanPricingCriteriaBuydown"},"buydownContributorType":{"type":"string","description":"Who funds the buydown: Lender, Borrower, Seller, Builder or OtherInterestedThirdParty. Optional; only accepted with a buydown other than None. Omit to send nothing.","nullable":true},"expandedApprovalLevel":{"$ref":"#/components/schemas/LoanPricingCriteriaExpandedApprovalLevel"},"prepaymentPenalty":{"$ref":"#/components/schemas/LoanPricingCriteriaPrepaymentPenalty"},"includeLoCompensationInPricing":{"$ref":"#/components/schemas/LoanPricingCriteriaIncludeLOCompensationInPricing"},"assetDepletion":{"$ref":"#/components/schemas/LoanPricingCriteriaAssetDepletion"},"autoDebit":{"$ref":"#/components/schemas/LoanPricingCriteriaAutoDebit"},"employeeLoan":{"$ref":"#/components/schemas/LoanPricingCriteriaEmployeeLoan"},"communityAffordableSecond":{"$ref":"#/components/schemas/LoanPricingCriteriaCommunityAffordableSecond"},"calculateTotalLoanAmount":{"type":"boolean","description":"Auto-calculate the total loan amount. When false, totalLoanAmountDetails applies."},"totalLoanAmountDetails":{"$ref":"#/components/schemas/SearchPricingTotalLoanAmountDetails"},"expandedGuidelines":{"$ref":"#/components/schemas/SearchPricingExpandedGuidelines"},"firstLienAmount":{"type":"number","description":"First-lien amount in USD when lienType=Second (drives CLTV). Leave null otherwise.","format":"double","nullable":true},"feesIn":{"$ref":"#/components/schemas/LoanPricingCriteriaFeesIn"},"reducedMi":{"type":"boolean","description":"True for reduced-MI products (HomeReady, Home Possible)."},"totalMonthlyQualifyingIncome":{"type":"number","description":"Total monthly qualifying income in USD across all borrowers.","format":"double"}},"additionalProperties":false,"description":"Loan-side criteria of a pricing search: loan type and purpose, amounts, terms and product options. Used only when pricing from criteria; ignored when a loan is named. Anything left out takes the default noted on its field."},"LoanPricingCriteriaLoanType":{"enum":["Conforming","NonConforming","FHA","VA","Conventional","HELOC","USDARuralHousing"],"type":"string","description":"Loan type, which drives the product set. Conforming is a conventional loan within agency loan limits; NonConforming is a conventional loan above those limits (jumbo); Conventional is a conventional, non-government loan; FHA, VA and USDARuralHousing are government-insured or guaranteed loans; HELOC is a home equity line of credit."},"LoanPricingCriteriaLoanPurpose":{"enum":["Purchase","RefiCashout","RefiRateTermLimitedCO","FHAStreamlineRefi","VARateReduction","SimpleRefinance"],"type":"string","description":"Purpose of the loan. Purchase buys the property; RefiCashout is a cash-out refinance; RefiRateTermLimitedCO is a rate-and-term or limited cash-out refinance; FHAStreamlineRefi is an FHA streamline refinance; VARateReduction is a VA interest rate reduction refinance; SimpleRefinance is a refinance without cash out."},"ProductTypes":{"enum":["StandardProducts","AffordableProducts","HARP","HeroProducts","StudentLoanCORefi","RenovationAndRehabilitation","BondAndHFA","HUDspecialty","USDAStreamline","ExpandedGuidelines"],"type":"string","description":"Category of loan product to include in a search. StandardProducts are the standard agency and government products; AffordableProducts are affordable-lending programs; HARP is the refinance program for loans with high loan-to-value; HeroProducts are programs for military and public-service borrowers; StudentLoanCORefi is a cash-out refinance that pays off student loans; RenovationAndRehabilitation finances repairs or renovation; BondAndHFA are housing-finance-agency and bond programs; HUDspecialty are HUD specialty programs; USDAStreamline is the USDA streamline refinance; ExpandedGuidelines are non-agency products with expanded guidelines."},"AmortizationTypes":{"enum":["Fixed","ARM","Balloon","OptionArm"],"type":"string","description":"How the loan's principal is repaid and its rate set. Fixed has one rate for the whole term; ARM is an adjustable-rate mortgage; Balloon has a short term with a large final payment; OptionArm is an adjustable-rate loan that lets the borrower choose among payment options."},"LoanTerms":{"enum":["ThirtyYear","TwentyFiveYear","TwentyYear","FifteenYear","TenYear","SevenYear","FiveYear","FortyYear","FourYear","TwoYear","ThreeMonth","SixMonth","NineMonth","ThreeYear","NineYear","EightYear","SixYear","OneYear","TwelveYear","NonStandardTerm"],"type":"string","description":"The loan term: ThirtyYear, TwentyFiveYear, TwentyYear, FifteenYear, TenYear, SevenYear, FiveYear, FortyYear, FourYear, TwoYear, ThreeMonth, SixMonth, NineMonth, ThreeYear, NineYear, EightYear, SixYear, OneYear, TwelveYear or NonStandardTerm; each is that length of time."},"ArmFixedTerms":{"enum":["SixMonth","OneYear","ThreeYear","FiveYear","SevenYear","TenYear","TwoYear","OneMonth","ThreeMonth","FifteenYear","SixYear"],"type":"string","description":"Initial fixed-rate period of an adjustable-rate mortgage, before the rate first adjusts. OneMonth, ThreeMonth and SixMonth are that many months; OneYear, TwoYear, ThreeYear, FiveYear, SixYear, SevenYear, TenYear and FifteenYear are that many years."},"LoanPricingCriteriaConstructionLoanType":{"enum":["NotApplicable","Construction","ConstructionToPerm"],"type":"string","description":"Whether the loan finances construction. NotApplicable means it does not; Construction is a construction-only loan; ConstructionToPerm is a construction loan that converts to permanent financing at completion."},"LoanPricingCriteriaLienType":{"enum":["First","Second"],"type":"string","description":"Lien position of the loan being priced. First is a first mortgage; Second is a subordinate lien (set the first lien amount too)."},"LoanPricingCriteriaAutomatedUnderwritingSystem":{"enum":["DU","LP","NotSpecified","InvestorAUS","ManualTraditional"],"type":"string","description":"The automated underwriting system whose findings the loan was run through. DU is Fannie Mae Desktop Underwriter; LP is Freddie Mac Loan Product Advisor; InvestorAUS is the investor's own system; ManualTraditional means the loan is manually underwritten; NotSpecified means it is not stated."},"LoanPricingCriteriaBorrowerPaidMI":{"enum":["Yes","No"],"type":"string","description":"Whether the borrower pays the mortgage insurance premium. Yes means the borrower pays it; No means the borrower does not (it is lender-paid, or the loan has no mortgage insurance)."},"LoanPricingCriteriaBuydown":{"enum":["None","ThreeTwoOne","TwoOne","OneZero","OneOne"],"type":"string","description":"Temporary buydown structure that lowers the borrower's rate in the first years. None is no buydown; ThreeTwoOne lowers the rate 3, 2 and 1 percentage points in years one, two and three; TwoOne lowers it 2 and 1 points in years one and two; OneOne lowers it 1 point in years one and two; OneZero lowers it 1 point in year one only."},"LoanPricingCriteriaExpandedApprovalLevel":{"enum":["NotApplicable","LevelOne","LevelTwo","LevelThree","LevelFour","LevelFive"],"type":"string","description":"The expanded-approval tier the loan qualifies under, for programs that offer tiered expanded eligibility. NotApplicable means none; LevelOne through LevelFive name the tier."},"LoanPricingCriteriaPrepaymentPenalty":{"enum":["None","OneYear","TwoYear","ThreeYear","FourYear","FiveYear"],"type":"string","description":"Length of the prepayment penalty period. None means no penalty; OneYear through FiveYear are the number of years during which paying off early is penalized."},"LoanPricingCriteriaIncludeLOCompensationInPricing":{"enum":["YesLenderPaid","NoBuyerPaid","NoLenderPaid"],"type":"string","description":"Whether and how the loan officer's compensation is reflected in the quoted price. YesLenderPaid includes lender-paid compensation in the price; NoBuyerPaid leaves it out because the borrower pays it directly; NoLenderPaid leaves out lender-paid compensation."},"LoanPricingCriteriaAssetDepletion":{"enum":["Yes","No"],"type":"string","description":"Whether the borrower qualifies using asset depletion, that is, income derived from liquid assets. Yes means it applies to the loan, No means it does not."},"LoanPricingCriteriaAutoDebit":{"enum":["Yes","No"],"type":"string","description":"Whether the borrower authorizes automatic debit of the monthly payment from a bank account, which some programs price in. Yes means it applies to the loan, No means it does not."},"LoanPricingCriteriaEmployeeLoan":{"enum":["Yes","No"],"type":"string","description":"Whether the borrower is an employee of the lender, which can qualify for employee pricing. Yes means it applies to the loan, No means it does not."},"LoanPricingCriteriaCommunityAffordableSecond":{"enum":["Yes","No"],"type":"string","description":"Whether the loan has a community or affordable second mortgage (subordinate financing from a down-payment assistance program). Yes means it applies to the loan, No means it does not."},"SearchPricingTotalLoanAmountDetails":{"type":"object","properties":{"totalLoanAmount":{"type":"number","description":"Explicit total loan amount in USD.","format":"double"},"upfrontPmiMipFfGfPercent":{"type":"number","description":"Upfront PMI/MIP/FF/GF percent.","format":"double"},"upfrontPmiMipFfGfAmount":{"type":"number","description":"Upfront PMI/MIP/FF/GF amount in USD (alternative to the percent).","format":"double"},"upfrontPmiMipFfGfPaidinCash":{"type":"number","description":"Portion paid in cash at closing.","format":"double"},"upfrontPmiMipFfGfFinancedAmount":{"type":"number","description":"Portion financed into the loan.","format":"double"}},"additionalProperties":false,"description":"The total loan amount with the upfront mortgage insurance or funding fee added, and how that fee is split between cash and financing. Used only when pricing from criteria; ignored when a loan is named."},"SearchPricingExpandedGuidelines":{"type":"object","properties":{"incomeVerificationType":{"$ref":"#/components/schemas/ExpandedGuidelinesIncomeVerificationType"},"housingEventType":{"$ref":"#/components/schemas/ExpandedGuidelinesHousingEventType"},"housingEventSeasoning":{"$ref":"#/components/schemas/ExpandedGuidelinesHousingEventSeasoning"},"bankruptcyType":{"$ref":"#/components/schemas/ExpandedGuidelinesBankruptcyType"},"bankruptcyOutcome":{"$ref":"#/components/schemas/ExpandedGuidelinesBankruptcyOutcome"},"bankruptcySeasoning":{"$ref":"#/components/schemas/ExpandedGuidelinesBankruptcySeasoning"},"debtServiceCoverageRatio":{"type":"number","description":"DSCR for investor / non-QM products.","format":"double"},"uniqueProperty":{"type":"boolean","description":"Unique property flag."},"debtConsolidation":{"type":"boolean","description":"Debt consolidation flag."},"mortgageLates30In12Months":{"type":"integer","description":"30-day mortgage lates, last 12 months.","format":"int32"},"mortgageLates30In13To24Months":{"type":"integer","description":"30-day mortgage lates, months 13-24.","format":"int32"},"mortgageLates60In12Months":{"type":"integer","description":"60-day mortgage lates, last 12 months.","format":"int32"},"mortgageLates60In13To24Months":{"type":"integer","description":"60-day mortgage lates, months 13-24.","format":"int32"},"mortgageLates90In12Months":{"type":"integer","description":"90-day mortgage lates, last 12 months.","format":"int32"},"mortgageLates90In13To24Months":{"type":"integer","description":"90-day mortgage lates, months 13-24.","format":"int32"},"mortgageLates120In12Months":{"type":"integer","description":"120-day mortgage lates, last 12 months.","format":"int32"},"mortgageLates120In13To24Months":{"type":"integer","description":"120-day mortgage lates, months 13-24.","format":"int32"}},"additionalProperties":false,"description":"Extra borrower history used to price expanded-guideline (non-agency) products. Used only when pricing from criteria; ignored when a loan is named. Anything left out takes the default noted on its field."},"ExpandedGuidelinesIncomeVerificationType":{"enum":["FullDoc","PersonalBankStmt1Mo","PersonalBankStmt6Mos","PersonalBankStmt12Mos","PersonalBankStmt18Mos","PersonalBankStmt24Mos","BusinessBankStmt1Mo","BusinessBankStmt6Mos","BusinessBankStmt12Mos","BusinessBankStmt18Mos","BusinessBankStmt24Mos","OneYearAltDoc","AssetRelated","InvestorDscr","RestrictedStock","InvestorNoRatio","PersonalBankStmt3Mos","BusinessBankStmt3Mos","TwoYearAltDoc","WrittenVOE","Stated","OneYear1099","TwoYear1099","PLOneYear","PLTwoYear","NoIncomeVerification"],"type":"string","description":"How the borrower's income is documented, for expanded-guideline (non-agency) pricing. FullDoc is full documentation; PersonalBankStmt and BusinessBankStmt values (1, 3, 6, 12, 18 or 24 months) qualify on personal or business bank statements covering that many months; OneYearAltDoc and TwoYearAltDoc are alternative documentation for one or two years; OneYear1099 and TwoYear1099 use 1099 income; PLOneYear and PLTwoYear use a profit-and-loss statement; WrittenVOE is a written verification of employment; AssetRelated qualifies on assets; InvestorDscr qualifies an investment property on its debt service coverage ratio; InvestorNoRatio is an investor loan with no ratio qualification; RestrictedStock uses restricted-stock income; Stated is stated income; NoIncomeVerification means income is not verified."},"ExpandedGuidelinesHousingEventType":{"enum":["None","DeedInLieu","Foreclosure","Modification","ShortSale","Forbearance"],"type":"string","description":"A negative housing event in the borrower's history, for expanded-guideline (non-agency) pricing. None means there was none; otherwise DeedInLieu (deed in lieu of foreclosure), Foreclosure, Modification (loan modification), ShortSale or Forbearance."},"ExpandedGuidelinesHousingEventSeasoning":{"enum":["NotApplicable","Last1To12Months","Last13To24Months","Last25To36Months","Last37To48Months","Last49To60Months","MoreThanFiveYearsAgo"],"type":"string","description":"How long ago the borrower's housing event (foreclosure, short sale and the like) happened, for expanded-guideline (non-agency) pricing. NotApplicable means it never happened; Last1To12Months through Last49To60Months are the 12-month windows counted back from today (1 to 12 months ago, 13 to 24, 25 to 36, 37 to 48, 49 to 60); MoreThanFiveYearsAgo is older than 60 months."},"ExpandedGuidelinesBankruptcyType":{"enum":["None","Chapter7","Chapter11","Chapter13"],"type":"string","description":"Chapter of the borrower's bankruptcy, for expanded-guideline (non-agency) pricing. None means no bankruptcy; otherwise Chapter7, Chapter11 or Chapter13."},"ExpandedGuidelinesBankruptcyOutcome":{"enum":["NotApplicable","Discharged","Dismissed","OpenOrPending"],"type":"string","description":"How the borrower's bankruptcy ended, for expanded-guideline (non-agency) pricing. NotApplicable means no bankruptcy; Discharged means the debts were discharged; Dismissed means the case was dismissed without discharge; OpenOrPending means the case is not yet resolved."},"ExpandedGuidelinesBankruptcySeasoning":{"enum":["NotApplicable","Last1To12Months","Last13To24Months","Last25To36Months","Last37To48Months","Last49To60Months","MoreThanFiveYearsAgo"],"type":"string","description":"How long ago the borrower's bankruptcy happened, for expanded-guideline (non-agency) pricing. NotApplicable means it never happened; Last1To12Months through Last49To60Months are the 12-month windows counted back from today (1 to 12 months ago, 13 to 24, 25 to 36, 37 to 48, 49 to 60); MoreThanFiveYearsAgo is older than 60 months."},"LoanPricingCriteriaFeesIn":{"enum":["No","Yes"],"type":"string","description":"Fees-in pricing option. Pricing is always run with No, so a Yes sent here has no effect today."}}}}
```

## The SearchPricingPropertyInformation object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SearchPricingPropertyInformation":{"type":"object","properties":{"propertyValue":{"type":"number","description":"Property value in USD. Used as appraised value and sales price unless overridden.","format":"double"},"appraisedValue":{"type":"number","description":"Appraised value in USD. Overrides propertyValue for refinance LTV.","format":"double","nullable":true},"salesPrice":{"type":"number","description":"Sales price in USD. Overrides propertyValue for purchase LTV.","format":"double","nullable":true},"state":{"type":"string","description":"Property state (two-letter US code). Left out, it defaults to FL. Blank or unrecognised is refused with a 400, and a state where the pricing agent holds no current licence with a 403."},"county":{"type":"string","description":"Property county (must match the state), without the word 'County'. Omit to have it derived from zipCode.","nullable":true},"zipCode":{"type":"string","description":"Property ZIP code. Left out, it defaults to 33135. Without county, a ZIP code that is not in the state is refused with a 400.","nullable":true},"propertyType":{"$ref":"#/components/schemas/PropertySearchCriteriaPropertyType"},"occupancy":{"$ref":"#/components/schemas/PropertySearchCriteriaOccupancy"},"numberOfUnits":{"type":"string","description":"Number of dwelling units: OneUnit, TwoUnits, ThreeUnits, FourUnits, or a count of 5 or more such as \"6\".","nullable":true},"corporateRelocation":{"type":"boolean","description":"True if the borrower is being relocated by their employer."},"numberOfStories":{"type":"integer","description":"Number of stories.","format":"int32"},"propertyStreetAddress":{"type":"string","description":"Optional street address; not used for eligibility.","nullable":true},"city":{"type":"string","description":"Optional city; not used for eligibility.","nullable":true}},"additionalProperties":false,"description":"Property-side criteria of a pricing search. Used only when pricing from criteria; ignored when a loan is named. The state must be a recognised US state where the pricing agent is licensed, and the ZIP code must be in that state unless county is sent."},"PropertySearchCriteriaPropertyType":{"enum":["SingleFamily","Condo","ManufacturedDoubleWide","Condotel","Modular","PUD","Timeshare","ManufacturedSingleWide","Coop","NonWarrantableCondo","Townhouse","DetachedCondo"],"type":"string","description":"Type of the subject property. SingleFamily, Townhouse, Condo, DetachedCondo, NonWarrantableCondo (a condo project that does not meet agency eligibility rules), Condotel (hotel-style condo), Coop, PUD (planned unit development), Modular, ManufacturedSingleWide, ManufacturedDoubleWide and Timeshare."},"PropertySearchCriteriaOccupancy":{"enum":["InvestmentProperty","PrimaryResidence","SecondHome"],"type":"string","description":"How the borrower will use the property. PrimaryResidence is the borrower's main home; SecondHome is a vacation or second home; InvestmentProperty is held for rent or resale."}}}}
```

## The SearchPricingQmInformation object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SearchPricingQmInformation":{"type":"object","properties":{"refinancePrepaymentFeeAmount":{"type":"number","description":"Refinance prepayment fee in USD.","format":"double"},"creditInsuranceFeeAmount":{"type":"number","description":"Credit insurance fee in USD.","format":"double"},"cashIncentiveDiscountAmount":{"type":"number","description":"Cash incentive / discount applied at closing in USD.","format":"double"},"escrowTrusteeFeeAmount":{"type":"number","description":"Escrow / trustee fee in USD.","format":"double"},"propertyAssessmentFeeAmount":{"type":"number","description":"Property assessment fee in USD.","format":"double"},"notaryCreditReportFeeAmount":{"type":"number","description":"Notary / credit report fee in USD.","format":"double"},"documentPreparationFeeAmount":{"type":"number","description":"Document preparation fee in USD.","format":"double"},"titleFeeAmount":{"type":"number","description":"Title fee in USD.","format":"double"},"borrowerPaidLoCompensation":{"type":"number","description":"Borrower-paid LO compensation in USD.","format":"double"},"additionalQmFeesAffectApor":{"type":"boolean","description":"If true, additional QM fees count toward the APOR comparison."},"additionalQmFeeAmount":{"type":"number","description":"Additional QM fees in USD beyond the itemized categories.","format":"double"},"financedPmi":{"type":"number","description":"Financed PMI / MIP rolled into the loan, in USD.","format":"double"}},"additionalProperties":false,"description":"Optional itemized fees for the Qualified Mortgage points-and-fees test and the APOR comparison. Every amount is in dollars; leave the group out to treat all fees as zero. Used only when pricing from criteria; ignored when a loan is named."}}}}
```

## The SearchPricingTotalLoanAmountDetails object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SearchPricingTotalLoanAmountDetails":{"type":"object","properties":{"totalLoanAmount":{"type":"number","description":"Explicit total loan amount in USD.","format":"double"},"upfrontPmiMipFfGfPercent":{"type":"number","description":"Upfront PMI/MIP/FF/GF percent.","format":"double"},"upfrontPmiMipFfGfAmount":{"type":"number","description":"Upfront PMI/MIP/FF/GF amount in USD (alternative to the percent).","format":"double"},"upfrontPmiMipFfGfPaidinCash":{"type":"number","description":"Portion paid in cash at closing.","format":"double"},"upfrontPmiMipFfGfFinancedAmount":{"type":"number","description":"Portion financed into the loan.","format":"double"}},"additionalProperties":false,"description":"The total loan amount with the upfront mortgage insurance or funding fee added, and how that fee is split between cash and financing. Used only when pricing from criteria; ignored when a loan is named."}}}}
```

## The SearchPricingWithLoanRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SearchPricingWithLoanRequest":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Henge loan application ID (GUID) to price from its stored data. Use this or externalId. With a loan, borrowerInformation, propertyInformation, loanInformation, qmInformation, userId and commissionTier are ignored; pass changes in loanOverrides.","format":"uuid","nullable":true},"externalId":{"type":"string","description":"LOS loan id (externalId) of the loan to price from its stored data; preferred over loanApplicationId when both are given.","nullable":true},"loanOverrides":{"$ref":"#/components/schemas/LoanPricingOverrides"},"commissionTier":{"$ref":"#/components/schemas/CommissionTier"},"useAgentObAccount":{"type":"boolean","description":"Honoured only on calls from Henge's own AI assistant; on any other call, a Partner API call included, it is ignored."},"userId":{"type":"string","description":"Henge user ID (GUID) of the pricing agent, from search_users or the loan's officer. Defaults to the calling user.","format":"uuid","nullable":true},"includeGuidelines":{"type":"boolean","description":"If true, include per-product eligibility guidelines."},"borrowerInformation":{"$ref":"#/components/schemas/SearchPricingBorrowerInformation"},"propertyInformation":{"$ref":"#/components/schemas/SearchPricingPropertyInformation"},"loanInformation":{"$ref":"#/components/schemas/SearchPricingLoanInformation"},"qmInformation":{"$ref":"#/components/schemas/SearchPricingQmInformation"}},"additionalProperties":false,"description":"A pricing search: either the full scenario criteria, or a loan to price from its stored data (`loanApplicationId` or `externalId`) with optional overrides. `commissionTier`: Ignored by the Partner API. Send loanApplicationId or externalId to price a loan from its stored data: the loan's own values are used, loanOverrides win over them, borrowerInformation, propertyInformation, loanInformation, qmInformation, userId and commissionTier are ignored, the loan must belong to your company, and the request is refused with a 400 naming each of loan amount, property value, number of units, state, ZIP code, occupancy, loan purpose, loan type and credit score that neither the loan nor loanOverrides supplies. With neither id the request is priced from the criteria: propertyInformation must not be null, the pricing agent must belong to your company and be licensed in the property state, and the ZIP code must be in that state unless county is sent."},"LoanPricingOverrides":{"type":"object","properties":{"loanAmount":{"type":"number","description":"Base loan amount in USD. Overrides the loan's amount.","format":"double","nullable":true},"propertyValue":{"type":"number","description":"Property value in USD, used as appraised value and sales price. Overrides the loan's appraised value / purchase price.","format":"double","nullable":true},"ficoScore":{"type":"integer","description":"Representative FICO score (300-850). Overrides the loan's credit score. 0 or less counts as no score. The 300-850 range is not checked.","format":"int32","nullable":true},"loanType":{"$ref":"#/components/schemas/LoanPricingCriteriaLoanType"},"loanPurpose":{"$ref":"#/components/schemas/LoanPricingCriteriaLoanPurpose"},"cashOutAmount":{"type":"number","description":"Cash-out amount in USD (refinance).","format":"double","nullable":true},"occupancy":{"$ref":"#/components/schemas/PropertySearchCriteriaOccupancy"},"propertyType":{"$ref":"#/components/schemas/PropertySearchCriteriaPropertyType"},"numberOfUnits":{"type":"string","description":"Number of dwelling units: OneUnit, TwoUnits, ThreeUnits, FourUnits, or a count of 5 or more such as \"6\". Overrides the loan's unit count.","nullable":true},"state":{"type":"string","description":"Property state (two-letter US code). Overrides the subject property's state.","nullable":true},"zipCode":{"type":"string","description":"Property ZIP code. Overrides the subject property's ZIP code.","nullable":true},"county":{"type":"string","description":"Property county. When absent it is looked up from the property state and ZIP code.","nullable":true},"citizenship":{"$ref":"#/components/schemas/BorrowerCriteriaCitizenship"},"debtToIncomeRatio":{"type":"number","description":"DTI percent (25 = 25%). Overrides the loan's qualifying back-end ratio.","format":"double","nullable":true},"monthsReserves":{"type":"integer","description":"Months of post-closing reserves.","format":"int32","nullable":true},"waiveEscrows":{"type":"boolean","description":"Whether escrows are waived. Overrides the loan's escrow waiver.","nullable":true},"selfEmployed":{"type":"boolean","description":"Whether a borrower is self-employed. Overrides what the loan's employment says.","nullable":true},"firstTimeHomeBuyer":{"type":"boolean","description":"Whether the borrower is a first-time home buyer. Overrides the loan's declarations.","nullable":true},"interestOnly":{"type":"boolean","description":"Whether to price interest-only products. A loan is priced without them when absent.","nullable":true},"includeLoCompensationInPricing":{"$ref":"#/components/schemas/LoanPricingCriteriaIncludeLOCompensationInPricing"},"loanTerms":{"type":"array","items":{"$ref":"#/components/schemas/LoanTerms"},"description":"Loan terms to price. Overrides the loan's term.","nullable":true},"amortizationTypes":{"type":"array","items":{"$ref":"#/components/schemas/AmortizationTypes"},"description":"Amortization types to price. Overrides the loan's amortization type.","nullable":true},"armFixedTerms":{"type":"array","items":{"$ref":"#/components/schemas/ArmFixedTerms"},"description":"ARM fixed periods to price when amortizationTypes contains ARM.","nullable":true},"productTypes":{"type":"array","items":{"$ref":"#/components/schemas/ProductTypes"},"description":"Product categories to include. [StandardProducts] when absent; non-QM uses [ExpandedGuidelines].","nullable":true},"desiredLockPeriod":{"type":"integer","description":"Desired lock period in days. Overrides the loan's lock period.","format":"int32","nullable":true},"desiredPrice":{"type":"number","description":"Desired price (par = 100).","format":"double","nullable":true},"desiredRate":{"type":"number","description":"Target interest rate. 0 returns all eligible rates.","format":"double","nullable":true},"includeGuidelines":{"type":"boolean","description":"If true, include per-product eligibility guidelines.","nullable":true}},"additionalProperties":false,"description":"Criteria a caller passes alongside a loan id when pricing a loan from its stored data. Every field is\r\noptional and has no default: a field left null is taken from the loan, and a field set here wins over\r\nthe loan's value. After the overrides are applied the loan must still have a loan amount, property value, number of units, state, ZIP code, occupancy, loan purpose, loan type and credit score, or the request is refused with a 400 naming each one missing."},"LoanPricingCriteriaLoanType":{"enum":["Conforming","NonConforming","FHA","VA","Conventional","HELOC","USDARuralHousing"],"type":"string","description":"Loan type, which drives the product set. Conforming is a conventional loan within agency loan limits; NonConforming is a conventional loan above those limits (jumbo); Conventional is a conventional, non-government loan; FHA, VA and USDARuralHousing are government-insured or guaranteed loans; HELOC is a home equity line of credit."},"LoanPricingCriteriaLoanPurpose":{"enum":["Purchase","RefiCashout","RefiRateTermLimitedCO","FHAStreamlineRefi","VARateReduction","SimpleRefinance"],"type":"string","description":"Purpose of the loan. Purchase buys the property; RefiCashout is a cash-out refinance; RefiRateTermLimitedCO is a rate-and-term or limited cash-out refinance; FHAStreamlineRefi is an FHA streamline refinance; VARateReduction is a VA interest rate reduction refinance; SimpleRefinance is a refinance without cash out."},"PropertySearchCriteriaOccupancy":{"enum":["InvestmentProperty","PrimaryResidence","SecondHome"],"type":"string","description":"How the borrower will use the property. PrimaryResidence is the borrower's main home; SecondHome is a vacation or second home; InvestmentProperty is held for rent or resale."},"PropertySearchCriteriaPropertyType":{"enum":["SingleFamily","Condo","ManufacturedDoubleWide","Condotel","Modular","PUD","Timeshare","ManufacturedSingleWide","Coop","NonWarrantableCondo","Townhouse","DetachedCondo"],"type":"string","description":"Type of the subject property. SingleFamily, Townhouse, Condo, DetachedCondo, NonWarrantableCondo (a condo project that does not meet agency eligibility rules), Condotel (hotel-style condo), Coop, PUD (planned unit development), Modular, ManufacturedSingleWide, ManufacturedDoubleWide and Timeshare."},"BorrowerCriteriaCitizenship":{"enum":["USCitizen","USCitizenAbroad","PermResidentAlien","NonPermResidentAlien","ForeignNational"],"type":"string","description":"The borrower's citizenship status for pricing: USCitizen, USCitizenAbroad (a U.S. citizen living abroad), PermResidentAlien, NonPermResidentAlien or ForeignNational."},"LoanPricingCriteriaIncludeLOCompensationInPricing":{"enum":["YesLenderPaid","NoBuyerPaid","NoLenderPaid"],"type":"string","description":"Whether and how the loan officer's compensation is reflected in the quoted price. YesLenderPaid includes lender-paid compensation in the price; NoBuyerPaid leaves it out because the borrower pays it directly; NoLenderPaid leaves out lender-paid compensation."},"LoanTerms":{"enum":["ThirtyYear","TwentyFiveYear","TwentyYear","FifteenYear","TenYear","SevenYear","FiveYear","FortyYear","FourYear","TwoYear","ThreeMonth","SixMonth","NineMonth","ThreeYear","NineYear","EightYear","SixYear","OneYear","TwelveYear","NonStandardTerm"],"type":"string","description":"The loan term: ThirtyYear, TwentyFiveYear, TwentyYear, FifteenYear, TenYear, SevenYear, FiveYear, FortyYear, FourYear, TwoYear, ThreeMonth, SixMonth, NineMonth, ThreeYear, NineYear, EightYear, SixYear, OneYear, TwelveYear or NonStandardTerm; each is that length of time."},"AmortizationTypes":{"enum":["Fixed","ARM","Balloon","OptionArm"],"type":"string","description":"How the loan's principal is repaid and its rate set. Fixed has one rate for the whole term; ARM is an adjustable-rate mortgage; Balloon has a short term with a large final payment; OptionArm is an adjustable-rate loan that lets the borrower choose among payment options."},"ArmFixedTerms":{"enum":["SixMonth","OneYear","ThreeYear","FiveYear","SevenYear","TenYear","TwoYear","OneMonth","ThreeMonth","FifteenYear","SixYear"],"type":"string","description":"Initial fixed-rate period of an adjustable-rate mortgage, before the rate first adjusts. OneMonth, ThreeMonth and SixMonth are that many months; OneYear, TwoYear, ThreeYear, FiveYear, SixYear, SevenYear, TenYear and FifteenYear are that many years."},"ProductTypes":{"enum":["StandardProducts","AffordableProducts","HARP","HeroProducts","StudentLoanCORefi","RenovationAndRehabilitation","BondAndHFA","HUDspecialty","USDAStreamline","ExpandedGuidelines"],"type":"string","description":"Category of loan product to include in a search. StandardProducts are the standard agency and government products; AffordableProducts are affordable-lending programs; HARP is the refinance program for loans with high loan-to-value; HeroProducts are programs for military and public-service borrowers; StudentLoanCORefi is a cash-out refinance that pays off student loans; RenovationAndRehabilitation finances repairs or renovation; BondAndHFA are housing-finance-agency and bond programs; HUDspecialty are HUD specialty programs; USDAStreamline is the USDA streamline refinance; ExpandedGuidelines are non-agency products with expanded guidelines."},"CommissionTier":{"enum":["HalfPercent","ThreeQuarterPercent","OnePercent","OneAndThreeQuarterPercent"],"type":"string","description":"Loan officer compensation tier, as a percent of the loan amount, that selects which pricing account a search runs under. Reserved for Henge's own automated agents; ignored for other callers. HalfPercent is 0.50%, ThreeQuarterPercent 0.75%, OnePercent 1.00% and OneAndThreeQuarterPercent 1.75%."},"SearchPricingBorrowerInformation":{"type":"object","properties":{"citizenship":{"$ref":"#/components/schemas/BorrowerCriteriaCitizenship"},"ficoScore":{"type":"integer","description":"Representative FICO score (300-850).","format":"int32"},"firstTimeHomeBuyer":{"type":"boolean","description":"Set true on purchases to surface FTHB products and reduced MIP."},"selfEmployed":{"type":"boolean","description":"True if the borrower is self-employed."},"monthsReserves":{"type":"integer","description":"Months of post-closing reserves.","format":"int32"},"typeOfVeteran":{"$ref":"#/components/schemas/BorrowerCriteriaTypeOfVeteran"},"vaFirstTimeUse":{"type":"boolean","description":"VA only. First use of VA entitlement (affects funding fee)."},"waiveEscrows":{"type":"boolean","description":"Whether escrows are waived."},"state":{"type":"string","description":"Borrower mailing-address state (two-letter code), distinct from the property state. Optional.","nullable":true},"firstName":{"type":"string","description":"Optional borrower first name; not used for eligibility.","nullable":true},"lastName":{"type":"string","description":"Optional borrower last name; not used for eligibility.","nullable":true}},"additionalProperties":false,"description":"Borrower-side criteria of a pricing search. Used only when pricing from criteria; ignored when a loan is named. Anything left out takes the default noted on its field."},"BorrowerCriteriaTypeOfVeteran":{"enum":["ActiveDuty","NationalGuardOrReserves"],"type":"string","description":"The kind of military service for veteran pricing: ActiveDuty, or NationalGuardOrReserves."},"SearchPricingPropertyInformation":{"type":"object","properties":{"propertyValue":{"type":"number","description":"Property value in USD. Used as appraised value and sales price unless overridden.","format":"double"},"appraisedValue":{"type":"number","description":"Appraised value in USD. Overrides propertyValue for refinance LTV.","format":"double","nullable":true},"salesPrice":{"type":"number","description":"Sales price in USD. Overrides propertyValue for purchase LTV.","format":"double","nullable":true},"state":{"type":"string","description":"Property state (two-letter US code). Left out, it defaults to FL. Blank or unrecognised is refused with a 400, and a state where the pricing agent holds no current licence with a 403."},"county":{"type":"string","description":"Property county (must match the state), without the word 'County'. Omit to have it derived from zipCode.","nullable":true},"zipCode":{"type":"string","description":"Property ZIP code. Left out, it defaults to 33135. Without county, a ZIP code that is not in the state is refused with a 400.","nullable":true},"propertyType":{"$ref":"#/components/schemas/PropertySearchCriteriaPropertyType"},"occupancy":{"$ref":"#/components/schemas/PropertySearchCriteriaOccupancy"},"numberOfUnits":{"type":"string","description":"Number of dwelling units: OneUnit, TwoUnits, ThreeUnits, FourUnits, or a count of 5 or more such as \"6\".","nullable":true},"corporateRelocation":{"type":"boolean","description":"True if the borrower is being relocated by their employer."},"numberOfStories":{"type":"integer","description":"Number of stories.","format":"int32"},"propertyStreetAddress":{"type":"string","description":"Optional street address; not used for eligibility.","nullable":true},"city":{"type":"string","description":"Optional city; not used for eligibility.","nullable":true}},"additionalProperties":false,"description":"Property-side criteria of a pricing search. Used only when pricing from criteria; ignored when a loan is named. The state must be a recognised US state where the pricing agent is licensed, and the ZIP code must be in that state unless county is sent."},"SearchPricingLoanInformation":{"type":"object","properties":{"loanType":{"$ref":"#/components/schemas/LoanPricingCriteriaLoanType"},"loanPurpose":{"$ref":"#/components/schemas/LoanPricingCriteriaLoanPurpose"},"loanAmount":{"type":"number","description":"Base loan amount in USD, excluding financed fees and MIP.","format":"double"},"cashOutAmount":{"type":"number","description":"Cash-out amount in USD (refinance).","format":"double"},"secondLienAmount":{"type":"number","description":"Second lien amount in USD. Affects CLTV.","format":"double"},"helocDrawnAmount":{"type":"number","description":"HELOC drawn amount in USD.","format":"double"},"helocLineAmount":{"type":"number","description":"HELOC line (limit) amount in USD.","format":"double"},"productTypes":{"type":"array","items":{"$ref":"#/components/schemas/ProductTypes"},"description":"Product categories to include. Most scenarios use [StandardProducts]; non-QM uses [ExpandedGuidelines]."},"amortizationTypes":{"type":"array","items":{"$ref":"#/components/schemas/AmortizationTypes"},"description":"Amortization types. Conventional typically [Fixed, ARM]; FHA/VA/USDA typically [Fixed]."},"loanTerms":{"type":"array","items":{"$ref":"#/components/schemas/LoanTerms"},"description":"Loan terms to include."},"armFixedTerms":{"type":"array","items":{"$ref":"#/components/schemas/ArmFixedTerms"},"description":"REQUIRED when amortizationTypes contains ARM; defaults to [FiveYear, SevenYear, TenYear]. Ignored otherwise. Not refused when left out: with ARM it defaults to FiveYear, SevenYear and TenYear.","nullable":true},"desiredRate":{"type":"number","description":"Target interest rate. 0 returns all eligible rates.","format":"double"},"desiredLockPeriod":{"type":"integer","description":"Desired lock period in days.","format":"int32"},"desiredPrice":{"type":"number","description":"Desired price (par = 100).","format":"double"},"constructionLoanType":{"$ref":"#/components/schemas/LoanPricingCriteriaConstructionLoanType"},"exemptFromVAFundingFee":{"type":"boolean","description":"VA only. True for veterans with a service-connected disability."},"debtToIncomeRatio":{"type":"number","description":"DTI percent (25 = 25%).","format":"double"},"interestOnly":{"type":"boolean","description":"Include interest-only products."},"propertiesFinanced":{"type":"integer","description":"Number of properties the borrower already finances.","format":"int32"},"lienType":{"$ref":"#/components/schemas/LoanPricingCriteriaLienType"},"automatedUnderwritingSystem":{"$ref":"#/components/schemas/LoanPricingCriteriaAutomatedUnderwritingSystem"},"borrowerPaidMi":{"$ref":"#/components/schemas/LoanPricingCriteriaBorrowerPaidMI"},"buydown":{"$ref":"#/components/schemas/LoanPricingCriteriaBuydown"},"buydownContributorType":{"type":"string","description":"Who funds the buydown: Lender, Borrower, Seller, Builder or OtherInterestedThirdParty. Optional; only accepted with a buydown other than None. Omit to send nothing.","nullable":true},"expandedApprovalLevel":{"$ref":"#/components/schemas/LoanPricingCriteriaExpandedApprovalLevel"},"prepaymentPenalty":{"$ref":"#/components/schemas/LoanPricingCriteriaPrepaymentPenalty"},"includeLoCompensationInPricing":{"$ref":"#/components/schemas/LoanPricingCriteriaIncludeLOCompensationInPricing"},"assetDepletion":{"$ref":"#/components/schemas/LoanPricingCriteriaAssetDepletion"},"autoDebit":{"$ref":"#/components/schemas/LoanPricingCriteriaAutoDebit"},"employeeLoan":{"$ref":"#/components/schemas/LoanPricingCriteriaEmployeeLoan"},"communityAffordableSecond":{"$ref":"#/components/schemas/LoanPricingCriteriaCommunityAffordableSecond"},"calculateTotalLoanAmount":{"type":"boolean","description":"Auto-calculate the total loan amount. When false, totalLoanAmountDetails applies."},"totalLoanAmountDetails":{"$ref":"#/components/schemas/SearchPricingTotalLoanAmountDetails"},"expandedGuidelines":{"$ref":"#/components/schemas/SearchPricingExpandedGuidelines"},"firstLienAmount":{"type":"number","description":"First-lien amount in USD when lienType=Second (drives CLTV). Leave null otherwise.","format":"double","nullable":true},"feesIn":{"$ref":"#/components/schemas/LoanPricingCriteriaFeesIn"},"reducedMi":{"type":"boolean","description":"True for reduced-MI products (HomeReady, Home Possible)."},"totalMonthlyQualifyingIncome":{"type":"number","description":"Total monthly qualifying income in USD across all borrowers.","format":"double"}},"additionalProperties":false,"description":"Loan-side criteria of a pricing search: loan type and purpose, amounts, terms and product options. Used only when pricing from criteria; ignored when a loan is named. Anything left out takes the default noted on its field."},"LoanPricingCriteriaConstructionLoanType":{"enum":["NotApplicable","Construction","ConstructionToPerm"],"type":"string","description":"Whether the loan finances construction. NotApplicable means it does not; Construction is a construction-only loan; ConstructionToPerm is a construction loan that converts to permanent financing at completion."},"LoanPricingCriteriaLienType":{"enum":["First","Second"],"type":"string","description":"Lien position of the loan being priced. First is a first mortgage; Second is a subordinate lien (set the first lien amount too)."},"LoanPricingCriteriaAutomatedUnderwritingSystem":{"enum":["DU","LP","NotSpecified","InvestorAUS","ManualTraditional"],"type":"string","description":"The automated underwriting system whose findings the loan was run through. DU is Fannie Mae Desktop Underwriter; LP is Freddie Mac Loan Product Advisor; InvestorAUS is the investor's own system; ManualTraditional means the loan is manually underwritten; NotSpecified means it is not stated."},"LoanPricingCriteriaBorrowerPaidMI":{"enum":["Yes","No"],"type":"string","description":"Whether the borrower pays the mortgage insurance premium. Yes means the borrower pays it; No means the borrower does not (it is lender-paid, or the loan has no mortgage insurance)."},"LoanPricingCriteriaBuydown":{"enum":["None","ThreeTwoOne","TwoOne","OneZero","OneOne"],"type":"string","description":"Temporary buydown structure that lowers the borrower's rate in the first years. None is no buydown; ThreeTwoOne lowers the rate 3, 2 and 1 percentage points in years one, two and three; TwoOne lowers it 2 and 1 points in years one and two; OneOne lowers it 1 point in years one and two; OneZero lowers it 1 point in year one only."},"LoanPricingCriteriaExpandedApprovalLevel":{"enum":["NotApplicable","LevelOne","LevelTwo","LevelThree","LevelFour","LevelFive"],"type":"string","description":"The expanded-approval tier the loan qualifies under, for programs that offer tiered expanded eligibility. NotApplicable means none; LevelOne through LevelFive name the tier."},"LoanPricingCriteriaPrepaymentPenalty":{"enum":["None","OneYear","TwoYear","ThreeYear","FourYear","FiveYear"],"type":"string","description":"Length of the prepayment penalty period. None means no penalty; OneYear through FiveYear are the number of years during which paying off early is penalized."},"LoanPricingCriteriaAssetDepletion":{"enum":["Yes","No"],"type":"string","description":"Whether the borrower qualifies using asset depletion, that is, income derived from liquid assets. Yes means it applies to the loan, No means it does not."},"LoanPricingCriteriaAutoDebit":{"enum":["Yes","No"],"type":"string","description":"Whether the borrower authorizes automatic debit of the monthly payment from a bank account, which some programs price in. Yes means it applies to the loan, No means it does not."},"LoanPricingCriteriaEmployeeLoan":{"enum":["Yes","No"],"type":"string","description":"Whether the borrower is an employee of the lender, which can qualify for employee pricing. Yes means it applies to the loan, No means it does not."},"LoanPricingCriteriaCommunityAffordableSecond":{"enum":["Yes","No"],"type":"string","description":"Whether the loan has a community or affordable second mortgage (subordinate financing from a down-payment assistance program). Yes means it applies to the loan, No means it does not."},"SearchPricingTotalLoanAmountDetails":{"type":"object","properties":{"totalLoanAmount":{"type":"number","description":"Explicit total loan amount in USD.","format":"double"},"upfrontPmiMipFfGfPercent":{"type":"number","description":"Upfront PMI/MIP/FF/GF percent.","format":"double"},"upfrontPmiMipFfGfAmount":{"type":"number","description":"Upfront PMI/MIP/FF/GF amount in USD (alternative to the percent).","format":"double"},"upfrontPmiMipFfGfPaidinCash":{"type":"number","description":"Portion paid in cash at closing.","format":"double"},"upfrontPmiMipFfGfFinancedAmount":{"type":"number","description":"Portion financed into the loan.","format":"double"}},"additionalProperties":false,"description":"The total loan amount with the upfront mortgage insurance or funding fee added, and how that fee is split between cash and financing. Used only when pricing from criteria; ignored when a loan is named."},"SearchPricingExpandedGuidelines":{"type":"object","properties":{"incomeVerificationType":{"$ref":"#/components/schemas/ExpandedGuidelinesIncomeVerificationType"},"housingEventType":{"$ref":"#/components/schemas/ExpandedGuidelinesHousingEventType"},"housingEventSeasoning":{"$ref":"#/components/schemas/ExpandedGuidelinesHousingEventSeasoning"},"bankruptcyType":{"$ref":"#/components/schemas/ExpandedGuidelinesBankruptcyType"},"bankruptcyOutcome":{"$ref":"#/components/schemas/ExpandedGuidelinesBankruptcyOutcome"},"bankruptcySeasoning":{"$ref":"#/components/schemas/ExpandedGuidelinesBankruptcySeasoning"},"debtServiceCoverageRatio":{"type":"number","description":"DSCR for investor / non-QM products.","format":"double"},"uniqueProperty":{"type":"boolean","description":"Unique property flag."},"debtConsolidation":{"type":"boolean","description":"Debt consolidation flag."},"mortgageLates30In12Months":{"type":"integer","description":"30-day mortgage lates, last 12 months.","format":"int32"},"mortgageLates30In13To24Months":{"type":"integer","description":"30-day mortgage lates, months 13-24.","format":"int32"},"mortgageLates60In12Months":{"type":"integer","description":"60-day mortgage lates, last 12 months.","format":"int32"},"mortgageLates60In13To24Months":{"type":"integer","description":"60-day mortgage lates, months 13-24.","format":"int32"},"mortgageLates90In12Months":{"type":"integer","description":"90-day mortgage lates, last 12 months.","format":"int32"},"mortgageLates90In13To24Months":{"type":"integer","description":"90-day mortgage lates, months 13-24.","format":"int32"},"mortgageLates120In12Months":{"type":"integer","description":"120-day mortgage lates, last 12 months.","format":"int32"},"mortgageLates120In13To24Months":{"type":"integer","description":"120-day mortgage lates, months 13-24.","format":"int32"}},"additionalProperties":false,"description":"Extra borrower history used to price expanded-guideline (non-agency) products. Used only when pricing from criteria; ignored when a loan is named. Anything left out takes the default noted on its field."},"ExpandedGuidelinesIncomeVerificationType":{"enum":["FullDoc","PersonalBankStmt1Mo","PersonalBankStmt6Mos","PersonalBankStmt12Mos","PersonalBankStmt18Mos","PersonalBankStmt24Mos","BusinessBankStmt1Mo","BusinessBankStmt6Mos","BusinessBankStmt12Mos","BusinessBankStmt18Mos","BusinessBankStmt24Mos","OneYearAltDoc","AssetRelated","InvestorDscr","RestrictedStock","InvestorNoRatio","PersonalBankStmt3Mos","BusinessBankStmt3Mos","TwoYearAltDoc","WrittenVOE","Stated","OneYear1099","TwoYear1099","PLOneYear","PLTwoYear","NoIncomeVerification"],"type":"string","description":"How the borrower's income is documented, for expanded-guideline (non-agency) pricing. FullDoc is full documentation; PersonalBankStmt and BusinessBankStmt values (1, 3, 6, 12, 18 or 24 months) qualify on personal or business bank statements covering that many months; OneYearAltDoc and TwoYearAltDoc are alternative documentation for one or two years; OneYear1099 and TwoYear1099 use 1099 income; PLOneYear and PLTwoYear use a profit-and-loss statement; WrittenVOE is a written verification of employment; AssetRelated qualifies on assets; InvestorDscr qualifies an investment property on its debt service coverage ratio; InvestorNoRatio is an investor loan with no ratio qualification; RestrictedStock uses restricted-stock income; Stated is stated income; NoIncomeVerification means income is not verified."},"ExpandedGuidelinesHousingEventType":{"enum":["None","DeedInLieu","Foreclosure","Modification","ShortSale","Forbearance"],"type":"string","description":"A negative housing event in the borrower's history, for expanded-guideline (non-agency) pricing. None means there was none; otherwise DeedInLieu (deed in lieu of foreclosure), Foreclosure, Modification (loan modification), ShortSale or Forbearance."},"ExpandedGuidelinesHousingEventSeasoning":{"enum":["NotApplicable","Last1To12Months","Last13To24Months","Last25To36Months","Last37To48Months","Last49To60Months","MoreThanFiveYearsAgo"],"type":"string","description":"How long ago the borrower's housing event (foreclosure, short sale and the like) happened, for expanded-guideline (non-agency) pricing. NotApplicable means it never happened; Last1To12Months through Last49To60Months are the 12-month windows counted back from today (1 to 12 months ago, 13 to 24, 25 to 36, 37 to 48, 49 to 60); MoreThanFiveYearsAgo is older than 60 months."},"ExpandedGuidelinesBankruptcyType":{"enum":["None","Chapter7","Chapter11","Chapter13"],"type":"string","description":"Chapter of the borrower's bankruptcy, for expanded-guideline (non-agency) pricing. None means no bankruptcy; otherwise Chapter7, Chapter11 or Chapter13."},"ExpandedGuidelinesBankruptcyOutcome":{"enum":["NotApplicable","Discharged","Dismissed","OpenOrPending"],"type":"string","description":"How the borrower's bankruptcy ended, for expanded-guideline (non-agency) pricing. NotApplicable means no bankruptcy; Discharged means the debts were discharged; Dismissed means the case was dismissed without discharge; OpenOrPending means the case is not yet resolved."},"ExpandedGuidelinesBankruptcySeasoning":{"enum":["NotApplicable","Last1To12Months","Last13To24Months","Last25To36Months","Last37To48Months","Last49To60Months","MoreThanFiveYearsAgo"],"type":"string","description":"How long ago the borrower's bankruptcy happened, for expanded-guideline (non-agency) pricing. NotApplicable means it never happened; Last1To12Months through Last49To60Months are the 12-month windows counted back from today (1 to 12 months ago, 13 to 24, 25 to 36, 37 to 48, 49 to 60); MoreThanFiveYearsAgo is older than 60 months."},"LoanPricingCriteriaFeesIn":{"enum":["No","Yes"],"type":"string","description":"Fees-in pricing option. Pricing is always run with No, so a Yes sent here has no effect today."},"SearchPricingQmInformation":{"type":"object","properties":{"refinancePrepaymentFeeAmount":{"type":"number","description":"Refinance prepayment fee in USD.","format":"double"},"creditInsuranceFeeAmount":{"type":"number","description":"Credit insurance fee in USD.","format":"double"},"cashIncentiveDiscountAmount":{"type":"number","description":"Cash incentive / discount applied at closing in USD.","format":"double"},"escrowTrusteeFeeAmount":{"type":"number","description":"Escrow / trustee fee in USD.","format":"double"},"propertyAssessmentFeeAmount":{"type":"number","description":"Property assessment fee in USD.","format":"double"},"notaryCreditReportFeeAmount":{"type":"number","description":"Notary / credit report fee in USD.","format":"double"},"documentPreparationFeeAmount":{"type":"number","description":"Document preparation fee in USD.","format":"double"},"titleFeeAmount":{"type":"number","description":"Title fee in USD.","format":"double"},"borrowerPaidLoCompensation":{"type":"number","description":"Borrower-paid LO compensation in USD.","format":"double"},"additionalQmFeesAffectApor":{"type":"boolean","description":"If true, additional QM fees count toward the APOR comparison."},"additionalQmFeeAmount":{"type":"number","description":"Additional QM fees in USD beyond the itemized categories.","format":"double"},"financedPmi":{"type":"number","description":"Financed PMI / MIP rolled into the loan, in USD.","format":"double"}},"additionalProperties":false,"description":"Optional itemized fees for the Qualified Mortgage points-and-fees test and the APOR comparison. Every amount is in dollars; leave the group out to treat all fees as zero. Used only when pricing from criteria; ignored when a loan is named."}}}}
```

## The SendESignPackageRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SendESignPackageRequest":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the package belongs to.","format":"uuid"},"packageId":{"type":"string","description":"Id (GUID) of the draft package to send.","format":"uuid"},"subject":{"type":"string","description":"The email subject the signers see; defaults to the package name.","nullable":true},"message":{"type":"string","description":"The message the signers see in the signing email; optional.","nullable":true}},"additionalProperties":false,"description":"loanApplicationId and packageId are ignored: the route supplies them."}}}}
```

## The SetLoanAppTaskConditionRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SetLoanAppTaskConditionRequest":{"type":"object","properties":{"conditionTaskId":{"type":"string","description":"The condition to file the task under. Null unlinks it from its current condition.","format":"uuid","nullable":true},"detachFromRequest":{"type":"boolean","description":"True moves only this task: it first leaves its multi-document request, so the request's\r\nother copies stay where they are and are no longer tied to it. False (the default) moves\r\nevery copy of the request together."}},"additionalProperties":false,"description":"Moves a task to a condition in one step: the link changes and any of the task's documents already filed in the Loan Origination System are re-associated from the old condition to the new one. A null conditionTaskId unlinks the task."}}}}
```

## The SetLoanApplicationTaskStatusRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SetLoanApplicationTaskStatusRequest":{"required":["status"],"type":"object","properties":{"status":{"type":"string","description":"Required. InProgress, Complete or Requested."}},"additionalProperties":false}}}}
```

## The SetLoanDocumentLosStatusBody object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SetLoanDocumentLosStatusBody":{"required":["status"],"type":"object","properties":{"status":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"rejectionReasonId":{"type":"string","description":"Required with Rejected on a document whose task is waiting for review: the rejection reason's\r\nid. Ignored otherwise.","format":"uuid","nullable":true},"rejectionReasonNote":{"type":"string","description":"An optional note to go with the rejection reason.","nullable":true}},"additionalProperties":false,"description":"The body of the status endpoints on both APIs. Rejecting a document whose task is waiting for review also needs `rejectionReasonId`."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."}}}}
```

## The SignaturePackage object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SignaturePackage":{"type":"object","properties":{"packageId":{"type":"string","description":"The id of the e-sign package as the Loan Origination System holds it.","nullable":true},"name":{"type":"string","description":"The package's name.","nullable":true},"sentTimestamp":{"type":"string","description":"The earliest created timestamp of the package's tasks.","format":"date-time"},"status":{"type":"string","description":"Signed, AwaitingSignature, Reviewed or Cancelled. Reviewed and Cancelled are only reported by a live read of the package.","nullable":true},"signedTimestamp":{"type":"string","description":"The last signer's, only when the package is signed.","format":"date-time","nullable":true},"signers":{"type":"array","items":{"$ref":"#/components/schemas/SignaturePackageSigner"},"description":"The people who must sign the package and whether each has.","nullable":true}},"additionalProperties":false,"description":"One e-sign package sent from the LOS for a loan and who has signed it, built from the loan's\r\nDisclosure tasks (one per signer). Carries no access link and no participant id: nothing here\r\nopens a signing session. Not loan-file data, so it is never part of the MISMO export."},"SignaturePackageSigner":{"type":"object","properties":{"name":{"type":"string","description":"The signer's name.","nullable":true},"role":{"type":"string","description":"Borrower or LoanOfficer.","nullable":true},"signedTimestamp":{"type":"string","description":"When the signer signed, in UTC (ISO 8601); null while they have not.","format":"date-time","nullable":true}},"additionalProperties":false}}}}
```

## The SignaturePackageSigner object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SignaturePackageSigner":{"type":"object","properties":{"name":{"type":"string","description":"The signer's name.","nullable":true},"role":{"type":"string","description":"Borrower or LoanOfficer.","nullable":true},"signedTimestamp":{"type":"string","description":"When the signer signed, in UTC (ISO 8601); null while they have not.","format":"date-time","nullable":true}},"additionalProperties":false}}}}
```

## The SnippetHighlight object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SnippetHighlight":{"type":"object","properties":{"start":{"type":"integer","description":"Character offset in the snippet where the matched term starts, counting from 0.","format":"int32"},"length":{"type":"integer","description":"Length of the matched term in characters.","format":"int32"}},"additionalProperties":false,"description":"A matched term inside a snippet: a character offset and length."}}}}
```

## The SourceLockInstruction object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SourceLockInstruction":{"type":"object","properties":{"status":{"type":"string","description":"Outcome of looking for the source price: Priced (the price is set), Unmapped (no source product is mapped to the locked product), NoSourcePricingAccount (the company has no source pricing account), SourceSearchFailed, SourceProductNotReturned or RateNotOnSourceSheet.","nullable":true},"message":{"type":"string","description":"In words, what happened when there is no price.","nullable":true},"sourceInvestor":{"type":"string","description":"Name of the source lender.","nullable":true},"sourceInvestorId":{"type":"integer","description":"Identifier of the source lender in the pricing engine.","format":"int32","nullable":true},"sourceProductName":{"type":"string","description":"Name of the source lender's product to lock.","nullable":true},"sourceProductCode":{"type":"string","description":"Product code of the source lender's product.","nullable":true},"portfolioProductCode":{"type":"string","description":"Code of the portfolio product the row was found by.","nullable":true},"rate":{"type":"number","description":"The selected note rate, in percent.","format":"double","nullable":true},"lockPeriod":{"type":"integer","description":"Lock period, in days.","format":"int32","nullable":true},"sourcePrice":{"type":"number","description":"The source lender's price at the selected rate and lock period, from its frozen rate sheet.","format":"double","nullable":true},"sourceRateSheetTime":{"type":"string","description":"When the source lender's rate sheet was published, ISO 8601.","format":"date-time","nullable":true},"portfolioPrice":{"type":"number","description":"The portfolio price the broker locked at, including the portfolio's margin.","format":"double","nullable":true},"priceDifference":{"type":"number","description":"portfolioPrice minus sourcePrice: the margin, in points.","format":"double","nullable":true}},"additionalProperties":false,"description":"The instruction for the lock desk: lock the source product with the source lender at the source price. It follows the selected row, so a move of the selected rate rewrites it from the source lender's frozen rate sheet. Shown to staff only."}}}}
```

## The SplitPartRange object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."}}}}
```

## The SplitSuggestion object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."}}}}
```

## The StartLoanApplicationResult object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"StartLoanApplicationResult":{"required":["loanApplicationId","started"],"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan.","format":"uuid"},"started":{"type":"boolean","description":"True when this call started the loan; false when it was already started and nothing changed."},"message":{"type":"string","description":"A short message about the outcome, for example that the loan was already started.","nullable":true}},"additionalProperties":false}}}}
```

## The Status object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"Status":{"type":"object","properties":{"statusCode":{"type":"string","description":"The agency's status code for the order.","nullable":true},"statusDescription":{"type":"string","description":"The agency's text for the status code.","nullable":true}},"additionalProperties":false,"description":"The outcome of a credit report order as the credit agency reports it."}}}}
```

## The StatusDetail object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"StatusDetail":{"type":"object","properties":{"displayOrder":{"type":"integer","description":"Position of the sub-step within its status.","format":"int32"},"code":{"type":"string","description":"Sub-step code.","nullable":true},"name":{"type":"string","description":"Sub-step display name.","nullable":true},"date":{"type":"string","description":"When the sub-step happened, ISO 8601; null if not yet.","format":"date-time","nullable":true}},"additionalProperties":false}}}}
```

## The StatusTracker object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"StatusTracker":{"type":"object","properties":{"lastCompletedStep":{"type":"string","description":"Label of the last step the loan completed.","nullable":true},"currentStepLabel":{"type":"string","description":"Label of the step the loan is on now.","nullable":true},"summaryLoanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/StatusTrackerLoanStatus"},"description":"The statuses shown in the summary view, with their progress.","nullable":true},"allLoanStatuses":{"type":"array","items":{"$ref":"#/components/schemas/StatusTrackerLoanStatusBase"},"description":"All statuses in the tracker, in display order.","nullable":true}},"additionalProperties":false,"description":"The borrower-facing progress tracker of a loan: the last completed step, the current step and the statuses shown."},"StatusTrackerLoanStatus":{"type":"object","properties":{"isComplete":{"type":"boolean","description":"True when the loan has passed this status."},"isInProgress":{"type":"boolean","description":"True when the loan is at this status now."},"isApproved":{"type":"boolean","description":"For the pre-approval status, true when approved and false when denied; null otherwise.","nullable":true},"subStatusLabel":{"type":"string","description":"A finer label for the status, when there is one.","nullable":true},"preApprovalDocumentId":{"type":"string","description":"Unique identifier (GUID) of the pre-approval letter document, when one was issued.","format":"uuid","nullable":true},"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the status in the tracker, starting at 0.","format":"int32"},"date":{"type":"string","description":"Date the loan reached the status (yyyy-MM-dd); null if not yet.","format":"date","nullable":true},"time":{"type":"string","description":"Time of day the loan reached the status, as text; null if not known.","nullable":true}},"additionalProperties":false},"StatusTrackerLoanStatusBase":{"type":"object","properties":{"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the status in the tracker, starting at 0.","format":"int32"},"date":{"type":"string","description":"Date the loan reached the status (yyyy-MM-dd); null if not yet.","format":"date","nullable":true},"time":{"type":"string","description":"Time of day the loan reached the status, as text; null if not known.","nullable":true}},"additionalProperties":false}}}}
```

## The StatusTrackerLoanStatus object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"StatusTrackerLoanStatus":{"type":"object","properties":{"isComplete":{"type":"boolean","description":"True when the loan has passed this status."},"isInProgress":{"type":"boolean","description":"True when the loan is at this status now."},"isApproved":{"type":"boolean","description":"For the pre-approval status, true when approved and false when denied; null otherwise.","nullable":true},"subStatusLabel":{"type":"string","description":"A finer label for the status, when there is one.","nullable":true},"preApprovalDocumentId":{"type":"string","description":"Unique identifier (GUID) of the pre-approval letter document, when one was issued.","format":"uuid","nullable":true},"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the status in the tracker, starting at 0.","format":"int32"},"date":{"type":"string","description":"Date the loan reached the status (yyyy-MM-dd); null if not yet.","format":"date","nullable":true},"time":{"type":"string","description":"Time of day the loan reached the status, as text; null if not known.","nullable":true}},"additionalProperties":false}}}}
```

## The StatusTrackerLoanStatusBase object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"StatusTrackerLoanStatusBase":{"type":"object","properties":{"code":{"type":"string","description":"Status code.","nullable":true},"name":{"type":"string","description":"Status display name.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the status in the tracker, starting at 0.","format":"int32"},"date":{"type":"string","description":"Date the loan reached the status (yyyy-MM-dd); null if not yet.","format":"date","nullable":true},"time":{"type":"string","description":"Time of day the loan reached the status, as text; null if not known.","nullable":true}},"additionalProperties":false}}}}
```

## The SubjectPropertyAddress object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SubjectPropertyAddress":{"type":"object","properties":{"propertyId":{"type":"string","description":"Identifier (GUID) of the property this address belongs to.","format":"uuid","nullable":true},"externalId":{"type":"string","description":"Id of the address record in the LOS. Null when it is not in the LOS yet.","nullable":true},"street":{"type":"string","description":"Street number and name.","nullable":true},"city":{"type":"string","description":"City.","nullable":true},"state":{"type":"string","description":"State, as the two-letter postal code.","nullable":true},"zipCode":{"type":"string","description":"ZIP or postal code.","nullable":true},"countryCode":{"type":"string","description":"Country, as a country code.","nullable":true},"county":{"type":"string","description":"County name.","nullable":true},"unitIdentifier":{"type":"string","description":"Apartment, suite or unit number.","nullable":true}},"additionalProperties":false,"description":"The address of the loan's subject property."}}}}
```

## The SubjectPropertyRentalIncome object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SubjectPropertyRentalIncome":{"type":"object","properties":{"estimatedMonthlyMarketRent":{"type":"number","description":"Estimated market rent of the subject property per month, in dollars.","format":"double","nullable":true}},"additionalProperties":false,"description":"Rental income of the subject property."}}}}
```

## The SubmitAppraisalRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SubmitAppraisalRequest":{"required":["contactName","contactPhone"],"type":"object","properties":{"contactName":{"maxLength":100,"minLength":0,"type":"string","description":"Who the appraiser contacts to get into the property."},"contactPhone":{"minLength":1,"type":"string","description":"Phone number of the person the appraiser contacts for access. Required."},"contactEmail":{"type":"string","description":"Email address of that contact; optional.","format":"email","nullable":true},"requestedDueDate":{"type":"string","description":"Date the appraisal is wanted by, ISO 8601; must be in the future.","format":"date-time","nullable":true},"rush":{"type":"boolean","description":"True to mark the request as rush."},"accessNotes":{"maxLength":1000,"minLength":0,"type":"string","description":"Notes on getting into the property, up to 1,000 characters.","nullable":true},"vendorId":{"type":"string","description":"The vendor the appraisal is asked of, by id. Optional; when given it must be a vendor enabled for the caller. Accepted but not used by the Partner API.","format":"uuid","nullable":true},"products":{"type":"array","items":{"type":"string"},"description":"One to five product names the vendor lists. Needs vendorId; checked against the vendor's current list. Accepted but not used by the Partner API.","nullable":true},"suggestedProducts":{"type":"array","items":{"type":"string"},"description":"What the product suggestion returned when the request was made, kept with the request. Accepted but not used by the Partner API.","nullable":true}},"additionalProperties":false,"description":"An appraisal request: the order details the requester types, emailed to processing. Only the contact name and phone are required. The property, borrowers and loan number come from the loan. The request is refused until the loan's initial Loan Estimate is signed."}}}}
```

## The SubmitDocumentPasswordBody object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"SubmitDocumentPasswordBody":{"required":["password"],"type":"object","properties":{"password":{"type":"string","description":"The password of the protected PDF. It is used once to unlock the file and is never stored."}},"additionalProperties":false,"description":"The password of a protected PDF that is held until it is given."}}}}
```

## The TaskAssigneeRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskAssigneeRequest":{"type":"object","properties":{"userId":{"type":"string","description":"Id (GUID) of the staff user to assign the task to, from the assignable users list. When sent, the task becomes a user task.","format":"uuid","nullable":true},"borrowerId":{"type":"string","description":"Id (GUID) of the borrower to address the task to. Used only when userId is not sent; omit it to address the loan's borrowers generally.","format":"uuid","nullable":true}},"additionalProperties":false,"description":"The new assignee of a task: an internal user, or a borrower. Send userId for a user task (one of\r\nGET loan-applications/{id}/tasks/assignable-users); otherwise the task becomes a borrower task,\r\naddressed to borrowerId when sent and to the loan's borrowers generally when not. Send userId, or borrowerId, or neither (the loan's borrowers generally); not both."}}}}
```

## The TaskAssignmentType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskAssignmentType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the assignment type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the assignment type.","nullable":true},"name":{"type":"string","description":"Display name of the assignment type.","nullable":true}},"additionalProperties":false,"description":"Who a task is assigned to: a borrower or a user."}}}}
```

## The TaskDocumentResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskDocumentResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once the uploaded file has been converted to PDF and can be opened; false while conversion is still running."}},"additionalProperties":false,"description":"The document attached to a task."}}}}
```

## The TaskItemResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskItemResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the task.","format":"uuid"},"name":{"type":"string","description":"The task's name.","nullable":true},"description":{"type":"string","description":"What the task asks for, in plain language.","nullable":true},"updatedTaskStatusTimestamp":{"type":"string","description":"When the task's status last changed, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the task was last changed, in UTC (ISO 8601).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created, in UTC (ISO 8601).","format":"date-time"},"item":{"$ref":"#/components/schemas/ItemResponse"},"type":{"$ref":"#/components/schemas/TaskTypeResponse"},"status":{"$ref":"#/components/schemas/TaskStatusResponse"},"rejectionReasonNote":{"type":"string","description":"A note explaining why the task's document was rejected; null when it was not rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReasonResponse"},"creditReportType":{"$ref":"#/components/schemas/CreditReportTypeResponse"},"document":{"$ref":"#/components/schemas/TaskDocumentResponse"},"assetAccountId":{"type":"string","description":"The asset account the task is on, if any.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the requested period.","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the requested period.","format":"date","nullable":true}},"additionalProperties":false},"ItemResponse":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the item.","format":"uuid"},"name":{"type":"string","description":"Display name of the item.","nullable":true}},"additionalProperties":false,"description":"The item a task is about."},"TaskTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the task type.","format":"uuid"},"name":{"type":"string","description":"The task type's name.","nullable":true}},"additionalProperties":false,"description":"The type (task set) a task belongs to."},"TaskStatusResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the status.","format":"uuid"},"name":{"type":"string","description":"The status name.","nullable":true}},"additionalProperties":false,"description":"A task's status."},"TaskRejectionReasonResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the rejection reason.","format":"uuid"},"name":{"type":"string","description":"The rejection reason's name.","nullable":true}},"additionalProperties":false,"description":"The reason a task's document was rejected."},"CreditReportTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the credit report type.","format":"uuid"},"name":{"type":"string","description":"The credit report type's name.","nullable":true}},"additionalProperties":false,"description":"A credit report type (such as soft pull or hard pull), as listed by the credit report types lookup."},"TaskDocumentResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once the uploaded file has been converted to PDF and can be opened; false while conversion is still running."}},"additionalProperties":false,"description":"The document attached to a task."}}}}
```

## The TaskPipelineItem object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskPipelineItem":{"type":"object","properties":{"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the task or condition belongs to.","format":"uuid"},"externalLoanNumber":{"type":"string","description":"The loan's number in the Loan Origination System.","nullable":true},"borrowers":{"type":"array","items":{"type":"string"},"description":"Names of the loan's borrowers.","nullable":true},"agent":{"$ref":"#/components/schemas/LoanAppUser"},"referredBy":{"$ref":"#/components/schemas/LoanAppUser"},"isLocalCondition":{"type":"boolean","description":"True for a condition row that groups the loan's document requests by document type. It is not a task: its id is empty and its status is null."},"groupCode":{"type":"string","description":"For a grouped condition row, the code of the document type group it stands for; null otherwise.","nullable":true},"taskCount":{"type":"integer","description":"For a grouped condition row, the number of document requests in it. A request with several documents counts once.","format":"int32"},"requestedTaskCount":{"type":"integer","description":"For a grouped condition row, how many of its document requests are still in the Requested status.","format":"int32"},"id":{"type":"string","description":"Id of the task or condition (GUID).","format":"uuid","nullable":true},"taskStatusTimestamp":{"type":"string","description":"When the task's status last changed (ISO 8601 date and time, UTC).","format":"date-time","nullable":true},"updatedTimestamp":{"type":"string","description":"When the task was last changed (ISO 8601 date and time, UTC).","format":"date-time"},"createdTimestamp":{"type":"string","description":"When the task was created (ISO 8601 date and time, UTC).","format":"date-time"},"item":{"$ref":"#/components/schemas/Item"},"assignedToBorrowerId":{"type":"string","description":"Id (GUID) of the borrower the task is assigned to. Null for a user task or a task for the loan's borrowers generally.","format":"uuid","nullable":true},"status":{"$ref":"#/components/schemas/TaskStatus"},"document":{"$ref":"#/components/schemas/Document"},"rejectionReasonNote":{"type":"string","description":"The reviewer's free-text note when the task's document was rejected.","nullable":true},"rejectionReason":{"$ref":"#/components/schemas/TaskRejectionReason"},"creditReportType":{"$ref":"#/components/schemas/PosCreditReportType"},"isForPrimaryBorrower":{"type":"boolean","description":"True when the task is for the primary borrower, false when it is for the co-borrower. Null when it is for neither in particular.","nullable":true},"isRequired":{"type":"boolean","description":"Whether the task must be completed before the file can move forward."},"isAccountMainTask":{"type":"boolean","description":"True for the main task of an asset account, the one that requests the account's statements."},"questionType":{"$ref":"#/components/schemas/TaskQuestionType"},"yesNoResponse":{"type":"boolean","description":"The borrower's answer to a yes/no question task. Null until answered.","nullable":true},"shortAnswer":{"type":"string","description":"The borrower's answer to a short-answer question task. Null until answered.","nullable":true},"assignedToUser":{"$ref":"#/components/schemas/LoanAppUser"},"name":{"type":"string","description":"Display name of the task or condition.","nullable":true},"description":{"type":"string","description":"Description of the task. For a condition, the condition text: the reworded text when staff edited it in Henge, otherwise the LOS text.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the task among its siblings, lowest first.","format":"int32","nullable":true},"type":{"$ref":"#/components/schemas/TaskType"},"code":{"type":"string","description":"Short code of the task.","nullable":true},"conditionNo":{"type":"integer","description":"Condition number in the LOS. Conditions only.","format":"int32","nullable":true},"conditionCategory":{"type":"string","description":"Category of the condition in the LOS. Conditions only.","nullable":true},"conditionDueDate":{"type":"string","description":"Due date of the condition (ISO 8601 date). Conditions only.","format":"date","nullable":true},"conditionAssignedUserFullName":{"type":"string","description":"Full name of the user the condition is assigned to in the LOS. Conditions only.","nullable":true},"conditionBorrowerFullName":{"type":"string","description":"Full name of the borrower the condition is for. Conditions only.","nullable":true},"conditionIsHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower. Staff roles still see it; a caller that receives a hidden condition is entitled to it.","nullable":true},"conditionSourceText":{"type":"string","description":"The LOS's original condition text. Set only when staff reworded the condition in Henge, in which case description carries the rewording; null otherwise.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True when staff reworded this condition in Henge. The rewording is never sent to the LOS."},"notes":{"type":"string","description":"Notes on the task or condition.","nullable":true},"taskAssignmentType":{"$ref":"#/components/schemas/TaskAssignmentType"},"isSubscribed":{"type":"boolean","description":"Whether the calling user is subscribed to status-change notifications for this task. Null when not computed.","nullable":true},"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition this task belongs to. Null on conditions and on standalone tasks. Read on create; ignored on update.","format":"uuid","nullable":true},"assetAccountId":{"type":"string","description":"Id (GUID) of the asset account the task belongs to, if any. Needed on create only for a Transaction History task; ignored on update.","format":"uuid","nullable":true},"assetAccountName":{"type":"string","description":"Name of the asset account the task belongs to. Response only, and filled only where the response includes accounts.","nullable":true},"creditReportNumber":{"type":"string","description":"For credit report tasks, the credit agency's report number.","nullable":true},"requestTaskId":{"type":"string","description":"Id of the first task of the document request this task is a copy of (one task per document). Null on the first task itself. On create, naming any task of a request makes the new task a copy that joins that request.","format":"uuid","nullable":true},"requestedStartDate":{"type":"string","description":"Transaction History tasks only: the first day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Transaction History tasks only: the last day of the period the account activity must cover (ISO 8601 date).","format":"date","nullable":true},"ownerPairId":{"type":"string","description":"Id (GUID) of the borrower pair staff made the owner of this task or condition. Empty when the owner is worked out on read.","format":"uuid","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True for a whole-loan task or condition that every borrower pair sees."}},"additionalProperties":false},"LoanAppUser":{"type":"object","properties":{"id":{"type":"string","description":"Id of the user (GUID).","format":"uuid"},"firstName":{"type":"string","description":"The user's first name.","nullable":true},"lastName":{"type":"string","description":"The user's last name.","nullable":true}},"additionalProperties":false,"description":"A user, such as the staff member a task is assigned to."},"Item":{"type":"object","properties":{"id":{"type":"string","description":"Id of the item (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the item; send it as the item code when you create a task.","nullable":true},"name":{"type":"string","description":"Display name of the item.","nullable":true},"groupCode":{"type":"string","description":"Code of the condition group the item's tasks are shown under. Null means Other.","nullable":true},"canCreateManually":{"type":"boolean","description":"True when staff can create a task for this item by hand."},"canUploadDocument":{"type":"boolean","description":"True when a document can be uploaded against this item."}},"additionalProperties":false,"description":"A kind of request a task can ask for, such as a specific document."},"TaskStatus":{"type":"object","properties":{"id":{"type":"string","description":"Id of the status (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the status.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a task, for example Requested, Uploaded, Submitted or Accepted."},"Document":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"name":{"type":"string","description":"The document's file name.","nullable":true},"externalId":{"type":"string","description":"The document's id in the Loan Origination System; empty until it has been sent there.","nullable":true},"isPdfConversionComplete":{"type":"boolean","description":"True once an uploaded file has been converted to PDF and can be opened; false while conversion is still running."},"loanApplicationId":{"type":"string","description":"Id (GUID) of the loan the document belongs to.","format":"uuid","nullable":true},"loanApplicationTaskId":{"type":"string","description":"Id of the task or condition the document is attached to; null for a document uploaded straight to the loan.","format":"uuid","nullable":true},"blobName":{"type":"string","description":"The name the file is stored under. An internal storage key: download through the document routes rather than using it.","nullable":true},"createdTimestamp":{"type":"string","description":"When the document was created, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the document was last changed, in UTC (ISO 8601).","format":"date-time"},"updatedBy":{"type":"string","description":"Id of the user who last changed the document; null when the change was automatic or unknown.","format":"uuid","nullable":true},"documentTypeId":{"type":"string","description":"Id of the platform's broad document category (such as a vault or task document). Not the loan document type, which is loanDocumentTypeId.","format":"uuid","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan's vault, false when it hangs off a\r\ntask, a condition or an asset account. Callers use it to decide what a user may do with the\r\ndocument: only a vault document can be deleted. Any document can be given a document type."},"loanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document is filed under (from the loan document types list); null when it has none.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the loan document type; null when the document has none.","nullable":true},"loanDocumentTypeExternalId":{"type":"string","description":"The loan document type's id in the Loan Origination System.","nullable":true},"loanDocumentTypeFolderName":{"type":"string","description":"Name of the folder the loan document type belongs to; null when the document has no type.","nullable":true},"description":{"type":"string","description":"A free-text description of the document; may be empty.","nullable":true},"isDeleted":{"type":"boolean","description":"True when the document has been deleted. Deleted documents are normally left out of lists."},"isInternal":{"type":"boolean","description":"True for a staff-only document that is hidden from borrowers and partner applications."},"isObsolete":{"type":"boolean","description":"The LOS no longer considers this document active. It stays visible so users can still see\r\nit, but it is not current and is never pushed back to the LOS."},"isProtected":{"type":"boolean","description":"The LOS holds the document as Protected, locked there against edits and deletion. Set and\r\ncleared by Admin and Processor through the document status endpoints, or in the LOS itself."},"losStatus":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"title":{"type":"string","description":"The title shown for the document; may be empty, in which case the file name is shown.","nullable":true},"splitFromDocumentId":{"type":"string","description":"On a part of a split combined PDF: the id of the original document it was cut from. Null on every other document.","format":"uuid","nullable":true},"splitStartPage":{"type":"integer","description":"On a part of a split combined PDF: the first page of the original it holds. Null on every other document.","format":"int32","nullable":true},"splitEndPage":{"type":"integer","description":"On a part of a split combined PDF: the last page of the original it holds. Null on every other document.","format":"int32","nullable":true},"isUnsorted":{"type":"boolean","description":"True while the document was bulk-uploaded to the loan with no task and no type and nobody has\r\nsorted it. It is held out of the LOS until it is put on a task or given a type."},"hasNoFile":{"type":"boolean","description":"True for a staff-only entry the Loan Origination System holds with no file here (a non-PDF assigned to a condition): there is nothing to open, download or move."},"intakeStatus":{"type":"string","description":"NeedsPassword or Duplicate for a bulk-uploaded document that is held for that reason; null\r\notherwise. See DocumentIntakeStatuses.","nullable":true},"duplicateOfDocumentId":{"type":"string","description":"The existing document this one repeats, when IntakeStatus is Duplicate.","format":"uuid","nullable":true},"indexStatus":{"type":"string","description":"Whether the document's text is searchable: Indexed, Pending, Failed or NotSubmitted. Set by\r\nthe document lists for staff callers; null when it was not looked up, or the lookup failed.","nullable":true},"analysis":{"$ref":"#/components/schemas/DocumentAnalysisSummary"},"internalNotes":{"type":"string","description":"Staff-only internal notes on the document, verbatim from the Loan Origination System. Returned only to callers who may see internal notes; null for everyone else.","nullable":true}},"additionalProperties":false,"description":"A document on a loan: the file, the task or condition it is attached to, its type and its status."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."},"DocumentAnalysisSummary":{"type":"object","properties":{"status":{"type":"string","description":"Pending, Completed, Failed or Skipped. Failed reads \"Not analysed\".","nullable":true},"verdict":{"type":"string","description":"Whether the document is what was asked for: Matches, Mismatch, Unreadable or Unknown.","nullable":true},"reasonCode":{"type":"string","description":"On a Mismatch, why: WrongDocument, WrongPeriod, WrongAccount, WrongBorrower, MissingPages or Expired. On an Unreadable verdict from the page quality check, UnreadablePages.","nullable":true},"reason":{"type":"string","description":"One line in plain language explaining the verdict, written for the borrower.","nullable":true},"suggestedRejectionReasonCode":{"type":"string","description":"The seeded TaskRejectionReason code the panel pre-selects for a Mismatch.","nullable":true},"suggestedTaskId":{"type":"string","description":"Id of the task or condition the document appears to belong to; null when none matched.","format":"uuid","nullable":true},"suggestedTaskName":{"type":"string","description":"Name of the suggested task or condition.","nullable":true},"isOnSuggestedTask":{"type":"boolean","description":"False when the document sits on a different task than the best match: shown for confirmation."},"matchConfidence":{"type":"number","description":"How sure the analysis is of the suggested task, from 0 to 1.","format":"double","nullable":true},"suggestedLoanDocumentTypeId":{"type":"string","description":"Id of the loan document type the document looks like; null when not determined.","format":"uuid","nullable":true},"suggestedLoanDocumentTypeName":{"type":"string","description":"Name of the suggested loan document type.","nullable":true},"suggestedTitle":{"type":"string","description":"The title the analysis suggests for the document, built from what it read (for example the account and statement period).","nullable":true},"titleAppliedAutomatically":{"type":"boolean","description":"True when the document's current title was set by the analysis rather than by a person."},"previousTitle":{"type":"string","description":"The title the document had before the analysis renamed it; null when it was not renamed.","nullable":true},"autoNameDisabled":{"type":"boolean","description":"True when a person undid an automatic name; the analysis never renames this document again."},"filedByType":{"type":"boolean","description":"Filed under the suggested LOS type and folder by the analysis, for a person to confirm or correct."},"duplicateOfDocumentId":{"type":"string","description":"Id of an earlier document on the loan with the same content, when this one repeats it; otherwise null.","format":"uuid","nullable":true},"supersedesDocumentId":{"type":"string","description":"Id of an earlier document this one replaces (a newer version of the same document); otherwise null.","format":"uuid","nullable":true},"supersededByDocumentId":{"type":"string","description":"Id of a newer document that replaces this one; otherwise null.","format":"uuid","nullable":true},"outcome":{"type":"string","description":"What a person did with the suggestion: Confirmed, Corrected, Rejected or Ignored; null while no one has acted.","nullable":true},"outcomeAt":{"type":"string","description":"When the person acted on the suggestion, in UTC (ISO 8601); null while no one has.","format":"date-time","nullable":true},"coveredPeriods":{"type":"array","items":{"type":"string"},"description":"For a request that needs a span of statements, the months the uploaded documents cover, each formatted yyyy-MM.","nullable":true},"missingPeriods":{"type":"array","items":{"type":"string"},"description":"The requested months no uploaded document covers yet, each formatted yyyy-MM.","nullable":true},"monthsMissing":{"type":"integer","description":"How many months of the request are still missing.","format":"int32","nullable":true},"analyzedAt":{"type":"string","description":"When the analysis was done, in UTC (ISO 8601).","format":"date-time"},"splitSuggestion":{"$ref":"#/components/schemas/SplitSuggestion"},"pageIssues":{"type":"array","items":{"$ref":"#/components/schemas/PageIssue"},"description":"The pages the quality check flagged, which the Unreadable-page request names.","nullable":true}},"additionalProperties":false,"description":"What the document review shows for a document: the suggested task, type and title, the verdict and whether the title was applied automatically. The evidence and page text the analysis read are not included."},"SplitSuggestion":{"type":"object","properties":{"pageCount":{"type":"integer","description":"Number of pages in the PDF that was analysed.","format":"int32"},"parts":{"type":"array","items":{"$ref":"#/components/schemas/SplitPartRange"},"description":"The suggested page ranges, one per document found.","nullable":true},"reason":{"type":"string","description":"The segmenter's account of why, e.g. \"3 document(s) across 12 page(s)\".","nullable":true}},"additionalProperties":false,"description":"The split suggested for a PDF that holds several documents and was not split on upload. Nothing changes until a person accepts it."},"SplitPartRange":{"type":"object","properties":{"startPage":{"type":"integer","description":"First page of the run, counting from 1.","format":"int32"},"endPage":{"type":"integer","description":"Last page of the run, inclusive.","format":"int32"},"loanDocumentTypeId":{"type":"string","description":"What the segmenter took the run to be, for the suggestion only. Never trusted when splitting.","format":"uuid","nullable":true},"loanDocumentTypeName":{"type":"string","description":"Name of the document type the run was taken to be, for the suggestion only.","nullable":true}},"additionalProperties":false,"description":"One run of pages of a combined PDF that is one document. 1-based, inclusive."},"PageIssue":{"type":"object","properties":{"page":{"type":"integer","description":"The page the issue is on, starting at 1.","format":"int32"},"kind":{"type":"string","description":"The problem found: Blank (no text), LowConfidence (scan quality too low to read reliably) or CutOff (text stops mid-sentence).","nullable":true}},"additionalProperties":false,"description":"A page the quality check flagged. 1-based, in the document the analysis read."},"TaskRejectionReason":{"type":"object","properties":{"id":{"type":"string","description":"Id of the rejection reason (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the rejection reason.","nullable":true},"code":{"type":"string","description":"Stable code of the rejection reason.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the reason in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"A reason a reviewer gives for rejecting a task's document."},"PosCreditReportType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the report type (GUID).","format":"uuid","nullable":true},"code":{"type":"string","description":"Stable code of the report type.","nullable":true},"name":{"type":"string","description":"Display name of the report type.","nullable":true}},"additionalProperties":false,"description":"The type of credit report a credit report task asks for."},"TaskQuestionType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the question type (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the question type.","nullable":true},"code":{"type":"string","description":"Stable code of the question type.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the question type in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"For a question task, the kind of answer it asks for, such as yes/no or a short answer."},"TaskType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the task type.","nullable":true},"name":{"type":"string","description":"Display name of the task type.","nullable":true}},"additionalProperties":false,"description":"The kind of task."},"TaskAssignmentType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the assignment type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the assignment type.","nullable":true},"name":{"type":"string","description":"Display name of the assignment type.","nullable":true}},"additionalProperties":false,"description":"Who a task is assigned to: a borrower or a user."}}}}
```

## The TaskQuestionType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskQuestionType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the question type (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the question type.","nullable":true},"code":{"type":"string","description":"Stable code of the question type.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the question type in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"For a question task, the kind of answer it asks for, such as yes/no or a short answer."}}}}
```

## The TaskRejectionReason object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskRejectionReason":{"type":"object","properties":{"id":{"type":"string","description":"Id of the rejection reason (GUID).","format":"uuid"},"name":{"type":"string","description":"Display name of the rejection reason.","nullable":true},"code":{"type":"string","description":"Stable code of the rejection reason.","nullable":true},"displayOrder":{"type":"integer","description":"Position of the reason in lists, lowest first.","format":"int32","nullable":true}},"additionalProperties":false,"description":"A reason a reviewer gives for rejecting a task's document."}}}}
```

## The TaskRejectionReasonRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskRejectionReasonRequest":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the rejection reason, from the task rejection reasons lookup.","format":"uuid"},"name":{"type":"string","description":"The rejection reason's name.","nullable":true}},"additionalProperties":false,"description":"The reason a task's document is rejected, chosen from the task rejection reasons lookup."}}}}
```

## The TaskRejectionReasonResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskRejectionReasonResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the rejection reason.","format":"uuid"},"name":{"type":"string","description":"The rejection reason's name.","nullable":true}},"additionalProperties":false,"description":"The reason a task's document was rejected."}}}}
```

## The TaskStatus object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskStatus":{"type":"object","properties":{"id":{"type":"string","description":"Id of the status (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the status.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a task, for example Requested, Uploaded, Submitted or Accepted."}}}}
```

## The TaskStatusResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskStatusResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the status.","format":"uuid"},"name":{"type":"string","description":"The status name.","nullable":true}},"additionalProperties":false,"description":"A task's status."}}}}
```

## The TaskSummary object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskSummary":{"type":"object","properties":{"status":{"$ref":"#/components/schemas/TaskStatus"},"count":{"type":"integer","description":"Number of tasks in this status.","format":"int32"},"isUserTask":{"type":"boolean","description":"True when the count is of tasks assigned to staff users, false when it is of tasks assigned to borrowers."}},"additionalProperties":false},"TaskStatus":{"type":"object","properties":{"id":{"type":"string","description":"Id of the status (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the status.","nullable":true},"name":{"type":"string","description":"Display name of the status.","nullable":true}},"additionalProperties":false,"description":"The status of a task, for example Requested, Uploaded, Submitted or Accepted."}}}}
```

## The TaskType object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskType":{"type":"object","properties":{"id":{"type":"string","description":"Id of the task type (GUID).","format":"uuid"},"code":{"type":"string","description":"Stable code of the task type.","nullable":true},"name":{"type":"string","description":"Display name of the task type.","nullable":true}},"additionalProperties":false,"description":"The kind of task."}}}}
```

## The TaskTypeRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskTypeRequest":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the task type, from the task types lookup.","format":"uuid"},"name":{"type":"string","description":"The task type's name.","nullable":true}},"additionalProperties":false,"description":"The type (task set) a task belongs to, chosen from the task types lookup."}}}}
```

## The TaskTypeResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TaskTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the task type.","format":"uuid"},"name":{"type":"string","description":"The task type's name.","nullable":true}},"additionalProperties":false,"description":"The type (task set) a task belongs to."}}}}
```

## The TemporaryBuydownStep object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TemporaryBuydownStep":{"type":"object","properties":{"rateReduction":{"type":"number","description":"Points the note rate is reduced by during this step (number, 2 means 2 points). Not negative.","format":"double"},"months":{"type":"integer","description":"Months this step lasts (integer). Required when rateReduction is above 0.","format":"int32"}},"additionalProperties":false,"description":"One step of a temporary buydown: how many points the rate is reduced for how many months."}}}}
```

## The TokenErrorResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TokenErrorResponse":{"type":"object","properties":{"error":{"type":"string","description":"The OAuth error code, for example `invalid_client` or `invalid_request`.","nullable":true},"error_description":{"type":"string","description":"A human-readable explanation of the error; omitted when there is none.","nullable":true}},"additionalProperties":false,"description":"The OAuth error body (RFC 6749 section 5.2) `POST /oauth/token` returns on failure."}}}}
```

## The TokenRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TokenRequest":{"required":["client_id","client_secret"],"type":"object","properties":{"client_id":{"type":"string","description":"Your application's client id, issued by Henge."},"client_secret":{"type":"string","description":"Your application's client secret. Keep it server-side; it is never echoed or logged."}},"additionalProperties":false}}}}
```

## The TokenResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TokenResponse":{"type":"object","properties":{"access_token":{"type":"string","description":"The bearer token. Send it as `Authorization: Bearer <token>` on every other call."},"scope":{"type":"string","description":"Space-separated scopes granted to your application. Each endpoint states the scope it needs.","nullable":true},"expires_in":{"type":"integer","description":"Seconds until the token expires. Cache the token and reuse it across calls; get a new one shortly before it expires (for example when under 60 seconds remain), not per request and not in a loop on 401.","format":"int32"},"token_type":{"type":"string","description":"Always `Bearer`.","nullable":true}},"additionalProperties":false}}}}
```

## The TotalLoanAmountDetails object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TotalLoanAmountDetails":{"type":"object","properties":{"totalLoanAmount":{"type":"number","description":"Base loan amount plus the financed upfront fee, in dollars.","format":"double"},"upfrontPmiMipFfGfPercent":{"type":"number","description":"Upfront mortgage insurance or funding fee, as a percent of the base loan amount.","format":"double"},"upfrontPmiMipFfGfAmount":{"type":"number","description":"Upfront mortgage insurance or funding fee, in dollars.","format":"double"},"upfrontPmiMipFfGfPaidinCash":{"type":"number","description":"Portion of the upfront fee the borrower pays in cash at closing, in dollars.","format":"double"},"upfrontPmiMipFfGfFinancedAmount":{"type":"number","description":"Portion of the upfront fee added to the loan amount, in dollars.","format":"double"}},"additionalProperties":false,"description":"The total loan amount with the upfront mortgage insurance or guarantee fee (FHA MIP, VA or USDA funding fee, private MI) added, and how that fee is split between cash and financing."}}}}
```

## The TypeResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"TypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the type; send it where an endpoint asks for this type.","format":"uuid"},"name":{"type":"string","description":"Display name of the type.","nullable":true}},"additionalProperties":false}}}}
```

## The UnsortedDocumentResult object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UnsortedDocumentResult":{"type":"object","properties":{"fileName":{"type":"string","description":"The name of the uploaded file this result is for.","nullable":true},"status":{"type":"string","description":"What happened to the file: Unsorted (stored as an unsorted loan document), NeedsPassword (stored, but held until the PDF's password is entered) or Rejected (not stored; reason says why).","nullable":true},"documentId":{"type":"string","description":"The new document's id; null for a rejected file.","format":"uuid","nullable":true},"reason":{"type":"string","description":"Why the file was rejected; null otherwise.","nullable":true}},"additionalProperties":false}}}}
```

## The UpdateConditionTextRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UpdateConditionTextRequest":{"type":"object","properties":{"text":{"type":"string","description":"The replacement condition text. Null, empty or whitespace reverts to the Loan Origination System's own wording.","nullable":true}},"additionalProperties":false,"description":"Rewords a condition for the people working the loan without changing the Loan Origination System. A null, empty or whitespace text clears the rewording and restores the original wording."}}}}
```

## The UpdateConditionTextResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UpdateConditionTextResponse":{"type":"object","properties":{"conditionTaskId":{"type":"string","description":"Id (GUID) of the condition's task.","format":"uuid"},"description":{"type":"string","description":"The condition text to display after the update: the rewording when there is one, otherwise the Loan Origination System's text.","nullable":true},"conditionSourceText":{"type":"string","description":"The Loan Origination System's own text, returned only while a rewording is in effect so a caller can show the original and offer a revert. Null once the rewording is cleared.","nullable":true},"isConditionTextEdited":{"type":"boolean","description":"True while a local rewording is in effect."}},"additionalProperties":false}}}}
```

## The UpdateLiabilityResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UpdateLiabilityResponse":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the liability.","format":"uuid"},"createdTimestamp":{"type":"string","description":"When the liability was created, ISO 8601 in UTC.","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the liability was last changed, ISO 8601 in UTC.","format":"date-time"},"figures":{"$ref":"#/components/schemas/LoanFigures"},"routedTo":{"type":"string","description":"Where the write was kept: Henge or the LOS (for a locked loan). Set only by agent tools; otherwise absent.","nullable":true}},"additionalProperties":false},"LoanFigures":{"type":"object","properties":{"frontEndDti":{"type":"number","description":"Qualifying front-end (housing expense) ratio, `sQualTopR`.","format":"double","nullable":true},"backEndDti":{"type":"number","description":"Qualifying back-end (total debt) ratio, `sQualBottomR`.","format":"double","nullable":true},"ltv":{"type":"number","description":"Base loan-to-value ratio, `sLtvR`.","format":"double","nullable":true},"cltv":{"type":"number","description":"Base combined loan-to-value ratio, `sCltvR`.","format":"double","nullable":true},"totalIncome":{"type":"number","description":"Total qualifying monthly income, `sLTotI`.","format":"double","nullable":true},"totalPayment":{"type":"number","description":"Total proposed monthly payment, `sMonthlyPmt`.","format":"double","nullable":true},"cashToClose":{"type":"number","description":"Cash to close, `sTransNetCash`.","format":"double","nullable":true}},"additionalProperties":false,"description":"The loan's numbers as the LOS holds them after a change: both DTI ratios, LTV, CLTV, total income, total payment and cash to close. Each is read back from the LOS, never calculated here; null when the LOS returned nothing for it."}}}}
```

## The UpdateLoanAppNoteRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UpdateLoanAppNoteRequest":{"required":["body"],"type":"object","properties":{"body":{"type":"string","description":"The new plain-text body. The previous body is kept in the note's history."}},"additionalProperties":false}}}}
```

## The UpdateLoanApplicationTaskRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UpdateLoanApplicationTaskRequest":{"required":["name","type"],"type":"object","properties":{"assignee":{"$ref":"#/components/schemas/TaskAssigneeRequest"},"dueDate":{"type":"string","description":"Optional. The date the task is due. Omit (or send null) to keep the current due date; use\r\nclearDueDate to remove it. Not accepted on an underwriting condition, whose due date is\r\nowned by the Loan Origination System.","format":"date","nullable":true},"clearDueDate":{"type":"boolean","description":"Optional. True removes the task's due date. Cannot be combined with dueDate."},"isRequired":{"type":"boolean","description":"Optional. Whether the task must be completed before the file can move forward. Omit (or send\r\nnull) to keep the current value.","nullable":true},"requestedStartDate":{"type":"string","description":"Optional, Transaction History tasks only. The first day of the requested period. Omit (or send\r\nnull) to keep the current date.","format":"date","nullable":true},"requestedEndDate":{"type":"string","description":"Optional, Transaction History tasks only. The last day of the requested period, not in the\r\nfuture. Omit (or send null) to keep the current date.","format":"date","nullable":true},"name":{"type":"string","description":"Display name of the task."},"description":{"type":"string","description":"Description of the task, shown to whoever it is assigned to. Replaced as sent: leaving it out clears the description.","nullable":true},"item":{"$ref":"#/components/schemas/ItemRequest"},"type":{"$ref":"#/components/schemas/TaskTypeRequest"},"creditReportType":{"$ref":"#/components/schemas/CreditReportTypeRequest"}},"additionalProperties":false,"description":"The fields of a task to change. name and type are replaced as sent, so send them. item and description are replaced too: leaving them out clears them. assignee, dueDate, requestedStartDate, requestedEndDate and isRequired keep their current value when left out."},"TaskAssigneeRequest":{"type":"object","properties":{"userId":{"type":"string","description":"Id (GUID) of the staff user to assign the task to, from the assignable users list. When sent, the task becomes a user task.","format":"uuid","nullable":true},"borrowerId":{"type":"string","description":"Id (GUID) of the borrower to address the task to. Used only when userId is not sent; omit it to address the loan's borrowers generally.","format":"uuid","nullable":true}},"additionalProperties":false,"description":"The new assignee of a task: an internal user, or a borrower. Send userId for a user task (one of\r\nGET loan-applications/{id}/tasks/assignable-users); otherwise the task becomes a borrower task,\r\naddressed to borrowerId when sent and to the loan's borrowers generally when not. Send userId, or borrowerId, or neither (the loan's borrowers generally); not both."},"ItemRequest":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the item.","format":"uuid"},"name":{"type":"string","description":"Display name of the item.","nullable":true}},"additionalProperties":false,"description":"A reference to an item a task is about, by id."},"TaskTypeRequest":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the task type, from the task types lookup.","format":"uuid"},"name":{"type":"string","description":"The task type's name.","nullable":true}},"additionalProperties":false,"description":"The type (task set) a task belongs to, chosen from the task types lookup."},"CreditReportTypeRequest":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the credit report type, from the credit report types lookup.","format":"uuid"},"name":{"type":"string","description":"The credit report type's name.","nullable":true}},"additionalProperties":false,"description":"A credit report type (such as soft pull or hard pull), as listed by the credit report types lookup."}}}}
```

## The UpdateLoanApplicationVaultDocumentRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UpdateLoanApplicationVaultDocumentRequest":{"type":"object","properties":{"title":{"type":"string","description":"The heading shown for the document, and the description it is filed under in the lender's loan\r\norigination system. Null or blank falls back to the file name without its extension.","nullable":true},"loanDocumentTypeId":{"type":"string","description":"The document type to file this document under. Obtain it from GET /types/loan-document-types.","format":"uuid","nullable":true}},"additionalProperties":false}}}}
```

## The UpdateLoanConditionRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UpdateLoanConditionRequest":{"type":"object","properties":{"name":{"type":"string","description":"Null leaves the name alone. The short title the lists show; never written to the LOS, so a\r\nrequest that changes only the name makes no LOS call.","nullable":true},"description":{"type":"string","description":"The condition's wording; null leaves it alone. The condition keeps its identity, so this renames it in place.","nullable":true},"category":{"type":"string","description":"Null leaves the category alone. Validated against the company's known set.","nullable":true},"dueDate":{"type":"string","description":"Null leaves the due date alone.","format":"date","nullable":true},"isHidden":{"type":"boolean","description":"Null leaves the current visibility alone - an update never changes it by omission.","nullable":true},"documentTypeId":{"type":"string","description":"The document type the condition asks for; null leaves it alone. Setting it replaces the current one (a condition has one), and it cannot be cleared.","format":"uuid","nullable":true},"pairIndex":{"type":"integer","description":"The borrower pair the condition belongs to, by position (0 is the first pair). Kept in Henge only; a request with only this and appliesToAllPairs does not change the LOS. Applied only to a condition already in the LOS; ignored for one not yet there.","format":"int32","nullable":true},"appliesToAllPairs":{"type":"boolean","description":"True: every pair sees the condition. False with no `pairIndex`: the owner is cleared. Applied only to a condition already in the LOS; ignored for one not yet there.","nullable":true}},"additionalProperties":false,"description":"Changes an existing condition. Every field is optional and a null one is left alone. Send at least one field to change."}}}}
```

## The UploadUnsortedDocumentsResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UploadUnsortedDocumentsResponse":{"type":"object","properties":{"documents":{"type":"array","items":{"$ref":"#/components/schemas/UnsortedDocumentResult"},"description":"One entry per file sent, in the order sent.","nullable":true}},"additionalProperties":false},"UnsortedDocumentResult":{"type":"object","properties":{"fileName":{"type":"string","description":"The name of the uploaded file this result is for.","nullable":true},"status":{"type":"string","description":"What happened to the file: Unsorted (stored as an unsorted loan document), NeedsPassword (stored, but held until the PDF's password is entered) or Rejected (not stored; reason says why).","nullable":true},"documentId":{"type":"string","description":"The new document's id; null for a rejected file.","format":"uuid","nullable":true},"reason":{"type":"string","description":"Why the file was rejected; null otherwise.","nullable":true}},"additionalProperties":false}}}}
```

## The UpsertLoanApplicationResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UpsertLoanApplicationResponse":{"required":["id"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the loan.","format":"uuid"},"externalLoanNumber":{"type":"string","description":"The loan number in the LOS; null until the loan has been sent there.","nullable":true},"externalId":{"type":"string","description":"The loan's id in the LOS (the externalId used on loan reads); null until the loan has been sent there.","nullable":true},"redirectUrl":{"type":"string","description":"A login token (URL-encoded, valid 30 days) that signs the new borrower in, returned only when a new borrower was created and the company's borrowers use the borrower portal; otherwise null. Treat it as a credential.","nullable":true},"warnings":{"type":"array","items":{"$ref":"#/components/schemas/LoanApplicationWarning"},"description":"Things the caller should know about a create that still succeeded, each naming the request field it\r\nis about. Empty when there are none.","nullable":true},"notKept":{"type":"array","items":{"type":"string"},"description":"Fields of a save that were accepted but not written, each with why and what the loan holds. Omitted when there are none.","nullable":true}},"additionalProperties":false},"LoanApplicationWarning":{"type":"object","properties":{"field":{"type":"string","description":"The request field the warning is about, for example `loanInfo.borrowers[0].contacts.email`.","nullable":true},"message":{"type":"string","description":"Plain-English text of the warning.","nullable":true}},"additionalProperties":false,"description":"Something the caller should know about a request that still succeeded."}}}}
```

## The UpsertWebhookRequest object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UpsertWebhookRequest":{"required":["targetUrl"],"type":"object","properties":{"targetUrl":{"minLength":1,"type":"string","description":"The POST URL on the partner’s system that will receive webhook payloads."},"apiKey":{"maxLength":512,"minLength":0,"pattern":"^[!-~]+$","type":"string","description":"Optional. A secret your endpoint uses to verify that a delivery came from Henge.\r\nIt is sent on every webhook POST as the header `x-api-key`. Omit the field to keep the\r\ncurrent key; send an empty string to remove it. The key is stored encrypted and is never returned.","nullable":true}},"additionalProperties":false}}}}
```

## The User object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"User":{"required":["email","firstName","lastName","organizationId"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the user. Set by the server; read-only.","format":"uuid","readOnly":true},"firstName":{"maxLength":64,"minLength":0,"type":"string","description":"User's legal first name, up to 64 characters."},"lastName":{"maxLength":64,"minLength":0,"type":"string","description":"User's legal last name, up to 64 characters."},"jobTitle":{"maxLength":512,"minLength":0,"type":"string","description":"User's job title, for example Loan Officer. On POST, required when roles includes Agent.","nullable":true},"profileImageUrl":{"type":"string","description":"Address of the user's profile picture.","nullable":true},"externalId":{"maxLength":512,"minLength":0,"type":"string","description":"Your own identifier for the user. Send it together with source.","nullable":true},"source":{"type":"string","description":"Name of your system that issued externalId. Required when externalId is sent, and the reverse.","nullable":true},"email":{"maxLength":1024,"minLength":0,"type":"string","description":"User's email address; used to sign in and to send notifications.","format":"email"},"nmlsId":{"maxLength":64,"minLength":0,"type":"string","description":"The user's NMLS identifier, for a licensed loan originator. On POST, required when roles includes Agent.","nullable":true},"addressLine1":{"maxLength":512,"minLength":0,"type":"string","description":"Street address of the user's office.","nullable":true},"addressLine2":{"maxLength":512,"minLength":0,"type":"string","description":"Unit, suite or other second line of the user's address.","nullable":true},"city":{"maxLength":256,"minLength":0,"type":"string","description":"City of the user's address.","nullable":true},"state":{"maxLength":32,"minLength":0,"type":"string","description":"State of the user's address.","nullable":true},"zipCode":{"maxLength":32,"minLength":0,"type":"string","description":"ZIP code of the user's address.","nullable":true},"workPhone":{"maxLength":64,"minLength":0,"type":"string","description":"Work phone number.","nullable":true},"mobilePhone":{"maxLength":64,"minLength":0,"type":"string","description":"Mobile phone number.","nullable":true},"fax":{"maxLength":64,"minLength":0,"type":"string","description":"Fax number.","nullable":true},"website":{"type":"string","description":"Address of the user's website.","nullable":true},"roles":{"type":"array","items":{"type":"string"},"description":"The roles granted to the user, for example Agent. Some roles cannot be granted through the Partner API; the request is refused with a 400 naming the role.","nullable":true},"enrollmentDate":{"type":"string","description":"Date the user enrolled, ISO 8601.","format":"date-time","nullable":true},"organizationId":{"type":"string","description":"Unique identifier (GUID) of the company the user belongs to. Required on create.","format":"uuid"},"hasRegistered":{"type":"boolean","description":"True when the user has completed sign-up and can sign in. Set by the server; read-only.","readOnly":true},"lastLoginOn":{"type":"string","description":"When the user last signed in, ISO 8601 in UTC; recorded at most once every 5 hours. Set by the server; read-only.","format":"date-time","nullable":true,"readOnly":true},"createdOn":{"type":"string","description":"When the user was created, ISO 8601 in UTC. Set by the server; read-only.","format":"date-time","nullable":true,"readOnly":true},"updatedOn":{"type":"string","description":"When the user was last changed, ISO 8601 in UTC. Set by the server; read-only.","format":"date-time","nullable":true,"readOnly":true}},"additionalProperties":false,"description":"firstName, lastName, email and organizationId are required on POST and on PATCH. PATCH replaces every writable field, so a field you leave out is cleared: send the full user. On POST always send roles (an empty array is fine): without it the user is created and the call still fails."}}}}
```

## The UserLicenseInfo object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UserLicenseInfo":{"type":"object","properties":{"state":{"type":"string","description":"2-letter state code (e.g. \"CA\"). Matches the property state passed to search_pricing.","nullable":true},"stateLicenseNumber":{"type":"string","description":"The license number the state issued.","nullable":true},"expirationYear":{"type":"string","description":"Four-digit year the license expires.","nullable":true},"licenseId":{"type":"string","description":"Unique identifier (GUID) of the license; returned only when inactive licenses are included.","format":"uuid","nullable":true},"licenseType":{"type":"string","description":"The license type; returned only when inactive licenses are included.","nullable":true},"issueDate":{"type":"string","description":"Date the license was issued; returned only when inactive licenses are included.","nullable":true},"expirationDate":{"type":"string","description":"Date the license expires; returned only when inactive licenses are included.","nullable":true},"isActive":{"type":"boolean","description":"True when the license is active; returned only when inactive licenses are included.","nullable":true},"isExpired":{"type":"boolean","description":"True when the license has expired; returned only when inactive licenses are included.","nullable":true}},"additionalProperties":false}}}}
```

## The UserList object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UserList":{"type":"object","properties":{"value":{"type":"array","items":{"$ref":"#/components/schemas/User"},"description":"The users on this page: $top of them (50 when it is not sent), after $skip.","nullable":true},"count":{"type":"integer","description":"Number of matching users across every page. A top sent without the dollar sign also limits this number.","format":"int32"}},"additionalProperties":false,"description":"The users a list answers, as the OData filter writes them."},"User":{"required":["email","firstName","lastName","organizationId"],"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the user. Set by the server; read-only.","format":"uuid","readOnly":true},"firstName":{"maxLength":64,"minLength":0,"type":"string","description":"User's legal first name, up to 64 characters."},"lastName":{"maxLength":64,"minLength":0,"type":"string","description":"User's legal last name, up to 64 characters."},"jobTitle":{"maxLength":512,"minLength":0,"type":"string","description":"User's job title, for example Loan Officer. On POST, required when roles includes Agent.","nullable":true},"profileImageUrl":{"type":"string","description":"Address of the user's profile picture.","nullable":true},"externalId":{"maxLength":512,"minLength":0,"type":"string","description":"Your own identifier for the user. Send it together with source.","nullable":true},"source":{"type":"string","description":"Name of your system that issued externalId. Required when externalId is sent, and the reverse.","nullable":true},"email":{"maxLength":1024,"minLength":0,"type":"string","description":"User's email address; used to sign in and to send notifications.","format":"email"},"nmlsId":{"maxLength":64,"minLength":0,"type":"string","description":"The user's NMLS identifier, for a licensed loan originator. On POST, required when roles includes Agent.","nullable":true},"addressLine1":{"maxLength":512,"minLength":0,"type":"string","description":"Street address of the user's office.","nullable":true},"addressLine2":{"maxLength":512,"minLength":0,"type":"string","description":"Unit, suite or other second line of the user's address.","nullable":true},"city":{"maxLength":256,"minLength":0,"type":"string","description":"City of the user's address.","nullable":true},"state":{"maxLength":32,"minLength":0,"type":"string","description":"State of the user's address.","nullable":true},"zipCode":{"maxLength":32,"minLength":0,"type":"string","description":"ZIP code of the user's address.","nullable":true},"workPhone":{"maxLength":64,"minLength":0,"type":"string","description":"Work phone number.","nullable":true},"mobilePhone":{"maxLength":64,"minLength":0,"type":"string","description":"Mobile phone number.","nullable":true},"fax":{"maxLength":64,"minLength":0,"type":"string","description":"Fax number.","nullable":true},"website":{"type":"string","description":"Address of the user's website.","nullable":true},"roles":{"type":"array","items":{"type":"string"},"description":"The roles granted to the user, for example Agent. Some roles cannot be granted through the Partner API; the request is refused with a 400 naming the role.","nullable":true},"enrollmentDate":{"type":"string","description":"Date the user enrolled, ISO 8601.","format":"date-time","nullable":true},"organizationId":{"type":"string","description":"Unique identifier (GUID) of the company the user belongs to. Required on create.","format":"uuid"},"hasRegistered":{"type":"boolean","description":"True when the user has completed sign-up and can sign in. Set by the server; read-only.","readOnly":true},"lastLoginOn":{"type":"string","description":"When the user last signed in, ISO 8601 in UTC; recorded at most once every 5 hours. Set by the server; read-only.","format":"date-time","nullable":true,"readOnly":true},"createdOn":{"type":"string","description":"When the user was created, ISO 8601 in UTC. Set by the server; read-only.","format":"date-time","nullable":true,"readOnly":true},"updatedOn":{"type":"string","description":"When the user was last changed, ISO 8601 in UTC. Set by the server; read-only.","format":"date-time","nullable":true,"readOnly":true}},"additionalProperties":false,"description":"firstName, lastName, email and organizationId are required on POST and on PATCH. PATCH replaces every writable field, so a field you leave out is cleared: send the full user. On POST always send roles (an empty array is fine): without it the user is created and the call still fails."}}}}
```

## The UserReportAttachmentSummary object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UserReportAttachmentSummary":{"type":"object","properties":{"name":{"type":"string","description":"File name of the attachment.","nullable":true},"contentType":{"type":"string","description":"MIME type of the attachment, for example image/png.","nullable":true},"size":{"type":"integer","description":"Attachment size in bytes.","format":"int64"}},"additionalProperties":false,"description":"An attachment as the create response lists it: name, type and size, with no download URL."}}}}
```

## The UserReportReporter object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UserReportReporter":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier (GUID) of the reporter: the user, or the partner's company when no user acted.","format":"uuid"},"name":{"type":"string","description":"Reporter's name.","nullable":true},"email":{"type":"string","description":"Reporter's email address.","nullable":true},"kind":{"type":"string","description":"Who filed the report: Staff, Borrower, Anonymous or Partner.","nullable":true},"source":{"type":"string","description":"Where the report was filed from (`UserReportSources`); becomes a `source:` label on a Technical report's issue. Null adds none. Never stored or returned.","nullable":true}},"additionalProperties":false,"description":"The person or integration that filed a report."}}}}
```

## The UserReportSummary object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"UserReportSummary":{"type":"object","properties":{"id":{"type":"string","description":"Identifier of the report.","nullable":true},"kind":{"type":"string","description":"Technical or Process (UserReportKind).","nullable":true},"title":{"type":"string","description":"Short summary of the problem.","nullable":true},"description":{"type":"string","description":"Left out of list items.","nullable":true},"category":{"type":"string","description":"Category label the reporter gave; null when none.","nullable":true},"pageUrl":{"type":"string","description":"Address of the page the problem happened on.","nullable":true},"loanApplicationId":{"type":"string","description":"Unique identifier (GUID) of the loan the report is about, when there is one.","format":"uuid","nullable":true},"urgency":{"type":"integer","description":"1 to 4 (`UserReportUrgency`); null on a report filed before urgency existed.","format":"int32","nullable":true},"urgencyLabel":{"type":"string","description":"The label for `Urgency`, e.g. \"Urgent, no workaround\".","nullable":true},"loanNumbers":{"type":"array","items":{"type":"string"},"description":"The loan numbers the reporter typed; empty when none.","nullable":true},"createdAt":{"type":"string","description":"When the report was filed, ISO 8601 in UTC.","format":"date-time"},"status":{"type":"string","description":"received, in_progress, fixed, closed or unknown (Technical); sent (Process). See `UserReportStatuses`.","nullable":true},"groupStatus":{"type":"string","description":"The status of the group root, or of the report itself when it has no group.","nullable":true},"groupSize":{"type":"integer","description":"Number of reports grouped with this one as the same problem, counting itself.","format":"int32"}},"additionalProperties":false,"description":"What the reporter sees of their own report: a plain status, never an issue number or link."}}}}
```

## The ValidationProblemDetails object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"ValidationProblemDetails":{"required":["status","title","detail","instance","code","traceId"],"type":"object","properties":{"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"The validation problems: each key is the name of the field that failed and its value lists the messages for that field. Present when `code` is `ValidationFailed`.","nullable":true},"type":{"type":"string","description":"A URI that identifies the kind of problem, or null when none is given.","nullable":true},"title":{"type":"string","description":"A short, human-readable summary of the problem; it does not change between occurrences of the same problem."},"status":{"type":"integer","description":"The HTTP status code of the response.","format":"int32"},"detail":{"type":"string","description":"A human-readable explanation of this occurrence of the problem."},"instance":{"type":"string","description":"A URI that identifies this occurrence of the problem, typically the request path."},"code":{"type":"string","description":"A stable error code, such as `NotFound`, `ValidationFailed`, `Conflict` or `BusinessRuleViolation`. Present on every error; the Errors guide lists every value."},"traceId":{"type":"string","description":"The request's trace id. Quote it when you contact support about a failed call."}},"additionalProperties":{},"description":"The error body of a 400: the problem details shape, plus `errors`, which lists the problems by field when the request failed validation (`code` `ValidationFailed`). Branch on `code`."}}}}
```

## The VaultDocumentResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"VaultDocumentResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document.","format":"uuid"},"fileName":{"type":"string","description":"The document's file name.","nullable":true},"title":{"type":"string","description":"The title shown for the document; may be empty.","nullable":true},"description":{"type":"string","description":"A free-text description of the document; may be empty.","nullable":true},"isVault":{"type":"boolean","description":"True when the document was uploaded straight to the loan, false when it hangs off a task, a\r\ncondition or an asset account. Only a vault document can be deleted."},"loanApplicationTaskId":{"type":"string","description":"The task that owns the document, when one does. Null for a document uploaded straight to the\r\nloan.","format":"uuid","nullable":true},"documentType":{"$ref":"#/components/schemas/LoanDocumentTypeResponse"},"isObsolete":{"type":"boolean","description":"True when the document is no longer active. It remains listed for reference but should not\r\nbe treated as current."},"isProtected":{"type":"boolean","description":"True when the document is protected in the loan origination system, locked there against\r\nedits and deletion. Set with PUT .../documents/{documentId}/los-status."},"losStatus":{"$ref":"#/components/schemas/LoanDocumentLosStatus"},"indexStatus":{"type":"string","description":"Whether the document's text can be searched through documents/search: Indexed, Pending,\r\nFailed or NotSubmitted. Null when it could not be determined.","nullable":true},"isUnsorted":{"type":"boolean","description":"True while the document was sent to the loan in a bulk upload with no task and no type and has not\r\nbeen sorted. It is not sent to the loan origination system until it is put on a task or given a type."},"intakeStatus":{"type":"string","description":"NeedsPassword or Duplicate when a bulk-uploaded document is held for that reason; absent otherwise.","nullable":true},"duplicateOfDocumentId":{"type":"string","description":"The document this one repeats, when intakeStatus is Duplicate.","format":"uuid","nullable":true},"createdTimestamp":{"type":"string","description":"When the document was created, in UTC (ISO 8601).","format":"date-time"},"updatedTimestamp":{"type":"string","description":"When the document was last changed, in UTC (ISO 8601).","format":"date-time"}},"additionalProperties":false,"description":"A document on a loan application, wherever it came from."},"LoanDocumentTypeResponse":{"type":"object","properties":{"id":{"type":"string","description":"Id (GUID) of the document type; send it to file a document under this type.","format":"uuid"},"name":{"type":"string","description":"The document type's name.","nullable":true},"folderName":{"type":"string","description":"The folder this type belongs to.","nullable":true}},"additionalProperties":false,"description":"A document type a loan document can be filed under."},"LoanDocumentLosStatus":{"enum":["Active","Protected","Obsolete","Rejected","Screened"],"type":"string","description":"A loan document's status, one value per document, set here or in the LOS and kept in step both ways. The names are the LOS's own; the app shows Active as Pending, Screened as Accepted and Obsolete as Deleted."}}}}
```

## The VeteranDetail object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"VeteranDetail":{"type":"object","properties":{"isVeteran":{"type":"boolean","description":"True when the borrower is a veteran."},"activeDuty":{"type":"boolean","description":"True when the borrower is currently on active duty."},"activeDutyExpirationDate":{"type":"string","description":"Date the borrower's current active duty ends (ISO 8601 date).","nullable":true},"retiredDischargedOrSeparated":{"type":"boolean","description":"True when the borrower has retired, been discharged or separated from service."},"reserveNationalGuardNeverActivated":{"type":"boolean","description":"True when the borrower is in the Reserves or National Guard and has never been activated."},"isSurvivingSpouseOfVeteran":{"type":"boolean","description":"True when the borrower is the surviving spouse of a veteran."},"serviceType":{"$ref":"#/components/schemas/FieldType"}},"additionalProperties":false,"description":"A borrower's military service details, relevant to VA loans."},"FieldType":{"type":"object","properties":{"externalId":{"type":"string","description":"The LOS code of the chosen value or, for a record such as an asset, income or liability, the LOS id of the record. Null when the record is not in the LOS yet.","nullable":true},"name":{"type":"string","description":"Display name of the chosen value or record type, as the LOS labels it.","nullable":true}},"additionalProperties":false,"description":"A value chosen from a list in the LOS, with its code and display name. Also the base of records that carry an LOS id."}}}}
```

## The WebhookSigningSecretResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"WebhookSigningSecretResponse":{"required":["createdTimestamp","signingSecret"],"type":"object","properties":{"signingSecret":{"type":"string","description":"The secret, starting `whsec_`. Verify a delivery by computing the lowercase hex HMAC-SHA256 of\r\n`t + \".\" + rawBody` with this whole string (prefix included) as the key and comparing it with a `v1` value in\r\nthe `Henge-Signature` header."},"createdTimestamp":{"type":"string","description":"When the secret was created (UTC).","format":"date-time"},"previousSecretExpiresTimestamp":{"type":"string","description":"When this call replaced an earlier secret: until this time (UTC) deliveries carry a second `v1` signature made with\r\nthe earlier secret, so you can switch without rejecting deliveries. Null when there was no earlier secret.","format":"date-time","nullable":true}},"additionalProperties":false,"description":"A new signing secret for your webhook. This is the only time it is returned: store it now. Deliveries carry the\r\n`Henge-Signature` header from now on."}}}}
```

## The WriteLoanConditionResponse object

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"components":{"schemas":{"WriteLoanConditionResponse":{"type":"object","properties":{"conditionTaskId":{"type":"string","description":"The local LoanApplicationTask id of the condition.","format":"uuid"},"externalId":{"type":"string","description":"The condition's id in the LOS.","nullable":true},"name":{"type":"string","description":"The condition's short title. Null when IsMirrored is false: only the local row holds it.","nullable":true},"description":{"type":"string","description":"The condition's wording.","nullable":true},"category":{"type":"string","description":"The condition's category, for example PRIOR TO DOCS.","nullable":true},"dueDate":{"type":"string","description":"The date the condition is due (ISO 8601), if any.","format":"date","nullable":true},"isHidden":{"type":"boolean","description":"True when the condition is hidden from the borrower."},"documentType":{"type":"string","description":"The name of the document type the condition asks for, as the LOS reports it.","nullable":true},"documentFolder":{"type":"string","description":"The required document type's folder.","nullable":true},"isMirrored":{"type":"boolean","description":"False when the LOS accepted the write but Henge could not save its own copy. The condition exists either way and the next sync adds the copy. Do not retry on false: a retried create makes a second condition."},"mirrorWarning":{"type":"string","description":"Set only when IsMirrored is false, explaining what the caller should expect.","nullable":true}},"additionalProperties":false}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://api-docs.hengelending.com/api/api-reference/models.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
