> 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/los-fields-and-mismo.md). Agents can also search and read this documentation through its [MCP server](https://api-docs.hengelending.com/~gitbook/mcp).

# LOS Fields And MISMO

Import a MISMO 3.4 file as a new loan application, export a loan as MISMO 3.4, and merge a MISMO file into an existing loan.

**Scopes:** `create:loan-applications`, `read:loan-applications`, `update:loan-applications`

## Import a MISMO 3.4 file as a Loan Application

> \*\*Required scope:\*\* \`create:loan-applications\`\
> \
> Send the document as \`multipart/form-data\`. The loan officer comes from> \
> \`userId\` (admin tokens only) or the token's own user — never from the file.> \
> &#x20;          &#x20;> \
> Use \`dryRun=true\` to validate a file and read back the mapping report without> \
> creating anything. Worth doing once when onboarding a new counterparty.> \
> &#x20;          &#x20;> \
> Creating a loan application sends the borrower welcome-email cascade and there is no> \
> suppression flag today, so set \`delayEmailSeconds\` for a bulk import.

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"tags":[{"name":"LOS fields and MISMO","description":"Import a MISMO 3.4 file as a new loan application, export a loan as MISMO 3.4, and merge a MISMO file into an existing loan.\n\n**Scopes:** `create:loan-applications`, `read:loan-applications`, `update:loan-applications`"}],"servers":[{"url":"https://uat-api.hengelending.com/partner","description":"UAT (sandbox): build and test here"},{"url":"https://api.hengelending.com/partner","description":"Production"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"Access token from POST /oauth/token, sent as `Authorization: Bearer <token>`.","scheme":"bearer","bearerFormat":"JWT"}},"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."},"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`."},"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."}}},"paths":{"/loan-applications/import/mismo":{"post":{"tags":["LOS fields and MISMO"],"summary":"Import a MISMO 3.4 file as a Loan Application","description":"**Required scope:** `create:loan-applications`\n\nSend the document as `multipart/form-data`. The loan officer comes from\r\n`userId` (admin tokens only) or the token's own user — never from the file.\r\n            \r\nUse `dryRun=true` to validate a file and read back the mapping report without\r\ncreating anything. Worth doing once when onboarding a new counterparty.\r\n            \r\nCreating a loan application sends the borrower welcome-email cascade and there is no\r\nsuppression flag today, so set `delayEmailSeconds` for a bulk import.","operationId":"LoanApplicationsMismo_ImportMismo","parameters":[{"name":"userId","in":"query","description":"The loan officer to create the loan under (a user `id`). Honoured for an admin application only; for any other the loan officer is your application's acting user and this is ignored.","schema":{"type":"string","format":"uuid"}},{"name":"clientId","in":"query","description":"An existing client to make the primary borrower. Leave it out and the borrower's email finds the loan officer's client, or a new client is created.","schema":{"type":"string","format":"uuid"}},{"name":"clientExternalId","in":"query","description":"Your own id for the client, stored on a client this import creates. Ignored when an existing client is used.","schema":{"type":"string"}},{"name":"delayEmailSeconds","in":"query","description":"Seconds to hold back the borrower welcome emails a new loan sends. There is no way to turn them off, so set a delay for a bulk import; left out, they go at once and the report warns you.","schema":{"type":"integer","format":"int32"}},{"name":"dryRun","in":"query","description":"`true` to read and map the file and return the report without creating anything. Defaults to `false`.","schema":{"type":"boolean","default":false}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}},"encoding":{"file":{"style":"form"}}}}},"responses":{"200":{"description":"Imported","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MismoImportResult"}}}},"400":{"description":"The file could not be used as MISMO 3.4","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MismoImportResult"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"401":{"description":"Missing, invalid or expired access token.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"403":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"413":{"description":"File too large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Internal Server Error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}}}}
```

## Export a Loan Application as MISMO 3.4

> \*\*Required scope:\*\* \`read:loan-applications\`\
> \
> Returns the XML document. Pass \`includeReport=true\` for a JSON envelope carrying the> \
> document plus a report of what could not be represented in MISMO.

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"tags":[{"name":"LOS fields and MISMO","description":"Import a MISMO 3.4 file as a new loan application, export a loan as MISMO 3.4, and merge a MISMO file into an existing loan.\n\n**Scopes:** `create:loan-applications`, `read:loan-applications`, `update:loan-applications`"}],"servers":[{"url":"https://uat-api.hengelending.com/partner","description":"UAT (sandbox): build and test here"},{"url":"https://api.hengelending.com/partner","description":"Production"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"Access token from POST /oauth/token, sent as `Authorization: Bearer <token>`.","scheme":"bearer","bearerFormat":"JWT"}},"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."}}},"paths":{"/loan-applications/{id}/mismo":{"get":{"tags":["LOS fields and MISMO"],"summary":"Export a Loan Application as MISMO 3.4","description":"**Required scope:** `read:loan-applications`\n\nReturns the XML document. Pass `includeReport=true` for a JSON envelope carrying the\r\ndocument plus a report of what could not be represented in MISMO.","operationId":"LoanApplicationsMismo_ExportMismo","parameters":[{"name":"id","in":"path","description":"The loan application's id (a GUID). Send the empty GUID `00000000-0000-0000-0000-000000000000` when you address the loan by `externalId` instead. A loan in another company answers 404, the same as one that does not exist.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"externalId","in":"query","description":"The loan's id in the loan origination system (`loanInfo.loanId` on a loan read; not the loan number), to address the loan by instead of the path `id`: put the empty GUID in the path; when sent it is matched exactly and wins over the path `id`, and a value that matches no loan in your company answers 404.","schema":{"type":"string"}},{"name":"includeReport","in":"query","description":"`true` for a JSON response carrying the MISMO document and a report of what could not be represented in it; by default (`false`) the response is the XML file itself.","schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"The MISMO 3.4 XML file. With includeReport=true the body is instead a JSON envelope holding the XML and the report.","content":{"application/xml":{"schema":{"type":"string","format":"binary"}}}},"401":{"description":"Missing, invalid or expired access token.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"403":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Loan not found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Internal Server Error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}}}}
```

## Merge a MISMO 3.4 file onto a Loan Application

> \*\*Required scope:\*\* \`update:loan-applications\`\
> \
> Values absent from the file are left alone unless \`treatMissingAsCleared=true\`, since a> \
> partner file is usually a partial view of the loan. Loan assignments are never taken from> \
> the file.

```json
{"openapi":"3.0.4","info":{"title":"Henge Partner API","version":"1.22.0"},"tags":[{"name":"LOS fields and MISMO","description":"Import a MISMO 3.4 file as a new loan application, export a loan as MISMO 3.4, and merge a MISMO file into an existing loan.\n\n**Scopes:** `create:loan-applications`, `read:loan-applications`, `update:loan-applications`"}],"servers":[{"url":"https://uat-api.hengelending.com/partner","description":"UAT (sandbox): build and test here"},{"url":"https://api.hengelending.com/partner","description":"Production"}],"security":[{"Bearer":[]}],"components":{"securitySchemes":{"Bearer":{"type":"http","description":"Access token from POST /oauth/token, sent as `Authorization: Bearer <token>`.","scheme":"bearer","bearerFormat":"JWT"}},"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."},"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`."},"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."}}},"paths":{"/loan-applications/{id}/mismo":{"put":{"tags":["LOS fields and MISMO"],"summary":"Merge a MISMO 3.4 file onto a Loan Application","description":"**Required scope:** `update:loan-applications`\n\nValues absent from the file are left alone unless `treatMissingAsCleared=true`, since a\r\npartner file is usually a partial view of the loan. Loan assignments are never taken from\r\nthe file.","operationId":"LoanApplicationsMismo_MergeMismo","parameters":[{"name":"id","in":"path","description":"The loan application's id (a GUID). Send the empty GUID `00000000-0000-0000-0000-000000000000` when you address the loan by `externalId` instead. A loan in another company answers 404, the same as one that does not exist.","required":true,"schema":{"type":"string","format":"uuid"}},{"name":"externalId","in":"query","description":"The loan's id in the loan origination system (`loanInfo.loanId` on a loan read; not the loan number), to address the loan by instead of the path `id`: put the empty GUID in the path; when sent it is matched exactly and wins over the path `id`, and a value that matches no loan in your company answers 404.","schema":{"type":"string"}},{"name":"treatMissingAsCleared","in":"query","description":"`true` to clear a value the file leaves out; by default (`false`) a value absent from the file is kept as stored.","schema":{"type":"boolean","default":false}},{"name":"dryRun","in":"query","description":"`true` to read and map the file and return the report without changing the loan. Defaults to `false`.","schema":{"type":"boolean","default":false}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"required":["file"],"type":"object","properties":{"file":{"type":"string","format":"binary"}}},"encoding":{"file":{"style":"form"}}}}},"responses":{"200":{"description":"Merged","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MismoImportResult"}}}},"400":{"description":"The file could not be used as MISMO 3.4","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MismoImportResult"}},"application/problem+json":{"schema":{"$ref":"#/components/schemas/ValidationProblemDetails"}}}},"401":{"description":"Missing, invalid or expired access token.","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"403":{"description":"Unauthorized","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"404":{"description":"Loan not found","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"413":{"description":"File too large","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}},"500":{"description":"Internal Server Error","content":{"application/problem+json":{"schema":{"$ref":"#/components/schemas/ProblemDetails"}}}}}}}}}
```


---

# 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/los-fields-and-mismo.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.
