# V1 Confirm a Rate Lock Request

Use this API to confirm a rate lock request. This call releases any existing rate lock on the specified loan and locks the new rate on the loan.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "version": "1.0",
    "title": "Loan: Rate Lock",
    "summary": "The Rate Lock Management API allows you to submit a rate lock request for a loan and view rate lock information, extend, re-lock and cancel an existing lock. You can also view the snapshot of the loan at the time of each rate lock request.",
    "description": "The Rate Lock Management API allows you to submit a rate lock request for a loan and view rate lock information, extend, re-lock and cancel an existing lock. You can also view the snapshot of the loan at the time of each rate lock request.\r\n\r\n> 📘 **Managing Rate Locks**\r\n>\r\n> Keep the following points in mind when managing rate locks:\r\n> - If the Lock Desk is enabled in Encompass, create (POST) lockRequests are sent to the Lock Desk and are subject to the Lock Desk hours and settings.\r\n> - If ICE PPE is not used for the loan and the lock request portion of your provider's product and pricing process has not been integrated with Encompass, the request is sent to the Lock Desk. If the Lock Desk is not enabled, the request will remain in \"requested\" state until it is confirmed or denied by a user who is assigned the Secondary Registration persona.\r\n> - The Rate Lock APIs will restrict access to the loan file based on Encompass Persona Access to Fields rules. If the API user’s configured persona does not have access to view an individual field based on the configured rules, they will not see the field data returned through the Rate Lock APIs."
  },
  "servers": [
    {
      "url": "https://api.elliemae.com",
      "description": "Production"
    },
    {
      "url": "https://concept.api.elliemae.com",
      "description": "UAT"
    },
    {
      "url": "",
      "description": ""
    },
    {
      "url": "",
      "description": ""
    },
    {
      "url": "",
      "description": ""
    },
    {
      "url": "",
      "description": ""
    }
  ],
  "paths": {
    "/encompass/v1/loans/{loanId}/ratelockRequests/{requestId}/confirmation": {
      "put": {
        "tags": [
          "Rate Lock Requests"
        ],
        "summary": "V1 Confirm a Rate Lock Request",
        "description": "Use this API to confirm a rate lock request. This call releases any existing rate lock on the specified loan and locks the new rate on the loan.",
        "operationId": "confirm-a-rate-lock-request",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Bearer token",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "$ref": "#/components/parameters/copyLoanData"
          },
          {
            "$ref": "#/components/parameters/excludeInterestRateOnCopy"
          },
          {
            "$ref": "#/components/parameters/dataSyncOption"
          },
          {
            "$ref": "#/components/parameters/view-puts"
          },
          {
            "name": "loanId",
            "in": "path",
            "description": "The unique identifier assigned to the loan.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "requestId",
            "in": "path",
            "description": "Unique identifier assigned to the request. The requestId is returned in the response as part of the location header after submitting a rate lock request.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/loanRateLockContract"
              },
              "examples": {
                "Empty Payload": {
                  "value": {}
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/loanRateLockContract"
                },
                "examples": {
                  "Model Data Sample": {
                    "value": {
                      "id": "string",
                      "requestType": "string",
                      "requestStatus": "string",
                      "lockStatus": "string",
                      "lockNumberOfDays": 0,
                      "lockExpirationDate": "string",
                      "requestedBy": {
                        "entityId": "string",
                        "entityType": "string",
                        "entityName": "string",
                        "entityUri": "string"
                      },
                      "requestedDate": "2019-08-24T14:15:22Z",
                      "fulfilledDate": "2019-08-24T14:15:22Z",
                      "fulfilledBy": {
                        "entityId": "string",
                        "entityType": "string",
                        "entityName": "string",
                        "entityUri": "string"
                      },
                      "investor": {
                        "contact": "string",
                        "phone": "string",
                        "email": "string",
                        "address": "string",
                        "city": "string",
                        "state": "string",
                        "postalCode": "string",
                        "website": "string",
                        "lockType": "string",
                        "programCode": "string",
                        "status": "string",
                        "statusDate": "2019-08-24T14:15:22Z",
                        "tradeNumber": "string",
                        "commitment": "string",
                        "templateName": "string",
                        "name": "string"
                      },
                      "investorDeliveryDate": "2019-08-24T14:15:22Z",
                      "requestIndicators": [
                        "string"
                      ],
                      "parentLockRequest": {
                        "requestType": "string",
                        "lockStatus": "string",
                        "entityId": "string",
                        "entityType": "string",
                        "entityName": "string",
                        "entityUri": "string"
                      },
                      "investorCommitment": "string",
                      "loanInformation": {
                        "planCode": "string",
                        "loanProgramFile": "string",
                        "loanDocumentationType": "string",
                        "lockRequestBorrowers": [
                          {
                            "firstName": "string",
                            "lastName": "string",
                            "ssn": "string",
                            "equifaxScore": "string",
                            "experianScore": "string",
                            "transUnionScore": "string",
                            "selfEmployedIndicator": true
                          }
                        ],
                        "borrowerMinimumFico": "string",
                        "coBorrowerMinimumFico": "string",
                        "creditScoreToUse": "string",
                        "isFirstTimeHomeBuyer": true,
                        "canDemonstrate TwelveMonthMortgageRentalHistory": true,
                        "subjectProperty": {
                          "address": "string",
                          "city": "string",
                          "state": "string",
                          "postalCode": "string",
                          "county": "string",
                          "estimatedAmount": 0,
                          "appraisedAmount": 0,
                          "purchasePrice": 0,
                          "usageType": "string",
                          "numberOfUnits": 0,
                          "gsePropertyType": "string",
                          "isCondotelProperty": true,
                          "isNonWarrantableProjectProperty": true
                        },
                        "loanPurposeType": "string",
                        "currentAcquisition": true,
                        "currentConstructionRefinance": true,
                        "loanFor203K": true,
                        "totalForLesserOfSumAsIs": 0,
                        "lienPriorityType": "string",
                        "mortgageType": "string",
                        "loanAmortizationType": "string",
                        "gpmRate": 0,
                        "gpmYears": 0,
                        "fnmProductPlanIdentifier": "string",
                        "otherAmortizationType": "string",
                        "requestImpoundWaived": "string",
                        "requestImpoundType": "string",
                        "prepayPenalty": true,
                        "penaltyTerm": "string",
                        "noClosingCost": true,
                        "lenderFeeWaiver": true,
                        "estimatedClosingDate": "string",
                        "sellerPaidMiPremium": 0,
                        "fhaUpfrontMiPremiumPercent": 0,
                        "fundingAmount": 0,
                        "ltv": 0,
                        "combinedLtv": 0,
                        "mipPaidInCash": 0,
                        "roundToNearestFifty": true,
                        "balloonLoanMaturityTerms": 0,
                        "loanAmortizationTerms": 0,
                        "baseLoanAmount": 0,
                        "borrowerRequestedLoanAmount": 0,
                        "helocActualBalance": "string",
                        "firstSubordinateAmount": 0,
                        "secondSubordinateAmount": 0,
                        "otherSubordinateAmount": 0,
                        "lockField": true,
                        "totalSubordinateFinancing": 0,
                        "pricingUpdated": "string",
                        "impoundType": "string",
                        "impoundWaived": "string",
                        "isLenderPaidMortgageInsurance": true,
                        "pricingHistoryData": "string"
                      },
                      "lockRequest": {
                        "requestedBy": {
                          "entityId": "string",
                          "entityType": "string",
                          "entityName": "string",
                          "entityUri": "string"
                        },
                        "unDiscountedRate": 0,
                        "startingAdjustRate": 0,
                        "startingAdjustPrice": 0,
                        "programNotes": "string",
                        "expectedNetPrice": 0,
                        "onrpDate": "2019-08-24T14:15:22Z",
                        "onrpEligible": true,
                        "correspondentCommitmentType": "string",
                        "correspondentDeliveryType": "string",
                        "cumulatedDaystoExtend": 0,
                        "extensionSequenceNumber": 0,
                        "onrpLock": true,
                        "hedging": true,
                        "penaltyTerm": "string",
                        "prepayPenalty": "string",
                        "daystoExtend": 0,
                        "extendedLockExpirationDate": "2019-08-24T14:15:22Z",
                        "fulfilledDate": "2019-08-24T14:15:22Z",
                        "lockCancellationComment": "string",
                        "lockCancellationDate": "2019-08-24T14:15:22Z",
                        "lockExtendComment": "string",
                        "lockExtendPriceAdjustment": 0,
                        "marginSrpPaidOut": 0,
                        "isDeliveryType": true,
                        "pricingConcessionRequested": 0,
                        "lockValidationStatus": "string",
                        "lockValidationTimestamp": "string",
                        "priceConcessionIndicator": true,
                        "extensionIndicator": true,
                        "priceConcessionRequestStatus": "string",
                        "isCancelled": true,
                        "rateStatus": "string",
                        "requestPending": true,
                        "extensionRequestPending": true,
                        "cancellationRequestPending": true,
                        "reLockRequestPending": true,
                        "rateSheetId": "string",
                        "lastRateSetDate": "2019-08-24T14:15:22Z",
                        "lockNumberOfDays": 0,
                        "lockExpirationDate": "2019-08-24T14:15:22Z",
                        "lockDate": "2019-08-24T14:15:22Z",
                        "baseRate": 0,
                        "adjustments": [
                          {
                            "adjustmentType": "string",
                            "description": "string",
                            "priceAdjustmentType": "string",
                            "adjustment": 0
                          }
                        ],
                        "totalRateAdjustments": 0,
                        "netRate": 0,
                        "basePrice": 0,
                        "totalPriceAdjustments": 0,
                        "netPrice": 0,
                        "baseMarginRate": 0,
                        "totalMarginAdjustments": 0,
                        "netMarginRate": 0,
                        "comments": "string",
                        "originalLockExpirationDate": "2019-08-24T14:15:22Z",
                        "srpPaidOut": 0,
                        "loanProgram": "string"
                      },
                      "buySide": {
                        "requestedBy": {
                          "entityId": "string",
                          "entityType": "string",
                          "entityName": "string",
                          "entityUri": "string"
                        },
                        "investor": {
                          "contact": "string",
                          "phone": "string",
                          "email": "string",
                          "address": "string",
                          "city": "string",
                          "state": "string",
                          "postalCode": "string",
                          "website": "string",
                          "lockType": "string",
                          "programCode": "string",
                          "status": "string",
                          "statusDate": "2019-08-24T14:15:22Z",
                          "tradeNumber": "string",
                          "commitment": "string",
                          "templateName": "string",
                          "name": "string"
                        },
                        "onrpDate": "2019-08-24T14:15:22Z",
                        "onrpEligible": true,
                        "commitmentNumber": "string",
                        "masterCommitmentNumber": "string",
                        "tpoName": "string",
                        "tpoId": "string",
                        "orgId": "string",
                        "commitmentDate": "string",
                        "commitmentType": "string",
                        "deliveryType": "string",
                        "expirationDate": "2019-08-24T14:15:22Z",
                        "deliveryExpirationDate": "2019-08-24T14:15:22Z",
                        "startingAdjustPrice": 0,
                        "unDiscountedRate": 0,
                        "startingAdjustRate": 0,
                        "startingAdjPrice": 0,
                        "branchApprovalDate": "2019-08-24T14:15:22Z",
                        "branchApprovedby": "string",
                        "branchPrice": 0,
                        "corporateApprovalDate": "2019-08-24T14:15:22Z",
                        "corporateApprovedby": "string",
                        "corporatePrice": 0,
                        "profitMarginAdjustedBuyPrice": 0,
                        "reasonforBranchApproval": "string",
                        "reasonforCorporateApproval": "string",
                        "totalBuyPrice": 0,
                        "totalPrice": 0,
                        "correspondentTradeId": "string",
                        "correspondentTradeNumber": "string",
                        "daysToExtend": 0,
                        "extendedLockExpirationDate": "2019-08-24T14:15:22Z",
                        "lockExtendPriceAdjustment": 0,
                        "commitment": "string",
                        "corporatePrice2": 0,
                        "corporateApprovalDate2": "2019-08-24T14:15:22Z",
                        "corporateApprovedBy2": "string",
                        "reasonForCorporateApproval2": "string",
                        "corporatePrice3": 0,
                        "corporateApprovalDate3": "string",
                        "corporateApprovedBy3": "string",
                        "reasonForCorporateApproval3": "string",
                        "corporatePrice4": 0,
                        "corporateApprovalDate4": "string",
                        "corporateApprovedBy4": "string",
                        "reasonForCorporateApproval4": "string",
                        "corporatePrice5": 0,
                        "corporateApprovalDate5": "2019-08-24T14:15:22Z",
                        "corporateApprovedBy5": "string",
                        "reasonForCorporateApproval5": "string",
                        "branchPrice2": 0,
                        "branchApprovalDate2": "string",
                        "branchApprovedBy2": "string",
                        "reasonForBranchApproval2": "string",
                        "branchPrice3": 0,
                        "branchApprovalDate3": "string",
                        "branchApprovedBy3": "string",
                        "reasonForBranchApproval3": "string",
                        "branchPrice4": 0,
                        "branchApprovalDate4": "string",
                        "branchApprovedBy4": "string",
                        "reasonForBranchApproval4": "string",
                        "branchPrice5": 0,
                        "branchApprovalDate5": "string",
                        "branchApprovedBy5": "string",
                        "reasonForBranchApproval5": "string",
                        "totalBranchPriceConcession": 0,
                        "totalCorporatePriceConcession": 0,
                        "rateSheetId": "string",
                        "lastRateSetDate": "2019-08-24T14:15:22Z",
                        "lockNumberOfDays": 0,
                        "lockExpirationDate": "2019-08-24T14:15:22Z",
                        "lockDate": "2019-08-24T14:15:22Z",
                        "baseRate": 0,
                        "adjustments": [
                          {
                            "adjustmentType": "string",
                            "description": "string",
                            "priceAdjustmentType": "string",
                            "adjustment": 0
                          }
                        ],
                        "totalRateAdjustments": 0,
                        "netRate": 0,
                        "basePrice": 0,
                        "totalPriceAdjustments": 0,
                        "netPrice": 0,
                        "baseMarginRate": 0,
                        "totalMarginAdjustments": 0,
                        "netMarginRate": 0,
                        "comments": "string",
                        "originalLockExpirationDate": "2019-08-24T14:15:22Z",
                        "srpPaidOut": 0,
                        "loanProgram": "string"
                      },
                      "sellSide": {
                        "requestedBy": {
                          "entityId": "string",
                          "entityType": "string",
                          "entityName": "string",
                          "entityUri": "string"
                        },
                        "srp": 0,
                        "investor": {
                          "loanNumber": "string",
                          "mersNumber": "string",
                          "lockedDate": "2019-08-24T14:15:22Z",
                          "deliveryDate": "2019-08-24T14:15:22Z",
                          "targetDeliveryDate": "2019-08-24T14:15:22Z",
                          "contact": "string",
                          "phone": "string",
                          "email": "string",
                          "address": "string",
                          "city": "string",
                          "state": "string",
                          "postalCode": "string",
                          "website": "string",
                          "lockType": "string",
                          "programCode": "string",
                          "status": "string",
                          "statusDate": "2019-08-24T14:15:22Z",
                          "tradeNumber": "string",
                          "commitment": "string",
                          "templateName": "string",
                          "name": "string"
                        },
                        "servicer": "string",
                        "servicingFee": 0,
                        "guarantyBaseFee": 0,
                        "guaranteeFee": 0,
                        "poolNumber": "string",
                        "poolId": "string",
                        "commitmentContractNumber": "string",
                        "productName": "string",
                        "msrValue": 0,
                        "commitmentDate": "string",
                        "actualAmount": 0,
                        "actualPrice": 0,
                        "actualSrp": 0,
                        "diffAmount": 0,
                        "diffPrice": 0,
                        "diffSrp": 0,
                        "netAmount": 0,
                        "paidMiPremium": 0,
                        "correspondentEscrowDisbursementsToBePaid": 0,
                        "tradeMgmtPrevConfirmedLockGuid": "string",
                        "tradeId": "string",
                        "tradeNumber": "string",
                        "daysToExtend": 0,
                        "extendedLockExpirationDate": "2019-08-24T14:15:22Z",
                        "lockExtendPriceAdjustment": 0,
                        "servicingType": "string",
                        "discountYsp": 0,
                        "masterContractNumber": "string",
                        "gainLossPercentage": 0,
                        "gainLossPrice": 0,
                        "gainLossTotalPrice": 0,
                        "rateSheetId": "string",
                        "lastRateSetDate": "2019-08-24T14:15:22Z",
                        "lockNumberOfDays": 0,
                        "lockExpirationDate": "2019-08-24T14:15:22Z",
                        "lockDate": "2019-08-24T14:15:22Z",
                        "baseRate": 0,
                        "adjustments": [
                          {
                            "adjustmentType": "string",
                            "description": "string",
                            "priceAdjustmentType": "string",
                            "adjustment": 0
                          }
                        ],
                        "totalRateAdjustments": 0,
                        "netRate": 0,
                        "basePrice": 0,
                        "totalPriceAdjustments": 0,
                        "netPrice": 0,
                        "baseMarginRate": 0,
                        "totalMarginAdjustments": 0,
                        "netMarginRate": 0,
                        "comments": "string",
                        "originalLockExpirationDate": "2019-08-24T14:15:22Z",
                        "srpPaidOut": 0,
                        "loanProgram": "string"
                      },
                      "comparison": {
                        "requestedBy": {
                          "entityId": "string",
                          "entityType": "string",
                          "entityName": "string",
                          "entityUri": "string"
                        },
                        "investor": {
                          "contact": "string",
                          "phone": "string",
                          "email": "string",
                          "address": "string",
                          "city": "string",
                          "state": "string",
                          "postalCode": "string",
                          "website": "string",
                          "lockType": "string",
                          "programCode": "string",
                          "status": "string",
                          "statusDate": "2019-08-24T14:15:22Z",
                          "tradeNumber": "string",
                          "commitment": "string",
                          "templateName": "string",
                          "name": "string"
                        },
                        "servicingType": "string",
                        "discountYsp": 0,
                        "masterContractNumber": "string",
                        "gainLossPercentage": 0,
                        "gainLossPrice": 0,
                        "gainLossTotalPrice": 0,
                        "rateSheetId": "string",
                        "lastRateSetDate": "2019-08-24T14:15:22Z",
                        "lockNumberOfDays": 0,
                        "lockExpirationDate": "2019-08-24T14:15:22Z",
                        "lockDate": "2019-08-24T14:15:22Z",
                        "baseRate": 0,
                        "adjustments": [
                          {
                            "adjustmentType": "string",
                            "description": "string",
                            "priceAdjustmentType": "string",
                            "adjustment": 0
                          }
                        ],
                        "totalRateAdjustments": 0,
                        "netRate": 0,
                        "basePrice": 0,
                        "totalPriceAdjustments": 0,
                        "netPrice": 0,
                        "baseMarginRate": 0,
                        "totalMarginAdjustments": 0,
                        "netMarginRate": 0,
                        "comments": "string",
                        "originalLockExpirationDate": "2019-08-24T14:15:22Z",
                        "srpPaidOut": 0,
                        "loanProgram": "string"
                      },
                      "customFields": [
                        {
                          "id": "string",
                          "dateValue": "2019-08-24T14:15:22Z",
                          "fieldName": "string",
                          "numericValue": 0,
                          "stringValue": "string"
                        }
                      ],
                      "isVoidable": true,
                      "isCancellable": true,
                      "isExtendable": true,
                      "enableZeroParPricingRetail": true,
                      "enableZeroParPricingWholesale": true
                    }
                  },
                  "Live Data Sample": {
                    "value": {
                      "id": "484b742a-37ba-4297-a693-2abee25573ce",
                      "requestType": "Lock",
                      "requestStatus": "Not Locked",
                      "lockStatus": "Locked",
                      "requestedBy": {
                        "entityId": "admin",
                        "entityType": "User",
                        "entityName": "Admin User",
                        "entityUri": "/v1/users/admin"
                      },
                      "requestedDate": "2019-08-05T19:48:11Z",
                      "fulfilledDate": "2019-08-05T19:48:19Z",
                      "fulfilledBy": {
                        "entityId": "admin",
                        "entityType": "User",
                        "entityName": "Admin User",
                        "entityUri": "/v1/users/admin"
                      },
                      "lockRequest": {
                        "onrpEligible": false,
                        "onrpLock": false,
                        "hedging": false,
                        "fulfilledDate": "2019-08-05T19:48:19.000Z",
                        "isCancelled": false,
                        "rateStatus": "NotLocked",
                        "requestPending": false,
                        "extensionRequestPending": false,
                        "cancellationRequestPending": false,
                        "reLockRequestPending": false,
                        "lockNumberOfDays": 5,
                        "lockDate": "2018-07-10",
                        "lockExpirationDate": "2018-07-14",
                        "baseRate": 7.5,
                        "adjustments": [],
                        "netRate": 7.5,
                        "comments": "TESTING SUBMIT LOCK REQUEST\r\n\r\nTEST123"
                      },
                      "buySide": {
                        "requestedBy": "Admin User",
                        "onrpEligible": false
                      },
                      "sellSide": {
                        "requestedBy": "Admin User"
                      }
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "No Content"
          },
          "400": {
            "description": "Bad Request"
          },
          "401": {
            "description": "Unauthorized"
          },
          "404": {
            "description": "Not Found"
          },
          "500": {
            "description": "Internal Server Error"
          }
        },
        "servers": [
          {
            "url": "https://api.elliemae.com",
            "description": "Production"
          },
          {
            "url": "https://concept.api.elliemae.com",
            "description": "UAT"
          },
          {
            "url": "",
            "description": ""
          },
          {
            "url": "",
            "description": ""
          },
          {
            "url": "",
            "description": ""
          },
          {
            "url": "",
            "description": ""
          }
        ]
      }
    }
  },
  "components": {
    "parameters": {
      "copyLoanData": {
        "name": "copyLoanData",
        "in": "query",
        "description": "If `true`, the API will copy current loan data to the corresponding rate lock snapshot fields before confirming the rate lock. Default is `false`.",
        "required": false,
        "schema": {
          "type": "boolean"
        }
      },
      "dataSyncOption": {
        "name": "dataSyncOption",
        "in": "query",
        "description": "Determines whether the loan will be updated with lock data after a lock is confirmed. Possible values:<br>`noSync`: Does not update the loan with lock data upon lock confirmation.<br>`syncLockToLoan`: The default value. Updates the loan with the lock data upon lock confirmation.",
        "required": false,
        "schema": {
          "type": "string"
        }
      },
      "excludeInterestRateOnCopy": {
        "name": "excludeInterestRateOnCopy",
        "in": "query",
        "description": "If `true`, the API will exclude Interest Rate (field ID 3) and will not copy the current value to corresponding Lock Request Base Rate (field ID 2092). Default is `false`.<br>_Note: True can only be provided in conjunction with action Query Parameters, where action = “confirm”, “sellComparisonUpdate”, or “revise”._",
        "required": false,
        "schema": {
          "type": "boolean"
        }
      },
      "view-puts": {
        "name": "view",
        "in": "query",
        "description": "Optional. View type parameter. Enumerations: `entity`, `id`<br>When no view parameter is provided, the API will return **204 - No Content** with no response body.",
        "required": false,
        "schema": {
          "type": "string"
        }
      }
    },
    "schemas": {
      "loanRateLockContract": {
        "type": "object",
        "description": "Objects and attributes defined in the loanRateLock contract.",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier of the rate lock request."
          },
          "requestType": {
            "type": "string",
            "description": "Lock request type. Possible values: `lock`, `re-lock`, `extension`, `trade extension`, *`cancellation`"
          },
          "requestStatus": {
            "type": "string",
            "description": "Status of the rate lock before there is an action performed on the request. Possible values: `not locked`, `active lock`, `cancelled lock`, `expired lock`"
          },
          "lockStatus": {
            "type": "string",
            "description": "Status of the lock request. Possible values: `requested`, `locked`, `old lock`, `old request`, `expired`, `cancelled`, `extension requested`, `denied`, `registered`, `old registration`"
          },
          "lockNumberOfDays": {
            "type": "integer",
            "description": "Indicates the total number of lock days for the request.",
            "format": "int32"
          },
          "lockExpirationDate": {
            "type": "string",
            "description": "Date on which the rate lock expires."
          },
          "requestedBy": {
            "$ref": "#/components/schemas/EntityReferenceContract",
            "description": "The entityReferenceContract describing the entity or user who submitted the lock request."
          },
          "requestedDate": {
            "type": "string",
            "description": "The date and time when the lock request is created.",
            "format": "date-time"
          },
          "fulfilledDate": {
            "type": "string",
            "description": "The date and time when lock request was fulfilled.",
            "format": "date-time"
          },
          "fulfilledBy": {
            "$ref": "#/components/schemas/EntityReferenceContract",
            "description": "The entityReferenceContract describing the entity or user who fulfilled the lock request."
          },
          "investor": {
            "$ref": "#/components/schemas/investor",
            "description": "Object containing investor information."
          },
          "investorDeliveryDate": {
            "type": "string",
            "description": "Investor's delivery date.",
            "format": "date-time"
          },
          "requestIndicators": {
            "type": "array",
            "description": "Flags that indicate the status of the request. Possible values:\r\n- `hideLog` - Indicates the lock request log needs to be hidden.\r\n- `fakeRequest` - Indicates the lock is created with/out a request.\r\n- `lockExtension` - Indicates the lock is extended.\r\n- `lockCancellation` - Indicates the lock is cancelled.\r\n- *`reLock` - Indicates that the rate lock is re-locked.",
            "items": {
              "type": "string"
            }
          },
          "parentLockRequest": {
            "$ref": "#/components/schemas/parentLockRequest",
            "description": "Object containing attributes that describe the parent lock request."
          },
          "investorCommitment": {
            "type": "string",
            "description": "Investor's commitment."
          },
          "loanInformation": {
            "$ref": "#/components/schemas/loanInformation",
            "description": "Object containing attributes that describe loan information."
          },
          "lockRequest": {
            "$ref": "#/components/schemas/lockRequest",
            "description": "Object containing attributes that define the lock request."
          },
          "buySide": {
            "$ref": "#/components/schemas/buySide",
            "description": "Object containing buy side information."
          },
          "sellSide": {
            "$ref": "#/components/schemas/sellSide",
            "description": "Object containing sell side information."
          },
          "comparison": {
            "$ref": "#/components/schemas/comparison",
            "description": "Object containing comparision information."
          },
          "customFields": {
            "type": "array",
            "description": "Array of objects containing custom fields information.",
            "items": {
              "$ref": "#/components/schemas/customFields"
            }
          },
          "isVoidable": {
            "type": "boolean",
            "description": "Indicates if voidable."
          },
          "isCancellable": {
            "type": "boolean",
            "description": "Indicates if cancellable."
          },
          "isExtendable": {
            "type": "boolean",
            "description": "Indicate if extendable."
          },
          "enableZeroParPricingRetail": {
            "type": "boolean",
            "description": "Indicates if zero par pricing for retail lending is enabled."
          },
          "enableZeroParPricingWholesale": {
            "type": "boolean",
            "description": "Indicates if zero par pricing for wholesale lending is enabled."
          }
        },
        "x-examples": {
          "Example 1": {
            "id": "string",
            "requestType": "string",
            "requestStatus": "string",
            "lockStatus": "string",
            "lockNumberOfDays": 0,
            "lockExpirationDate": "string",
            "requestedBy": {
              "entityId": "string",
              "entityType": "string",
              "entityName": "string",
              "entityUri": "string"
            },
            "requestedDate": "2026-03-26T13:01:58.499Z",
            "fulfilledDate": "2026-03-26T13:01:58.499Z",
            "fulfilledBy": {
              "entityId": "string",
              "entityType": "string",
              "entityName": "string",
              "entityUri": "string"
            },
            "investor": "string",
            "investorDeliveryDate": "2026-03-26T13:01:58.499Z",
            "requestIndicators": [
              "string"
            ],
            "parentLockRequest": {
              "requestType": "string",
              "lockStatus": "string",
              "entityId": "string",
              "entityType": "string",
              "entityName": "string",
              "entityUri": "string"
            },
            "investorCommitment": "string",
            "loanInformation": {
              "planCode": "string",
              "loanDocumentationType": "string",
              "lockRequestBorrowers": [
                {
                  "equifaxScore": "string",
                  "experianScore": "string",
                  "firstName": "string",
                  "lastName": "string",
                  "ssn": "string",
                  "transUnionScore": "string",
                  "selfEmployedIndicator": true
                }
              ],
              "borrowerMinimumFico": "string",
              "coBorrowerMinimumFico": "string",
              "creditScoreToUse": "string",
              "isFirstTimeHomeBuyer": true,
              "canDemonstrateTwelveMonthMortgageRentalHistory": true,
              "subjectProperty": {
                "address": "string",
                "city": "string",
                "state": "string",
                "postalCode": "string",
                "county": "string",
                "estimatedAmount": 0,
                "appraisedAmount": 0,
                "purchasePrice": 0,
                "usageType": "string",
                "numberOfUnits": 0,
                "gsePropertyType": "string",
                "isCondotelProperty": true,
                "isNonWarrantableProjectProperty": true,
                "subjectPropertyPropertyStreetAddress": "string",
                "subjectPropertyUnitType": "string",
                "subjectPropertyUnitNumber": "string"
              },
              "loanPurposeType": "string",
              "currentAcquisition": true,
              "currentConstructionRefinance": true,
              "loanFor203K": true,
              "totalForLesserOfSumAsIs": 0,
              "lienPriorityType": "string",
              "mortgageType": "string",
              "loanAmortizationType": "string",
              "gpmRate": 0,
              "gpmYears": 0,
              "fnmProductPlanIdentifier": "string",
              "otherAmortizationTypeDescription": "string",
              "requestImpoundWaived": "string",
              "requestImpoundType": "string",
              "prepayPenalty": true,
              "penaltyTerm": "string",
              "noClosingCost": true,
              "lenderFeeWaiver": true,
              "estimatedClosingDate": "string",
              "sellerPaidMiPremium": 0,
              "fhaUpfrontMiPremiumPercent": 0,
              "fundingAmount": 0,
              "ltv": 0,
              "combinedLtv": 0,
              "mipPaidInCash": 0,
              "roundToNearestFifty": true,
              "balloonLoanMaturityTerms": 0,
              "loanAmortizationTerms": 0,
              "baseLoanAmount": 0,
              "borrowerRequestedLoanAmount": 0,
              "helocActualBalance": "string",
              "firstSubordinateAmount": 0,
              "secondSubordinateAmount": 0,
              "otherSubordinateAmount": 0,
              "lockField": true,
              "totalSubordinateFinancing": 0,
              "pricingUpdated": "string",
              "impoundType": "string",
              "impoundWaived": "string",
              "isLenderPaidMortgageInsurance": true,
              "pricingHistoryData": "string",
              "loanProgramFile": "string",
              "teaserRate": 0,
              "disclosureType": "string",
              "indexCurrentValuePercent": 0,
              "hCLTVHTLTV": 0,
              "fHASecondaryResidence": true,
              "hELOCCreditLimit": 0,
              "buydownType": "string",
              "condominiumIndicator": true,
              "cooperativeIndicator": true,
              "pudIndicator": true,
              "notInProjectIndicator": true,
              "borrLenderPaid": "string"
            },
            "lockRequest": {
              "requestedBy": {
                "entityId": "string",
                "entityType": "string",
                "entityName": "string",
                "entityUri": "string"
              },
              "unDiscountedRate": 0,
              "startingAdjustRate": 0,
              "startingAdjustPrice": 0,
              "programNotes": "string",
              "expectedNetPrice": 0,
              "onrpDate": "2026-03-26T13:01:58.499Z",
              "onrpEligible": true,
              "correspondentCommitmentType": "string",
              "correspondentDeliveryType": "string",
              "cumulatedDaystoExtend": 0,
              "extensionSequenceNumber": 0,
              "onrpLock": true,
              "hedging": true,
              "penaltyTerm": "string",
              "prepayPenalty": "string",
              "daystoExtend": 0,
              "extendedLockExpirationDate": "string",
              "fulfilledDate": "string",
              "lockCancellationComment": "string",
              "lockCancellationDate": "string",
              "lockExtendComment": "string",
              "lockExtendPriceAdjustment": 0,
              "marginSrpPaidOut": 0,
              "isDeliveryType": true,
              "pricingConcessionRequested": 0,
              "lockValidationStatus": "string",
              "lockValidationTimestamp": "2026-03-26T13:01:58.499Z",
              "priceConcessionIndicator": true,
              "extensionIndicator": true,
              "priceConcessionRequestStatus": "string",
              "isCancelled": true,
              "rateStatus": "string",
              "requestPending": true,
              "extensionRequestPending": true,
              "cancellationRequestPending": true,
              "reLockRequestPending": true,
              "rateSheetId": "string",
              "lastRateSetDate": "string",
              "lockNumberOfDays": 0,
              "lockExpirationDate": "string",
              "lockDate": "string",
              "baseRate": 0,
              "adjustments": [
                {
                  "adjustmentType": "string",
                  "priceAdjustmentType": "string",
                  "description": "string",
                  "adjustment": 0
                }
              ],
              "totalRateAdjustments": 0,
              "netRate": 0,
              "basePrice": 0,
              "totalPriceAdjustments": 0,
              "netPrice": 0,
              "baseMarginRate": 0,
              "totalMarginAdjustments": 0,
              "netMarginRate": 0,
              "comments": "string",
              "originalLockExpirationDate": "string",
              "srpPaidOut": 0,
              "loanProgram": "string"
            },
            "buySide": {
              "requestedBy": "string",
              "investor": {
                "name": "string"
              },
              "onrpDate": "2026-03-26T13:01:58.499Z",
              "onrpEligible": true,
              "commitmentNumber": "string",
              "masterCommitmentNumber": "string",
              "tpoName": "string",
              "tpoId": "string",
              "orgId": "string",
              "commitmentDate": "string",
              "commitmentType": "string",
              "deliveryType": "string",
              "expirationDate": "string",
              "deliveryExpirationDate": "string",
              "startingAdjustPrice": 0,
              "unDiscountedRate": 0,
              "startingAdjustRate": 0,
              "startingAdjPrice": 0,
              "branchApprovalDate": "string",
              "branchApprovedby": "string",
              "branchPrice": 0,
              "corporateApprovalDate": "string",
              "corporateApprovedby": "string",
              "corporatePrice": 0,
              "profitMarginAdjustedBuyPrice": 0,
              "reasonforBranchApproval": "string",
              "reasonforCorporateApproval": "string",
              "totalBuyPrice": 0,
              "totalPrice": 0,
              "correspondentTradeId": "string",
              "correspondentTradeNumber": "string",
              "daysToExtend": 0,
              "extendedLockExpirationDate": "string",
              "lockExtendPriceAdjustment": 0,
              "commitment": "string",
              "corporatePrice2": 0,
              "corporateApprovalDate2": "2026-03-26T13:01:58.499Z",
              "corporateApprovedBy2": "string",
              "reasonForCorporateApproval2": "string",
              "corporatePrice3": 0,
              "corporateApprovalDate3": "2026-03-26T13:01:58.499Z",
              "corporateApprovedBy3": "string",
              "reasonForCorporateApproval3": "string",
              "corporatePrice4": 0,
              "corporateApprovalDate4": "2026-03-26T13:01:58.499Z",
              "corporateApprovedBy4": "string",
              "reasonForCorporateApproval4": "string",
              "corporatePrice5": 0,
              "corporateApprovalDate5": "2026-03-26T13:01:58.499Z",
              "corporateApprovedBy5": "string",
              "reasonForCorporateApproval5": "string",
              "branchPrice2": 0,
              "branchApprovalDate2": "2026-03-26T13:01:58.499Z",
              "branchApprovedBy2": "string",
              "reasonForBranchApproval2": "string",
              "branchPrice3": 0,
              "branchApprovalDate3": "2026-03-26T13:01:58.499Z",
              "branchApprovedBy3": "string",
              "reasonForBranchApproval3": "string",
              "branchPrice4": 0,
              "branchApprovalDate4": "2026-03-26T13:01:58.499Z",
              "branchApprovedBy4": "string",
              "reasonForBranchApproval4": "string",
              "branchPrice5": 0,
              "branchApprovalDate5": "2026-03-26T13:01:58.499Z",
              "branchApprovedBy5": "string",
              "reasonForBranchApproval5": "string",
              "totalBranchPriceConcession": 0,
              "totalCorporatePriceConcession": 0,
              "rateSheetId": "string",
              "lastRateSetDate": "string",
              "lockNumberOfDays": 0,
              "lockExpirationDate": "string",
              "lockDate": "string",
              "baseRate": 0,
              "adjustments": [
                {
                  "adjustmentType": "string",
                  "priceAdjustmentType": "string",
                  "description": "string",
                  "adjustment": 0
                }
              ],
              "totalRateAdjustments": 0,
              "netRate": 0,
              "basePrice": 0,
              "totalPriceAdjustments": 0,
              "netPrice": 0,
              "baseMarginRate": 0,
              "totalMarginAdjustments": 0,
              "netMarginRate": 0,
              "comments": "string",
              "originalLockExpirationDate": "string",
              "srpPaidOut": 0,
              "loanProgram": "string"
            },
            "sellSide": {
              "requestedBy": "string",
              "srp": 0,
              "investor": {
                "loanNumber": "string",
                "mersNumber": "string",
                "lockedDate": "2026-03-26T13:01:58.499Z",
                "deliveryDate": "string",
                "targetDeliveryDate": "string",
                "contact": "string",
                "phone": "string",
                "email": "string",
                "address": "string",
                "city": "string",
                "state": "string",
                "postalCode": "string",
                "website": "string",
                "lockType": "string",
                "programCode": "string",
                "status": "string",
                "statusDate": "string",
                "tradeNumber": "string",
                "commitment": "string",
                "templateName": "string",
                "name": "string"
              },
              "servicer": "string",
              "servicingFee": 0,
              "guarantyBaseFee": 0,
              "guaranteeFee": 0,
              "poolNumber": "string",
              "poolId": "string",
              "commitmentContractNumber": "string",
              "productName": "string",
              "msrValue": 0,
              "commitmentDate": "string",
              "actualAmount": 0,
              "actualPrice": 0,
              "actualSrp": 0,
              "diffAmount": 0,
              "diffPrice": 0,
              "diffSrp": 0,
              "netAmount": 0,
              "paidMiPremium": 0,
              "correspondentEscrowDisbursementsToBePaid": 0,
              "tradeMgmtPrevConfirmedLockGuid": "string",
              "tradeId": "string",
              "tradeNumber": "string",
              "daysToExtend": 0,
              "extendedLockExpirationDate": "string",
              "lockExtendPriceAdjustment": 0,
              "servicingType": "string",
              "discountYsp": 0,
              "masterContractNumber": "string",
              "gainLossPercentage": 0,
              "gainLossPrice": 0,
              "gainLossTotalPrice": 0,
              "rateSheetId": "string",
              "lastRateSetDate": "string",
              "lockNumberOfDays": 0,
              "lockExpirationDate": "string",
              "lockDate": "string",
              "baseRate": 0,
              "adjustments": [
                {
                  "adjustmentType": "string",
                  "priceAdjustmentType": "string",
                  "description": "string",
                  "adjustment": 0
                }
              ],
              "totalRateAdjustments": 0,
              "netRate": 0,
              "basePrice": 0,
              "totalPriceAdjustments": 0,
              "netPrice": 0,
              "baseMarginRate": 0,
              "totalMarginAdjustments": 0,
              "netMarginRate": 0,
              "comments": "string",
              "originalLockExpirationDate": "string",
              "srpPaidOut": 0,
              "loanProgram": "string"
            },
            "comparison": {
              "requestedBy": "string",
              "investor": {
                "contact": "string",
                "phone": "string",
                "email": "string",
                "address": "string",
                "city": "string",
                "state": "string",
                "postalCode": "string",
                "website": "string",
                "lockType": "string",
                "programCode": "string",
                "status": "string",
                "statusDate": "string",
                "tradeNumber": "string",
                "commitment": "string",
                "templateName": "string",
                "name": "string"
              },
              "servicingType": "string",
              "discountYsp": 0,
              "masterContractNumber": "string",
              "gainLossPercentage": 0,
              "gainLossPrice": 0,
              "gainLossTotalPrice": 0,
              "rateSheetId": "string",
              "lastRateSetDate": "string",
              "lockNumberOfDays": 0,
              "lockExpirationDate": "string",
              "lockDate": "string",
              "baseRate": 0,
              "adjustments": [
                {
                  "adjustmentType": "string",
                  "priceAdjustmentType": "string",
                  "description": "string",
                  "adjustment": 0
                }
              ],
              "totalRateAdjustments": 0,
              "netRate": 0,
              "basePrice": 0,
              "totalPriceAdjustments": 0,
              "netPrice": 0,
              "baseMarginRate": 0,
              "totalMarginAdjustments": 0,
              "netMarginRate": 0,
              "comments": "string",
              "originalLockExpirationDate": "string",
              "srpPaidOut": 0,
              "loanProgram": "string"
            },
            "customFields": [
              {
                "id": "string",
                "dateValue": "2026-03-26T13:01:58.499Z",
                "fieldName": "string",
                "numericValue": 0,
                "stringValue": "string"
              }
            ],
            "isVoidable": true,
            "isCancellable": true,
            "isExtendable": true,
            "enableZeroParPricingRetail": true,
            "enableZeroParPricingWholesale": true
          }
        }
      },
      "EntityReferenceContract": {
        "type": "object",
        "title": "EntityReferenceContract",
        "properties": {
          "entityId": {
            "type": "string",
            "description": "Unique identifier of the entity."
          },
          "entityType": {
            "type": "string",
            "description": "Type of the entity."
          },
          "entityName": {
            "type": "string",
            "description": "RetrieveOnly. Name of the entity."
          },
          "entityUri": {
            "type": "string",
            "description": "RetrieveOnly. The URI of the entity, with which the entity can be accessed."
          }
        },
        "required": [
          "entityId"
        ]
      },
      "investor": {
        "type": "object",
        "title": "investor",
        "properties": {
          "contact": {
            "type": "string",
            "description": "Investor contact name."
          },
          "phone": {
            "type": "string",
            "description": "Investor contact phone."
          },
          "email": {
            "type": "string",
            "description": "Investor contact email address."
          },
          "address": {
            "type": "string",
            "description": "Investor contact mailing address."
          },
          "city": {
            "type": "string",
            "description": "Investor contact mailing address city."
          },
          "state": {
            "type": "string",
            "description": "Investor contact mailing address State."
          },
          "postalCode": {
            "type": "string",
            "description": "Investor contact mailing address zip code."
          },
          "website": {
            "type": "string",
            "description": "Investor's web site."
          },
          "lockType": {
            "type": "string",
            "description": "The lock type."
          },
          "programCode": {
            "type": "string",
            "description": "The program code for the loan program data."
          },
          "status": {
            "type": "string",
            "description": "The trade status."
          },
          "statusDate": {
            "type": "string",
            "description": "The trade status date.",
            "format": "date-time"
          },
          "tradeNumber": {
            "type": "string",
            "description": "The trade number."
          },
          "commitment": {
            "type": "string",
            "description": "The investor commitment."
          },
          "templateName": {
            "type": "string",
            "description": "The trade template name."
          },
          "name": {
            "type": "string",
            "description": "The trade name."
          }
        }
      },
      "parentLockRequest": {
        "type": "object",
        "title": "parentLockRequest",
        "properties": {
          "requestType": {
            "type": "string",
            "description": "Lock request type of the parent lock request."
          },
          "lockStatus": {
            "type": "string",
            "description": "Lock status of the parent lock request."
          },
          "entityId": {
            "type": "string",
            "description": "Unique identifier of the parent lock request."
          },
          "entityType": {
            "type": "string",
            "description": "Type of the entity (lock request)."
          },
          "entityName": {
            "type": "string",
            "description": "Name of the parent lock request."
          },
          "entityUri": {
            "type": "string",
            "description": "Location of the parent lock request."
          }
        }
      },
      "loanInformation": {
        "type": "object",
        "title": "loanInformation",
        "properties": {
          "planCode": {
            "type": "string",
            "description": "The plan code associated with the lock request."
          },
          "loanProgramFile": {
            "type": "string",
            "description": "The complete path of the loan program template to be applied when the rate lock request is confirmed."
          },
          "loanDocumentationType": {
            "type": "string",
            "description": "Fannie Mae loan documentation type code."
          },
          "lockRequestBorrowers": {
            "type": "array",
            "description": "Array of objects containing information on the borrowers.",
            "items": {
              "$ref": "#/components/schemas/lockRequestBorrowers"
            }
          },
          "borrowerMinimumFico": {
            "type": "string",
            "description": "The minimum FICO score allowed for the borrower to qualify for the loan program."
          },
          "coBorrowerMinimumFico": {
            "type": "string",
            "description": "The minimum FICO score allowed for the co-borrower to qualify for the loan program."
          },
          "creditScoreToUse": {
            "type": "string",
            "description": "The credit score to use when qualifying the loan for a loan product. Depending on the loan product and the scores of the applicants, the credit score may come from the borrower, co-borrower, or even co-mortgagors."
          },
          "isFirstTimeHomeBuyer": {
            "type": "boolean",
            "description": "Indicates whether the borrower is a first time home buyer."
          },
          "canDemonstrate TwelveMonthMortgageRentalHistory": {
            "type": "boolean",
            "description": "Indicates whether the borrower can demonstrate twelve months mortgage rental history."
          },
          "subjectProperty": {
            "$ref": "#/components/schemas/subjectProperty",
            "description": "Attributes that define the subject property."
          },
          "loanPurposeType": {
            "type": "string",
            "description": "Loan Purpose Type. Possible values: `construction-perm`, `no cash-out refi`, `purchase`, `construction`, `cash-out refi`, `other`"
          },
          "currentAcquisition": {
            "type": "boolean",
            "description": "Indicates whether the loan is a current Acquisition."
          },
          "currentConstructionRefinance": {
            "type": "boolean",
            "description": "Indicates whether the loan is a current Construction Refinance."
          },
          "loanFor203K": {
            "type": "boolean",
            "description": "Indicates whether the loan is for a 203K."
          },
          "totalForLesserOfSumAsIs": {
            "type": "number",
            "description": "Total for lesser of sum as is.",
            "format": "double"
          },
          "lienPriorityType": {
            "type": "string",
            "description": "Lien priority type."
          },
          "mortgageType": {
            "type": "string",
            "description": "Mortgage type. Possible values: `Conventional`, `VA`, `FHA`, `USDA-RHS`, `Other`, *`HELOC`"
          },
          "loanAmortizationType": {
            "type": "string",
            "description": "Loan Amortization Type. Possible values: `fixed rate`, `gpm-rate`, `arm`, `other`"
          },
          "gpmRate": {
            "type": "number",
            "description": "GPM rate. A mortgage in which the payments are lower in the first years, and then increase annually until a level that fully amortizes the loan within its term.",
            "format": "double"
          },
          "gpmYears": {
            "type": "integer",
            "description": "GPM years. The number of years the rate (as defined by the GPM attribute) is in effect before the loan is reamortized.",
            "format": "int32"
          },
          "fnmProductPlanIdentifier": {
            "type": "string",
            "description": "FNM Product Plan Identifier."
          },
          "otherAmortizationType": {
            "type": "string",
            "description": "Description if the amortization type is set to `Other`."
          },
          "requestImpoundWaived": {
            "type": "string",
            "description": "Request Impound Waived indicator."
          },
          "requestImpoundType": {
            "type": "string",
            "description": "Request Impound Type. Possible values: `Taxes & Insurance`, `taxes only`, `insurance only`, `no impounds`"
          },
          "prepayPenalty": {
            "type": "boolean",
            "description": "Indicates whether the Penalty is prepaid."
          },
          "penaltyTerm": {
            "type": "string",
            "description": "Term of the penalty in months."
          },
          "noClosingCost": {
            "type": "boolean",
            "description": "Indicates whether there is a closing cost."
          },
          "lenderFeeWaiver": {
            "type": "boolean",
            "description": "Indicates whether there is a lender fee waiver."
          },
          "estimatedClosingDate": {
            "type": "string",
            "description": "Estimated closing date of the loan."
          },
          "sellerPaidMiPremium": {
            "type": "number",
            "description": "Seller paid MI premium.",
            "format": "double"
          },
          "fhaUpfrontMiPremiumPercent": {
            "type": "number",
            "description": "FHA upfront MI premium percentage",
            "format": "double"
          },
          "fundingAmount": {
            "type": "number",
            "description": "Funding amount.",
            "format": "double"
          },
          "ltv": {
            "type": "number",
            "description": "The Loan-to-Value (LTV) ratio used for the lock request.",
            "format": "double"
          },
          "combinedLtv": {
            "type": "number",
            "description": "The combined Loan-to-Value (CLTV) ratio used for the lock request.",
            "format": "double"
          },
          "mipPaidInCash": {
            "type": "number",
            "description": "The Amount Paid in Cash or the MIP/Funding amount.",
            "format": "double"
          },
          "roundToNearestFifty": {
            "type": "boolean",
            "description": "Indicates to round the Total Loan Amount to the nearest $50 increment."
          },
          "balloonLoanMaturityTerms": {
            "type": "integer",
            "description": "Balloon loan maturity terms.",
            "format": "int32"
          },
          "loanAmortizationTerms": {
            "type": "integer",
            "description": "Loan amortization terms.",
            "format": "int32"
          },
          "baseLoanAmount": {
            "type": "number",
            "description": "Base loan amount.",
            "format": "double"
          },
          "borrowerRequestedLoanAmount": {
            "type": "number",
            "description": "Borrower requested loan amount.",
            "format": "double"
          },
          "helocActualBalance": {
            "type": "string",
            "description": "HELOC actual balance."
          },
          "firstSubordinateAmount": {
            "type": "number",
            "description": "First subordinate amount.",
            "format": "double"
          },
          "secondSubordinateAmount": {
            "type": "number",
            "description": "Second subordinate amount.",
            "format": "double"
          },
          "otherSubordinateAmount": {
            "type": "number",
            "description": "Other subordinate amount.",
            "format": "double"
          },
          "lockField": {
            "type": "boolean",
            "description": "Indicates lock field."
          },
          "totalSubordinateFinancing": {
            "type": "number",
            "description": "Total subordinate financing.",
            "format": "double"
          },
          "pricingUpdated": {
            "type": "string",
            "description": "The last date and time that pricing was imported."
          },
          "impoundType": {
            "type": "string",
            "description": "Impound type. Possible options: `Taxes and Insurance (T&I)`, `Taxes only (T)`, `Insurance only (I)`, `No impounds`"
          },
          "impoundWaived": {
            "type": "string",
            "description": "Whether the impound is waived or not waived."
          },
          "isLenderPaidMortgageInsurance": {
            "type": "boolean",
            "description": "Indicates whether the lender has paid MI."
          },
          "pricingHistoryData": {
            "type": "string",
            "description": "Pricing history data."
          }
        }
      },
      "lockRequestBorrowers": {
        "type": "object",
        "title": "lockRequestBorrowers",
        "properties": {
          "firstName": {
            "type": "string",
            "description": "The borrower’s first name."
          },
          "lastName": {
            "type": "string",
            "description": "The borrower’s last name."
          },
          "ssn": {
            "type": "string",
            "description": "The borrower’s social security number."
          },
          "equifaxScore": {
            "type": "string",
            "description": "equifaxScore"
          },
          "experianScore": {
            "type": "string",
            "description": "The borrower’s Experian score."
          },
          "transUnionScore": {
            "type": "string",
            "description": "The borrower’s TransUnion score."
          },
          "selfEmployedIndicator": {
            "type": "boolean",
            "description": "Flag to indicate self employed status."
          }
        }
      },
      "subjectProperty": {
        "type": "object",
        "title": "subjectProperty",
        "properties": {
          "address": {
            "type": "string",
            "description": "Address of the subject property."
          },
          "city": {
            "type": "string",
            "description": "City of the subject property."
          },
          "state": {
            "type": "string",
            "description": "State of the subject property."
          },
          "postalCode": {
            "type": "string",
            "description": "Postal code of the subject property."
          },
          "county": {
            "type": "string",
            "description": "County of the subject property."
          },
          "estimatedAmount": {
            "type": "integer",
            "description": "Estimated Amount of the subject property.",
            "format": "int32"
          },
          "appraisedAmount": {
            "type": "integer",
            "description": "Appraised Amount of the subject property.",
            "format": "int32"
          },
          "purchasePrice": {
            "type": "number",
            "description": "Purchase Price of the subject property.",
            "format": "double"
          },
          "usageType": {
            "type": "string",
            "description": "Usage Type of the subject property."
          },
          "numberOfUnits": {
            "type": "integer",
            "description": "Number of Units in the subject property.",
            "format": "int32"
          },
          "gsePropertyType": {
            "type": "string",
            "description": "GSE property type."
          },
          "isCondotelProperty": {
            "type": "boolean",
            "description": "Indicates whether the subject property is a Condotel Property."
          },
          "isNonWarrantableProjectProperty": {
            "type": "boolean",
            "description": "Indicates whether the subject property is a Non-Warrantable Project Property."
          }
        }
      },
      "lockRequest": {
        "type": "object",
        "properties": {
          "requestedBy": {
            "$ref": "#/components/schemas/EntityReferenceContract",
            "description": "The entityReferenceContract describing the entity or user who submitted the lock request."
          },
          "unDiscountedRate": {
            "type": "number",
            "description": "The undiscounted rate."
          },
          "startingAdjustRate": {
            "type": "number",
            "description": "The starting adjust rate."
          },
          "startingAdjustPrice": {
            "type": "number",
            "description": "The starting adjust price.",
            "format": "double"
          },
          "programNotes": {
            "type": "string",
            "description": "The program notes."
          },
          "expectedNetPrice": {
            "type": "number",
            "description": "The expected net price.",
            "format": "double"
          },
          "onrpDate": {
            "type": "string",
            "description": "The Overnight Rate Protection (ONRP) date.",
            "format": "date-time"
          },
          "onrpEligible": {
            "type": "boolean",
            "description": "Indicates Overnight Rate Protection (ONRP) eligible."
          },
          "correspondentCommitmentType": {
            "type": "string",
            "description": "The correspondent commitment type."
          },
          "correspondentDeliveryType": {
            "type": "string",
            "description": "The correspondent delivery type."
          },
          "cumulatedDaystoExtend": {
            "type": "integer",
            "description": "The cumulated days to extend."
          },
          "extensionSequenceNumber": {
            "type": "integer",
            "description": "The extension sequence number."
          },
          "onrpLock": {
            "type": "boolean",
            "description": "Indicates an Overnight Rate Protection (ONRP) lock is set."
          },
          "hedging": {
            "type": "boolean",
            "description": "Indicates the loan is included in a hedge."
          },
          "penaltyTerm": {
            "type": "string",
            "description": "The prepayment penalty term."
          },
          "prepayPenalty": {
            "type": "string",
            "description": "The prepayment penalty."
          },
          "daystoExtend": {
            "type": "integer",
            "description": "The number of days to extend."
          },
          "extendedLockExpirationDate": {
            "type": "string",
            "description": "The extended lock expiration date.",
            "format": "date-time"
          },
          "fulfilledDate": {
            "type": "string",
            "description": "The fulfilled date.",
            "format": "date-time"
          },
          "lockCancellationComment": {
            "type": "string",
            "description": "The lock cancellation comment."
          },
          "lockCancellationDate": {
            "type": "string",
            "description": "The lock cancellation date.",
            "format": "date-time"
          },
          "lockExtendComment": {
            "type": "string",
            "description": "The lock extend comment."
          },
          "lockExtendPriceAdjustment": {
            "type": "number",
            "description": "The lock extend price adjustment.",
            "format": "double"
          },
          "marginSrpPaidOut": {
            "type": "number",
            "description": "The margin SRP paid out.",
            "format": "double"
          },
          "isDeliveryType": {
            "type": "boolean",
            "description": "Indicates the Delivery Type field is selected."
          },
          "pricingConcessionRequested": {
            "type": "number",
            "description": "The concession pricing requested.",
            "format": "double"
          },
          "lockValidationStatus": {
            "type": "string",
            "description": "The lock validation status."
          },
          "lockValidationTimestamp": {
            "type": "string",
            "description": "The lock validation timestamp."
          },
          "priceConcessionIndicator": {
            "type": "boolean",
            "description": "Indicates price concession requested."
          },
          "extensionIndicator": {
            "type": "boolean",
            "description": "Indicates extension requested."
          },
          "priceConcessionRequestStatus": {
            "type": "string",
            "description": "The price concession request status."
          },
          "isCancelled": {
            "type": "boolean",
            "description": "Indicates the lock request is cancelled."
          },
          "rateStatus": {
            "type": "string",
            "description": "The rate status."
          },
          "requestPending": {
            "type": "boolean",
            "description": "Indicates the lock request is pending."
          },
          "extensionRequestPending": {
            "type": "boolean",
            "description": "Indicates the extension request is pending."
          },
          "cancellationRequestPending": {
            "type": "boolean",
            "description": "Indicates the cancellation request is pending."
          },
          "reLockRequestPending": {
            "type": "boolean",
            "description": "Indicates the re-lock request is pending."
          },
          "rateSheetId": {
            "type": "string",
            "description": "The rate sheet ID."
          },
          "lastRateSetDate": {
            "type": "string",
            "description": "The last date for the rate set.",
            "format": "date-time"
          },
          "lockNumberOfDays": {
            "type": "integer",
            "description": "The number of days for the lock."
          },
          "lockExpirationDate": {
            "type": "string",
            "description": "The expiration date for the lock.",
            "format": "date-time"
          },
          "lockDate": {
            "type": "string",
            "description": "The lock date.",
            "format": "date-time"
          },
          "baseRate": {
            "type": "number",
            "description": "The base rate."
          },
          "adjustments": {
            "type": "array",
            "description": "Array of objects containing the adjustments information.",
            "items": {
              "$ref": "#/components/schemas/adjustments"
            }
          },
          "totalRateAdjustments": {
            "type": "number",
            "description": "Total amount of rate adjustments.",
            "format": "double"
          },
          "netRate": {
            "type": "number",
            "description": "Net rate. The requested Base Buy Rate plus the Total Rate Adjustments",
            "format": "double"
          },
          "basePrice": {
            "type": "number",
            "description": "Base price. The requested base price for the lock. Enter pricing using 100 as par. <br><br>\r\n*Example 1: If the base price is .25 above par, enter 100.25. A loan amount of $100,000 with pricing of 100.25 would result in $100,250 being received.<br><br> \r\nExample 2: If the base price is .25 below par, enter 99.75. A loan amount of $100,000 with pricing of 99.75 would result in $99,750 being received.*",
            "format": "double"
          },
          "totalPriceAdjustments": {
            "type": "number",
            "description": "The total of the price adjustments itemized on the Detailed Lock Request form.",
            "format": "double"
          },
          "netPrice": {
            "type": "number",
            "description": "The requested Base Price plus the Total Price Adjustments.",
            "format": "double"
          },
          "baseMarginRate": {
            "type": "number",
            "description": "The requested base ARM margin for the lock.",
            "format": "double"
          },
          "totalMarginAdjustments": {
            "type": "number",
            "description": "The total of the base ARM margin adjustments.",
            "format": "double"
          },
          "netMarginRate": {
            "type": "number",
            "description": "The requested base ARM margin plus the Total ARM Margin Adjustments.",
            "format": "double"
          },
          "comments": {
            "type": "string",
            "description": "Additional comments and notes related to the lock request."
          },
          "originalLockExpirationDate": {
            "type": "string",
            "description": "Original lock expiration date for the requested rate lock extension.",
            "format": "date-time"
          },
          "srpPaidOut": {
            "type": "number",
            "description": "Service Release Premium Percentage (SRP) paid to the Lender.",
            "format": "double"
          },
          "loanProgram": {
            "type": "string",
            "description": "The Loan Program associated with the loan."
          }
        },
        "x-examples": {
          "Example 1": {
            "requestedBy": {
              "entityId": "string",
              "entityType": "string",
              "entityName": "string",
              "entityUri": "string"
            },
            "unDiscountedRate": 0,
            "startingAdjustRate": 0,
            "startingAdjustPrice": 0,
            "programNotes": "string",
            "expectedNetPrice": 0,
            "onrpDate": "2026-03-24T12:35:47.453Z",
            "onrpEligible": true,
            "correspondentCommitmentType": "string",
            "correspondentDeliveryType": "string",
            "cumulatedDaystoExtend": 0,
            "extensionSequenceNumber": 0,
            "onrpLock": true,
            "hedging": true,
            "penaltyTerm": "string",
            "prepayPenalty": "string",
            "daystoExtend": 0,
            "extendedLockExpirationDate": "string",
            "fulfilledDate": "string",
            "lockCancellationComment": "string",
            "lockCancellationDate": "string",
            "lockExtendComment": "string",
            "lockExtendPriceAdjustment": 0,
            "marginSrpPaidOut": 0,
            "isDeliveryType": true,
            "pricingConcessionRequested": 0,
            "lockValidationStatus": "string",
            "lockValidationTimestamp": "2026-03-24T12:35:47.453Z",
            "priceConcessionIndicator": true,
            "extensionIndicator": true,
            "priceConcessionRequestStatus": "string",
            "isCancelled": true,
            "rateStatus": "string",
            "requestPending": true,
            "extensionRequestPending": true,
            "cancellationRequestPending": true,
            "reLockRequestPending": true,
            "rateSheetId": "string",
            "lastRateSetDate": "string",
            "lockNumberOfDays": 0,
            "lockExpirationDate": "string",
            "lockDate": "string",
            "baseRate": 0,
            "adjustments": [
              {
                "adjustmentType": "string",
                "description": "string",
                "priceAdjustmentType": "string",
                "adjustment": 0
              }
            ],
            "totalRateAdjustments": 0,
            "netRate": 0,
            "basePrice": 0,
            "totalPriceAdjustments": 0,
            "netPrice": 0,
            "baseMarginRate": 0,
            "totalMarginAdjustments": 0,
            "netMarginRate": 0,
            "comments": "string",
            "originalLockExpirationDate": "string",
            "srpPaidOut": 0,
            "loanProgram": "string"
          }
        }
      },
      "adjustments": {
        "type": "object",
        "title": "adjustments",
        "properties": {
          "adjustmentType": {
            "type": "string",
            "description": "Type of adjustment. Possible values: `undefined`, `adjustment`, *`lockExtensionAdjustment`"
          },
          "description": {
            "type": "string",
            "description": "Description of the rate adjustments."
          },
          "priceAdjustmentType": {
            "type": "string",
            "description": "Type of price adjustment. Possible values:\r\n\r\n`undefined`, `baseMargin`, `basePrice`, `baseRate`, *`profitMargin`"
          },
          "adjustment": {
            "type": "number",
            "description": "Dollar amount of the adjustment.",
            "format": "double"
          }
        }
      },
      "buySide": {
        "type": "object",
        "properties": {
          "requestedBy": {
            "$ref": "#/components/schemas/EntityReferenceContract",
            "description": "The entityReferenceContract describing the entity or user who submitted the lock request."
          },
          "investor": {
            "$ref": "#/components/schemas/investor",
            "description": "Object containing the investor information."
          },
          "onrpDate": {
            "type": "string",
            "description": "The Overnight Rate Protection (ONRP) date.",
            "format": "date-time"
          },
          "onrpEligible": {
            "type": "boolean",
            "description": "Indicates Overnight Rate Protection (ONRP) eligible."
          },
          "commitmentNumber": {
            "type": "string",
            "description": "The commitment number."
          },
          "masterCommitmentNumber": {
            "type": "string",
            "description": "The master commitment number."
          },
          "tpoName": {
            "type": "string",
            "description": "The TPO name."
          },
          "tpoId": {
            "type": "string",
            "description": "The TPO ID."
          },
          "orgId": {
            "type": "string",
            "description": "The organization ID."
          },
          "commitmentDate": {
            "type": "string",
            "description": "The commitment date."
          },
          "commitmentType": {
            "type": "string",
            "description": "The commitment type."
          },
          "deliveryType": {
            "type": "string",
            "description": "The delivery type"
          },
          "expirationDate": {
            "type": "string",
            "description": "The expiration date.",
            "format": "date-time"
          },
          "deliveryExpirationDate": {
            "type": "string",
            "description": "The delivery expiration date.",
            "format": "date-time"
          },
          "startingAdjustPrice": {
            "type": "number",
            "description": "The starting adjust price.",
            "format": "double"
          },
          "unDiscountedRate": {
            "type": "number",
            "description": "The undiscounted rate."
          },
          "startingAdjustRate": {
            "type": "number",
            "description": "The starting adjust rate."
          },
          "startingAdjPrice": {
            "type": "number",
            "description": "The starting adjust price.",
            "format": "double"
          },
          "branchApprovalDate": {
            "type": "string",
            "description": "The branch approval date.",
            "format": "date-time"
          },
          "branchApprovedby": {
            "type": "string",
            "description": "The branch user who approved."
          },
          "branchPrice": {
            "type": "number",
            "description": "The branch price.",
            "format": "double"
          },
          "corporateApprovalDate": {
            "type": "string",
            "description": "The corporate approval date.",
            "format": "date-time"
          },
          "corporateApprovedby": {
            "type": "string",
            "description": "The corporate user who approved."
          },
          "corporatePrice": {
            "type": "number",
            "description": "The corporate price.",
            "format": "double"
          },
          "profitMarginAdjustedBuyPrice": {
            "type": "number",
            "description": "The profit margin adjusted buy price.",
            "format": "double"
          },
          "reasonforBranchApproval": {
            "type": "string",
            "description": "The reasonfor branch approval."
          },
          "reasonforCorporateApproval": {
            "type": "string",
            "description": "The reason for corporate approval."
          },
          "totalBuyPrice": {
            "type": "number",
            "description": "The total buy price.",
            "format": "double"
          },
          "totalPrice": {
            "type": "number",
            "description": "The total price.",
            "format": "double"
          },
          "correspondentTradeId": {
            "type": "string",
            "description": "The correspondent trade ID."
          },
          "correspondentTradeNumber": {
            "type": "string",
            "description": "The correspondent trade number."
          },
          "daysToExtend": {
            "type": "integer",
            "description": "The days to extend."
          },
          "extendedLockExpirationDate": {
            "type": "string",
            "description": "The extended lock expiration date.",
            "format": "date-time"
          },
          "lockExtendPriceAdjustment": {
            "type": "number",
            "description": "The lock extend price adjustment."
          },
          "commitment": {
            "type": "string",
            "description": "The commitment."
          },
          "corporatePrice2": {
            "type": "number",
            "description": "The second corporate price.",
            "format": "double"
          },
          "corporateApprovalDate2": {
            "type": "string",
            "description": "The second corporate approval date.",
            "format": "date-time"
          },
          "corporateApprovedBy2": {
            "type": "string",
            "description": "The user who performed the second corporate approval."
          },
          "reasonForCorporateApproval2": {
            "type": "string",
            "description": "The reason for the second corporate approval."
          },
          "corporatePrice3": {
            "type": "number",
            "description": "The third corporate price.",
            "format": "double"
          },
          "corporateApprovalDate3": {
            "type": "string",
            "description": "The third corporate approval date."
          },
          "corporateApprovedBy3": {
            "type": "string",
            "description": "The user who performed the third corporate approval."
          },
          "reasonForCorporateApproval3": {
            "type": "string",
            "description": "The reason for the third corporate approval."
          },
          "corporatePrice4": {
            "type": "number",
            "description": "The fourth corporate price.",
            "format": "double"
          },
          "corporateApprovalDate4": {
            "type": "string",
            "description": "The fourth corporate approval date."
          },
          "corporateApprovedBy4": {
            "type": "string",
            "description": "The user who performed the fourth corporate approval."
          },
          "reasonForCorporateApproval4": {
            "type": "string",
            "description": "The reason for the fourth corporate approval."
          },
          "corporatePrice5": {
            "type": "number",
            "description": "The fifth corporate price.",
            "format": "double"
          },
          "corporateApprovalDate5": {
            "type": "string",
            "description": "The fifth corporate approval date.",
            "format": "date-time"
          },
          "corporateApprovedBy5": {
            "type": "string",
            "description": "The user who performed the fifth corporate approval."
          },
          "reasonForCorporateApproval5": {
            "type": "string",
            "description": "The reason for the fifth corporate approval."
          },
          "branchPrice2": {
            "type": "number",
            "description": "The second branch price.",
            "format": "double"
          },
          "branchApprovalDate2": {
            "type": "string",
            "description": "The second branch approval date."
          },
          "branchApprovedBy2": {
            "type": "string",
            "description": "The user who performed the second branch approval."
          },
          "reasonForBranchApproval2": {
            "type": "string",
            "description": "The reason for the second branch approval."
          },
          "branchPrice3": {
            "type": "number",
            "description": "The third branch price.",
            "format": "double"
          },
          "branchApprovalDate3": {
            "type": "string",
            "description": "The third branch approval date."
          },
          "branchApprovedBy3": {
            "type": "string",
            "description": "The user who performed the third branch approval."
          },
          "reasonForBranchApproval3": {
            "type": "string",
            "description": "The reason for the third branch approval."
          },
          "branchPrice4": {
            "type": "number",
            "description": "The fourth branch price.",
            "format": "double"
          },
          "branchApprovalDate4": {
            "type": "string",
            "description": "The fourth branch approval date."
          },
          "branchApprovedBy4": {
            "type": "string",
            "description": "The user who performed the fourth branch approval."
          },
          "reasonForBranchApproval4": {
            "type": "string",
            "description": "The reason for the fourth branch approval."
          },
          "branchPrice5": {
            "type": "number",
            "description": "The fifth branch price.",
            "format": "double"
          },
          "branchApprovalDate5": {
            "type": "string",
            "description": "The fifth branch approval date."
          },
          "branchApprovedBy5": {
            "type": "string",
            "description": "The user who performed the fifth branch approval."
          },
          "reasonForBranchApproval5": {
            "type": "string",
            "description": "The reason for the fifth branch approval."
          },
          "totalBranchPriceConcession": {
            "type": "number",
            "description": "The total branch price concession.",
            "format": "double"
          },
          "totalCorporatePriceConcession": {
            "type": "number",
            "description": "The total corporate price concession.",
            "format": "double"
          },
          "rateSheetId": {
            "type": "string",
            "description": "The rate sheet ID."
          },
          "lastRateSetDate": {
            "type": "string",
            "description": "The last date for the rate set.",
            "format": "date-time"
          },
          "lockNumberOfDays": {
            "type": "integer",
            "description": "The number of days for the lock."
          },
          "lockExpirationDate": {
            "type": "string",
            "description": "The expiration date for the lock.",
            "format": "date-time"
          },
          "lockDate": {
            "type": "string",
            "description": "The lock date.",
            "format": "date-time"
          },
          "baseRate": {
            "type": "number",
            "description": "The base rate."
          },
          "adjustments": {
            "type": "array",
            "description": "Array of objects containing the adjustments information.",
            "items": {
              "$ref": "#/components/schemas/adjustments"
            }
          },
          "totalRateAdjustments": {
            "type": "number",
            "description": "The total rate adjustments.",
            "format": "double"
          },
          "netRate": {
            "type": "number",
            "description": "The net rate.",
            "format": "double"
          },
          "basePrice": {
            "type": "number",
            "description": "The base price.",
            "format": "double"
          },
          "totalPriceAdjustments": {
            "type": "number",
            "description": "The total price adjustments.",
            "format": "double"
          },
          "netPrice": {
            "type": "number",
            "description": "The net price.",
            "format": "double"
          },
          "baseMarginRate": {
            "type": "number",
            "description": "The base margin rate.",
            "format": "double"
          },
          "totalMarginAdjustments": {
            "type": "number",
            "description": "The total margin adjustments.",
            "format": "double"
          },
          "netMarginRate": {
            "type": "number",
            "description": "The net margin rate.",
            "format": "double"
          },
          "comments": {
            "type": "string",
            "description": "Comments"
          },
          "originalLockExpirationDate": {
            "type": "string",
            "description": "Original lock expiration date for the requested rate lock extension.",
            "format": "date-time"
          },
          "srpPaidOut": {
            "type": "number",
            "description": "Service Release Premium Percentage (SRP) paid to the Lender.",
            "format": "double"
          },
          "loanProgram": {
            "type": "string",
            "description": "The Loan Program associated with the loan."
          }
        },
        "x-examples": {
          "Example 1": {
            "requestedBy": "string",
            "investor": {
              "name": "string"
            },
            "onrpDate": "2026-03-26T13:01:58.499Z",
            "onrpEligible": true,
            "commitmentNumber": "string",
            "masterCommitmentNumber": "string",
            "tpoName": "string",
            "tpoId": "string",
            "orgId": "string",
            "commitmentDate": "string",
            "commitmentType": "string",
            "deliveryType": "string",
            "expirationDate": "string",
            "deliveryExpirationDate": "string",
            "startingAdjustPrice": 0,
            "unDiscountedRate": 0,
            "startingAdjustRate": 0,
            "startingAdjPrice": 0,
            "branchApprovalDate": "string",
            "branchApprovedby": "string",
            "branchPrice": 0,
            "corporateApprovalDate": "string",
            "corporateApprovedby": "string",
            "corporatePrice": 0,
            "profitMarginAdjustedBuyPrice": 0,
            "reasonforBranchApproval": "string",
            "reasonforCorporateApproval": "string",
            "totalBuyPrice": 0,
            "totalPrice": 0,
            "correspondentTradeId": "string",
            "correspondentTradeNumber": "string",
            "daysToExtend": 0,
            "extendedLockExpirationDate": "string",
            "lockExtendPriceAdjustment": 0,
            "commitment": "string",
            "corporatePrice2": 0,
            "corporateApprovalDate2": "2026-03-26T13:01:58.499Z",
            "corporateApprovedBy2": "string",
            "reasonForCorporateApproval2": "string",
            "corporatePrice3": 0,
            "corporateApprovalDate3": "2026-03-26T13:01:58.499Z",
            "corporateApprovedBy3": "string",
            "reasonForCorporateApproval3": "string",
            "corporatePrice4": 0,
            "corporateApprovalDate4": "2026-03-26T13:01:58.499Z",
            "corporateApprovedBy4": "string",
            "reasonForCorporateApproval4": "string",
            "corporatePrice5": 0,
            "corporateApprovalDate5": "2026-03-26T13:01:58.499Z",
            "corporateApprovedBy5": "string",
            "reasonForCorporateApproval5": "string",
            "branchPrice2": 0,
            "branchApprovalDate2": "2026-03-26T13:01:58.499Z",
            "branchApprovedBy2": "string",
            "reasonForBranchApproval2": "string",
            "branchPrice3": 0,
            "branchApprovalDate3": "2026-03-26T13:01:58.499Z",
            "branchApprovedBy3": "string",
            "reasonForBranchApproval3": "string",
            "branchPrice4": 0,
            "branchApprovalDate4": "2026-03-26T13:01:58.499Z",
            "branchApprovedBy4": "string",
            "reasonForBranchApproval4": "string",
            "branchPrice5": 0,
            "branchApprovalDate5": "2026-03-26T13:01:58.499Z",
            "branchApprovedBy5": "string",
            "reasonForBranchApproval5": "string",
            "totalBranchPriceConcession": 0,
            "totalCorporatePriceConcession": 0,
            "rateSheetId": "string",
            "lastRateSetDate": "string",
            "lockNumberOfDays": 0,
            "lockExpirationDate": "string",
            "lockDate": "string",
            "baseRate": 0,
            "adjustments": [
              {
                "adjustmentType": "string",
                "priceAdjustmentType": "string",
                "description": "string",
                "adjustment": 0
              }
            ],
            "totalRateAdjustments": 0,
            "netRate": 0,
            "basePrice": 0,
            "totalPriceAdjustments": 0,
            "netPrice": 0,
            "baseMarginRate": 0,
            "totalMarginAdjustments": 0,
            "netMarginRate": 0,
            "comments": "string",
            "originalLockExpirationDate": "string",
            "srpPaidOut": 0,
            "loanProgram": "string"
          }
        }
      },
      "sellSide": {
        "type": "object",
        "properties": {
          "requestedBy": {
            "$ref": "#/components/schemas/EntityReferenceContract",
            "description": "The entityReferenceContract describing the entity or user who submitted the lock request."
          },
          "srp": {
            "type": "number",
            "description": "The Service Release Premium amount."
          },
          "investor": {
            "$ref": "#/components/schemas/investor_sellside",
            "description": "Object containing the investor information."
          },
          "servicer": {
            "type": "string",
            "description": "The servicer."
          },
          "servicingFee": {
            "type": "number",
            "description": "The servicer's fee.",
            "format": "double"
          },
          "guarantyBaseFee": {
            "type": "number",
            "description": "The guaranty base fee.",
            "format": "double"
          },
          "guaranteeFee": {
            "type": "number",
            "description": "The guaranty fee.",
            "format": "double"
          },
          "poolNumber": {
            "type": "string",
            "description": "The pool number."
          },
          "poolId": {
            "type": "string",
            "description": "The pool ID."
          },
          "commitmentContractNumber": {
            "type": "string",
            "description": "The commitment contract number"
          },
          "productName": {
            "type": "string",
            "description": "The product name."
          },
          "msrValue": {
            "type": "number",
            "description": "The MSR value.",
            "format": "double"
          },
          "commitmentDate": {
            "type": "string",
            "description": "The commitment date."
          },
          "actualAmount": {
            "type": "number",
            "description": "The actual amount.",
            "format": "double"
          },
          "actualPrice": {
            "type": "number",
            "description": "The actual price.",
            "format": "double"
          },
          "actualSrp": {
            "type": "number",
            "description": "The actual Service Release Premium (SRP).",
            "format": "double"
          },
          "diffAmount": {
            "type": "number",
            "description": "The difference amount.",
            "format": "double"
          },
          "diffPrice": {
            "type": "integer",
            "description": "The difference price."
          },
          "diffSrp": {
            "type": "number",
            "description": "The Service Release Premium (SRP) difference.",
            "format": "double"
          },
          "netAmount": {
            "type": "number",
            "description": "The net amount.",
            "format": "double"
          },
          "paidMiPremium": {
            "type": "number",
            "description": "The MI premium paid.",
            "format": "double"
          },
          "correspondentEscrowDisbursementsToBePaid": {
            "type": "number",
            "description": "The correspondent escrow disbursements to be paid.",
            "format": "double"
          },
          "tradeMgmtPrevConfirmedLockGuid": {
            "type": "string",
            "description": "The trade managment previous confirmed lock GUID."
          },
          "tradeId": {
            "type": "string",
            "description": "The trade ID."
          },
          "tradeNumber": {
            "type": "string",
            "description": "The trade number."
          },
          "daysToExtend": {
            "type": "integer",
            "description": "The days to extend."
          },
          "extendedLockExpirationDate": {
            "type": "string",
            "description": "The extended lock expiration date.",
            "format": "date-time"
          },
          "lockExtendPriceAdjustment": {
            "type": "number",
            "description": "The lock extend price adjustment.",
            "format": "double"
          },
          "servicingType": {
            "type": "string",
            "description": "The servicing type."
          },
          "discountYsp": {
            "type": "number",
            "description": "The discount Yield Spread Premium (YSP)."
          },
          "masterContractNumber": {
            "type": "string",
            "description": "The master contract number."
          },
          "gainLossPercentage": {
            "type": "number",
            "description": "The Gain/Loss percentage."
          },
          "gainLossPrice": {
            "type": "number",
            "description": "The Gain/Loss price.",
            "format": "double"
          },
          "gainLossTotalPrice": {
            "type": "number",
            "description": "The Gain/Loss total price.",
            "format": "double"
          },
          "rateSheetId": {
            "type": "string",
            "description": "The rate sheet ID."
          },
          "lastRateSetDate": {
            "type": "string",
            "description": "The last date for the rate set.",
            "format": "date-time"
          },
          "lockNumberOfDays": {
            "type": "integer",
            "description": "The number of days for the lock."
          },
          "lockExpirationDate": {
            "type": "string",
            "description": "The expiration date for the lock.",
            "format": "date-time"
          },
          "lockDate": {
            "type": "string",
            "description": "The lock date.",
            "format": "date-time"
          },
          "baseRate": {
            "type": "number",
            "description": "The base rate."
          },
          "adjustments": {
            "type": "array",
            "description": "Array of objects containing the adjustments information.",
            "items": {
              "$ref": "#/components/schemas/adjustments"
            }
          },
          "totalRateAdjustments": {
            "type": "number",
            "description": "The total rate adjustments.",
            "format": "double"
          },
          "netRate": {
            "type": "number",
            "description": "The net rate.",
            "format": "double"
          },
          "basePrice": {
            "type": "number",
            "description": "The base price.",
            "format": "double"
          },
          "totalPriceAdjustments": {
            "type": "number",
            "description": "The total price adjustments.",
            "format": "double"
          },
          "netPrice": {
            "type": "number",
            "description": "The net price.",
            "format": "double"
          },
          "baseMarginRate": {
            "type": "number",
            "description": "The base margin rate.",
            "format": "double"
          },
          "totalMarginAdjustments": {
            "type": "number",
            "description": "The total margin adjustments.",
            "format": "double"
          },
          "netMarginRate": {
            "type": "number",
            "description": "The net margin rate.",
            "format": "double"
          },
          "comments": {
            "type": "string",
            "description": "Comments"
          },
          "originalLockExpirationDate": {
            "type": "string",
            "description": "Original lock expiration date for the requested rate lock extension.",
            "format": "date-time"
          },
          "srpPaidOut": {
            "type": "number",
            "description": "Service Release Premium Percentage (SRP) paid to the Lender.",
            "format": "double"
          },
          "loanProgram": {
            "type": "string",
            "description": "The Loan Program associated with the loan."
          }
        },
        "x-examples": {
          "Example 1": {
            "requestedBy": "string",
            "srp": 0,
            "investor": {
              "loanNumber": "string",
              "mersNumber": "string",
              "lockedDate": "2026-03-26T13:01:58.499Z",
              "deliveryDate": "string",
              "targetDeliveryDate": "string",
              "contact": "string",
              "phone": "string",
              "email": "string",
              "address": "string",
              "city": "string",
              "state": "string",
              "postalCode": "string",
              "website": "string",
              "lockType": "string",
              "programCode": "string",
              "status": "string",
              "statusDate": "string",
              "tradeNumber": "string",
              "commitment": "string",
              "templateName": "string",
              "name": "string"
            },
            "servicer": "string",
            "servicingFee": 0,
            "guarantyBaseFee": 0,
            "guaranteeFee": 0,
            "poolNumber": "string",
            "poolId": "string",
            "commitmentContractNumber": "string",
            "productName": "string",
            "msrValue": 0,
            "commitmentDate": "string",
            "actualAmount": 0,
            "actualPrice": 0,
            "actualSrp": 0,
            "diffAmount": 0,
            "diffPrice": 0,
            "diffSrp": 0,
            "netAmount": 0,
            "paidMiPremium": 0,
            "correspondentEscrowDisbursementsToBePaid": 0,
            "tradeMgmtPrevConfirmedLockGuid": "string",
            "tradeId": "string",
            "tradeNumber": "string",
            "daysToExtend": 0,
            "extendedLockExpirationDate": "string",
            "lockExtendPriceAdjustment": 0,
            "servicingType": "string",
            "discountYsp": 0,
            "masterContractNumber": "string",
            "gainLossPercentage": 0,
            "gainLossPrice": 0,
            "gainLossTotalPrice": 0,
            "rateSheetId": "string",
            "lastRateSetDate": "string",
            "lockNumberOfDays": 0,
            "lockExpirationDate": "string",
            "lockDate": "string",
            "baseRate": 0,
            "adjustments": [
              {
                "adjustmentType": "string",
                "priceAdjustmentType": "string",
                "description": "string",
                "adjustment": 0
              }
            ],
            "totalRateAdjustments": 0,
            "netRate": 0,
            "basePrice": 0,
            "totalPriceAdjustments": 0,
            "netPrice": 0,
            "baseMarginRate": 0,
            "totalMarginAdjustments": 0,
            "netMarginRate": 0,
            "comments": "string",
            "originalLockExpirationDate": "string",
            "srpPaidOut": 0,
            "loanProgram": "string"
          }
        }
      },
      "investor_sellside": {
        "type": "object",
        "title": "investor",
        "properties": {
          "loanNumber": {
            "type": "string",
            "description": "Loan number."
          },
          "mersNumber": {
            "type": "string",
            "description": "MERS number."
          },
          "lockedDate": {
            "type": "string",
            "description": "The locked date.",
            "format": "date-time"
          },
          "deliveryDate": {
            "type": "string",
            "description": "The delivery date.",
            "format": "date-time"
          },
          "targetDeliveryDate": {
            "type": "string",
            "description": "The target delivery date.",
            "format": "date-time"
          },
          "contact": {
            "type": "string",
            "description": "Investor contact name."
          },
          "phone": {
            "type": "string",
            "description": "Investor contact phone."
          },
          "email": {
            "type": "string",
            "description": "Investor contact email address."
          },
          "address": {
            "type": "string",
            "description": "Investor contact mailing address."
          },
          "city": {
            "type": "string",
            "description": "Investor contact mailing address city."
          },
          "state": {
            "type": "string",
            "description": "Investor contact mailing address State."
          },
          "postalCode": {
            "type": "string",
            "description": "Investor contact mailing address zip code."
          },
          "website": {
            "type": "string",
            "description": "Investor's web site."
          },
          "lockType": {
            "type": "string",
            "description": "The lock type."
          },
          "programCode": {
            "type": "string",
            "description": "The program code for the loan program data."
          },
          "status": {
            "type": "string",
            "description": "The trade status."
          },
          "statusDate": {
            "type": "string",
            "description": "The trade status date.",
            "format": "date-time"
          },
          "tradeNumber": {
            "type": "string",
            "description": "The trade number."
          },
          "commitment": {
            "type": "string",
            "description": "The investor commitment."
          },
          "templateName": {
            "type": "string",
            "description": "The trade template name."
          },
          "name": {
            "type": "string",
            "description": "The trade name."
          }
        }
      },
      "comparison": {
        "type": "object",
        "properties": {
          "requestedBy": {
            "$ref": "#/components/schemas/EntityReferenceContract",
            "description": "The entityReferenceContract describing the entity or user who submitted the comparison."
          },
          "investor": {
            "$ref": "#/components/schemas/investor",
            "description": "Object containing investor information."
          },
          "servicingType": {
            "type": "string",
            "description": "The servicing type."
          },
          "discountYsp": {
            "type": "number",
            "description": "The discount yield spread premium."
          },
          "masterContractNumber": {
            "type": "string",
            "description": "The master contract number."
          },
          "gainLossPercentage": {
            "type": "number",
            "description": "The Gain/Loss percentage."
          },
          "gainLossPrice": {
            "type": "number",
            "description": "The Gain/Loss price."
          },
          "gainLossTotalPrice": {
            "type": "number",
            "description": "The Gain/Loss total price."
          },
          "rateSheetId": {
            "type": "string",
            "description": "The rate sheet identifier."
          },
          "lastRateSetDate": {
            "type": "string",
            "description": "The date of last rate set.",
            "format": "date-time"
          },
          "lockNumberOfDays": {
            "type": "integer",
            "description": "The number of days locked."
          },
          "lockExpirationDate": {
            "type": "string",
            "description": "The expiration date of the lock.",
            "format": "date-time"
          },
          "lockDate": {
            "type": "string",
            "description": "The date of the lock.",
            "format": "date-time"
          },
          "baseRate": {
            "type": "number",
            "description": "The base rate."
          },
          "adjustments": {
            "type": "array",
            "description": "Array of objects containing adjustments information.",
            "items": {
              "$ref": "#/components/schemas/adjustments"
            }
          },
          "totalRateAdjustments": {
            "type": "number",
            "description": "The total rate adjustments."
          },
          "netRate": {
            "type": "number",
            "description": "The net rate."
          },
          "basePrice": {
            "type": "number",
            "description": "The base price."
          },
          "totalPriceAdjustments": {
            "type": "number",
            "description": "The total price adjustments."
          },
          "netPrice": {
            "type": "number",
            "description": "The net price."
          },
          "baseMarginRate": {
            "type": "number",
            "description": "The base margin rate."
          },
          "totalMarginAdjustments": {
            "type": "number",
            "description": "The total margin adjustments."
          },
          "netMarginRate": {
            "type": "number",
            "description": "The net margin rate."
          },
          "comments": {
            "type": "string",
            "description": "Comments"
          },
          "originalLockExpirationDate": {
            "type": "string",
            "description": "The original expiration date for the lock.",
            "format": "date-time"
          },
          "srpPaidOut": {
            "type": "number",
            "description": "The Service Release Premium paid out."
          },
          "loanProgram": {
            "type": "string",
            "description": "The loan program."
          }
        },
        "x-examples": {
          "Example 1": {
            "requestedBy": "",
            "investor": {
              "contact": "",
              "phone": "",
              "email": "",
              "address": "",
              "city": "",
              "state": "",
              "postalCode": "",
              "website": "",
              "lockType": "",
              "programCode": "",
              "status": "",
              "statusDate": "",
              "tradeNumber": "",
              "commitment": "",
              "templateName": "",
              "name": ""
            },
            "servicingType": "",
            "discountYsp": "",
            "masterContractNumber": "",
            "gainLossPercentage": "",
            "gainLossPrice": "",
            "gainLossTotalPrice": "",
            "rateSheetId": "",
            "lastRateSetDate": "",
            "lockNumberOfDays": "",
            "lockExpirationDate": "",
            "lockDate": "",
            "baseRate": "",
            "adjustments": [
              {
                "adjustmentType": "",
                "priceAdjustmentType": "",
                "description": "",
                "adjustment": ""
              }
            ],
            "totalRateAdjustments": "",
            "netRate": "",
            "basePrice": "",
            "totalPriceAdjustments": "",
            "netPrice": "",
            "baseMarginRate": "",
            "totalMarginAdjustments": "",
            "netMarginRate": "",
            "comments": "",
            "originalLockExpirationDate": "",
            "srpPaidOut": "",
            "loanProgram": ""
          }
        }
      },
      "customFields": {
        "type": "object",
        "title": "customFields",
        "properties": {
          "id": {
            "type": "string",
            "description": "Field identifier."
          },
          "dateValue": {
            "type": "string",
            "description": "Field date value.",
            "format": "date-time"
          },
          "fieldName": {
            "type": "string",
            "description": "Field name."
          },
          "numericValue": {
            "type": "number",
            "description": "Field numeric value."
          },
          "stringValue": {
            "type": "string",
            "description": "Field string value."
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 105,
      "1": 223,
      "2": 123,
      "3": 167,
      "4": 12,
      "5": 179,
      "6": 4,
      "7": 18,
      "8": 8,
      "9": 106,
      "10": 4,
      "11": 200
    }
  }
}
```