{"openapi":"3.1.0","info":{"title":"API Reference","version":"1.0.0"},"paths":{"/v1/resources/nmls/{nmls_id}":{"get":{"operationId":"nmls_resolveNmlsId","summary":"Resolve NMLS ID","description":"Finds the loan officer, branch, or company that owns an NMLS ID, and returns the URI to fetch it.\n\n**Path:** `nmls_id`, digits only. Leading zeros are ignored.\n\n| Field | Type | Description |\n|---|---|---|\n| `id` | UUID | Modex ID of the matching record |\n| `type` | string | `loan_officer`, `branch`, or `company` |\n| `name` | string | Record name |\n| `nmls_id` | integer | The NMLS ID |\n| `uri` | string | Full URL of the record's detail endpoint |\n\nIf more than one active record carries the same NMLS ID, a loan officer wins over a branch, and a branch over a company. Returns 404 when nothing active matches, the match is outside your state restrictions, or the ID isn't numeric.\n\nSaves the ID to `loan_officer_id`, `branch_id`, or `company_id` based on `type`.","tags":["NMLS"],"parameters":[{"name":"nmls_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NMLS_resolveNmlsId_Response_200"}}}},"401":{"description":"Unauthorized","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"429":{"description":"Too Many Requests","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/loan-officers/{loan_officer_id}":{"get":{"operationId":"loanOfficers_showLoanOfficer","summary":"Show Loan Officer","description":"A single active loan officer.\n\n**Includes:** `mortgage`, `non_qm`, `lender_beneficiaries`, `census`, `licenses`, `employment`, `federal_registrations` (with history), `contacts`.\n\n| Field | Type | Description |\n|---|---|---|\n| `id` | UUID | Loan officer ID |\n| `type` | string | Always `loan_officer` |\n| `name` | string | Full name |\n| `nmls_id` | integer, nullable | Individual NMLS ID |\n| `office_locations` | array | Every office the loan officer is registered at |\n| `office_locations[].type` | string | `branch` (an assigned branch office) or `main` (an employer's main office) |\n| `office_locations[].employer` | object, nullable | `id`, `name`, `nmls_id` of the company, plus `branch` (`id`, `name`, `nmls_id`) for `branch` locations, or `null` for `main` |\n| `office_locations[].address` | object | Office address |\n| `has_contact_data` | boolean | Whether contact data exists to unlock. It doesn't mean you've unlocked it. |\n\nLoan officers sponsored by several companies have one location per sponsorship. A `branch` location, when present, is listed first and is usually the best answer for where they work.","tags":["Loan Officers"],"parameters":[{"name":"loan_officer_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"include","in":"query","description":"Comma-separated extras: mortgage, licenses, census, non_qm, lender_beneficiaries, employment, contacts, federal_registrations. contacts is returned only after this loan officer has been unlocked. federal_registrations returns active and past flags plus registration history. lender_beneficiaries returns 403 when lender beneficiaries aren't enabled for your account.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Loan_Officers_showLoanOfficer_Response_200"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/companies/{company_id}":{"get":{"operationId":"companies_showCompany","summary":"Show Company","description":"A single active company.\n\n**Includes:** `mortgage`, `non_qm`, `lender_beneficiaries`, `census`, `licenses`, `trade_names`, `federal_registrations`. See [Includes and field reference](/includes) for each shape.\n\n| Field | Type | Description |\n|---|---|---|\n| `id` | UUID | Company ID |\n| `type` | string | Always `company` |\n| `name` | string | Legal name |\n| `nmls_id` | integer, nullable | NMLS ID |\n| `address` | object | Main office address |\n\nCompanies aren't state-restricted, but their branch and loan officer rosters are.","tags":["Companies"],"parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"include","in":"query","description":"Comma-separated extras: mortgage, licenses, census, non_qm, lender_beneficiaries, trade_names, federal_registrations. trade_names returns current and prior trade names. federal_registrations returns active and past flags. lender_beneficiaries returns 403 when lender beneficiaries aren't enabled for your account.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Companies_showCompany_Response_200"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/companies/{company_id}/loan-officers":{"get":{"operationId":"companies_listCompanyLoanOfficers","summary":"List Company Loan Officers","description":"Active loan officers whose current **primary** employer is this company, ordered by ID. Cursor-paginated, and limited to your permitted states.\n\n**Includes:** same as **Show Loan Officer**.\n**Query parameters:** `include`, `limit`, `cursor`.\n\nEach item has the **Show Loan Officer** fields. Includes multiply response size, so request only what you need on large rosters. Saves the first loan officer to `loan_officer_id`.","tags":["Companies"],"parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"include","in":"query","description":"Comma-separated extras: mortgage, licenses, census, non_qm, lender_beneficiaries, employment, contacts, federal_registrations. contacts is returned only after this loan officer has been unlocked. federal_registrations returns active and past flags plus registration history. lender_beneficiaries returns 403 when lender beneficiaries aren't enabled for your account.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Page size. Defaults to 25. Maximum is 100.","required":false,"schema":{"type":"integer"}},{"name":"cursor","in":"query","description":"Cursor from pagination.next_cursor on the previous page. Leave disabled for the first page.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Companies_listCompanyLoanOfficers_Response_200"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/companies/{company_id}/branches":{"get":{"operationId":"companies_listCompanyBranches","summary":"List Company Branches","description":"Active branches of a company, ordered by ID. Cursor-paginated, and limited to your permitted states.\n\n**Includes:** same as **Show Branch**.\n**Query parameters:** `include`, `limit`, `cursor`.\n\nEach item has the **Show Branch** fields. Saves the first branch to `branch_id`.","tags":["Companies"],"parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"include","in":"query","description":"Comma-separated extras: mortgage, licenses, census, non_qm, lender_beneficiaries, trade_names. trade_names returns current and prior trade names. lender_beneficiaries returns 403 when lender beneficiaries aren't enabled for your account.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Page size. Defaults to 25. Maximum is 100.","required":false,"schema":{"type":"integer"}},{"name":"cursor","in":"query","description":"Cursor from pagination.next_cursor on the previous page. Leave disabled for the first page.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Companies_listCompanyBranches_Response_200"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/companies/{company_id}/workforce":{"get":{"operationId":"companies_showCompanyWorkforce","summary":"Show Company Workforce","description":"Loan officer headcount for a company over a timeframe, with monthly detail.\n\n**Query parameters:**\n\n| Parameter | Description |\n|---|---|\n| `timeframe` | `3`, `6`, `9`, `12` (months), `ytd`, or a year from `2019` to `2025`. Default `12`. Anything else returns 400. |\n\n**Response fields:**\n\n| Field | Type | Description |\n|---|---|---|\n| `timeframe` | string | The timeframe used |\n| `total.headcount` | integer | Loan officers at the end of the last month |\n| `total.arrivals` | integer | Loan officers who joined during the timeframe |\n| `total.departures` | integer | Loan officers who left during the timeframe |\n| `total.change_count` | integer | Last month's headcount minus the first month's |\n| `total.change` | number | `change_count` as a fraction of the first month's headcount, rounded to 2 places (`0.1` = +10%) |\n| `producing.*` | | Same fields, counting only loan officers with recorded loan production |\n| `months[]` | array | One row per month, oldest first |\n| `months[].period` | date | First day of the month |\n| `months[].headcount`, `arrivals`, `departures` | integer | That month's figures |\n| `months[].producing_headcount`, `producing_arrivals`, `producing_departures` | integer | Same, producing loan officers only |\n\nA company with no employment history returns zeros and an empty `months` array.","tags":["Companies"],"parameters":[{"name":"company_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"timeframe","in":"query","description":"Workforce window: 3, 6, 9, 12, ytd, or a calendar year 2019–2025. Defaults to 12.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Companies_showCompanyWorkforce_Response_200"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/branches/{branch_id}":{"get":{"operationId":"branches_showBranch","summary":"Show Branch","description":"A single active branch.\n\n**Includes:** `mortgage`, `non_qm`, `lender_beneficiaries`, `census`, `licenses`, `trade_names`.\n\n| Field | Type | Description |\n|---|---|---|\n| `id` | UUID | Branch ID |\n| `type` | string | Always `branch` |\n| `name` | string | Branch name |\n| `nmls_id` | integer, nullable | Branch NMLS ID |\n| `company` | object, nullable | Parent company: `id`, `name`, `nmls_id` |\n| `address` | object | Branch address |\n\n`mortgage` and `non_qm` for a branch count loans by the loan officers located at that branch.","tags":["Branches"],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"include","in":"query","description":"Comma-separated extras: mortgage, licenses, census, non_qm, lender_beneficiaries, trade_names. trade_names returns current and prior trade names. lender_beneficiaries returns 403 when lender beneficiaries aren't enabled for your account.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Branches_showBranch_Response_200"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/branches/{branch_id}/loan-officers":{"get":{"operationId":"branches_listBranchLoanOfficers","summary":"List Branch Loan Officers","description":"Active loan officers currently at this branch, ordered by ID. Cursor-paginated, and limited to your permitted states.\n\n**Includes:** same as **Show Loan Officer**.\n**Query parameters:** `include`, `limit`, `cursor`.","tags":["Branches"],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"include","in":"query","description":"Comma-separated extras: mortgage, licenses, census, non_qm, lender_beneficiaries, employment, contacts, federal_registrations. contacts is returned only after this loan officer has been unlocked. federal_registrations returns active and past flags plus registration history. lender_beneficiaries returns 403 when lender beneficiaries aren't enabled for your account.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Page size. Defaults to 25. Maximum is 100.","required":false,"schema":{"type":"integer"}},{"name":"cursor","in":"query","description":"Cursor from pagination.next_cursor on the previous page. Leave disabled for the first page.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Branches_listBranchLoanOfficers_Response_200"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/branches/{branch_id}/workforce":{"get":{"operationId":"branches_showBranchWorkforce","summary":"Show Branch Workforce","description":"Loan officer headcount for a branch. Same parameters and response as **Show Company Workforce**.","tags":["Branches"],"parameters":[{"name":"branch_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"timeframe","in":"query","description":"Workforce window: 3, 6, 9, 12, ytd, or a calendar year 2019–2025. Defaults to 12.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Branches_showBranchWorkforce_Response_200"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/lender-beneficiaries/{lender_beneficiary_id}":{"get":{"operationId":"lenderBeneficiaries_showLenderBeneficiary","summary":"Show Lender Beneficiary","description":"A single active lender beneficiary (a lender named on recorded loans).\n\n**Includes:** `mortgage`, `census`.\n\n| Field | Type | Description |\n|---|---|---|\n| `id` | UUID | Lender beneficiary ID |\n| `type` | string | Always `lender_beneficiary` |\n| `name` | string | Lender name |\n| `company` | object, nullable | The matching NMLS company (`id`, `name`, `nmls_id`) when there is one |\n\nFor a lender beneficiary, `mortgage` counts the loans where it is the named lender. Returns 403 when lender beneficiary data isn't enabled for your account.","tags":["Lender Beneficiaries"],"parameters":[{"name":"lender_beneficiary_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"include","in":"query","description":"Comma-separated extras: mortgage, census.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Lender_Beneficiaries_showLenderBeneficiary_Response_200"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/mortgages":{"get":{"operationId":"mortgages_listMortgages","summary":"List Mortgages","description":"Recorded mortgage transactions, in bulk, for keeping your own copy in sync. Cursor-paginated. Removed records are listed by `GET /v1/resources/mortgages/deletes`.\n\n**Keeping in sync:** the first request is `sort=updated_at&filter[updated_at]=gte:LAST_SYNC_TIME&limit=100`. For the next page, request `pagination.next_page_url` until it is `null`. After that last page, save the latest `updated_at` you received and use that time as `LAST_SYNC_TIME` on the following sync. For removals, request `GET /v1/resources/mortgages/deletes` with `sort=deleted_at&filter[deleted_at]=gte:LAST_SYNC_TIME`.\n\n**Store the ID:** Save the `id` of every record. It is the object's UUID and does not change. When a later sync returns that same `id`, update the fields on that object in your copy.\n\n**Deletes:** [List mortgage deletes](https://docs.modex.com/api-reference/mortgage-data/mortgage-transactions/list-mortgage-deletes) identifies a stored object. `reference_id` is the `id` you saved. `reason` tells you what to do with it: `inactive` means mark it inactive, and `deleted` or `soft_deleted` means delete it.\n\n**Data agreement:** your Modex account executive sets which fields and filters your API key can use. Each record contains the fields in your agreement, plus `id`, `updated_at`, and `active`, which are always returned. Fields with no value are returned as `null`. Without an agreement for this feed the request returns 403. A filter that isn't in your agreement returns 400. Results are limited to your permitted states.\n\n**Sort:** `updated_at` (default), `loan_date`, or `id`. Prefix with `-` for descending. Records with the same value are ordered by `id`.  \n**Filters:** `updated_at`, `loan_date`, `active`, `property_state`, `loan_officer_id`, `company_id`, `wholesale_company_id`, `loan_officer_nmls_id`, `loan_company_nmls_id`, `wholesale_company_nmls_id`.  \n**Includes:** none.\n\n## Fields\n\n**Always returned**\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `id` | string | Modex transaction ID (UUID). Store it. When a later sync returns this same `id`, update the fields on that object. The deletes feed returns it as `reference_id`. `reason` tells you to delete the object or mark it inactive. |\n| `updated_at` | datetime | When Modex last changed this record. Use it to sync. |\n| `active` | boolean | Always `true` on this list. Removals are on the deletes feed. |\n\n**Loan**\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `loan_date` | datetime | The loan date Modex derives from several source date fields, giving the most accurate date available for when the loan was made. |\n| `loan_amount` | integer | Loan amount, in dollars. |\n| `original_loan_amount` | integer | Original loan amount, in dollars. |\n| `concurrent_loan_amount` | integer | Amount of a concurrent loan recorded with this one, in dollars. |\n| `concurrent_2nd_loan_amount` | integer | Amount of a second concurrent loan, in dollars. |\n| `sale_price` | integer | Sale price for purchases, in dollars. |\n| `ltv` | number | Loan-to-value ratio. |\n| `transaction_type` | string | Transaction type. |\n| `loan_type` | string | Loan type, for example `Conventional`, `FHA`, or `VA`. |\n| `loan_purpose` | string | Loan purpose. |\n| `financing_type` | string | Financing type. |\n| `lender_type` | string | Lender type. |\n| `adjustable_rate` | boolean | Adjustable-rate loan. |\n| `reverse_mortgage` | boolean | Reverse mortgage. |\n| `conforming` | boolean | Conforming loan. |\n| `purchase` | boolean | Purchase loan. |\n| `standalone` | boolean | Standalone loan, not tied to a sale. |\n| `cash_out` | boolean | Cash-out refinance. |\n| `is_nonqm` | boolean | Non-QM loan. |\n\n**Property**\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `property_address` | string | Street address. |\n| `property_unit_type` | string | Unit type, for example `APT`. |\n| `property_unit_number` | string | Unit number. |\n| `property_city` | string | City. |\n| `property_state` | string | Two-letter state. |\n| `property_zip_code` | string | ZIP code. |\n| `property_zip_code_4` | string | ZIP+4 extension. |\n| `property_county` | string | County. |\n| `fips` | string | County FIPS code. |\n| `formatted_address` | string | Full address on one line. |\n| `property_type` | string | Property type. |\n| `property_category` | string | Property category. |\n| `number_of_units` | integer | Number of units. |\n| `year_built` | integer | Year built. |\n| `parcel_id` | string | Assessor parcel number. |\n| `residential` | boolean | Residential property. |\n| `residential_income` | boolean | Residential income property. |\n| `corporate` | boolean | Corporate property. |\n| `land` | boolean | Land. |\n| `farm` | boolean | Farm. |\n| `mixed_use` | boolean | Mixed-use property. |\n\n**Originator and lender**\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `loan_officer_id` | string | Modex ID of the loan officer. |\n| `loan_officer_nmls_id` | integer | Loan officer NMLS ID, as recorded. |\n| `company_id` | string | Modex ID of the originating company. |\n| `loan_company_nmls_id` | integer | Originating company NMLS ID. |\n| `branch_id` | string | Modex branch ID. |\n| `branch_nmls_id` | integer | Branch NMLS ID. |\n| `wholesale_company_id` | string | Modex ID of the wholesale lender. |\n| `wholesale_company_nmls_id` | integer | Wholesale lender NMLS ID. |\n| `lender_beneficiary_association_id` | string | Modex lender beneficiary ID. |\n| `lender` | string | Lender name, as recorded. |\n| `title_company` | string | Title company. |\n\n**Buyers, borrowers, and sellers**\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `borrower_1_first_name` | string | First borrower's first name. |\n| `borrower_1_last_name` | string | First borrower's last name. |\n| `borrower_2_first_name` | string | Second borrower's first name. |\n| `borrower_2_last_name` | string | Second borrower's last name. |\n| `buyer_1_first_name` | string | First buyer's first name. |\n| `buyer_1_last_name` | string | First buyer's last name. |\n| `buyer_1_type` | string | First buyer's type. |\n| `buyer_2_first_name` | string | Second buyer's first name. |\n| `buyer_2_last_name` | string | Second buyer's last name. |\n| `buyer_2_type` | string | Second buyer's type. |\n| `buyer_entity` | string | `company`, `trust`, or `government` when the buyer is not a person, otherwise `null`. |\n| `seller_1_first_name` | string | First seller's first name. |\n| `seller_1_last_name` | string | First seller's last name. |\n| `seller_1_type` | string | First seller's type. |\n| `seller_2_first_name` | string | Second seller's first name. |\n| `seller_2_last_name` | string | Second seller's last name. |\n| `seller_2_type` | string | Second seller's type. |\n| `seller_entity` | string | `company`, `trust`, or `government` when the seller is not a person, otherwise `null`. |","tags":["Mortgages"],"parameters":[{"name":"limit","in":"query","description":"Page size. Defaults to 25. Maximum is 100.","required":false,"schema":{"type":"integer"}},{"name":"sort","in":"query","description":"Sort order: `updated_at` (default), `loan_date`, or `id`. Prefix with `-` for descending.","required":false,"schema":{"type":"string"}},{"name":"filter[updated_at]","in":"query","description":"When Modex last changed the record. Accepts an operator: `gte:`, `gt:`, `lte:`, or `lt:`. Combine two with a comma for a range, for example `gte:2026-01-01T00:00:00Z,lt:2026-02-01T00:00:00Z`. Without an operator the value must match exactly. Write times in UTC with `Z`, or URL-encode the `+` in an offset. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"filter[loan_date]","in":"query","description":"Loan date. Accepts an operator: `gte:`, `gt:`, `lte:`, or `lt:`. Combine two with a comma for a range, for example `gte:2026-01-01T00:00:00Z,lt:2026-02-01T00:00:00Z`. Without an operator the value must match exactly. Write times in UTC with `Z`, or URL-encode the `+` in an offset. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"filter[active]","in":"query","description":"The list already returns only active rows. `true` matches those rows. `false` matches none. Available when your data agreement includes this filter.","required":false,"schema":{"type":"boolean"}},{"name":"filter[property_state]","in":"query","description":"Two-letter state. Comma-separate several to match any. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"filter[loan_officer_id]","in":"query","description":"Modex loan officer ID. Comma-separate several to match any. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"filter[company_id]","in":"query","description":"Modex ID of the originating company. Comma-separate several to match any. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"filter[wholesale_company_id]","in":"query","description":"Modex ID of the wholesale lender. Comma-separate several to match any. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","description":"Value of `pagination.next_cursor` from the previous page. Leave out for the first page. Keep `sort` and filters unchanged between pages.","required":false,"schema":{"type":"string"}},{"name":"filter[loan_officer_nmls_id]","in":"query","description":"Loan officer NMLS ID. Must be a whole number. Comma-separate several to match any. Available when your data agreement includes this filter.","required":false,"schema":{"type":"integer"}},{"name":"filter[loan_company_nmls_id]","in":"query","description":"NMLS ID of the originating company. Must be a whole number. Comma-separate several to match any. Available when your data agreement includes this filter.","required":false,"schema":{"type":"integer"}},{"name":"filter[wholesale_company_nmls_id]","in":"query","description":"NMLS ID of the wholesale lender. Must be a whole number. Comma-separate several to match any. Available when your data agreement includes this filter.","required":false,"schema":{"type":"integer"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mortgages_listMortgages_Response_200"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/mortgages/deletes":{"get":{"operationId":"mortgages_listMortgageDeletes","summary":"List Mortgage Deletes","description":"Deletion log for mortgage records removed from the list feed. The list endpoint does not include these records. Cursor-paginated. Each item is `{ id, reference_id, type, reason, deleted_at }`, where `id` is the log row ID and `reference_id` is the removed loan transaction. `type` is `mortgage`. `reason` tells you what to do with the object `reference_id` names: `inactive` means mark it inactive, and `deleted` or `soft_deleted` means delete it.\n\n`inactive` means Modex removed the record from the feed. The same record, with the same id, can become active again on `GET /v1/resources/mortgages`. When it does, `updated_at` changes, so a later incremental sync of that list includes it.\n\n**Keeping in sync:** the first request is `sort=deleted_at&filter[deleted_at]=gte:LAST_SYNC_TIME&limit=100`. For the next page, request `pagination.next_page_url` until it is `null`. After that last page, save the latest `deleted_at` you received and use that time as `LAST_SYNC_TIME` on the following sync. Look up one removed record with `filter[reference_id]`.\n\nRequires the same data agreement as the list. Without one the request returns 403. This feed is not limited by state.\n\n**Sort:** `deleted_at` (default). Prefix with `-` for descending. Rows with the same time are ordered by log `id`.  \n**Filters:** `deleted_at`, `id`, `reference_id`.\n\n## Fields\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `id` | string | Deletion log row ID (UUID). |\n| `reference_id` | string | ID of the removed record (UUID). |\n| `type` | string | Always `mortgage`. |\n| `reason` | string | `inactive`, `deleted`, or `soft_deleted`. `inactive` means the record left the feed and can become active again under the same id on `GET /v1/resources/mortgages`, with a new `updated_at`. |\n| `deleted_at` | datetime | When the record was removed. |","tags":["Mortgages"],"parameters":[{"name":"limit","in":"query","description":"Page size. Defaults to 25. Maximum is 500.","required":false,"schema":{"type":"integer"}},{"name":"sort","in":"query","description":"Sort order: `deleted_at` (default). Prefix with `-` for descending. Rows with the same time are ordered by log `id`.","required":false,"schema":{"type":"string"}},{"name":"filter[deleted_at]","in":"query","description":"When the record was removed. Accepts an operator: `gte:`, `gt:`, `lte:`, or `lt:`. Combine two with a comma for a range, for example `gte:2026-01-01T00:00:00Z,lt:2026-02-01T00:00:00Z`. Without an operator the value must match exactly. Write times in UTC with `Z`, or URL-encode the `+` in an offset.","required":false,"schema":{"type":"string"}},{"name":"filter[id]","in":"query","description":"Exact deletion log row ID.","required":false,"schema":{"type":"string"}},{"name":"filter[reference_id]","in":"query","description":"Exact ID of the removed loan transaction. Use it to check whether a specific record was removed.","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","description":"Value of `pagination.next_cursor` from the previous page. Leave out for the first page. Keep `sort` and filters unchanged between pages.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Mortgages_listMortgageDeletes_Response_200"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/real-estate-agents/{real_estate_agent_id}":{"get":{"operationId":"realEstateAgents_showRealEstateAgent","summary":"Show Real Estate Agent","description":"A single active real estate agent.\n\n**Includes:** `mortgage` (real estate shape), `real_estate`, `census`, `contacts`.\n\n| Field | Type | Description |\n|---|---|---|\n| `id` | UUID | Agent ID |\n| `type` | string | Always `real_estate_agent` |\n| `name` | string | Full name |\n| `office` | object, nullable | Current office: `id`, `name`, `address` |\n| `transaction_states` | array of strings | Two-letter codes of states where the agent has transactions |\n| `mls_organizations` | array | MLSs the agent belongs to: `id`, `name` |\n| `has_contact_data` | boolean | Whether contact data exists to unlock |\n\nReturns 403 when real estate data isn't enabled for your account.","tags":["Real Estate Agents"],"parameters":[{"name":"real_estate_agent_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"include","in":"query","description":"Comma-separated extras: mortgage, real_estate, census, contacts. contacts is returned only after this agent has been unlocked.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Real_Estate_Agents_showRealEstateAgent_Response_200"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/real-estate-offices/{real_estate_office_id}":{"get":{"operationId":"realEstateOffices_showRealEstateOffice","summary":"Show Real Estate Office","description":"A single active real estate office (brokerage office).\n\n**Includes:** `mortgage` (real estate shape), `real_estate`, `census`.\n\n| Field | Type | Description |\n|---|---|---|\n| `id` | UUID | Office ID |\n| `type` | string | Always `real_estate_office` |\n| `name` | string | Office name |\n| `address` | object | Office address |\n| `agent_count` | integer | Number of agents assigned to the office |","tags":["Real Estate Offices"],"parameters":[{"name":"real_estate_office_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"include","in":"query","description":"Comma-separated extras: mortgage, real_estate, census.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Real_Estate_Offices_showRealEstateOffice_Response_200"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/real-estate-offices/{real_estate_office_id}/real-estate-agents":{"get":{"operationId":"realEstateOffices_listRealEstateOfficeAgents","summary":"List Real Estate Office Agents","description":"Active agents whose most recent office is this one, ordered by ID. Cursor-paginated, and limited to your permitted states.\n\n**Includes:** same as **Show Real Estate Agent**.\n**Query parameters:** `include`, `limit`, `cursor`.","tags":["Real Estate Offices"],"parameters":[{"name":"real_estate_office_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"include","in":"query","description":"Comma-separated extras: mortgage, real_estate, census, contacts. contacts is returned only after an agent has been unlocked.","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Page size. Defaults to 25. Maximum is 100.","required":false,"schema":{"type":"integer"}},{"name":"cursor","in":"query","description":"Cursor from pagination.next_cursor on the previous page. Leave disabled for the first page.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Real_Estate_Offices_listRealEstateOfficeAgents_Response_200"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/mls":{"get":{"operationId":"mls_listMls","summary":"List MLS","description":"MLS sales and listings, in bulk, for keeping your own copy in sync. Cursor-paginated. Removed records are listed by `GET /v1/resources/mls/deletes`.\n\n**Keeping in sync:** the first request is `sort=updated_at&filter[updated_at]=gte:LAST_SYNC_TIME&limit=100`. For the next page, request `pagination.next_page_url` until it is `null`. After that last page, save the latest `updated_at` you received and use that time as `LAST_SYNC_TIME` on the following sync. For removals, request `GET /v1/resources/mls/deletes` with `sort=deleted_at&filter[deleted_at]=gte:LAST_SYNC_TIME`.\n\n**Store the ID:** Save the `id` of every record. It is the object's UUID and does not change. When a later sync returns that same `id`, update the fields on that object in your copy.\n\n**Deletes:** [List MLS deletes](https://docs.modex.com/api-reference/real-estate-data/mls-transactions/list-mls-deletes) identifies a stored object. `reference_id` is the `id` you saved. `reason` tells you what to do with it: `inactive` means mark it inactive, and `deleted` or `soft_deleted` means delete it.\n\n**Data agreement:** your Modex account executive sets which fields and filters your API key can use. Each record contains the fields in your agreement, plus `id`, `updated_at`, and `active`, which are always returned. Fields with no value are returned as `null`. Without an agreement for this feed the request returns 403. A filter that isn't in your agreement returns 400. Results are limited to your permitted states.\n\n**Sort:** `updated_at` (default), `record_date`, `close_date`, or `id`. Prefix with `-` for descending. Records with the same value are ordered by `id`.  \n**Filters:** `updated_at`, `record_date`, `close_date`, `listed_at`, `active`, `status`, `property_state`, `listing_real_estate_agent_id`, `buyer_real_estate_agent_id`, `mls_organization_id`.  \n**Includes:** none.\n\n## Fields\n\n**Always returned**\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `id` | string | Modex transaction ID (UUID). Store it. When a later sync returns this same `id`, update the fields on that object. The deletes feed returns it as `reference_id`. `reason` tells you to delete the object or mark it inactive. |\n| `updated_at` | datetime | When Modex last changed this record. Use it to sync. |\n| `active` | boolean | Always `true` on this list. Removals are on the deletes feed. |\n\n**Listing**\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `status` | string | Listing status in lowercase, with closed sales as `sale`. For example `sale`, `active`, or `pending`. |\n| `amount` | integer | Sale price for sales, list price otherwise, in dollars. |\n| `original_list_amount` | integer | Original list price, in dollars. |\n| `assessed_total_value` | integer | Assessed value, in dollars. |\n| `sale_type` | string | Sale type. |\n| `mls_days_on_market` | integer | Days on market. |\n| `mls_cumulative_days_on_market` | integer | Days on market across relistings. |\n| `mls_name` | string | MLS name. |\n| `mls_number` | string | MLS listing number. |\n| `mls_organization_id` | string | MLS organization ID. |\n| `list_id` | string | Listing ID from the source. |\n\n**Dates**\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `record_date` | date | Record date. |\n| `listed_at` | datetime | Listing date. |\n| `contract_date` | date | Contract date. |\n| `pending_at` | datetime | When the listing went pending. |\n| `close_date` | date | Close date. |\n| `off_market_date` | date | Off-market date. |\n| `status_changed_at` | datetime | Last status change. |\n| `price_changed_at` | datetime | Last price change. |\n\n**Property**\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `property_address` | string | Street address. |\n| `property_unit_type` | string | Unit type. |\n| `property_unit_number` | string | Unit number. |\n| `property_city` | string | City. |\n| `property_state` | string | Two-letter state. |\n| `property_zip_code` | string | ZIP code. |\n| `property_county` | string | County. |\n| `fips` | string | County FIPS code. |\n| `formatted_address` | string | Full address on one line. |\n| `latitude` | number | Latitude. |\n| `longitude` | number | Longitude. |\n| `property_type` | string | Modex property type. |\n| `mls_property_type` | string | Property type as listed in the MLS. |\n| `mls_sub_property_type` | string | Property sub-type as listed in the MLS. |\n| `year_built` | integer | Year built. |\n| `new_construction` | boolean | New construction. |\n| `lot_square_feet` | integer | Lot size, in square feet. |\n| `living_square_feet` | integer | Living area, in square feet. |\n| `building_area_total` | number | Total building area. |\n| `property_units` | integer | Number of units. |\n| `bedrooms` | integer | Bedrooms. |\n| `bathrooms` | integer | Bathrooms. |\n| `full_bathrooms` | integer | Full bathrooms. |\n| `half_bathrooms` | integer | Half bathrooms. |\n| `apn` | string | Assessor parcel number. |\n| `subdivision` | string | Subdivision. |\n| `hoa` | boolean | Has a homeowners association. |\n| `hoa_fee` | number | HOA fee as listed. |\n| `hoa_fee_frequency` | string | How often `hoa_fee` is charged. |\n| `hoa_fee_monthly` | number | HOA fee converted to a monthly amount. |\n| `owner_name` | string | Property owner's name. |\n\n**Agents and offices**\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `listing_real_estate_agent_id` | string | Modex ID of the listing agent. |\n| `listing_agent_name` | string | Listing agent's name, as listed. |\n| `listing_agent_mls_id` | string | Listing agent's MLS ID. |\n| `listing_agent_license_number` | string | Listing agent's license number. |\n| `listing_real_estate_agent_office_id` | string | Modex ID of the listing agent's office. |\n| `listing_office_name` | string | Listing office name. |\n| `listing_office_mls_id` | string | Listing office MLS ID. |\n| `buyer_real_estate_agent_id` | string | Modex ID of the buyer's agent. |\n| `buyer_agent_name` | string | Buyer agent's name, as listed. |\n| `buyer_agent_mls_id` | string | Buyer agent's MLS ID. |\n| `buyer_agent_license_number` | string | Buyer agent's license number. |\n| `buyer_real_estate_agent_office_id` | string | Modex ID of the buyer agent's office. |\n| `buyer_office_name` | string | Buyer office name. |\n| `buyer_office_mls_id` | string | Buyer office MLS ID. |","tags":["MLS"],"parameters":[{"name":"limit","in":"query","description":"Page size. Defaults to 25. Maximum is 100.","required":false,"schema":{"type":"integer"}},{"name":"sort","in":"query","description":"Sort order: `updated_at` (default), `record_date`, `close_date`, or `id`. Prefix with `-` for descending.","required":false,"schema":{"type":"string"}},{"name":"filter[updated_at]","in":"query","description":"When Modex last changed the record. Accepts an operator: `gte:`, `gt:`, `lte:`, or `lt:`. Combine two with a comma for a range, for example `gte:2026-01-01T00:00:00Z,lt:2026-02-01T00:00:00Z`. Without an operator the value must match exactly. Write times in UTC with `Z`, or URL-encode the `+` in an offset. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"filter[record_date]","in":"query","description":"Record date. Accepts an operator: `gte:`, `gt:`, `lte:`, or `lt:`. Combine two with a comma for a range, for example `gte:2026-01-01T00:00:00Z,lt:2026-02-01T00:00:00Z`. Without an operator the value must match exactly. Write times in UTC with `Z`, or URL-encode the `+` in an offset. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"filter[close_date]","in":"query","description":"Close date. Accepts an operator: `gte:`, `gt:`, `lte:`, or `lt:`. Combine two with a comma for a range, for example `gte:2026-01-01T00:00:00Z,lt:2026-02-01T00:00:00Z`. Without an operator the value must match exactly. Write times in UTC with `Z`, or URL-encode the `+` in an offset. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"filter[listed_at]","in":"query","description":"Listing date. Accepts an operator: `gte:`, `gt:`, `lte:`, or `lt:`. Combine two with a comma for a range, for example `gte:2026-01-01T00:00:00Z,lt:2026-02-01T00:00:00Z`. Without an operator the value must match exactly. Write times in UTC with `Z`, or URL-encode the `+` in an offset. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"filter[active]","in":"query","description":"The list already returns only active rows. `true` matches those rows. `false` matches none. Available when your data agreement includes this filter.","required":false,"schema":{"type":"boolean"}},{"name":"filter[status]","in":"query","description":"Listing status, for example `sale` or `active`. Comma-separate several to match any. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"filter[property_state]","in":"query","description":"Two-letter state. Comma-separate several to match any. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"filter[listing_real_estate_agent_id]","in":"query","description":"Modex ID of the listing agent. Comma-separate several to match any. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"filter[buyer_real_estate_agent_id]","in":"query","description":"Modex ID of the buyer's agent. Comma-separate several to match any. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"filter[mls_organization_id]","in":"query","description":"MLS organization ID. Comma-separate several to match any. Available when your data agreement includes this filter.","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","description":"Value of `pagination.next_cursor` from the previous page. Leave out for the first page. Keep `sort` and filters unchanged between pages.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MLS_listMls_Response_200"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/resources/mls/deletes":{"get":{"operationId":"mls_listMlsDeletes","summary":"List MLS Deletes","description":"Deletion log for MLS records removed from the list feed. The list endpoint does not include these records. Cursor-paginated. Each item is `{ id, reference_id, type, reason, deleted_at }`, where `id` is the log row ID and `reference_id` is the removed MLS transaction. `type` is `mls`. `reason` tells you what to do with the object `reference_id` names: `inactive` means mark it inactive, and `deleted` or `soft_deleted` means delete it.\n\n`inactive` means Modex removed the record from the feed. The same record, with the same id, can become active again on `GET /v1/resources/mls`. When it does, `updated_at` changes, so a later incremental sync of that list includes it.\n\n**Keeping in sync:** the first request is `sort=deleted_at&filter[deleted_at]=gte:LAST_SYNC_TIME&limit=100`. For the next page, request `pagination.next_page_url` until it is `null`. After that last page, save the latest `deleted_at` you received and use that time as `LAST_SYNC_TIME` on the following sync. Look up one removed record with `filter[reference_id]`.\n\nRequires the same data agreement as the list. Without one the request returns 403. This feed is not limited by state.\n\n**Sort:** `deleted_at` (default). Prefix with `-` for descending. Rows with the same time are ordered by log `id`.  \n**Filters:** `deleted_at`, `id`, `reference_id`.\n\n## Fields\n\n| Field | Type | Description |\n| --- | --- | --- |\n| `id` | string | Deletion log row ID (UUID). |\n| `reference_id` | string | ID of the removed record (UUID). |\n| `type` | string | Always `mls`. |\n| `reason` | string | `inactive`, `deleted`, or `soft_deleted`. `inactive` means the record left the feed and can become active again under the same id on `GET /v1/resources/mls`, with a new `updated_at`. |\n| `deleted_at` | datetime | When the record was removed. |","tags":["MLS"],"parameters":[{"name":"limit","in":"query","description":"Page size. Defaults to 25. Maximum is 500.","required":false,"schema":{"type":"integer"}},{"name":"sort","in":"query","description":"Sort order: `deleted_at` (default). Prefix with `-` for descending. Rows with the same time are ordered by log `id`.","required":false,"schema":{"type":"string"}},{"name":"filter[deleted_at]","in":"query","description":"When the record was removed. Accepts an operator: `gte:`, `gt:`, `lte:`, or `lt:`. Combine two with a comma for a range, for example `gte:2026-01-01T00:00:00Z,lt:2026-02-01T00:00:00Z`. Without an operator the value must match exactly. Write times in UTC with `Z`, or URL-encode the `+` in an offset.","required":false,"schema":{"type":"string"}},{"name":"filter[id]","in":"query","description":"Exact deletion log row ID.","required":false,"schema":{"type":"string"}},{"name":"filter[reference_id]","in":"query","description":"Exact ID of the removed MLS transaction. Use it to check whether a specific record was removed.","required":false,"schema":{"type":"string"}},{"name":"cursor","in":"query","description":"Value of `pagination.next_cursor` from the previous page. Leave out for the first page. Keep `sort` and filters unchanged between pages.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MLS_listMlsDeletes_Response_200"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/contacts/usage":{"get":{"operationId":"contacts_contactUsage","summary":"Contact Usage","description":"Your contact-unlock usage for the current calendar month.\n\n| Field | Type | Description |\n|---|---|---|\n| `used_this_month` | integer | Records unlocked this month |\n| `limit` | integer, nullable | Monthly unlock limit. `null` means unlimited. |\n| `remaining` | integer, nullable | Unlocks left this month. `null` when unlimited. |\n| `period.start` | timestamp | Start of the current period (first of the month, UTC) |\n| `period.end` | timestamp | End of the current period (last second of the month, UTC) |","tags":["Contacts"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contacts_contactUsage_Response_200"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/contacts/loan-officers/unlock":{"post":{"operationId":"contacts_unlockLoanOfficers","summary":"Unlock Loan Officers","description":"Unlocks contact data for up to 100 loan officers in one call.\n\n**Body:**\n\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `ids` | array of UUIDs | yes | 1–100 loan officer IDs. Duplicates are ignored. |\n\n**Response:** `data[]` has one row per ID, in the order sent, plus `usage` (same shape as **Contact Usage**) after the unlock.\n\n| Field | Type | Description |\n|---|---|---|\n| `data[].id` | UUID | The ID you sent |\n| `data[].status` | string | See below |\n| `data[].contacts` | object, nullable | `phone_numbers`, `emails`, `websites`, `addresses` as `{type, value}` rows. Present for `unlocked` and `already_unlocked`, otherwise `null`. |\n\n| `status` | Meaning | Uses quota |\n|---|---|---|\n| `unlocked` | Newly unlocked | yes |\n| `already_unlocked` | You'd already unlocked this record | no |\n| `not_found` | No active loan officer with this ID that you can see | no |\n| `unavailable` | The record has no contact data to unlock | no |\n| `limit_reached` | Your monthly quota ran out before this ID | no |\n\nA malformed body returns 422 (for example `ids.0` isn't a UUID, or more than 100 IDs).","tags":["Contacts"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contacts_unlockLoanOfficers_Response_200"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"}}}}}}},"security":[{"bearerAuth":[]}]}},"/v1/contacts/real-estate-agents/unlock":{"post":{"operationId":"contacts_unlockRealEstateAgents","summary":"Unlock Real Estate Agents","description":"Unlocks contact data for up to 100 real estate agents in one call. Same body, response, and statuses as **Unlock Loan Officers**.\n\nReturns 403 when contact access or real estate data isn't enabled for your account.","tags":["Contacts"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Contacts_unlockRealEstateAgents_Response_200"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"ids":{"type":"array","items":{"type":"string"}}}}}}},"security":[{"bearerAuth":[]}]}},"/v1/clients":{"get":{"operationId":"clients_listClients","summary":"List Clients","description":"Clients you own, ordered by ID. Cursor-paginated.\n\n**Query parameters:** `limit`, `cursor` (see [Pagination](/getting-started#pagination)).\n\n**Response fields** (`data[]`):\n\n| Field | Type | Description |\n|---|---|---|\n| `id` | UUID | Client ID |\n| `name` | string | Client name |\n| `active` | boolean | Whether the client account is active |\n| `max_users` | integer, nullable | Seat limit. `null` means unlimited. |\n| `total_users` | integer | Users currently on the client. Pending invitations aren't counted. |\n\nSaves the first client's ID to `client_id`.","tags":["Clients"],"parameters":[{"name":"limit","in":"query","description":"Page size. Defaults to 25. Maximum is 100.","required":false,"schema":{"type":"integer"}},{"name":"cursor","in":"query","description":"Cursor from pagination.next_cursor on the previous page. Leave disabled for the first page.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Clients_listClients_Response_200"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/clients/{client_id}/users":{"get":{"operationId":"clients_listClientUsers","summary":"List Client Users","description":"Users on a client you own, ordered by ID. Cursor-paginated.\n\n**Path:** `client_id` (UUID).\n**Query parameters:** `limit`, `cursor`.\n\n**Response fields** (`data[]`):\n\n| Field | Type | Description |\n|---|---|---|\n| `id` | UUID | User ID |\n| `full_name` | string | Full name |\n| `first_name` | string, nullable | First name |\n| `last_name` | string, nullable | Last name |\n| `email` | string, nullable | Email address |\n| `latest_activity_at` | timestamp, nullable | Last time the user was active in Modex |\n| `is_owner` | boolean | Whether this user owns the client |\n\nReturns 403 for a client you don't own. Saves the first user's ID to `client_user_id`.","tags":["Clients"],"parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Page size. Defaults to 25. Maximum is 100.","required":false,"schema":{"type":"integer"}},{"name":"cursor","in":"query","description":"Cursor from pagination.next_cursor on the previous page. Leave disabled for the first page.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Clients_listClientUsers_Response_200"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/clients/{client_id}/users/{client_user_id}":{"delete":{"operationId":"clients_removeClientUser","summary":"Remove Client User","description":"Removes a user from a client you own. The user loses access to that client's account. Their Modex login isn't deleted.\n\n**Path:** `client_id`, `client_user_id` (UUIDs).\n\nReturns `{\"ok\": true}`. A user who isn't on the client returns 404. A client you don't own returns 403.","tags":["Clients"],"parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"client_user_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Clients_removeClientUser_Response_200"}}}},"404":{"description":"Not Found","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/clients/{client_id}/invitations":{"get":{"operationId":"clients_listClientInvitations","summary":"List Client Invitations","description":"Outstanding (not accepted or revoked) invitations for a client you own, newest first. Cursor-paginated.\n\n**Response fields** (`data[]`): `id` (UUID), `email` (string), `created_at` (timestamp).\n\nSaves the first invitation's ID to `client_user_invitation_id`.","tags":["Clients"],"parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","description":"Page size. Defaults to 25. Maximum is 100.","required":false,"schema":{"type":"integer"}},{"name":"cursor","in":"query","description":"Cursor from pagination.next_cursor on the previous page. Leave disabled for the first page.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Clients_listClientInvitations_Response_200"}}}}},"security":[{"bearerAuth":[]}]},"post":{"operationId":"clients_createClientInvitations","summary":"Create Client Invitations","description":"Invites people to join a client you own. Each address receives an email with a link to accept.\n\n**Body:**\n\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `emails` | array of strings | yes | One or more valid email addresses |\n\n- Addresses repeated in one request (case-insensitive) are invited once.\n- Any earlier invitation on this client for the same address is revoked and replaced.\n- Invitations don't check your seat limit. Compare `total_users` from **List Clients** to `max_users` before inviting.\n\nReturns **201** with `data[]` of `{id, email, created_at}`. Invalid input returns 422 with per-field `details` (for example `emails.0`).","tags":["Clients"],"parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Clients_createClientInvitations_Response_201"}}}},"422":{"description":"Unprocessable Content","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"emails":{"type":"array","items":{"type":"string"}}}}}}},"security":[{"bearerAuth":[]}]}},"/v1/clients/{client_id}/invitations/{client_user_invitation_id}":{"delete":{"operationId":"clients_revokeClientInvitation","summary":"Revoke Client Invitation","description":"Revokes an outstanding invitation so its link no longer works.\n\n**Path:** `client_id`, `client_user_invitation_id` (UUIDs).\n\nReturns `{\"ok\": true}`. An invitation that belongs to a different client returns 403.","tags":["Clients"],"parameters":[{"name":"client_id","in":"path","required":true,"schema":{"type":"string"}},{"name":"client_user_invitation_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Clients_revokeClientInvitation_Response_200"}}}},"403":{"description":"Forbidden","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"security":[{"bearerAuth":[]}]}},"/v1/ping":{"get":{"operationId":"health_ping","summary":"Ping","description":"Health check. Returns `{\"ok\": true}` when the API is up. No token required.","tags":["Health"],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Health_ping_Response_200"}}}}}}}},"tags":[{"name":"NMLS","description":"Resolve one NMLS ID to the loan officer, branch, or company that owns it. Loan officers win over branches, and branches win over companies.\n\nPart of Resources"},{"name":"Loan Officers","description":"Active loan officers visible under your account's state restrictions.\n\nPart of Resources"},{"name":"Companies","description":"Active companies. Branch and loan officer lists are cursor-paginated.\n\nPart of Resources"},{"name":"Branches","description":"Active branches visible under your account's state restrictions.\n\nPart of Resources"},{"name":"Lender Beneficiaries","description":"Active lender beneficiaries. Returns 403 when lender beneficiaries aren't enabled for your account.\n\nPart of Resources"},{"name":"Mortgages","description":"Recorded mortgage transactions, in bulk. The list returns active records. Removals are on `GET /v1/resources/mortgages/deletes`.\n\nPart of Resources"},{"name":"Real Estate Agents","description":"Active real estate agents visible under your account's state restrictions. Returns 403 when real estate data isn't enabled for your account.\n\nPart of Resources"},{"name":"Real Estate Offices","description":"Active real estate offices visible under your account's state restrictions. Agent lists are cursor-paginated. Returns 403 when real estate data isn't enabled for your account.\n\nPart of Resources"},{"name":"MLS","description":"MLS sales and listings, in bulk. The list returns active records. Removals are on `GET /v1/resources/mls/deletes`.\n\nPart of Resources"},{"name":"Contacts","description":"Monthly contact-unlock quota, and unlocking contact data for loan officers and real estate agents.\n\nAll Contacts endpoints return 403 when contact access isn't enabled for your account. Unlocking real estate agents also requires real estate data.\n\n**How unlocks work**\n\n- Unlocks are per user. Each record you unlock counts once against your monthly quota.\n- Unlocking a record you've already unlocked is free and returns `already_unlocked` with the contact data.\n- Once unlocked, a record stays unlocked: the `contacts` include on detail and roster endpoints returns its data from then on.\n- The quota resets on the first of each calendar month (UTC)."},{"name":"Clients","description":"Clients (Modex accounts) you own, their users, and outstanding user invitations.\n\nRequires a token whose user is a recruiter with billing access. A client you don't own returns 403. Client IDs, user IDs, and invitation IDs are UUIDs; anything else returns 404."},{"name":"Health","description":"Unauthenticated health check."}],"servers":[{"url":"https://api.modex.com","description":"https://api.modex.com"}],"components":{"schemas":{"NMLS_resolveNmlsId_Response_200":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID of the matching record"},"type":{"type":"string","description":"`loan_officer`, `branch`, or `company`"},"name":{"type":"string","description":"Record name"},"nmls_id":{"type":"integer","description":"The NMLS ID"},"uri":{"type":"string","description":"Full URL of the record's detail endpoint"}},"title":"NMLS_resolveNmlsId_Response_200"},"ApiErrorError":{"type":"object","properties":{"type":{"type":"string","description":"Error category: invalid_request, authentication_error, permission_error, not_found, rate_limit_error, or api_error."},"code":{"type":"string","description":"Specific error code. Same as `type`, except `validation_error` for request-body validation failures."},"message":{"type":"string","description":"Human-readable explanation."},"details":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}},"description":"Validation errors only: each invalid field mapped to its messages."}},"required":["type","code","message"],"title":"ApiErrorError"},"ApiError":{"type":"object","properties":{"error":{"$ref":"#/components/schemas/ApiErrorError"}},"required":["error"],"description":"Every error uses this envelope.","title":"ApiError"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaOfficeLocationsItemsEmployerBranch":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID (UUID)"},"name":{"type":"string","description":"Name"},"nmls_id":{"type":"integer","description":"NMLS ID"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaOfficeLocationsItemsEmployerBranch"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaOfficeLocationsItemsEmployer":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID (UUID)"},"name":{"type":"string","description":"Name"},"nmls_id":{"type":"integer","description":"NMLS ID"},"branch":{"oneOf":[{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaOfficeLocationsItemsEmployerBranch"},{"type":"null"}]}},"description":"`id`, `name`, `nmls_id` of the company, plus `branch` (`id`, `name`, `nmls_id`) for `branch` locations, or `null` for `main`","title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaOfficeLocationsItemsEmployer"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaOfficeLocationsItemsAddress":{"type":"object","properties":{"street":{"type":"string","description":"Street line"},"city":{"type":"string","description":"Breakdown by city"},"state":{"type":"string","description":"Two-letter state code"},"zipcode":{"type":"string","description":"ZIP code"},"formatted":{"type":"string","description":"Full single-line address"}},"description":"Office address","title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaOfficeLocationsItemsAddress"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaOfficeLocationsItems":{"type":"object","properties":{"type":{"type":"string","description":"`branch` (an assigned branch office) or `main` (an employer's main office)"},"employer":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaOfficeLocationsItemsEmployer","description":"`id`, `name`, `nmls_id` of the company, plus `branch` (`id`, `name`, `nmls_id`) for `branch` locations, or `null` for `main`"},"address":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaOfficeLocationsItemsAddress","description":"Office address"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaOfficeLocationsItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaMortgageTransactionTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaMortgageTransactionTypeItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaMortgageLoanTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaMortgageLoanTypeItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaMortgagePropertyTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaMortgagePropertyTypeItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaMortgage":{"type":"object","properties":{"volume":{"type":"integer","description":"Total loan amount, in dollars"},"units":{"type":"integer","description":"Number of loans"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"transaction_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaMortgageTransactionTypeItems"},"description":"Breakdown by purpose: Purchase, Refinance, Home Equity, Construction"},"loan_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaMortgageLoanTypeItems"},"description":"Breakdown by loan type: Conventional, FHA, VA, USDA, Stand Alone Second, and others"},"property_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaMortgagePropertyTypeItems"},"description":"Breakdown by property type: Single Family Residence, Condominium, Townhouse, and others"}},"description":"Production over the rolling 12 months. Present when requested with `include=mortgage`.","title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaMortgage"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaLicensesItemsItems":{"type":"object","properties":{"name":{"type":"string","description":"License name as issued, e.g. `Mortgage Loan Originator License`"},"license_id":{"type":["string","null"],"description":"State license number, when the regulator publishes one"},"regulator":{"type":"string","description":"Issuing state or agency, e.g. `Washington`, `California - DFPI`"},"status_label":{"type":"string","description":"License status, e.g. `Approved`"},"issued_date":{"type":"string","format":"date","description":"Original issue date"},"status_date":{"type":"string","format":"date","description":"Date of the latest status change"},"renewed_through":{"type":"integer","description":"Year the license is renewed through"},"authorized_to_conduct_business":{"type":"boolean","description":"Whether the license currently authorizes business"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaLicensesItemsItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaLicenses":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaLicensesItemsItems"}},"authorized_states":{"type":"array","items":{"type":"string"},"description":"Two-letter codes of states with an active license"}},"description":"Active mortgage licenses and authorized states. Present with `include=licenses`.","title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaLicenses"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaEmploymentCurrentEmployersItems":{"type":"object","properties":{"company_name":{"type":"string","description":"Company name"},"company_nmls_id":{"type":"integer"},"start_date":{"type":"string","format":"date"},"end_date":{"description":"Any type"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaEmploymentCurrentEmployersItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaEmploymentTenure":{"type":"object","properties":{"employment_years_length":{"type":"string","description":"Total years in the industry, as a decimal string, e.g. `\"9.62\"`"},"current_job_length":{"type":"string","description":"Years at the current job, as a decimal string"},"current_job_string":{"type":"string","description":"Human-readable time at the current job, e.g. `\"4 years, 5 months\"`"},"jobs_last_decade":{"type":"integer","description":"Number of employers in the last 10 years"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaEmploymentTenure"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaEmploymentHistoryItems":{"type":"object","properties":{"company_name":{"type":"string","description":"Company name"},"company_nmls_id":{"type":"integer"},"start_date":{"type":"string","format":"date"},"end_date":{"type":["string","null"],"format":"date"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaEmploymentHistoryItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaEmployment":{"type":"object","properties":{"current_employers":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaEmploymentCurrentEmployersItems"},"description":"Current employers. A loan officer can have more than one."},"tenure":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaEmploymentTenure"},"history":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaEmploymentHistoryItems"},"description":"Every employer, newest start date first"}},"description":"Current employers, tenure, and employment history. Present with `include=employment`.","title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaEmployment"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaNonQmTransactionTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"},"percent_sum_total":{"type":"number","format":"double","description":"This row's dollars as a share of **all** production (not just non-QM), 0–100"},"percent_count_total":{"type":"number","format":"double","description":"This row's loans as a share of **all** production, 0–100"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaNonQmTransactionTypeItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaNonQmLoanTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"},"percent_sum_total":{"type":"number","format":"double","description":"This row's dollars as a share of **all** production (not just non-QM), 0–100"},"percent_count_total":{"type":"number","format":"double","description":"This row's loans as a share of **all** production, 0–100"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaNonQmLoanTypeItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaNonQm":{"type":"object","properties":{"volume":{"type":"integer","description":"Total dollar amount over the window"},"units":{"type":"integer","description":"Number of transactions over the window"},"average":{"type":"integer","description":"Average dollar amount"},"transaction_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaNonQmTransactionTypeItems"}},"loan_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaNonQmLoanTypeItems"}}},"description":"Non-QM production over the rolling 12 months. Present with `include=non_qm`.","title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaNonQm"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaLenderBeneficiariesItemsItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex's internal ID for this lender name association. It is **not** a lender beneficiary ID and can't be used with **Show Lender Beneficiary**. `null` for `Not provided`."},"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaLenderBeneficiariesItemsItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaLenderBeneficiaries":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaLenderBeneficiariesItemsItems"},"description":"One row per lender, sorted by `count`, highest first. Same row fields as `mortgage`, plus `id`."}},"description":"Production by lender over the rolling 12 months. Present with `include=lender_beneficiaries`.","title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaLenderBeneficiaries"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusCraPovertyItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"percent":{"type":"string","description":"Share of transactions, 0–100. A string in the four `cra_*` lists, a number elsewhere."},"count":{"type":"integer","description":"Number of transactions in this category"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusCraPovertyItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusCraUnemploymentItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"percent":{"type":"string","description":"Share of transactions, 0–100. A string in the four `cra_*` lists, a number elsewhere."},"count":{"type":"integer","description":"Number of transactions in this category"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusCraUnemploymentItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusCraDistressedItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"percent":{"type":"string","description":"Share of transactions, 0–100. A string in the four `cra_*` lists, a number elsewhere."},"count":{"type":"integer","description":"Number of transactions in this category"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusCraDistressedItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusCraRemoteRuralItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"percent":{"type":"string","description":"Share of transactions, 0–100. A string in the four `cra_*` lists, a number elsewhere."},"count":{"type":"integer","description":"Number of transactions in this category"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusCraRemoteRuralItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusIncomeIndicatorItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"percent":{"type":"number","format":"double","description":"Share of transactions, 0–100. A string in the four `cra_*` lists, a number elsewhere."},"count":{"type":"integer","description":"Number of transactions in this category"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusIncomeIndicatorItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusPopulationItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"percent":{"type":"number","format":"double","description":"Share of transactions, 0–100. A string in the four `cra_*` lists, a number elsewhere."},"count":{"type":"integer","description":"Number of transactions in this category"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusPopulationItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensus":{"type":"object","properties":{"cra_poverty":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusCraPovertyItems"},"description":"Tracts meeting the CRA poverty criterion"},"cra_unemployment":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusCraUnemploymentItems"},"description":"Tracts meeting the CRA unemployment criterion"},"cra_distressed":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusCraDistressedItems"},"description":"Distressed middle-income tracts"},"cra_remote_rural":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusCraRemoteRuralItems"},"description":"Remote rural tracts"},"income_indicator":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusIncomeIndicatorItems"},"description":"Tract income level. Sorted by `percent`, highest first."},"population":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensusPopulationItems"},"description":"Tract population majority. Sorted by `percent`, highest first."}},"description":"Census-tract breakdown of transactions over the rolling 12 months. Present with `include=census`.","title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensus"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaFederalRegistrationsItemsItems":{"type":"object","properties":{"regulator":{"type":"string","description":"Federal regulator"},"start_date":{"type":"string","format":"date","description":"Registration start"},"end_date":{"type":"string","format":"date","description":"Registration end; `null` if ongoing"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaFederalRegistrationsItemsItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaFederalRegistrations":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaFederalRegistrationsItemsItems"},"description":"Loan officers only: registration history, latest first. Always empty for companies."},"active":{"type":"boolean","description":"Currently federally registered"},"past":{"type":"boolean","description":"Has a past federal registration that has ended"}},"description":"Federal registration status. Present with `include=federal_registrations`.","title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaFederalRegistrations"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaContactsPhoneNumbersItems":{"type":"object","properties":{"type":{"type":"string","description":"Entry type, for example `mobile`, `office`, or `work`"},"value":{"type":"string","description":"The phone number, email address, or URL"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaContactsPhoneNumbersItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaContactsEmailsItems":{"type":"object","properties":{"type":{"type":"string","description":"Entry type, for example `mobile`, `office`, or `work`"},"value":{"type":"string","description":"The phone number, email address, or URL"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaContactsEmailsItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaContactsWebsitesItems":{"type":"object","properties":{"type":{"type":"string","description":"Entry type, for example `mobile`, `office`, or `work`"},"value":{"type":"string","description":"The phone number, email address, or URL"}},"title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaContactsWebsitesItems"},"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaContacts":{"type":"object","properties":{"phone_numbers":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaContactsPhoneNumbersItems"},"description":"`{type, value}` rows, e.g. `{\"type\": \"mobile\", \"value\": \"(503) 555-0142\"}`"},"emails":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaContactsEmailsItems"},"description":"`{type, value}` rows"},"websites":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaContactsWebsitesItems"},"description":"`{type, value}` rows"}},"description":"Phone numbers, emails, and websites. `null` until you unlock the record. Present with `include=contacts`.","title":"V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaContacts"},"Loan_Officers_showLoanOfficer_Response_200":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Loan officer ID"},"type":{"type":"string","description":"Always `loan_officer`"},"name":{"type":"string","description":"Full name"},"nmls_id":{"type":"integer","description":"Individual NMLS ID"},"office_locations":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaOfficeLocationsItems"},"description":"Every office the loan officer is registered at"},"has_contact_data":{"type":"boolean","description":"Whether contact data exists to unlock. It doesn't mean you've unlocked it."},"mortgage":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaMortgage","description":"Production over the rolling 12 months. Present when requested with `include=mortgage`."},"licenses":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaLicenses","description":"Active mortgage licenses and authorized states. Present with `include=licenses`."},"employment":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaEmployment","description":"Current employers, tenure, and employment history. Present with `include=employment`."},"non_qm":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaNonQm","description":"Non-QM production over the rolling 12 months. Present with `include=non_qm`."},"lender_beneficiaries":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaLenderBeneficiaries","description":"Production by lender over the rolling 12 months. Present with `include=lender_beneficiaries`."},"census":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaCensus","description":"Census-tract breakdown of transactions over the rolling 12 months. Present with `include=census`."},"federal_registrations":{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaFederalRegistrations","description":"Federal registration status. Present with `include=federal_registrations`."},"contacts":{"oneOf":[{"$ref":"#/components/schemas/V1ResourcesLoanOfficersLoanOfficerIdGetResponsesContentApplicationJsonSchemaContacts"},{"type":"null"}],"description":"Phone numbers, emails, and websites. `null` until you unlock the record. Present with `include=contacts`."}},"title":"Loan Officers_showLoanOfficer_Response_200"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaAddress":{"type":"object","properties":{"street":{"type":"string","description":"Street line"},"city":{"type":"string","description":"City"},"state":{"type":"string","description":"Two-letter state code"},"zipcode":{"type":"string","description":"ZIP code"},"formatted":{"type":"string","description":"Full single-line address"}},"description":"Main office address","title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaAddress"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaMortgageTransactionTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaMortgageTransactionTypeItems"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaMortgageLoanTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaMortgageLoanTypeItems"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaMortgagePropertyTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaMortgagePropertyTypeItems"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaMortgage":{"type":"object","properties":{"volume":{"type":"integer","description":"Total loan amount, in dollars"},"units":{"type":"integer","description":"Number of loans"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"transaction_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaMortgageTransactionTypeItems"},"description":"Breakdown by purpose: Purchase, Refinance, Home Equity, Construction"},"loan_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaMortgageLoanTypeItems"},"description":"Breakdown by loan type: Conventional, FHA, VA, USDA, Stand Alone Second, and others"},"property_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaMortgagePropertyTypeItems"},"description":"Breakdown by property type: Single Family Residence, Condominium, Townhouse, and others"}},"description":"Production over the rolling 12 months. Present when requested with `include=mortgage`.","title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaMortgage"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaLicensesItemsItems":{"type":"object","properties":{"name":{"type":"string","description":"License name as issued, e.g. `Mortgage Loan Originator License`"},"license_id":{"type":"string","description":"State license number, when the regulator publishes one"},"regulator":{"type":"string","description":"Issuing state or agency, e.g. `Washington`, `California - DFPI`"},"status_label":{"type":"string","description":"License status, e.g. `Approved`"},"issued_date":{"type":"string","format":"date","description":"Original issue date"},"status_date":{"type":"string","format":"date","description":"Date of the latest status change"},"renewed_through":{"type":"integer","description":"Year the license is renewed through"},"authorized_to_conduct_business":{"type":"boolean","description":"Whether the license currently authorizes business"}},"title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaLicensesItemsItems"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaLicenses":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaLicensesItemsItems"}},"authorized_states":{"type":"array","items":{"type":"string"},"description":"Two-letter codes of states with an active license"}},"description":"Active mortgage licenses and authorized states. Present with `include=licenses`.","title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaLicenses"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaTradeNames":{"type":"object","properties":{"trade_names":{"type":"array","items":{"type":"string"},"description":"Current trade names (DBAs)"},"prior_trade_names":{"type":"array","items":{"type":"string"},"description":"Trade names used previously. May repeat a name."}},"description":"Current and prior trade names. Present with `include=trade_names`.","title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaTradeNames"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaNonQmTransactionTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"},"percent_sum_total":{"type":"number","format":"double","description":"This row's dollars as a share of **all** production (not just non-QM), 0–100"},"percent_count_total":{"type":"number","format":"double","description":"This row's loans as a share of **all** production, 0–100"}},"title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaNonQmTransactionTypeItems"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaNonQmLoanTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"},"percent_sum_total":{"type":"number","format":"double","description":"This row's dollars as a share of **all** production (not just non-QM), 0–100"},"percent_count_total":{"type":"number","format":"double","description":"This row's loans as a share of **all** production, 0–100"}},"title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaNonQmLoanTypeItems"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaNonQm":{"type":"object","properties":{"volume":{"type":"integer","description":"Total dollar amount over the window"},"units":{"type":"integer","description":"Number of transactions over the window"},"average":{"type":"integer","description":"Average dollar amount"},"transaction_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaNonQmTransactionTypeItems"}},"loan_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaNonQmLoanTypeItems"}}},"description":"Non-QM production over the rolling 12 months. Present with `include=non_qm`.","title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaNonQm"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaLenderBeneficiariesItemsItems":{"type":"object","properties":{"id":{"type":["string","null"],"format":"uuid","description":"Modex's internal ID for this lender name association. It is **not** a lender beneficiary ID and can't be used with **Show Lender Beneficiary**. `null` for `Not provided`."},"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaLenderBeneficiariesItemsItems"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaLenderBeneficiaries":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaLenderBeneficiariesItemsItems"},"description":"One row per lender, sorted by `count`, highest first. Same row fields as `mortgage`, plus `id`."}},"description":"Production by lender over the rolling 12 months. Present with `include=lender_beneficiaries`.","title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaLenderBeneficiaries"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusCraPovertyItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"percent":{"type":"string","description":"Share of transactions, 0–100. A string in the four `cra_*` lists, a number elsewhere."},"count":{"type":"integer","description":"Number of transactions in this category"}},"title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusCraPovertyItems"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusCraUnemploymentItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"percent":{"type":"string","description":"Share of transactions, 0–100. A string in the four `cra_*` lists, a number elsewhere."},"count":{"type":"integer","description":"Number of transactions in this category"}},"title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusCraUnemploymentItems"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusCraDistressedItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"percent":{"type":"string","description":"Share of transactions, 0–100. A string in the four `cra_*` lists, a number elsewhere."},"count":{"type":"integer","description":"Number of transactions in this category"}},"title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusCraDistressedItems"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusCraRemoteRuralItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"percent":{"type":"string","description":"Share of transactions, 0–100. A string in the four `cra_*` lists, a number elsewhere."},"count":{"type":"integer","description":"Number of transactions in this category"}},"title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusCraRemoteRuralItems"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusIncomeIndicatorItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"percent":{"type":"number","format":"double","description":"Share of transactions, 0–100. A string in the four `cra_*` lists, a number elsewhere."},"count":{"type":"integer","description":"Number of transactions in this category"}},"title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusIncomeIndicatorItems"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusPopulationItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"percent":{"type":"number","format":"double","description":"Share of transactions, 0–100. A string in the four `cra_*` lists, a number elsewhere."},"count":{"type":"integer","description":"Number of transactions in this category"}},"title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusPopulationItems"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensus":{"type":"object","properties":{"cra_poverty":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusCraPovertyItems"},"description":"Tracts meeting the CRA poverty criterion"},"cra_unemployment":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusCraUnemploymentItems"},"description":"Tracts meeting the CRA unemployment criterion"},"cra_distressed":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusCraDistressedItems"},"description":"Distressed middle-income tracts"},"cra_remote_rural":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusCraRemoteRuralItems"},"description":"Remote rural tracts"},"income_indicator":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusIncomeIndicatorItems"},"description":"Tract income level. Sorted by `percent`, highest first."},"population":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensusPopulationItems"},"description":"Tract population majority. Sorted by `percent`, highest first."}},"description":"Census-tract breakdown of transactions over the rolling 12 months. Present with `include=census`.","title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensus"},"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaFederalRegistrations":{"type":"object","properties":{"items":{"type":"array","items":{"description":"Any type"},"description":"Loan officers only: registration history, latest first. Always empty for companies."},"active":{"type":"boolean","description":"Currently federally registered"},"past":{"type":"boolean","description":"Has a past federal registration that has ended"}},"description":"Federal registration status. Present with `include=federal_registrations`.","title":"V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaFederalRegistrations"},"Companies_showCompany_Response_200":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Company ID"},"type":{"type":"string","description":"Always `company`"},"name":{"type":"string","description":"Legal name"},"nmls_id":{"type":"integer","description":"NMLS ID"},"address":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaAddress","description":"Main office address"},"mortgage":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaMortgage","description":"Production over the rolling 12 months. Present when requested with `include=mortgage`."},"licenses":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaLicenses","description":"Active mortgage licenses and authorized states. Present with `include=licenses`."},"trade_names":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaTradeNames","description":"Current and prior trade names. Present with `include=trade_names`."},"non_qm":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaNonQm","description":"Non-QM production over the rolling 12 months. Present with `include=non_qm`."},"lender_beneficiaries":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaLenderBeneficiaries","description":"Production by lender over the rolling 12 months. Present with `include=lender_beneficiaries`."},"census":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaCensus","description":"Census-tract breakdown of transactions over the rolling 12 months. Present with `include=census`."},"federal_registrations":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdGetResponsesContentApplicationJsonSchemaFederalRegistrations","description":"Federal registration status. Present with `include=federal_registrations`."}},"title":"Companies_showCompany_Response_200"},"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployerBranch":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID (UUID)"},"name":{"type":"string","description":"Name"},"nmls_id":{"type":"integer","description":"NMLS ID"}},"title":"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployerBranch"},"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployer":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID (UUID)"},"name":{"type":"string","description":"Name"},"nmls_id":{"type":"integer","description":"NMLS ID"},"branch":{"oneOf":[{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployerBranch"},{"type":"null"}]}},"description":"`id`, `name`, `nmls_id` of the company, plus `branch` (`id`, `name`, `nmls_id`) for `branch` locations, or `null` for `main`","title":"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployer"},"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsAddress":{"type":"object","properties":{"street":{"type":"string","description":"Street line"},"city":{"type":"string","description":"Breakdown by city"},"state":{"type":"string","description":"Two-letter state code"},"zipcode":{"type":"string","description":"ZIP code"},"formatted":{"type":"string","description":"Full single-line address"}},"description":"Office address","title":"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsAddress"},"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItems":{"type":"object","properties":{"type":{"type":"string","description":"`branch` (an assigned branch office) or `main` (an employer's main office)"},"employer":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployer","description":"`id`, `name`, `nmls_id` of the company, plus `branch` (`id`, `name`, `nmls_id`) for `branch` locations, or `null` for `main`"},"address":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsAddress","description":"Office address"}},"title":"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItems"},"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgageTransactionTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgageTransactionTypeItems"},"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgageLoanTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgageLoanTypeItems"},"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgagePropertyTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgagePropertyTypeItems"},"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgage":{"type":"object","properties":{"volume":{"type":["integer","null"],"description":"Total dollar amount over the window"},"units":{"type":["integer","null"],"description":"Number of transactions over the window"},"average":{"type":["integer","null"],"description":"Average dollar amount"},"transaction_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgageTransactionTypeItems"},"description":"Breakdown by purpose: Purchase, Refinance, Home Equity, Construction"},"loan_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgageLoanTypeItems"},"description":"Breakdown by loan type: Conventional, FHA, VA, USDA, Stand Alone Second, and others"},"property_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgagePropertyTypeItems"},"description":"Breakdown by property type"}},"description":"Production over the rolling 12 months. Present when requested with `include=mortgage`.","title":"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgage"},"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Loan officer ID"},"type":{"type":"string","description":"Always `loan_officer`"},"name":{"type":"string","description":"Full name"},"nmls_id":{"type":"integer","description":"Individual NMLS ID"},"office_locations":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItems"},"description":"Every office the loan officer is registered at"},"has_contact_data":{"type":"boolean","description":"Whether contact data exists to unlock. It doesn't mean you've unlocked it."},"mortgage":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsMortgage","description":"Production over the rolling 12 months. Present when requested with `include=mortgage`."}},"title":"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItems"},"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaPagination":{"type":"object","properties":{"per_page":{"type":"integer","description":"Page size used for this response."},"next_cursor":{"type":"string","description":"Pass as `cursor` to get the next page. `null` on the last page."},"next_page_url":{"type":"string","description":"Full URL of the next page. `null` on the last page."},"prev_cursor":{"description":"Pass as `cursor` to get the previous page. `null` on the first page."},"prev_page_url":{"description":"Full URL of the previous page. `null` on the first page."}},"description":"Cursor details for the next and previous pages. See Pagination in Getting started.","title":"V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaPagination"},"Companies_listCompanyLoanOfficers_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."},"pagination":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdLoanOfficersGetResponsesContentApplicationJsonSchemaPagination","description":"Cursor details for the next and previous pages. See Pagination in Getting started."}},"title":"Companies_listCompanyLoanOfficers_Response_200"},"V1ResourcesCompaniesCompanyIdBranchesGetResponsesContentApplicationJsonSchemaDataItemsCompany":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID (UUID)"},"name":{"type":"string","description":"Name"},"nmls_id":{"type":"integer","description":"NMLS ID"}},"description":"Parent company: `id`, `name`, `nmls_id`","title":"V1ResourcesCompaniesCompanyIdBranchesGetResponsesContentApplicationJsonSchemaDataItemsCompany"},"V1ResourcesCompaniesCompanyIdBranchesGetResponsesContentApplicationJsonSchemaDataItemsAddress":{"type":"object","properties":{"street":{"type":"string","description":"Street line"},"city":{"type":"string","description":"Breakdown by city"},"state":{"type":"string","description":"Two-letter state code"},"zipcode":{"type":"string","description":"ZIP code"},"formatted":{"type":"string","description":"Full single-line address"}},"description":"Branch address","title":"V1ResourcesCompaniesCompanyIdBranchesGetResponsesContentApplicationJsonSchemaDataItemsAddress"},"V1ResourcesCompaniesCompanyIdBranchesGetResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Branch ID"},"type":{"type":"string","description":"Always `branch`"},"name":{"type":"string","description":"Branch name"},"nmls_id":{"type":"integer","description":"Branch NMLS ID"},"company":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdBranchesGetResponsesContentApplicationJsonSchemaDataItemsCompany","description":"Parent company: `id`, `name`, `nmls_id`"},"address":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdBranchesGetResponsesContentApplicationJsonSchemaDataItemsAddress","description":"Branch address"}},"title":"V1ResourcesCompaniesCompanyIdBranchesGetResponsesContentApplicationJsonSchemaDataItems"},"V1ResourcesCompaniesCompanyIdBranchesGetResponsesContentApplicationJsonSchemaPagination":{"type":"object","properties":{"per_page":{"type":"integer","description":"Page size used for this response."},"next_cursor":{"type":"string","description":"Pass as `cursor` to get the next page. `null` on the last page."},"next_page_url":{"type":"string","description":"Full URL of the next page. `null` on the last page."},"prev_cursor":{"description":"Pass as `cursor` to get the previous page. `null` on the first page."},"prev_page_url":{"description":"Full URL of the previous page. `null` on the first page."}},"description":"Cursor details for the next and previous pages. See Pagination in Getting started.","title":"V1ResourcesCompaniesCompanyIdBranchesGetResponsesContentApplicationJsonSchemaPagination"},"Companies_listCompanyBranches_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdBranchesGetResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."},"pagination":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdBranchesGetResponsesContentApplicationJsonSchemaPagination","description":"Cursor details for the next and previous pages. See Pagination in Getting started."}},"title":"Companies_listCompanyBranches_Response_200"},"V1ResourcesCompaniesCompanyIdWorkforceGetResponsesContentApplicationJsonSchemaTotal":{"type":"object","properties":{"headcount":{"type":"integer","description":"Loan officers at the end of the last month"},"arrivals":{"type":"integer","description":"Loan officers who joined during the timeframe"},"departures":{"type":"integer","description":"Loan officers who left during the timeframe"},"change_count":{"type":"integer","description":"Last month's headcount minus the first month's"},"change":{"type":"number","format":"double","description":"`change_count` as a fraction of the first month's headcount, rounded to 2 places (`0.1` = +10%)"}},"description":"Totals for the timeframe, counting all loan officers.","title":"V1ResourcesCompaniesCompanyIdWorkforceGetResponsesContentApplicationJsonSchemaTotal"},"V1ResourcesCompaniesCompanyIdWorkforceGetResponsesContentApplicationJsonSchemaProducing":{"type":"object","properties":{"headcount":{"type":"integer"},"arrivals":{"type":"integer"},"departures":{"type":"integer"},"change_count":{"type":"integer"},"change":{"type":"number","format":"double"}},"description":"Same totals, counting only loan officers with recorded loan production.","title":"V1ResourcesCompaniesCompanyIdWorkforceGetResponsesContentApplicationJsonSchemaProducing"},"V1ResourcesCompaniesCompanyIdWorkforceGetResponsesContentApplicationJsonSchemaMonthsItems":{"type":"object","properties":{"period":{"type":"string","format":"date","description":"First day of the month"},"headcount":{"type":"integer","description":"That month's figures"},"arrivals":{"type":"integer"},"departures":{"type":"integer"},"producing_headcount":{"type":"integer","description":"Same, producing loan officers only"},"producing_arrivals":{"type":"integer"},"producing_departures":{"type":"integer"}},"title":"V1ResourcesCompaniesCompanyIdWorkforceGetResponsesContentApplicationJsonSchemaMonthsItems"},"Companies_showCompanyWorkforce_Response_200":{"type":"object","properties":{"timeframe":{"type":"string","description":"The timeframe used"},"total":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdWorkforceGetResponsesContentApplicationJsonSchemaTotal","description":"Totals for the timeframe, counting all loan officers."},"producing":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdWorkforceGetResponsesContentApplicationJsonSchemaProducing","description":"Same totals, counting only loan officers with recorded loan production."},"months":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesCompaniesCompanyIdWorkforceGetResponsesContentApplicationJsonSchemaMonthsItems"},"description":"One row per month, oldest first."}},"title":"Companies_showCompanyWorkforce_Response_200"},"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaCompany":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID (UUID)"},"name":{"type":"string","description":"Name"},"nmls_id":{"type":"integer","description":"NMLS ID"}},"description":"Parent company: `id`, `name`, `nmls_id`","title":"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaCompany"},"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaAddress":{"type":"object","properties":{"street":{"type":"string","description":"Street line"},"city":{"type":"string","description":"City"},"state":{"type":"string","description":"Two-letter state code"},"zipcode":{"type":"string","description":"ZIP code"},"formatted":{"type":"string","description":"Full single-line address"}},"description":"Branch address","title":"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaAddress"},"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaMortgageTransactionTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaMortgageTransactionTypeItems"},"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaMortgageLoanTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaMortgageLoanTypeItems"},"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaMortgagePropertyTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaMortgagePropertyTypeItems"},"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaMortgage":{"type":"object","properties":{"volume":{"type":"integer","description":"Total loan amount, in dollars"},"units":{"type":"integer","description":"Number of loans"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"transaction_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaMortgageTransactionTypeItems"},"description":"Breakdown by purpose: Purchase, Refinance, Home Equity, Construction"},"loan_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaMortgageLoanTypeItems"},"description":"Breakdown by loan type: Conventional, FHA, VA, USDA, Stand Alone Second, and others"},"property_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaMortgagePropertyTypeItems"},"description":"Breakdown by property type: Single Family Residence, Condominium, Townhouse, and others"}},"description":"Production over the rolling 12 months. Present when requested with `include=mortgage`.","title":"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaMortgage"},"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaLicensesItemsItems":{"type":"object","properties":{"name":{"type":"string","description":"License name as issued, e.g. `Mortgage Loan Originator License`"},"license_id":{"type":"string","description":"State license number, when the regulator publishes one"},"regulator":{"type":"string","description":"Issuing state or agency, e.g. `Washington`, `California - DFPI`"},"status_label":{"type":"string","description":"License status, e.g. `Approved`"},"issued_date":{"type":"string","format":"date","description":"Original issue date"},"status_date":{"type":"string","format":"date","description":"Date of the latest status change"},"renewed_through":{"type":"integer","description":"Year the license is renewed through"},"authorized_to_conduct_business":{"type":"boolean","description":"Whether the license currently authorizes business"}},"title":"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaLicensesItemsItems"},"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaLicenses":{"type":"object","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaLicensesItemsItems"}},"authorized_states":{"type":"array","items":{"type":"string"},"description":"Two-letter codes of states with an active license"}},"description":"Active mortgage licenses and authorized states. Present with `include=licenses`.","title":"V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaLicenses"},"Branches_showBranch_Response_200":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Branch ID"},"type":{"type":"string","description":"Always `branch`"},"name":{"type":"string","description":"Branch name"},"nmls_id":{"type":"integer","description":"Branch NMLS ID"},"company":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaCompany","description":"Parent company: `id`, `name`, `nmls_id`"},"address":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaAddress","description":"Branch address"},"mortgage":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaMortgage","description":"Production over the rolling 12 months. Present when requested with `include=mortgage`."},"licenses":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdGetResponsesContentApplicationJsonSchemaLicenses","description":"Active mortgage licenses and authorized states. Present with `include=licenses`."}},"title":"Branches_showBranch_Response_200"},"V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployerBranch":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID (UUID)"},"name":{"type":"string","description":"Name"},"nmls_id":{"type":"integer","description":"NMLS ID"}},"title":"V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployerBranch"},"V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployer":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID (UUID)"},"name":{"type":"string","description":"Name"},"nmls_id":{"type":"integer","description":"NMLS ID"},"branch":{"oneOf":[{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployerBranch"},{"type":"null"}]}},"description":"`id`, `name`, `nmls_id` of the company, plus `branch` (`id`, `name`, `nmls_id`) for `branch` locations, or `null` for `main`","title":"V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployer"},"V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsAddress":{"type":"object","properties":{"street":{"type":"string","description":"Street line"},"city":{"type":"string","description":"Breakdown by city"},"state":{"type":"string","description":"Two-letter state code"},"zipcode":{"type":"string","description":"ZIP code"},"formatted":{"type":"string","description":"Full single-line address"}},"description":"Office address","title":"V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsAddress"},"V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItems":{"type":"object","properties":{"type":{"type":"string","description":"`branch` (an assigned branch office) or `main` (an employer's main office)"},"employer":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsEmployer","description":"`id`, `name`, `nmls_id` of the company, plus `branch` (`id`, `name`, `nmls_id`) for `branch` locations, or `null` for `main`"},"address":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItemsAddress","description":"Office address"}},"title":"V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItems"},"V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Loan officer ID"},"type":{"type":"string","description":"Always `loan_officer`"},"name":{"type":"string","description":"Full name"},"nmls_id":{"type":"integer","description":"Individual NMLS ID"},"office_locations":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItemsOfficeLocationsItems"},"description":"Every office the loan officer is registered at"},"has_contact_data":{"type":"boolean","description":"Whether contact data exists to unlock. It doesn't mean you've unlocked it."}},"title":"V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItems"},"V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaPagination":{"type":"object","properties":{"per_page":{"type":"integer","description":"Page size used for this response."},"next_cursor":{"description":"Pass as `cursor` to get the next page. `null` on the last page."},"next_page_url":{"description":"Full URL of the next page. `null` on the last page."},"prev_cursor":{"description":"Pass as `cursor` to get the previous page. `null` on the first page."},"prev_page_url":{"description":"Full URL of the previous page. `null` on the first page."}},"description":"Cursor details for the next and previous pages. See Pagination in Getting started.","title":"V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaPagination"},"Branches_listBranchLoanOfficers_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."},"pagination":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdLoanOfficersGetResponsesContentApplicationJsonSchemaPagination","description":"Cursor details for the next and previous pages. See Pagination in Getting started."}},"title":"Branches_listBranchLoanOfficers_Response_200"},"V1ResourcesBranchesBranchIdWorkforceGetResponsesContentApplicationJsonSchemaTotal":{"type":"object","properties":{"headcount":{"type":"integer"},"arrivals":{"type":"integer"},"departures":{"type":"integer"},"change_count":{"type":"integer"},"change":{"type":"number","format":"double"}},"description":"Totals for the timeframe, counting all loan officers.","title":"V1ResourcesBranchesBranchIdWorkforceGetResponsesContentApplicationJsonSchemaTotal"},"V1ResourcesBranchesBranchIdWorkforceGetResponsesContentApplicationJsonSchemaProducing":{"type":"object","properties":{"headcount":{"type":"integer"},"arrivals":{"type":"integer"},"departures":{"type":"integer"},"change_count":{"type":"integer"},"change":{"type":"number","format":"double"}},"description":"Same totals, counting only loan officers with recorded loan production.","title":"V1ResourcesBranchesBranchIdWorkforceGetResponsesContentApplicationJsonSchemaProducing"},"V1ResourcesBranchesBranchIdWorkforceGetResponsesContentApplicationJsonSchemaMonthsItems":{"type":"object","properties":{"period":{"type":"string","format":"date","description":"The current calendar month, in UTC."},"headcount":{"type":"integer"},"arrivals":{"type":"integer"},"departures":{"type":"integer"},"producing_headcount":{"type":"integer"},"producing_arrivals":{"type":"integer"},"producing_departures":{"type":"integer"}},"title":"V1ResourcesBranchesBranchIdWorkforceGetResponsesContentApplicationJsonSchemaMonthsItems"},"Branches_showBranchWorkforce_Response_200":{"type":"object","properties":{"timeframe":{"type":"string"},"total":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdWorkforceGetResponsesContentApplicationJsonSchemaTotal","description":"Totals for the timeframe, counting all loan officers."},"producing":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdWorkforceGetResponsesContentApplicationJsonSchemaProducing","description":"Same totals, counting only loan officers with recorded loan production."},"months":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesBranchesBranchIdWorkforceGetResponsesContentApplicationJsonSchemaMonthsItems"},"description":"One row per month, oldest first."}},"title":"Branches_showBranchWorkforce_Response_200"},"V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaCompany":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID (UUID)"},"name":{"type":"string","description":"Name"},"nmls_id":{"type":"integer","description":"NMLS ID"}},"description":"The matching NMLS company (`id`, `name`, `nmls_id`) when there is one","title":"V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaCompany"},"V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaMortgageTransactionTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaMortgageTransactionTypeItems"},"V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaMortgageLoanTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaMortgageLoanTypeItems"},"V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaMortgagePropertyTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Loans with no value recorded are grouped as `Not provided`."},"sum":{"type":"integer","description":"Loan amount in this category, in dollars"},"count":{"type":"integer","description":"Number of loans in this category"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of `volume`, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of `units`, 0–100"}},"title":"V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaMortgagePropertyTypeItems"},"V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaMortgage":{"type":"object","properties":{"volume":{"type":"integer","description":"Total loan amount, in dollars"},"units":{"type":"integer","description":"Number of loans"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"transaction_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaMortgageTransactionTypeItems"},"description":"Breakdown by purpose: Purchase, Refinance, Home Equity, Construction"},"loan_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaMortgageLoanTypeItems"},"description":"Breakdown by loan type: Conventional, FHA, VA, USDA, Stand Alone Second, and others"},"property_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaMortgagePropertyTypeItems"},"description":"Breakdown by property type: Single Family Residence, Condominium, Townhouse, and others"}},"description":"Production over the rolling 12 months. Present when requested with `include=mortgage`.","title":"V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaMortgage"},"Lender_Beneficiaries_showLenderBeneficiary_Response_200":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Lender beneficiary ID"},"type":{"type":"string","description":"Always `lender_beneficiary`"},"name":{"type":"string","description":"Lender name"},"company":{"$ref":"#/components/schemas/V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaCompany","description":"The matching NMLS company (`id`, `name`, `nmls_id`) when there is one"},"mortgage":{"$ref":"#/components/schemas/V1ResourcesLenderBeneficiariesLenderBeneficiaryIdGetResponsesContentApplicationJsonSchemaMortgage","description":"Production over the rolling 12 months. Present when requested with `include=mortgage`."}},"title":"Lender Beneficiaries_showLenderBeneficiary_Response_200"},"V1ResourcesMortgagesGetResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex transaction ID (UUID). Store it. When a later sync returns this same `id`, update the fields on that object. The deletes feed returns it as `reference_id`. `reason` tells you to delete the object or mark it inactive."},"updated_at":{"type":"string","format":"date-time","description":"When Modex last changed this record. Use it to sync."},"active":{"type":"boolean","description":"Always `true` on this list. Removals are on the deletes feed."},"loan_date":{"type":"string","format":"date-time","description":"The loan date Modex derives from several source date fields, giving the most accurate date available for when the loan was made."},"loan_amount":{"type":"integer","description":"Loan amount, in dollars."},"original_loan_amount":{"type":"integer","description":"Original loan amount, in dollars."},"concurrent_loan_amount":{"type":["integer","null"],"description":"Amount of a concurrent loan recorded with this one, in dollars."},"concurrent_2nd_loan_amount":{"type":["integer","null"],"description":"Amount of a second concurrent loan, in dollars."},"sale_price":{"type":["integer","null"],"description":"Sale price for purchases, in dollars."},"ltv":{"type":"number","format":"double","description":"Loan-to-value ratio."},"transaction_type":{"type":"string","description":"Transaction type."},"loan_type":{"type":"string","description":"Loan type, for example `Conventional`, `FHA`, or `VA`."},"loan_purpose":{"type":"string","description":"Loan purpose."},"financing_type":{"type":"string","description":"Financing type."},"lender_type":{"type":"string","description":"Lender type."},"adjustable_rate":{"type":"boolean","description":"Adjustable-rate loan."},"reverse_mortgage":{"type":"boolean","description":"Reverse mortgage."},"conforming":{"type":"boolean","description":"Conforming loan."},"purchase":{"type":"boolean","description":"Purchase loan."},"standalone":{"type":"boolean","description":"Standalone loan, not tied to a sale."},"cash_out":{"type":"boolean","description":"Cash-out refinance."},"is_nonqm":{"type":"boolean","description":"Non-QM loan."},"property_address":{"type":"string","description":"Street address."},"property_unit_type":{"type":["string","null"],"description":"Unit type, for example `APT`."},"property_unit_number":{"type":["string","null"],"description":"Unit number."},"property_city":{"type":"string","description":"City."},"property_state":{"type":"string","description":"Two-letter state."},"property_zip_code":{"type":"string","description":"ZIP code."},"property_zip_code_4":{"type":"string","description":"ZIP+4 extension."},"property_county":{"type":"string","description":"County."},"fips":{"type":"string","description":"County FIPS code."},"formatted_address":{"type":"string","description":"Full address on one line."},"property_type":{"type":"string","description":"Property type."},"property_category":{"type":"string","description":"Property category."},"number_of_units":{"type":"integer","description":"Number of units."},"year_built":{"type":"integer","description":"Year built."},"parcel_id":{"type":"string","description":"Assessor parcel number."},"residential":{"type":"boolean","description":"Residential property."},"residential_income":{"type":"boolean","description":"Residential income property."},"corporate":{"type":"boolean","description":"Corporate property."},"land":{"type":"boolean","description":"Land."},"farm":{"type":"boolean","description":"Farm."},"mixed_use":{"type":"boolean","description":"Mixed-use property."},"loan_officer_id":{"type":"string","format":"uuid","description":"Modex ID of the loan officer."},"loan_officer_nmls_id":{"type":"integer","description":"Loan officer NMLS ID, as recorded."},"company_id":{"type":"string","format":"uuid","description":"Modex ID of the originating company."},"loan_company_nmls_id":{"type":"integer","description":"Originating company NMLS ID."},"branch_id":{"type":"string","format":"uuid","description":"Modex branch ID."},"branch_nmls_id":{"type":"integer","description":"Branch NMLS ID."},"wholesale_company_id":{"type":["string","null"],"format":"uuid","description":"Modex ID of the wholesale lender."},"wholesale_company_nmls_id":{"type":["integer","null"],"description":"Wholesale lender NMLS ID."},"lender_beneficiary_association_id":{"type":"string","format":"uuid","description":"Modex lender beneficiary ID."},"lender":{"type":"string","description":"Lender name, as recorded."},"title_company":{"type":"string","description":"Title company."},"borrower_1_first_name":{"type":"string","description":"First borrower's first name."},"borrower_1_last_name":{"type":"string","description":"First borrower's last name."},"borrower_2_first_name":{"type":["string","null"],"description":"Second borrower's first name."},"borrower_2_last_name":{"type":["string","null"],"description":"Second borrower's last name."},"buyer_1_first_name":{"type":["string","null"],"description":"First buyer's first name."},"buyer_1_last_name":{"type":["string","null"],"description":"First buyer's last name."},"buyer_1_type":{"type":["string","null"],"description":"First buyer's type."},"buyer_2_first_name":{"type":["string","null"],"description":"Second buyer's first name."},"buyer_2_last_name":{"type":["string","null"],"description":"Second buyer's last name."},"buyer_2_type":{"type":["string","null"],"description":"Second buyer's type."},"buyer_entity":{"type":["string","null"],"description":"`company`, `trust`, or `government` when the buyer is not a person, otherwise `null`."},"seller_1_first_name":{"type":["string","null"],"description":"First seller's first name."},"seller_1_last_name":{"type":["string","null"],"description":"First seller's last name."},"seller_1_type":{"type":"string","description":"First seller's type."},"seller_2_first_name":{"type":["string","null"],"description":"Second seller's first name."},"seller_2_last_name":{"type":["string","null"],"description":"Second seller's last name."},"seller_2_type":{"type":["string","null"],"description":"Second seller's type."},"seller_entity":{"type":["string","null"],"description":"`company`, `trust`, or `government` when the seller is not a person, otherwise `null`."}},"title":"V1ResourcesMortgagesGetResponsesContentApplicationJsonSchemaDataItems"},"V1ResourcesMortgagesGetResponsesContentApplicationJsonSchemaPagination":{"type":"object","properties":{"per_page":{"type":"integer","description":"Page size used for this response."},"next_cursor":{"type":"string","description":"Pass as `cursor` to get the next page. `null` on the last page."},"next_page_url":{"type":"string","description":"Full URL of the next page. `null` on the last page."},"prev_cursor":{"description":"Pass as `cursor` to get the previous page. `null` on the first page."},"prev_page_url":{"description":"Full URL of the previous page. `null` on the first page."}},"description":"Cursor details for the next and previous pages. See Pagination in Getting started.","title":"V1ResourcesMortgagesGetResponsesContentApplicationJsonSchemaPagination"},"Mortgages_listMortgages_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesMortgagesGetResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."},"pagination":{"$ref":"#/components/schemas/V1ResourcesMortgagesGetResponsesContentApplicationJsonSchemaPagination","description":"Cursor details for the next and previous pages. See Pagination in Getting started."}},"title":"Mortgages_listMortgages_Response_200"},"V1ResourcesMortgagesDeletesGetResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Deletion log row ID (UUID)."},"reference_id":{"type":"string","format":"uuid","description":"ID of the removed record (UUID)."},"type":{"type":"string","description":"Always `mortgage`."},"reason":{"type":"string","description":"`inactive`, `deleted`, or `soft_deleted`. `inactive` means the record left the feed and can become active again under the same id on `GET /v1/resources/mortgages`, with a new `updated_at`."},"deleted_at":{"type":"string","format":"date-time","description":"When the record was removed."}},"title":"V1ResourcesMortgagesDeletesGetResponsesContentApplicationJsonSchemaDataItems"},"V1ResourcesMortgagesDeletesGetResponsesContentApplicationJsonSchemaPagination":{"type":"object","properties":{"per_page":{"type":"integer","description":"Page size used for this response."},"next_cursor":{"type":"string","description":"Pass as `cursor` to get the next page. `null` on the last page."},"next_page_url":{"type":"string","description":"Full URL of the next page. `null` on the last page."},"prev_cursor":{"description":"Pass as `cursor` to get the previous page. `null` on the first page."},"prev_page_url":{"description":"Full URL of the previous page. `null` on the first page."}},"description":"Cursor details for the next and previous pages. See Pagination in Getting started.","title":"V1ResourcesMortgagesDeletesGetResponsesContentApplicationJsonSchemaPagination"},"Mortgages_listMortgageDeletes_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesMortgagesDeletesGetResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."},"pagination":{"$ref":"#/components/schemas/V1ResourcesMortgagesDeletesGetResponsesContentApplicationJsonSchemaPagination","description":"Cursor details for the next and previous pages. See Pagination in Getting started."}},"title":"Mortgages_listMortgageDeletes_Response_200"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaOfficeAddress":{"type":"object","properties":{"street":{"type":"string"},"city":{"type":"string","description":"Breakdown by city"},"state":{"type":"string"},"zipcode":{"type":"string"},"formatted":{"type":"string"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaOfficeAddress"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaOffice":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID (UUID)"},"name":{"type":"string","description":"Name"},"address":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaOfficeAddress"}},"description":"Current office: `id`, `name`, `address`","title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaOffice"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMlsOrganizationsItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID (UUID)"},"name":{"type":"string","description":"Name"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMlsOrganizationsItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedCityItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedCityItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedPropertyTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedPropertyTypeItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedSeniorCommunityItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedSeniorCommunityItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedViewDescriptionItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedViewDescriptionItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombined":{"type":"object","properties":{"volume":{"type":"integer","description":"Total dollar amount over the window"},"units":{"type":"integer","description":"Number of transactions over the window"},"average":{"type":"integer","description":"Average dollar amount"},"average_monthly":{"type":"integer","description":"`volume` divided by the months in the window"},"city":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedCityItems"},"description":"Breakdown by city"},"property_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedPropertyTypeItems"},"description":"Breakdown by property type"},"senior_community":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedSeniorCommunityItems"},"description":"Breakdown by senior-community flag (`Yes` / `No`)"},"view_description":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedViewDescriptionItems"},"description":"Breakdown by listed view"}},"description":"Every transaction on either side","title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombined"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListingCityItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListingCityItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListingPropertyTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListingPropertyTypeItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListingSeniorCommunityItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListingSeniorCommunityItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListingViewDescriptionItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListingViewDescriptionItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListing":{"type":"object","properties":{"volume":{"type":"integer","description":"Total dollar amount over the window"},"units":{"type":"integer","description":"Number of transactions over the window"},"average":{"type":"integer","description":"Average dollar amount"},"average_monthly":{"type":"integer","description":"`volume` divided by the months in the window"},"city":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListingCityItems"},"description":"Breakdown by city"},"property_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListingPropertyTypeItems"},"description":"Breakdown by property type"},"senior_community":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListingSeniorCommunityItems"},"description":"Breakdown by senior-community flag (`Yes` / `No`)"},"view_description":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListingViewDescriptionItems"},"description":"Breakdown by listed view"}},"description":"Transactions where the agent or office represented the seller","title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListing"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerCityItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerCityItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerPropertyTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerPropertyTypeItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerSeniorCommunityItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerSeniorCommunityItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerViewDescriptionItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerViewDescriptionItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyer":{"type":"object","properties":{"volume":{"type":"integer","description":"Total dollar amount over the window"},"units":{"type":"integer","description":"Number of transactions over the window"},"average":{"type":"integer","description":"Average dollar amount"},"average_monthly":{"type":"integer","description":"`volume` divided by the months in the window"},"city":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerCityItems"},"description":"Breakdown by city"},"property_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerPropertyTypeItems"},"description":"Breakdown by property type"},"senior_community":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerSeniorCommunityItems"},"description":"Breakdown by senior-community flag (`Yes` / `No`)"},"view_description":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerViewDescriptionItems"},"description":"Breakdown by listed view"}},"description":"Transactions where the agent or office represented the buyer","title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyer"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstate":{"type":"object","properties":{"combined":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateCombined","description":"Every transaction on either side"},"listing":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateListing","description":"Transactions where the agent or office represented the seller"},"buyer":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstateBuyer","description":"Transactions where the agent or office represented the buyer"}},"description":"MLS transactions over the rolling 12 months, split into combined, listing, and buyer sides. Present with `include=real_estate`.","title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstate"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgageBuyerLoanOfficersItems":{"type":"object","properties":{"first_name":{"type":"string","description":"First name"},"last_name":{"type":"string","description":"Last name"},"loan_officer_id":{"type":"string","format":"uuid","description":"Modex loan officer ID, when matched"},"company_name":{"type":"string","description":"Company name"},"count":{"type":"integer","description":"Number of transactions in this category"},"sale_amount_sum":{"type":"integer","description":"Total sale amount, in dollars"},"sale_amount_average":{"type":"integer","description":"Average sale amount, in dollars"},"loan_amount_sum":{"type":"integer","description":"Total loan amount, in dollars"},"loan_amount_average":{"type":"integer","description":"Average loan amount, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgageBuyerLoanOfficersItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgageListingLoanOfficersItems":{"type":"object","properties":{"first_name":{"type":"string","description":"First name"},"last_name":{"type":"string","description":"Last name"},"loan_officer_id":{"description":"Modex loan officer ID, when matched"},"company_name":{"type":"string","description":"Company name"},"count":{"type":"integer","description":"Number of transactions in this category"},"sale_amount_sum":{"type":"integer","description":"Total sale amount, in dollars"},"sale_amount_average":{"type":"integer","description":"Average sale amount, in dollars"},"loan_amount_sum":{"type":"integer","description":"Total loan amount, in dollars"},"loan_amount_average":{"type":"integer","description":"Average loan amount, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgageListingLoanOfficersItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgageBuyerOfficesItems":{"type":"object","properties":{"company_name":{"type":"string","description":"Company name"},"count":{"type":"integer","description":"Number of transactions in this category"},"sale_amount_sum":{"type":"integer","description":"Total sale amount, in dollars"},"sale_amount_average":{"type":"integer","description":"Average sale amount, in dollars"},"loan_amount_sum":{"type":"integer","description":"Total loan amount, in dollars"},"loan_amount_average":{"type":"integer","description":"Average loan amount, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgageBuyerOfficesItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgageListingOfficesItems":{"type":"object","properties":{"company_name":{"type":"string","description":"Company name"},"count":{"type":"integer","description":"Number of transactions in this category"},"sale_amount_sum":{"type":"integer","description":"Total sale amount, in dollars"},"sale_amount_average":{"type":"integer","description":"Average sale amount, in dollars"},"loan_amount_sum":{"type":"integer","description":"Total loan amount, in dollars"},"loan_amount_average":{"type":"integer","description":"Average loan amount, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgageListingOfficesItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgage":{"type":"object","properties":{"volume":{"type":"integer","description":"Total loan amount, in dollars"},"units":{"type":"integer","description":"Number of loans"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"buyer_loan_officers":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgageBuyerLoanOfficersItems"}},"listing_loan_officers":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgageListingLoanOfficersItems"}},"buyer_offices":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgageBuyerOfficesItems"}},"listing_offices":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgageListingOfficesItems"}}},"description":"Production over the rolling 12 months. Present when requested with `include=mortgage`.","title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgage"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaContactsPhoneNumbersItems":{"type":"object","properties":{"type":{"type":"string","description":"Entry type, for example `mobile`, `office`, or `work`"},"value":{"type":"string","description":"The phone number, email address, or URL"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaContactsPhoneNumbersItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaContactsEmailsItems":{"type":"object","properties":{"type":{"type":"string","description":"Entry type, for example `mobile`, `office`, or `work`"},"value":{"type":"string","description":"The phone number, email address, or URL"}},"title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaContactsEmailsItems"},"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaContacts":{"type":"object","properties":{"phone_numbers":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaContactsPhoneNumbersItems"},"description":"`{type, value}` rows, e.g. `{\"type\": \"mobile\", \"value\": \"(503) 555-0142\"}`"},"emails":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaContactsEmailsItems"},"description":"`{type, value}` rows"},"websites":{"type":"array","items":{"description":"Any type"},"description":"`{type, value}` rows"}},"description":"Phone numbers, emails, and websites. `null` until you unlock the record. Present with `include=contacts`.","title":"V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaContacts"},"Real_Estate_Agents_showRealEstateAgent_Response_200":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Agent ID"},"type":{"type":"string","description":"Always `real_estate_agent`"},"name":{"type":"string","description":"Full name"},"office":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaOffice","description":"Current office: `id`, `name`, `address`"},"transaction_states":{"type":"array","items":{"type":"string"},"description":"Two-letter codes of states where the agent has transactions"},"mls_organizations":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMlsOrganizationsItems"},"description":"MLSs the agent belongs to: `id`, `name`"},"has_contact_data":{"type":"boolean","description":"Whether contact data exists to unlock"},"real_estate":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaRealEstate","description":"MLS transactions over the rolling 12 months, split into combined, listing, and buyer sides. Present with `include=real_estate`."},"mortgage":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaMortgage","description":"Production over the rolling 12 months. Present when requested with `include=mortgage`."},"contacts":{"$ref":"#/components/schemas/V1ResourcesRealEstateAgentsRealEstateAgentIdGetResponsesContentApplicationJsonSchemaContacts","description":"Phone numbers, emails, and websites. `null` until you unlock the record. Present with `include=contacts`."}},"title":"Real Estate Agents_showRealEstateAgent_Response_200"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaAddress":{"type":"object","properties":{"street":{"type":"string","description":"Street line"},"city":{"type":"string","description":"City"},"state":{"type":"string","description":"Two-letter state code"},"zipcode":{"type":"string","description":"ZIP code"},"formatted":{"type":"string","description":"Full single-line address"}},"description":"Office address","title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaAddress"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedCityItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedCityItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedPropertyTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedPropertyTypeItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedSeniorCommunityItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedSeniorCommunityItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedViewDescriptionItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedViewDescriptionItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombined":{"type":"object","properties":{"volume":{"type":"integer","description":"Total dollar amount over the window"},"units":{"type":"integer","description":"Number of transactions over the window"},"average":{"type":"integer","description":"Average dollar amount"},"average_monthly":{"type":"integer","description":"`volume` divided by the months in the window"},"city":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedCityItems"},"description":"Breakdown by city"},"property_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedPropertyTypeItems"},"description":"Breakdown by property type"},"senior_community":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedSeniorCommunityItems"},"description":"Breakdown by senior-community flag (`Yes` / `No`)"},"view_description":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombinedViewDescriptionItems"},"description":"Breakdown by listed view"}},"description":"Every transaction on either side","title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombined"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListingCityItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListingCityItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListingPropertyTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListingPropertyTypeItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListingSeniorCommunityItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListingSeniorCommunityItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListingViewDescriptionItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListingViewDescriptionItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListing":{"type":"object","properties":{"volume":{"type":"integer","description":"Total dollar amount over the window"},"units":{"type":"integer","description":"Number of transactions over the window"},"average":{"type":"integer","description":"Average dollar amount"},"average_monthly":{"type":"integer","description":"`volume` divided by the months in the window"},"city":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListingCityItems"},"description":"Breakdown by city"},"property_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListingPropertyTypeItems"},"description":"Breakdown by property type"},"senior_community":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListingSeniorCommunityItems"},"description":"Breakdown by senior-community flag (`Yes` / `No`)"},"view_description":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListingViewDescriptionItems"},"description":"Breakdown by listed view"}},"description":"Transactions where the agent or office represented the seller","title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListing"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerCityItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerCityItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerPropertyTypeItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerPropertyTypeItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerSeniorCommunityItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerSeniorCommunityItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerViewDescriptionItems":{"type":"object","properties":{"label":{"type":"string","description":"Category name. Records with no value are grouped as `Not provided`."},"sum":{"type":"integer","description":"Dollar amount in this category"},"count":{"type":"integer","description":"Number of transactions in this category"},"average":{"type":"integer","description":"Average dollar amount"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerViewDescriptionItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyer":{"type":"object","properties":{"volume":{"type":"integer","description":"Total dollar amount over the window"},"units":{"type":"integer","description":"Number of transactions over the window"},"average":{"type":"integer","description":"Average dollar amount"},"average_monthly":{"type":"integer","description":"`volume` divided by the months in the window"},"city":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerCityItems"},"description":"Breakdown by city"},"property_type":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerPropertyTypeItems"},"description":"Breakdown by property type"},"senior_community":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerSeniorCommunityItems"},"description":"Breakdown by senior-community flag (`Yes` / `No`)"},"view_description":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyerViewDescriptionItems"},"description":"Breakdown by listed view"}},"description":"Transactions where the agent or office represented the buyer","title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyer"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstate":{"type":"object","properties":{"combined":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateCombined","description":"Every transaction on either side"},"listing":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateListing","description":"Transactions where the agent or office represented the seller"},"buyer":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstateBuyer","description":"Transactions where the agent or office represented the buyer"}},"description":"MLS transactions over the rolling 12 months, split into combined, listing, and buyer sides. Present with `include=real_estate`.","title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstate"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgageBuyerLoanOfficersItems":{"type":"object","properties":{"first_name":{"type":"string","description":"First name"},"last_name":{"type":"string","description":"Last name"},"loan_officer_id":{"type":"string","format":"uuid","description":"Modex loan officer ID, when matched"},"company_name":{"type":"string","description":"Company name"},"count":{"type":"integer","description":"Number of transactions in this category"},"sale_amount_sum":{"type":"integer","description":"Total sale amount, in dollars"},"sale_amount_average":{"type":"integer","description":"Average sale amount, in dollars"},"loan_amount_sum":{"type":"integer","description":"Total loan amount, in dollars"},"loan_amount_average":{"type":"integer","description":"Average loan amount, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgageBuyerLoanOfficersItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgageListingLoanOfficersItems":{"type":"object","properties":{"first_name":{"type":"string","description":"First name"},"last_name":{"type":"string","description":"Last name"},"loan_officer_id":{"description":"Modex loan officer ID, when matched"},"company_name":{"type":"string","description":"Company name"},"count":{"type":"integer","description":"Number of transactions in this category"},"sale_amount_sum":{"type":"integer","description":"Total sale amount, in dollars"},"sale_amount_average":{"type":"integer","description":"Average sale amount, in dollars"},"loan_amount_sum":{"type":"integer","description":"Total loan amount, in dollars"},"loan_amount_average":{"type":"integer","description":"Average loan amount, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgageListingLoanOfficersItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgageBuyerOfficesItems":{"type":"object","properties":{"company_name":{"type":"string","description":"Company name"},"count":{"type":"integer","description":"Number of transactions in this category"},"sale_amount_sum":{"type":"integer","description":"Total sale amount, in dollars"},"sale_amount_average":{"type":"integer","description":"Average sale amount, in dollars"},"loan_amount_sum":{"type":"integer","description":"Total loan amount, in dollars"},"loan_amount_average":{"type":"integer","description":"Average loan amount, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgageBuyerOfficesItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgageListingOfficesItems":{"type":"object","properties":{"company_name":{"type":"string","description":"Company name"},"count":{"type":"integer","description":"Number of transactions in this category"},"sale_amount_sum":{"type":"integer","description":"Total sale amount, in dollars"},"sale_amount_average":{"type":"integer","description":"Average sale amount, in dollars"},"loan_amount_sum":{"type":"integer","description":"Total loan amount, in dollars"},"loan_amount_average":{"type":"integer","description":"Average loan amount, in dollars"},"percent_sum":{"type":"number","format":"double","description":"Share of total dollars, 0–100"},"percent_count":{"type":"number","format":"double","description":"Share of total transactions, 0–100"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgageListingOfficesItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgage":{"type":"object","properties":{"volume":{"type":"integer","description":"Total loan amount, in dollars"},"units":{"type":"integer","description":"Number of loans"},"average":{"type":"integer","description":"Average loan amount in this category, in dollars"},"buyer_loan_officers":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgageBuyerLoanOfficersItems"}},"listing_loan_officers":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgageListingLoanOfficersItems"}},"buyer_offices":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgageBuyerOfficesItems"}},"listing_offices":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgageListingOfficesItems"}}},"description":"Production over the rolling 12 months. Present when requested with `include=mortgage`.","title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgage"},"Real_Estate_Offices_showRealEstateOffice_Response_200":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Office ID"},"type":{"type":"string","description":"Always `real_estate_office`"},"name":{"type":"string","description":"Office name"},"address":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaAddress","description":"Office address"},"agent_count":{"type":"integer","description":"Number of agents assigned to the office"},"real_estate":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaRealEstate","description":"MLS transactions over the rolling 12 months, split into combined, listing, and buyer sides. Present with `include=real_estate`."},"mortgage":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdGetResponsesContentApplicationJsonSchemaMortgage","description":"Production over the rolling 12 months. Present when requested with `include=mortgage`."}},"title":"Real Estate Offices_showRealEstateOffice_Response_200"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaDataItemsOfficeAddress":{"type":"object","properties":{"street":{"type":"string"},"city":{"type":"string","description":"Breakdown by city"},"state":{"type":"string"},"zipcode":{"type":"string"},"formatted":{"type":"string"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaDataItemsOfficeAddress"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaDataItemsOffice":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID (UUID)"},"name":{"type":"string","description":"Name"},"address":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaDataItemsOfficeAddress"}},"description":"Current office: `id`, `name`, `address`","title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaDataItemsOffice"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaDataItemsMlsOrganizationsItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex ID (UUID)"},"name":{"type":"string","description":"Name"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaDataItemsMlsOrganizationsItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Agent ID"},"type":{"type":"string","description":"Always `real_estate_agent`"},"name":{"type":"string","description":"Full name"},"office":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaDataItemsOffice","description":"Current office: `id`, `name`, `address`"},"transaction_states":{"type":"array","items":{"type":"string"},"description":"Two-letter codes of states where the agent has transactions"},"mls_organizations":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaDataItemsMlsOrganizationsItems"},"description":"MLSs the agent belongs to: `id`, `name`"},"has_contact_data":{"type":"boolean","description":"Whether contact data exists to unlock"}},"title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaDataItems"},"V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaPagination":{"type":"object","properties":{"per_page":{"type":"integer","description":"Page size used for this response."},"next_cursor":{"type":"string","description":"Pass as `cursor` to get the next page. `null` on the last page."},"next_page_url":{"type":"string","description":"Full URL of the next page. `null` on the last page."},"prev_cursor":{"description":"Pass as `cursor` to get the previous page. `null` on the first page."},"prev_page_url":{"description":"Full URL of the previous page. `null` on the first page."}},"description":"Cursor details for the next and previous pages. See Pagination in Getting started.","title":"V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaPagination"},"Real_Estate_Offices_listRealEstateOfficeAgents_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."},"pagination":{"$ref":"#/components/schemas/V1ResourcesRealEstateOfficesRealEstateOfficeIdRealEstateAgentsGetResponsesContentApplicationJsonSchemaPagination","description":"Cursor details for the next and previous pages. See Pagination in Getting started."}},"title":"Real Estate Offices_listRealEstateOfficeAgents_Response_200"},"V1ResourcesMlsGetResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Modex transaction ID (UUID). Store it. When a later sync returns this same `id`, update the fields on that object. The deletes feed returns it as `reference_id`. `reason` tells you to delete the object or mark it inactive."},"updated_at":{"type":"string","format":"date-time","description":"When Modex last changed this record. Use it to sync."},"active":{"type":"boolean","description":"Always `true` on this list. Removals are on the deletes feed."},"status":{"type":"string","description":"Listing status in lowercase, with closed sales as `sale`. For example `sale`, `active`, or `pending`."},"amount":{"type":"integer","description":"Sale price for sales, list price otherwise, in dollars."},"original_list_amount":{"type":"integer","description":"Original list price, in dollars."},"assessed_total_value":{"type":"integer","description":"Assessed value, in dollars."},"sale_type":{"type":"string","description":"Sale type."},"mls_days_on_market":{"type":"integer","description":"Days on market."},"mls_cumulative_days_on_market":{"type":"integer","description":"Days on market across relistings."},"mls_name":{"type":"string","description":"MLS name."},"mls_number":{"type":"string","description":"MLS listing number."},"mls_organization_id":{"type":"string","description":"MLS organization ID."},"list_id":{"type":"string","description":"Listing ID from the source."},"record_date":{"type":"string","format":"date","description":"Record date."},"listed_at":{"type":"string","format":"date-time","description":"Listing date."},"contract_date":{"type":["string","null"],"format":"date","description":"Contract date."},"pending_at":{"type":["string","null"],"format":"date-time","description":"When the listing went pending."},"close_date":{"type":["string","null"],"format":"date","description":"Close date."},"off_market_date":{"type":["string","null"],"format":"date","description":"Off-market date."},"status_changed_at":{"type":"string","format":"date-time","description":"Last status change."},"price_changed_at":{"type":"string","format":"date-time","description":"Last price change."},"property_address":{"type":"string","description":"Street address."},"property_unit_type":{"type":["string","null"],"description":"Unit type."},"property_unit_number":{"type":["string","null"],"description":"Unit number."},"property_city":{"type":"string","description":"City."},"property_state":{"type":"string","description":"Two-letter state."},"property_zip_code":{"type":"string","description":"ZIP code."},"property_county":{"type":"string","description":"County."},"fips":{"type":"string","description":"County FIPS code."},"formatted_address":{"type":"string","description":"Full address on one line."},"latitude":{"type":"number","format":"double","description":"Latitude."},"longitude":{"type":"number","format":"double","description":"Longitude."},"property_type":{"type":"string","description":"Modex property type."},"mls_property_type":{"type":"string","description":"Property type as listed in the MLS."},"mls_sub_property_type":{"type":"string","description":"Property sub-type as listed in the MLS."},"year_built":{"type":"integer","description":"Year built."},"new_construction":{"type":"boolean","description":"New construction."},"lot_square_feet":{"type":"integer","description":"Lot size, in square feet."},"living_square_feet":{"type":"integer","description":"Living area, in square feet."},"building_area_total":{"type":"number","format":"double","description":"Total building area."},"property_units":{"type":"integer","description":"Number of units."},"bedrooms":{"type":"integer","description":"Bedrooms."},"bathrooms":{"type":"integer","description":"Bathrooms."},"full_bathrooms":{"type":"integer","description":"Full bathrooms."},"half_bathrooms":{"type":"integer","description":"Half bathrooms."},"apn":{"type":"string","description":"Assessor parcel number."},"subdivision":{"type":"string","description":"Subdivision."},"hoa":{"type":"boolean","description":"Has a homeowners association."},"hoa_fee":{"type":"number","format":"double","description":"HOA fee as listed."},"hoa_fee_frequency":{"type":"string","description":"How often `hoa_fee` is charged."},"hoa_fee_monthly":{"type":"number","format":"double","description":"HOA fee converted to a monthly amount."},"owner_name":{"type":"string","description":"Property owner's name."},"listing_real_estate_agent_id":{"type":"string","format":"uuid","description":"Modex ID of the listing agent."},"listing_agent_name":{"type":"string","description":"Listing agent's name, as listed."},"listing_agent_mls_id":{"type":"string","description":"Listing agent's MLS ID."},"listing_agent_license_number":{"type":"string","description":"Listing agent's license number."},"listing_real_estate_agent_office_id":{"type":"string","format":"uuid","description":"Modex ID of the listing agent's office."},"listing_office_name":{"type":"string","description":"Listing office name."},"listing_office_mls_id":{"type":"string","description":"Listing office MLS ID."},"buyer_real_estate_agent_id":{"type":["string","null"],"format":"uuid","description":"Modex ID of the buyer's agent."},"buyer_agent_name":{"type":["string","null"],"description":"Buyer agent's name, as listed."},"buyer_agent_mls_id":{"type":["string","null"],"description":"Buyer agent's MLS ID."},"buyer_agent_license_number":{"type":["string","null"],"description":"Buyer agent's license number."},"buyer_real_estate_agent_office_id":{"type":["string","null"],"format":"uuid","description":"Modex ID of the buyer agent's office."},"buyer_office_name":{"type":["string","null"],"description":"Buyer office name."},"buyer_office_mls_id":{"type":["string","null"],"description":"Buyer office MLS ID."}},"title":"V1ResourcesMlsGetResponsesContentApplicationJsonSchemaDataItems"},"V1ResourcesMlsGetResponsesContentApplicationJsonSchemaPagination":{"type":"object","properties":{"per_page":{"type":"integer","description":"Page size used for this response."},"next_cursor":{"type":"string","description":"Pass as `cursor` to get the next page. `null` on the last page."},"next_page_url":{"type":"string","description":"Full URL of the next page. `null` on the last page."},"prev_cursor":{"description":"Pass as `cursor` to get the previous page. `null` on the first page."},"prev_page_url":{"description":"Full URL of the previous page. `null` on the first page."}},"description":"Cursor details for the next and previous pages. See Pagination in Getting started.","title":"V1ResourcesMlsGetResponsesContentApplicationJsonSchemaPagination"},"MLS_listMls_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesMlsGetResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."},"pagination":{"$ref":"#/components/schemas/V1ResourcesMlsGetResponsesContentApplicationJsonSchemaPagination","description":"Cursor details for the next and previous pages. See Pagination in Getting started."}},"title":"MLS_listMls_Response_200"},"V1ResourcesMlsDeletesGetResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Deletion log row ID (UUID)."},"reference_id":{"type":"string","format":"uuid","description":"ID of the removed record (UUID)."},"type":{"type":"string","description":"Always `mls`."},"reason":{"type":"string","description":"`inactive`, `deleted`, or `soft_deleted`. `inactive` means the record left the feed and can become active again under the same id on `GET /v1/resources/mls`, with a new `updated_at`."},"deleted_at":{"type":"string","format":"date-time","description":"When the record was removed."}},"title":"V1ResourcesMlsDeletesGetResponsesContentApplicationJsonSchemaDataItems"},"V1ResourcesMlsDeletesGetResponsesContentApplicationJsonSchemaPagination":{"type":"object","properties":{"per_page":{"type":"integer","description":"Page size used for this response."},"next_cursor":{"type":"string","description":"Pass as `cursor` to get the next page. `null` on the last page."},"next_page_url":{"type":"string","description":"Full URL of the next page. `null` on the last page."},"prev_cursor":{"description":"Pass as `cursor` to get the previous page. `null` on the first page."},"prev_page_url":{"description":"Full URL of the previous page. `null` on the first page."}},"description":"Cursor details for the next and previous pages. See Pagination in Getting started.","title":"V1ResourcesMlsDeletesGetResponsesContentApplicationJsonSchemaPagination"},"MLS_listMlsDeletes_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ResourcesMlsDeletesGetResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."},"pagination":{"$ref":"#/components/schemas/V1ResourcesMlsDeletesGetResponsesContentApplicationJsonSchemaPagination","description":"Cursor details for the next and previous pages. See Pagination in Getting started."}},"title":"MLS_listMlsDeletes_Response_200"},"V1ContactsUsageGetResponsesContentApplicationJsonSchemaPeriod":{"type":"object","properties":{"start":{"type":"string","format":"date-time","description":"Start of the current period (first of the month, UTC)"},"end":{"type":"string","format":"date-time","description":"End of the current period (last second of the month, UTC)"}},"description":"The current calendar month, in UTC.","title":"V1ContactsUsageGetResponsesContentApplicationJsonSchemaPeriod"},"Contacts_contactUsage_Response_200":{"type":"object","properties":{"used_this_month":{"type":"integer","description":"Records unlocked this month"},"limit":{"type":"integer","description":"Monthly unlock limit. `null` means unlimited."},"remaining":{"type":"integer","description":"Unlocks left this month. `null` when unlimited."},"period":{"$ref":"#/components/schemas/V1ContactsUsageGetResponsesContentApplicationJsonSchemaPeriod","description":"The current calendar month, in UTC."}},"title":"Contacts_contactUsage_Response_200"},"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsPhoneNumbersItems":{"type":"object","properties":{"type":{"type":"string","description":"Entry type, for example `mobile`, `office`, or `work`"},"value":{"type":"string","description":"The phone number, email address, or URL"}},"title":"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsPhoneNumbersItems"},"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsEmailsItems":{"type":"object","properties":{"type":{"type":"string","description":"Entry type, for example `mobile`, `office`, or `work`"},"value":{"type":"string","description":"The phone number, email address, or URL"}},"title":"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsEmailsItems"},"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsWebsitesItems":{"type":"object","properties":{"type":{"type":"string","description":"Entry type, for example `mobile`, `office`, or `work`"},"value":{"type":"string","description":"The phone number, email address, or URL"}},"title":"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsWebsitesItems"},"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItemsContacts":{"type":"object","properties":{"phone_numbers":{"type":"array","items":{"$ref":"#/components/schemas/V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsPhoneNumbersItems"},"description":"`{type, value}` rows, e.g. `{\"type\": \"mobile\", \"value\": \"(503) 555-0142\"}`"},"emails":{"type":"array","items":{"$ref":"#/components/schemas/V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsEmailsItems"},"description":"`{type, value}` rows"},"websites":{"type":"array","items":{"$ref":"#/components/schemas/V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsWebsitesItems"},"description":"`{type, value}` rows"},"addresses":{"type":"array","items":{"description":"Any type"}}},"description":"`phone_numbers`, `emails`, `websites`, `addresses` as `{type, value}` rows. Present for `unlocked` and `already_unlocked`, otherwise `null`.","title":"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItemsContacts"},"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID you sent"},"status":{"type":"string","description":"Result for this ID: `unlocked` (newly unlocked, uses quota), `already_unlocked` (free), `not_found`, `unavailable` (no contact data), or `limit_reached` (quota used up)."},"contacts":{"oneOf":[{"$ref":"#/components/schemas/V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItemsContacts"},{"type":"null"}],"description":"`phone_numbers`, `emails`, `websites`, `addresses` as `{type, value}` rows. Present for `unlocked` and `already_unlocked`, otherwise `null`."}},"title":"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItems"},"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaUsagePeriod":{"type":"object","properties":{"start":{"type":"string","format":"date-time","description":"Start of the period"},"end":{"type":"string","format":"date-time","description":"End of the period"}},"description":"The current calendar month, in UTC.","title":"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaUsagePeriod"},"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaUsage":{"type":"object","properties":{"used_this_month":{"type":"integer"},"limit":{"type":"integer"},"remaining":{"type":"integer"},"period":{"$ref":"#/components/schemas/V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaUsagePeriod","description":"The current calendar month, in UTC."}},"description":"Your contact-unlock usage after this request. Same shape as Contact Usage.","title":"V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaUsage"},"Contacts_unlockLoanOfficers_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."},"usage":{"$ref":"#/components/schemas/V1ContactsLoanOfficersUnlockPostResponsesContentApplicationJsonSchemaUsage","description":"Your contact-unlock usage after this request. Same shape as Contact Usage."}},"title":"Contacts_unlockLoanOfficers_Response_200"},"V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsPhoneNumbersItems":{"type":"object","properties":{"type":{"type":"string","description":"Entry type, for example `mobile`, `office`, or `work`"},"value":{"type":"string","description":"The phone number, email address, or URL"}},"title":"V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsPhoneNumbersItems"},"V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsEmailsItems":{"type":"object","properties":{"type":{"type":"string","description":"Entry type, for example `mobile`, `office`, or `work`"},"value":{"type":"string","description":"The phone number, email address, or URL"}},"title":"V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsEmailsItems"},"V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaDataItemsContacts":{"type":"object","properties":{"phone_numbers":{"type":"array","items":{"$ref":"#/components/schemas/V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsPhoneNumbersItems"},"description":"`{type, value}` rows, e.g. `{\"type\": \"mobile\", \"value\": \"(503) 555-0142\"}`"},"emails":{"type":"array","items":{"$ref":"#/components/schemas/V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaDataItemsContactsEmailsItems"},"description":"`{type, value}` rows"},"websites":{"type":"array","items":{"description":"Any type"},"description":"`{type, value}` rows"},"addresses":{"type":"array","items":{"description":"Any type"}}},"description":"`phone_numbers`, `emails`, `websites`, `addresses` as `{type, value}` rows. Present for `unlocked` and `already_unlocked`, otherwise `null`.","title":"V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaDataItemsContacts"},"V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"The ID you sent"},"status":{"type":"string","description":"Result for this ID: `unlocked` (newly unlocked, uses quota), `already_unlocked` (free), `not_found`, `unavailable` (no contact data), or `limit_reached` (quota used up)."},"contacts":{"$ref":"#/components/schemas/V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaDataItemsContacts","description":"`phone_numbers`, `emails`, `websites`, `addresses` as `{type, value}` rows. Present for `unlocked` and `already_unlocked`, otherwise `null`."}},"title":"V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaDataItems"},"V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaUsagePeriod":{"type":"object","properties":{"start":{"type":"string","format":"date-time","description":"Start of the period"},"end":{"type":"string","format":"date-time","description":"End of the period"}},"description":"The current calendar month, in UTC.","title":"V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaUsagePeriod"},"V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaUsage":{"type":"object","properties":{"used_this_month":{"type":"integer"},"limit":{"type":"integer"},"remaining":{"type":"integer"},"period":{"$ref":"#/components/schemas/V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaUsagePeriod","description":"The current calendar month, in UTC."}},"description":"Your contact-unlock usage after this request. Same shape as Contact Usage.","title":"V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaUsage"},"Contacts_unlockRealEstateAgents_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."},"usage":{"$ref":"#/components/schemas/V1ContactsRealEstateAgentsUnlockPostResponsesContentApplicationJsonSchemaUsage","description":"Your contact-unlock usage after this request. Same shape as Contact Usage."}},"title":"Contacts_unlockRealEstateAgents_Response_200"},"V1ClientsGetResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Client ID"},"name":{"type":"string","description":"Client name"},"active":{"type":"boolean","description":"Whether the client account is active"},"max_users":{"type":"integer","description":"Seat limit. `null` means unlimited."},"total_users":{"type":"integer","description":"Users currently on the client. Pending invitations aren't counted."}},"title":"V1ClientsGetResponsesContentApplicationJsonSchemaDataItems"},"V1ClientsGetResponsesContentApplicationJsonSchemaPagination":{"type":"object","properties":{"per_page":{"type":"integer","description":"Page size used for this response."},"next_cursor":{"description":"Pass as `cursor` to get the next page. `null` on the last page."},"next_page_url":{"description":"Full URL of the next page. `null` on the last page."},"prev_cursor":{"description":"Pass as `cursor` to get the previous page. `null` on the first page."},"prev_page_url":{"description":"Full URL of the previous page. `null` on the first page."}},"description":"Cursor details for the next and previous pages. See Pagination in Getting started.","title":"V1ClientsGetResponsesContentApplicationJsonSchemaPagination"},"Clients_listClients_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ClientsGetResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."},"pagination":{"$ref":"#/components/schemas/V1ClientsGetResponsesContentApplicationJsonSchemaPagination","description":"Cursor details for the next and previous pages. See Pagination in Getting started."}},"title":"Clients_listClients_Response_200"},"V1ClientsClientIdUsersGetResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"User ID"},"full_name":{"type":"string","description":"Full name"},"first_name":{"type":"string","description":"First name"},"last_name":{"type":"string","description":"Last name"},"email":{"type":"string","description":"Email address"},"latest_activity_at":{"type":"string","format":"date-time","description":"Last time the user was active in Modex"},"is_owner":{"type":"boolean","description":"Whether this user owns the client"}},"title":"V1ClientsClientIdUsersGetResponsesContentApplicationJsonSchemaDataItems"},"V1ClientsClientIdUsersGetResponsesContentApplicationJsonSchemaPagination":{"type":"object","properties":{"per_page":{"type":"integer","description":"Page size used for this response."},"next_cursor":{"description":"Pass as `cursor` to get the next page. `null` on the last page."},"next_page_url":{"description":"Full URL of the next page. `null` on the last page."},"prev_cursor":{"description":"Pass as `cursor` to get the previous page. `null` on the first page."},"prev_page_url":{"description":"Full URL of the previous page. `null` on the first page."}},"description":"Cursor details for the next and previous pages. See Pagination in Getting started.","title":"V1ClientsClientIdUsersGetResponsesContentApplicationJsonSchemaPagination"},"Clients_listClientUsers_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ClientsClientIdUsersGetResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."},"pagination":{"$ref":"#/components/schemas/V1ClientsClientIdUsersGetResponsesContentApplicationJsonSchemaPagination","description":"Cursor details for the next and previous pages. See Pagination in Getting started."}},"title":"Clients_listClientUsers_Response_200"},"Clients_removeClientUser_Response_200":{"type":"object","properties":{"ok":{"type":"boolean","description":"Always `true` on success."}},"title":"Clients_removeClientUser_Response_200"},"V1ClientsClientIdInvitationsGetResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Invitation ID"},"email":{"type":"string","description":"Invited email address"},"created_at":{"type":"string","format":"date-time","description":"When the invitation was sent"}},"title":"V1ClientsClientIdInvitationsGetResponsesContentApplicationJsonSchemaDataItems"},"V1ClientsClientIdInvitationsGetResponsesContentApplicationJsonSchemaPagination":{"type":"object","properties":{"per_page":{"type":"integer","description":"Page size used for this response."},"next_cursor":{"description":"Pass as `cursor` to get the next page. `null` on the last page."},"next_page_url":{"description":"Full URL of the next page. `null` on the last page."},"prev_cursor":{"description":"Pass as `cursor` to get the previous page. `null` on the first page."},"prev_page_url":{"description":"Full URL of the previous page. `null` on the first page."}},"description":"Cursor details for the next and previous pages. See Pagination in Getting started.","title":"V1ClientsClientIdInvitationsGetResponsesContentApplicationJsonSchemaPagination"},"Clients_listClientInvitations_Response_200":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ClientsClientIdInvitationsGetResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."},"pagination":{"$ref":"#/components/schemas/V1ClientsClientIdInvitationsGetResponsesContentApplicationJsonSchemaPagination","description":"Cursor details for the next and previous pages. See Pagination in Getting started."}},"title":"Clients_listClientInvitations_Response_200"},"V1ClientsClientIdInvitationsPostResponsesContentApplicationJsonSchemaDataItems":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Invitation ID"},"email":{"type":"string","description":"Invited email address"},"created_at":{"type":"string","format":"date-time","description":"When the invitation was sent"}},"title":"V1ClientsClientIdInvitationsPostResponsesContentApplicationJsonSchemaDataItems"},"Clients_createClientInvitations_Response_201":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/V1ClientsClientIdInvitationsPostResponsesContentApplicationJsonSchemaDataItems"},"description":"The records on this page."}},"title":"Clients_createClientInvitations_Response_201"},"Clients_revokeClientInvitation_Response_200":{"type":"object","properties":{"ok":{"type":"boolean","description":"Always `true` on success."}},"title":"Clients_revokeClientInvitation_Response_200"},"Health_ping_Response_200":{"type":"object","properties":{"ok":{"type":"boolean","description":"Always `true` on success."}},"title":"Health_ping_Response_200"}},"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}}}