@model-match/api 3.71.0 → 3.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/openapi.json CHANGED
@@ -27247,6 +27247,79 @@
27247
27247
  ],
27248
27248
  "type": "object"
27249
27249
  },
27250
+ "GeoBounds": {
27251
+ "description": "The cell's extent",
27252
+ "properties": {
27253
+ "east": {
27254
+ "example": -97.65,
27255
+ "maximum": 180,
27256
+ "minimum": -180,
27257
+ "type": "number"
27258
+ },
27259
+ "north": {
27260
+ "example": 30.33,
27261
+ "maximum": 90,
27262
+ "minimum": -90,
27263
+ "type": "number"
27264
+ },
27265
+ "south": {
27266
+ "example": 30.2,
27267
+ "maximum": 90,
27268
+ "minimum": -90,
27269
+ "type": "number"
27270
+ },
27271
+ "west": {
27272
+ "example": -97.85,
27273
+ "maximum": 180,
27274
+ "minimum": -180,
27275
+ "type": "number"
27276
+ }
27277
+ },
27278
+ "required": [
27279
+ "north",
27280
+ "south",
27281
+ "east",
27282
+ "west"
27283
+ ],
27284
+ "type": "object"
27285
+ },
27286
+ "GeoBoundsFilterValue": {
27287
+ "description": "Map viewport `{north, south, east, west}` in degrees: only listings inside the box. `west` greater than `east` crosses the antimeridian. Unlike `geoPoint` (a radius) this is the shape a map reports. Applies to list, count and analytics alike.",
27288
+ "nullable": true,
27289
+ "properties": {
27290
+ "east": {
27291
+ "example": -97.65,
27292
+ "maximum": 180,
27293
+ "minimum": -180,
27294
+ "type": "number"
27295
+ },
27296
+ "north": {
27297
+ "example": 30.33,
27298
+ "maximum": 90,
27299
+ "minimum": -90,
27300
+ "type": "number"
27301
+ },
27302
+ "south": {
27303
+ "example": 30.2,
27304
+ "maximum": 90,
27305
+ "minimum": -90,
27306
+ "type": "number"
27307
+ },
27308
+ "west": {
27309
+ "example": -97.85,
27310
+ "maximum": 180,
27311
+ "minimum": -180,
27312
+ "type": "number"
27313
+ }
27314
+ },
27315
+ "required": [
27316
+ "north",
27317
+ "south",
27318
+ "east",
27319
+ "west"
27320
+ ],
27321
+ "type": "object"
27322
+ },
27250
27323
  "GeoFilterValue": {
27251
27324
  "description": "Radius search — `{ lat, lon, radius }` (e.g. radius \"15mi\" or \"24km\") — around any office on the agent's record; with `locationSource` `office` the CURRENT office, `production` their transactions.",
27252
27325
  "nullable": true,
@@ -40669,6 +40742,16 @@
40669
40742
  "foreclosureStatus": {
40670
40743
  "$ref": "#/components/schemas/PropertyForeclosureStatusFilterValue"
40671
40744
  },
40745
+ "geoBounds": {
40746
+ "allOf": [
40747
+ {
40748
+ "$ref": "#/components/schemas/GeoBoundsFilterValue"
40749
+ },
40750
+ {
40751
+ "description": "Map viewport `{north, south, east, west}` in degrees: only parcels inside the box. `west` greater than `east` crosses the antimeridian. Unlike `geoPoint` (a radius) this is the shape a map reports."
40752
+ }
40753
+ ]
40754
+ },
40672
40755
  "geoPoint": {
40673
40756
  "$ref": "#/components/schemas/GeoFilterValue"
40674
40757
  },
@@ -41890,6 +41973,16 @@
41890
41973
  "foreclosureStatus": {
41891
41974
  "$ref": "#/components/schemas/PropertyForeclosureStatusFilterValue"
41892
41975
  },
41976
+ "geoBounds": {
41977
+ "allOf": [
41978
+ {
41979
+ "$ref": "#/components/schemas/GeoBoundsFilterValue"
41980
+ },
41981
+ {
41982
+ "description": "Map viewport `{north, south, east, west}` in degrees: only parcels inside the box. `west` greater than `east` crosses the antimeridian. Unlike `geoPoint` (a radius) this is the shape a map reports."
41983
+ }
41984
+ ]
41985
+ },
41893
41986
  "geoPoint": {
41894
41987
  "$ref": "#/components/schemas/GeoFilterValue"
41895
41988
  },
@@ -44079,7 +44172,11 @@
44079
44172
  "city",
44080
44173
  "county",
44081
44174
  "state",
44082
- "zip"
44175
+ "zip",
44176
+ "schoolDistrict",
44177
+ "elementarySchool",
44178
+ "middleSchool",
44179
+ "highSchool"
44083
44180
  ],
44084
44181
  "type": "string"
44085
44182
  },
@@ -44127,6 +44224,9 @@
44127
44224
  "nullable": true,
44128
44225
  "type": "string"
44129
44226
  },
44227
+ "rental": {
44228
+ "$ref": "#/components/schemas/SaleRental"
44229
+ },
44130
44230
  "schools": {
44131
44231
  "$ref": "#/components/schemas/SaleSchools"
44132
44232
  },
@@ -44157,6 +44257,27 @@
44157
44257
  ],
44158
44258
  "type": "object"
44159
44259
  },
44260
+ "SaleElementarySchoolFilterValue": {
44261
+ "anyOf": [
44262
+ {
44263
+ "maxLength": 100,
44264
+ "type": "string"
44265
+ },
44266
+ {
44267
+ "items": {
44268
+ "maxLength": 100,
44269
+ "type": "string"
44270
+ },
44271
+ "maxItems": 25,
44272
+ "minItems": 1,
44273
+ "type": "array"
44274
+ },
44275
+ {
44276
+ "nullable": true
44277
+ }
44278
+ ],
44279
+ "description": "Elementary school name as listed, one or an array (any-of). Matched case-insensitively with the generic words (`School`, `Elementary`, `Middle`, `High`) removed, so `Lago Vista Elementary School` and `Lago Vista Elementary` select the same listings. All remaining words must appear in the stored name. The assigned school is as named on the listing record, not a boundary lookup. List the available values for an area with `POST /v1/sales/analytics/chart` and `slice: \"elementarySchool\"`."
44280
+ },
44160
44281
  "SaleFeatures": {
44161
44282
  "description": "Property facts from the MLS listing. Every field is nullable and filled far more densely on active listings (60-99%) than on sold ones (about half, and HOA fee / tax far less). Feature lists are RESO tokens, not display text.",
44162
44283
  "nullable": true,
@@ -44329,12 +44450,35 @@
44329
44450
  "beds": {
44330
44451
  "$ref": "#/components/schemas/NumericFilterValue"
44331
44452
  },
44453
+ "catsAllowed": {
44454
+ "allOf": [
44455
+ {
44456
+ "$ref": "#/components/schemas/BooleanFilterValue"
44457
+ },
44458
+ {
44459
+ "description": "Lease listings. `true`: a cats-OK token. `false`: No, or dogs-only."
44460
+ }
44461
+ ]
44462
+ },
44332
44463
  "city": {
44333
44464
  "$ref": "#/components/schemas/TextFilterValue"
44334
44465
  },
44335
44466
  "county": {
44336
44467
  "$ref": "#/components/schemas/TextFilterValue"
44337
44468
  },
44469
+ "dogsAllowed": {
44470
+ "allOf": [
44471
+ {
44472
+ "$ref": "#/components/schemas/BooleanFilterValue"
44473
+ },
44474
+ {
44475
+ "description": "Lease listings. `true`: a dogs-OK token. `false`: No, or cats-only."
44476
+ }
44477
+ ]
44478
+ },
44479
+ "elementarySchool": {
44480
+ "$ref": "#/components/schemas/SaleElementarySchoolFilterValue"
44481
+ },
44338
44482
  "fips": {
44339
44483
  "allOf": [
44340
44484
  {
@@ -44345,15 +44489,70 @@
44345
44489
  }
44346
44490
  ]
44347
44491
  },
44492
+ "fireplace": {
44493
+ "allOf": [
44494
+ {
44495
+ "$ref": "#/components/schemas/BooleanFilterValue"
44496
+ },
44497
+ {
44498
+ "description": "`true`: the listing has a fireplace. `false`: it says it does not. Rows with no answer match neither value."
44499
+ }
44500
+ ]
44501
+ },
44502
+ "garageSpaces": {
44503
+ "allOf": [
44504
+ {
44505
+ "$ref": "#/components/schemas/NumericFilterValue"
44506
+ },
44507
+ {
44508
+ "description": "Garage spaces (e.g. `{gte: 2}`). Rows with no garage count are excluded unless `includeNulls: true`."
44509
+ }
44510
+ ]
44511
+ },
44512
+ "geoBounds": {
44513
+ "$ref": "#/components/schemas/GeoBoundsFilterValue"
44514
+ },
44348
44515
  "geoPoint": {
44349
44516
  "$ref": "#/components/schemas/GeoFilterValue"
44350
44517
  },
44518
+ "hasHoa": {
44519
+ "allOf": [
44520
+ {
44521
+ "$ref": "#/components/schemas/BooleanFilterValue"
44522
+ },
44523
+ {
44524
+ "description": "`true`: the listing says it has an association, or carries a positive HOA fee. `false`: positive evidence of none (association flag `N`, or an explicit $0 fee) and no contradicting signal. A row with neither signal matches neither value."
44525
+ }
44526
+ ]
44527
+ },
44528
+ "highSchool": {
44529
+ "$ref": "#/components/schemas/SaleHighSchoolFilterValue"
44530
+ },
44531
+ "hoaFee": {
44532
+ "$ref": "#/components/schemas/SaleHoaFeeFilterValue"
44533
+ },
44534
+ "keyword": {
44535
+ "$ref": "#/components/schemas/SaleKeywordFilterValue"
44536
+ },
44351
44537
  "listPrice": {
44352
44538
  "$ref": "#/components/schemas/NumericFilterValue"
44353
44539
  },
44354
44540
  "listingAgent": {
44355
44541
  "$ref": "#/components/schemas/TextFilterValue"
44356
44542
  },
44543
+ "lotSizeSqft": {
44544
+ "allOf": [
44545
+ {
44546
+ "$ref": "#/components/schemas/NumericFilterValue"
44547
+ },
44548
+ {
44549
+ "description": "Lot size in square feet (1 acre = 43,560). Rows with no lot size are excluded unless `includeNulls: true`."
44550
+ }
44551
+ ]
44552
+ },
44553
+ "middleSchool": {
44554
+ "$ref": "#/components/schemas/SaleMiddleSchoolFilterValue"
44555
+ },
44357
44556
  "mlsStatus": {
44358
44557
  "$ref": "#/components/schemas/SaleMlsStatusFilterValue"
44359
44558
  },
@@ -44364,6 +44563,49 @@
44364
44563
  ],
44365
44564
  "type": "string"
44366
44565
  },
44566
+ "newConstruction": {
44567
+ "allOf": [
44568
+ {
44569
+ "$ref": "#/components/schemas/BooleanFilterValue"
44570
+ },
44571
+ {
44572
+ "description": "`true`: the listing is flagged new construction, or its condition says new / under construction / to be built / pre-construction. `false`: flagged not-new and no such condition. A row with neither signal matches neither value."
44573
+ }
44574
+ ]
44575
+ },
44576
+ "petsAllowed": {
44577
+ "allOf": [
44578
+ {
44579
+ "$ref": "#/components/schemas/BooleanFilterValue"
44580
+ },
44581
+ {
44582
+ "description": "Lease listings (combine with `propertyType: \"Residential Lease\"`). `true`: cats OK, dogs OK or a plain Yes. `false`: No, with nothing permitting. `Negotiable` and detail-only values (size limit, deposit) with no OK token match neither value."
44583
+ }
44584
+ ]
44585
+ },
44586
+ "poolPrivate": {
44587
+ "allOf": [
44588
+ {
44589
+ "$ref": "#/components/schemas/BooleanFilterValue"
44590
+ },
44591
+ {
44592
+ "description": "`true`: the listing has a private pool. `false`: it says it does not. Community pools are not distinguished (feeds record them inconsistently). Rows with no answer match neither value."
44593
+ }
44594
+ ]
44595
+ },
44596
+ "priceReduced": {
44597
+ "allOf": [
44598
+ {
44599
+ "$ref": "#/components/schemas/BooleanFilterValue"
44600
+ },
44601
+ {
44602
+ "description": "`true`: the current list price is below the ORIGINAL list price. `false`: at or above it. Rows missing either price match neither value. (Not based on `previousListPrice`, which is unreliable.)"
44603
+ }
44604
+ ]
44605
+ },
44606
+ "priceReductionPercent": {
44607
+ "$ref": "#/components/schemas/SalePriceReductionPercentFilterValue"
44608
+ },
44367
44609
  "propertyId": {
44368
44610
  "allOf": [
44369
44611
  {
@@ -44383,6 +44625,9 @@
44383
44625
  "salePrice": {
44384
44626
  "$ref": "#/components/schemas/NumericFilterValue"
44385
44627
  },
44628
+ "schoolDistrict": {
44629
+ "$ref": "#/components/schemas/SaleSchoolDistrictFilterValue"
44630
+ },
44386
44631
  "soldAgent": {
44387
44632
  "$ref": "#/components/schemas/TextFilterValue"
44388
44633
  },
@@ -44395,6 +44640,26 @@
44395
44640
  "state": {
44396
44641
  "$ref": "#/components/schemas/TextFilterValue"
44397
44642
  },
44643
+ "stories": {
44644
+ "allOf": [
44645
+ {
44646
+ "$ref": "#/components/schemas/NumericFilterValue"
44647
+ },
44648
+ {
44649
+ "description": "Number of stories: `3`, `[1, 2]` or `{lte: 1}` for single level. Where the listing has no `stories` value the building's story count is used instead, which for a condo is the whole building. Rows with neither are excluded unless `includeNulls: true`."
44650
+ }
44651
+ ]
44652
+ },
44653
+ "waterfront": {
44654
+ "allOf": [
44655
+ {
44656
+ "$ref": "#/components/schemas/BooleanFilterValue"
44657
+ },
44658
+ {
44659
+ "description": "`true`: waterfront property. `false`: it says it is not. Rows with no answer match neither value."
44660
+ }
44661
+ ]
44662
+ },
44398
44663
  "yearBuilt": {
44399
44664
  "$ref": "#/components/schemas/NumericFilterValue"
44400
44665
  },
@@ -44414,6 +44679,60 @@
44414
44679
  },
44415
44680
  "type": "object"
44416
44681
  },
44682
+ "SaleHighSchoolFilterValue": {
44683
+ "anyOf": [
44684
+ {
44685
+ "maxLength": 100,
44686
+ "type": "string"
44687
+ },
44688
+ {
44689
+ "items": {
44690
+ "maxLength": 100,
44691
+ "type": "string"
44692
+ },
44693
+ "maxItems": 25,
44694
+ "minItems": 1,
44695
+ "type": "array"
44696
+ },
44697
+ {
44698
+ "nullable": true
44699
+ }
44700
+ ],
44701
+ "description": "High school name as listed, one or an array (any-of). Matched case-insensitively with the generic words (`School`, `Elementary`, `Middle`, `High`) removed, so `Lago Vista Elementary School` and `Lago Vista Elementary` select the same listings. All remaining words must appear in the stored name. The assigned school is as named on the listing record, not a boundary lookup. List the available values for an area with `POST /v1/sales/analytics/chart` and `slice: \"highSchool\"`."
44702
+ },
44703
+ "SaleHoaFeeFilterValue": {
44704
+ "additionalProperties": false,
44705
+ "description": "Monthly-equivalent HOA fee in dollars: a quarterly fee is divided by 3, an annual fee by 12, and so on, so `{lte: 300}` means \"at most $300 a month\" whatever the listing's payment frequency. Only rows with a recognized recurring frequency (monthly, quarterly, semi-annual, annual, semi-monthly, weekly) are comparable; one-time, unknown and missing frequencies are excluded. Rows with no fee are excluded unless `includeNulls: true` (use that to also keep homes with no HOA fee on record, or `hasHoa: false`). Reads the primary association only.",
44706
+ "nullable": true,
44707
+ "properties": {
44708
+ "gt": {
44709
+ "minimum": 0,
44710
+ "type": "number"
44711
+ },
44712
+ "gte": {
44713
+ "minimum": 0,
44714
+ "type": "number"
44715
+ },
44716
+ "includeNulls": {
44717
+ "description": "Also keep rows where the field is missing (a range drops them by default). Requires a bound.",
44718
+ "type": "boolean"
44719
+ },
44720
+ "lt": {
44721
+ "minimum": 0,
44722
+ "type": "number"
44723
+ },
44724
+ "lte": {
44725
+ "minimum": 0,
44726
+ "type": "number"
44727
+ }
44728
+ },
44729
+ "type": "object"
44730
+ },
44731
+ "SaleKeywordFilterValue": {
44732
+ "description": "Words that must ALL appear in the listing description (public remarks), in any order, case-insensitive. Plain text: operators and punctuation (`* ? \" ( ) AND OR - :`) are not interpreted. At most 200 characters and 12 words; empty or punctuation-only is a 400. Stemmed (`granite` matches `granites`), not fuzzy. Listing text is MLS-supplied; see the display rules that apply to it.",
44733
+ "nullable": true,
44734
+ "type": "string"
44735
+ },
44417
44736
  "SaleListRequest": {
44418
44737
  "additionalProperties": false,
44419
44738
  "properties": {
@@ -44507,6 +44826,231 @@
44507
44826
  },
44508
44827
  "type": "object"
44509
44828
  },
44829
+ "SaleMapCluster": {
44830
+ "properties": {
44831
+ "bounds": {
44832
+ "$ref": "#/components/schemas/GeoBounds"
44833
+ },
44834
+ "count": {
44835
+ "type": "integer"
44836
+ },
44837
+ "key": {
44838
+ "description": "Grid cell as `zoom/x/y` (web-mercator tile coordinates)",
44839
+ "type": "string"
44840
+ },
44841
+ "kind": {
44842
+ "enum": [
44843
+ "cluster"
44844
+ ],
44845
+ "type": "string"
44846
+ },
44847
+ "lat": {
44848
+ "description": "Centroid of the listings in the cell (not the cell centre)",
44849
+ "type": "number"
44850
+ },
44851
+ "lon": {
44852
+ "type": "number"
44853
+ },
44854
+ "medianListPrice": {
44855
+ "description": "Approximate median list price of the cell's listings, in dollars (list price for every status, sold included)",
44856
+ "nullable": true,
44857
+ "type": "number"
44858
+ }
44859
+ },
44860
+ "required": [
44861
+ "kind",
44862
+ "key",
44863
+ "lat",
44864
+ "lon",
44865
+ "count",
44866
+ "medianListPrice",
44867
+ "bounds"
44868
+ ],
44869
+ "type": "object"
44870
+ },
44871
+ "SaleMapPoint": {
44872
+ "properties": {
44873
+ "baths": {
44874
+ "nullable": true,
44875
+ "type": "number"
44876
+ },
44877
+ "beds": {
44878
+ "nullable": true,
44879
+ "type": "number"
44880
+ },
44881
+ "id": {
44882
+ "description": "Sale document ID",
44883
+ "type": "string"
44884
+ },
44885
+ "kind": {
44886
+ "enum": [
44887
+ "point"
44888
+ ],
44889
+ "type": "string"
44890
+ },
44891
+ "lat": {
44892
+ "type": "number"
44893
+ },
44894
+ "lon": {
44895
+ "type": "number"
44896
+ },
44897
+ "price": {
44898
+ "description": "Sold price for a closed sale (`SLD`), otherwise the list price, in dollars",
44899
+ "nullable": true,
44900
+ "type": "number"
44901
+ },
44902
+ "sqft": {
44903
+ "nullable": true,
44904
+ "type": "number"
44905
+ },
44906
+ "status": {
44907
+ "allOf": [
44908
+ {
44909
+ "$ref": "#/components/schemas/MlsStatus"
44910
+ },
44911
+ {
44912
+ "nullable": true
44913
+ }
44914
+ ]
44915
+ }
44916
+ },
44917
+ "required": [
44918
+ "kind",
44919
+ "id",
44920
+ "lat",
44921
+ "lon",
44922
+ "price",
44923
+ "status",
44924
+ "beds",
44925
+ "baths",
44926
+ "sqft"
44927
+ ],
44928
+ "type": "object"
44929
+ },
44930
+ "SaleMapRequest": {
44931
+ "additionalProperties": false,
44932
+ "properties": {
44933
+ "advancedFilters": {
44934
+ "$ref": "#/components/schemas/FilterNode"
44935
+ },
44936
+ "bounds": {
44937
+ "allOf": [
44938
+ {
44939
+ "$ref": "#/components/schemas/GeoBounds"
44940
+ },
44941
+ {
44942
+ "description": "The viewport to draw. Required, and the only way to scope the map: do not also send `flatFilters.geoBounds`."
44943
+ }
44944
+ ]
44945
+ },
44946
+ "filters": {
44947
+ "$ref": "#/components/schemas/FilterNode"
44948
+ },
44949
+ "flatFilters": {
44950
+ "$ref": "#/components/schemas/SaleFlatFilters"
44951
+ },
44952
+ "limit": {
44953
+ "description": "Most point rows to return (default 250, max 1000). It is also the `auto` switch-over: more matches than this come back as clusters. **Billing counts each element of `data`**, so this bounds the cost of one call.",
44954
+ "maximum": 1000,
44955
+ "minimum": 1,
44956
+ "type": "integer"
44957
+ },
44958
+ "mode": {
44959
+ "description": "`auto` (default): individual `point` rows when the matches fit in `limit`, otherwise `cluster` rows. `points`: always individual rows, newest first, capped at `limit` (`truncated` says when more matched). `clusters`: always grid cells.",
44960
+ "enum": [
44961
+ "auto",
44962
+ "points",
44963
+ "clusters"
44964
+ ],
44965
+ "type": "string"
44966
+ },
44967
+ "period": {
44968
+ "$ref": "#/components/schemas/DatedPeriod"
44969
+ },
44970
+ "zoom": {
44971
+ "description": "Web-map zoom level (0-22). Sets the cluster grid precision (about 8 cells across a 256 px tile). Omitted: derived from the width of `bounds`.",
44972
+ "maximum": 22,
44973
+ "minimum": 0,
44974
+ "type": "integer"
44975
+ }
44976
+ },
44977
+ "required": [
44978
+ "bounds"
44979
+ ],
44980
+ "type": "object"
44981
+ },
44982
+ "SaleMapResponse": {
44983
+ "properties": {
44984
+ "data": {
44985
+ "items": {
44986
+ "discriminator": {
44987
+ "mapping": {
44988
+ "cluster": "#/components/schemas/SaleMapCluster",
44989
+ "point": "#/components/schemas/SaleMapPoint"
44990
+ },
44991
+ "propertyName": "kind"
44992
+ },
44993
+ "oneOf": [
44994
+ {
44995
+ "$ref": "#/components/schemas/SaleMapPoint"
44996
+ },
44997
+ {
44998
+ "$ref": "#/components/schemas/SaleMapCluster"
44999
+ }
45000
+ ]
45001
+ },
45002
+ "type": "array"
45003
+ },
45004
+ "mode": {
45005
+ "description": "What `data` holds: all `point` rows or all `cluster` rows",
45006
+ "enum": [
45007
+ "points",
45008
+ "clusters"
45009
+ ],
45010
+ "type": "string"
45011
+ },
45012
+ "precision": {
45013
+ "description": "Grid zoom level used (`clusters` only)",
45014
+ "type": "integer"
45015
+ },
45016
+ "total": {
45017
+ "description": "Listings inside `bounds` matching the filters (exact), regardless of how many `data` rows are returned",
45018
+ "type": "integer"
45019
+ },
45020
+ "truncated": {
45021
+ "description": "`points`: more listings matched than `limit`, so `data` is the newest `limit`. `clusters`: more cells existed than the cap, so the smallest were left out.",
45022
+ "type": "boolean"
45023
+ }
45024
+ },
45025
+ "required": [
45026
+ "mode",
45027
+ "total",
45028
+ "truncated",
45029
+ "data"
45030
+ ],
45031
+ "type": "object"
45032
+ },
45033
+ "SaleMiddleSchoolFilterValue": {
45034
+ "anyOf": [
45035
+ {
45036
+ "maxLength": 100,
45037
+ "type": "string"
45038
+ },
45039
+ {
45040
+ "items": {
45041
+ "maxLength": 100,
45042
+ "type": "string"
45043
+ },
45044
+ "maxItems": 25,
45045
+ "minItems": 1,
45046
+ "type": "array"
45047
+ },
45048
+ {
45049
+ "nullable": true
45050
+ }
45051
+ ],
45052
+ "description": "Middle school name as listed, one or an array (any-of). Matched case-insensitively with the generic words (`School`, `Elementary`, `Middle`, `High`) removed, so `Lago Vista Elementary School` and `Lago Vista Elementary` select the same listings. All remaining words must appear in the stored name. The assigned school is as named on the listing record, not a boundary lookup. List the available values for an area with `POST /v1/sales/analytics/chart` and `slice: \"middleSchool\"`."
45053
+ },
44510
45054
  "SaleMlsStatusFilterValue": {
44511
45055
  "anyOf": [
44512
45056
  {
@@ -44536,6 +45080,104 @@
44536
45080
  }
44537
45081
  ]
44538
45082
  },
45083
+ "SalePriceReductionPercentFilterValue": {
45084
+ "additionalProperties": false,
45085
+ "description": "How far the current list price is below the ORIGINAL list price, in percent of the original: `{gte: 5}` = cut by at least 5%. Negative means the price was raised. Rows missing either price are excluded unless `includeNulls: true`. Pair with `priceReduced: true` to exclude unchanged listings from a `lte` range.",
45086
+ "nullable": true,
45087
+ "properties": {
45088
+ "gt": {
45089
+ "maximum": 100,
45090
+ "minimum": 0,
45091
+ "type": "number"
45092
+ },
45093
+ "gte": {
45094
+ "maximum": 100,
45095
+ "minimum": 0,
45096
+ "type": "number"
45097
+ },
45098
+ "includeNulls": {
45099
+ "description": "Also keep rows where the field is missing (a range drops them by default). Requires a bound.",
45100
+ "type": "boolean"
45101
+ },
45102
+ "lt": {
45103
+ "maximum": 100,
45104
+ "minimum": 0,
45105
+ "type": "number"
45106
+ },
45107
+ "lte": {
45108
+ "maximum": 100,
45109
+ "minimum": 0,
45110
+ "type": "number"
45111
+ }
45112
+ },
45113
+ "type": "object"
45114
+ },
45115
+ "SaleRental": {
45116
+ "description": "Lease-listing terms as supplied with the listing; `null` unless the listing carries any. There is no furnished, availability-date or security-deposit field in the index.",
45117
+ "nullable": true,
45118
+ "properties": {
45119
+ "laundry": {
45120
+ "items": {
45121
+ "type": "string"
45122
+ },
45123
+ "nullable": true,
45124
+ "type": "array"
45125
+ },
45126
+ "leaseIncludes": {
45127
+ "description": "What the rent includes. Rarely filled (under 1% of active leases in the counties checked).",
45128
+ "items": {
45129
+ "type": "string"
45130
+ },
45131
+ "nullable": true,
45132
+ "type": "array"
45133
+ },
45134
+ "leaseTerm": {
45135
+ "description": "Lease term tokens, e.g. `TwelveMonths`, `Negotiable`.",
45136
+ "items": {
45137
+ "type": "string"
45138
+ },
45139
+ "nullable": true,
45140
+ "type": "array"
45141
+ },
45142
+ "pets": {
45143
+ "description": "Pet policy as RESO tokens, e.g. `CatsOk`, `DogsOk`, `SizeLimit`, `BreedRestrictions`, `PetDeposit`, `Yes`, `No`, `Negotiable` (spelling varies by feed: `Cats OK`). Filter with `petsAllowed` / `catsAllowed` / `dogsAllowed`.",
45144
+ "items": {
45145
+ "type": "string"
45146
+ },
45147
+ "nullable": true,
45148
+ "type": "array"
45149
+ },
45150
+ "utilities": {
45151
+ "items": {
45152
+ "type": "string"
45153
+ },
45154
+ "nullable": true,
45155
+ "type": "array"
45156
+ }
45157
+ },
45158
+ "type": "object"
45159
+ },
45160
+ "SaleSchoolDistrictFilterValue": {
45161
+ "anyOf": [
45162
+ {
45163
+ "maxLength": 100,
45164
+ "type": "string"
45165
+ },
45166
+ {
45167
+ "items": {
45168
+ "maxLength": 100,
45169
+ "type": "string"
45170
+ },
45171
+ "maxItems": 25,
45172
+ "minItems": 1,
45173
+ "type": "array"
45174
+ },
45175
+ {
45176
+ "nullable": true
45177
+ }
45178
+ ],
45179
+ "description": "School district name, one or an array (any-of). Matched case-insensitively with the generic words removed, so `Austin Independent School District`, `Austin ISD` and `AUSTIN` select the same listings. Matches the district assigned at any level (elementary, middle or high). It is a name match, not a boundary lookup: `Austin` would also match a district named `Austin Achieve`, so pair it with a location filter. List the available values for an area with `POST /v1/sales/analytics/chart` and `slice: \"schoolDistrict\"`."
45180
+ },
44539
45181
  "SaleSchools": {
44540
45182
  "description": "Schools assigned to the listing, as named on the listing record. These are not ratings and not a boundary lookup; label them as listed.",
44541
45183
  "nullable": true,
@@ -46766,7 +47408,7 @@
46766
47408
  "info": {
46767
47409
  "description": "ModelMatch API — mortgage and real-estate market data.\n\n## Bulk delivery limits\n\nThe `POST /{entity}/bulk-delivery` endpoints export a full result set to\nS3 as NDJSON, JSON, CSV, or Parquet.\n\n- **Up to 5,000 rows per delivery: no entitlement required.** Available to\n every authenticated caller.\n- **Above 5,000 rows: requires the entity's `bulk-delivery.{entity}`\n entitlement** (e.g. `bulk-delivery.loans`). The grant's scope sets your\n row ceiling and may also restrict which rows and fields you receive.\n\nA delivery that would exceed the limit available to you is rejected with\n`403 entitlement_missing`, reporting the matched row count and the ceiling\nthat applied. To stay under the limit, pass `limit` — the job then delivers\n(and bills for) only the first `limit` rows of a broader query.\n\n**Need a higher limit?** Email support@modelmatch.com to request the\nentitlement. Limits are raised per organization and per entity.\n\nBulk delivery is billed at 1 credit per delivered row whether or not\nan entitlement is held.\n\nInstead of a download, a delivery can be sent to a push target configured\non your workspace: pass `destination: { type: \"push-target\", targetId }`.\nThe same limits and billing apply.",
46768
47410
  "title": "ModelMatch API",
46769
- "version": "3.149.0"
47411
+ "version": "3.151.0"
46770
47412
  },
46771
47413
  "openapi": "3.1.0",
46772
47414
  "paths": {
@@ -83988,6 +84630,97 @@
83988
84630
  "x-mm-records-via": "listSales"
83989
84631
  }
83990
84632
  },
84633
+ "/v1/sales/map": {
84634
+ "post": {
84635
+ "description": "One call for a whole map viewport. Send the visible `bounds` (and optionally `zoom`) plus the usual sales filters. When the matches fit in `limit` the response is individual `point` rows (id, coordinates, price, status, beds/baths/sqft); otherwise it is `cluster` rows, one per grid cell, each with a count, the centroid of its listings and an approximate median list price. `total` is the exact number of matching listings in the box. **Billing: each element of `data` is billed like a list row (1 credit), so `limit` bounds the cost of one call.** Use `POST /v1/sales/count` with `flatFilters.geoBounds` for a free count.",
84636
+ "operationId": "mapSales",
84637
+ "requestBody": {
84638
+ "content": {
84639
+ "application/json": {
84640
+ "schema": {
84641
+ "$ref": "#/components/schemas/SaleMapRequest"
84642
+ }
84643
+ }
84644
+ }
84645
+ },
84646
+ "responses": {
84647
+ "200": {
84648
+ "content": {
84649
+ "application/json": {
84650
+ "schema": {
84651
+ "$ref": "#/components/schemas/SaleMapResponse"
84652
+ }
84653
+ }
84654
+ },
84655
+ "description": "Points or clusters for the viewport"
84656
+ },
84657
+ "400": {
84658
+ "content": {
84659
+ "application/json": {
84660
+ "schema": {
84661
+ "$ref": "#/components/schemas/ErrorResponse"
84662
+ }
84663
+ }
84664
+ },
84665
+ "description": "Validation error. Includes unresolvable location filters: a `city`/`county`/`state`/`zip` value that does not match a recognized location returns 400 rather than an empty result set. Resolve the name with `instantSearch` (use an id from its `results.locations[]`) or `suggestLocations` (use the `id` of a `source: \"dictionary\"` result), then pass that id back as the filter value."
84666
+ },
84667
+ "401": {
84668
+ "content": {
84669
+ "application/json": {
84670
+ "schema": {
84671
+ "$ref": "#/components/schemas/ErrorResponse"
84672
+ }
84673
+ }
84674
+ },
84675
+ "description": "Unauthorized"
84676
+ },
84677
+ "403": {
84678
+ "content": {
84679
+ "application/json": {
84680
+ "schema": {
84681
+ "$ref": "#/components/schemas/ErrorResponse"
84682
+ }
84683
+ }
84684
+ },
84685
+ "description": "Forbidden (authenticated, but missing required context — e.g. no active organization)"
84686
+ },
84687
+ "404": {
84688
+ "content": {
84689
+ "application/json": {
84690
+ "schema": {
84691
+ "$ref": "#/components/schemas/ErrorResponse"
84692
+ }
84693
+ }
84694
+ },
84695
+ "description": "Not found"
84696
+ },
84697
+ "413": {
84698
+ "content": {
84699
+ "application/json": {
84700
+ "schema": {
84701
+ "$ref": "#/components/schemas/PayloadTooLarge"
84702
+ }
84703
+ }
84704
+ },
84705
+ "description": "Response payload too large — detail endpoint capped to fit Lambda response limits"
84706
+ },
84707
+ "503": {
84708
+ "content": {
84709
+ "application/json": {
84710
+ "schema": {
84711
+ "$ref": "#/components/schemas/SearchUnavailable"
84712
+ }
84713
+ }
84714
+ },
84715
+ "description": "Search timed out or the cluster is overloaded — retry after `Retry-After` seconds."
84716
+ }
84717
+ },
84718
+ "summary": "Draw a map viewport: listing points or grid clusters",
84719
+ "tags": [
84720
+ "Sales"
84721
+ ]
84722
+ }
84723
+ },
83991
84724
  "/v1/sales/{id}": {
83992
84725
  "get": {
83993
84726
  "operationId": "getSale",