@land-catalyst/batch-data-sdk 1.2.8 → 1.2.9

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.
@@ -15,7 +15,8 @@
15
15
  * Run: node scripts/generate-property-field-metadata.js
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
- exports.PROPERTY_FIELD_METADATA = void 0;
18
+ exports.PROPERTY_FIELD_METADATA = exports.POSSIBLE_VALUES_CONSTANTS = void 0;
19
+ exports.getPossibleValues = getPossibleValues;
19
20
  exports.getFieldMetadata = getFieldMetadata;
20
21
  exports.getFieldsByDataset = getFieldsByDataset;
21
22
  exports.getFieldsByResponseGroup = getFieldsByResponseGroup;
@@ -24,6 +25,1149 @@ exports.getAllDatasets = getAllDatasets;
24
25
  exports.getAllResponseGroups = getAllResponseGroups;
25
26
  exports.hasField = hasField;
26
27
  exports.getTypeScriptType = getTypeScriptType;
28
+ /**
29
+ * Constants for possible field values - shared across multiple fields
30
+ * This reduces redundancy and LLM context size
31
+ */
32
+ exports.POSSIBLE_VALUES_CONSTANTS = {
33
+ AirConditioningSource: [
34
+ "Central",
35
+ "Chilled Water",
36
+ "Evaporative Cooler",
37
+ "Geo-Thermal",
38
+ "None",
39
+ "Office only",
40
+ "Other",
41
+ "Packaged Unit",
42
+ "Partial",
43
+ "Refrigeration",
44
+ "Ventilation",
45
+ "Wall",
46
+ "Window Unit",
47
+ "Yes",
48
+ ],
49
+ BasementType: [
50
+ "Basement (not specified)",
51
+ "Daylight",
52
+ "First FLoor",
53
+ "Daylight/Walkout",
54
+ "Full Basement",
55
+ "Improved Basement (Finished)",
56
+ "Partial",
57
+ "Partial Basement",
58
+ "Unfinished Basement",
59
+ ],
60
+ BuildingClass: [
61
+ "Buildings having fireproofed reinforced concrete frames carrying all wall, floor and roof loads which are all non-combustible.",
62
+ "Buildings having fireproofed structural steel frames carrying all wall, floor and roof loads. Wall, floor and roof structures are built of non-combustible materials.",
63
+ "Buildings having wood or wood and steel frames.",
64
+ "Exterior walls non-combustible material. Interior partitions and roof structure combustible materials. Floor concrete or wood frame.",
65
+ "Specialized buildings that do not fit in any of the above categories.",
66
+ ],
67
+ BuildingCondition: [
68
+ "Average",
69
+ "Excellent",
70
+ "Fair",
71
+ "Good",
72
+ "Poor",
73
+ "Unsound",
74
+ "Very Good",
75
+ ],
76
+ BuildingQuality: [
77
+ "A",
78
+ "A+",
79
+ "A-",
80
+ "B",
81
+ "B+",
82
+ "B-",
83
+ "C",
84
+ "C+",
85
+ "C-",
86
+ "D",
87
+ "D+",
88
+ "D-",
89
+ "E",
90
+ "E+",
91
+ "E-",
92
+ ],
93
+ ConstructionType: [
94
+ "Adobe",
95
+ "Brick",
96
+ "Concrete",
97
+ "Concrete Block",
98
+ "Dome",
99
+ "Frame",
100
+ "Heavy",
101
+ "Light",
102
+ "Log",
103
+ "Manufactured",
104
+ "Masonry",
105
+ "Metal",
106
+ "Mixed",
107
+ "Other",
108
+ "Steel",
109
+ "Stone",
110
+ "Tilt-Up",
111
+ "Wood",
112
+ ],
113
+ Driveway: [
114
+ "Asphalt",
115
+ "Bomanite",
116
+ "Chat",
117
+ "Concrete",
118
+ "DBrick",
119
+ "Driveway",
120
+ "Gravel",
121
+ "Paver",
122
+ "Tile",
123
+ ],
124
+ ExteriorWalls: [
125
+ "Adobe",
126
+ "Aluminum Siding",
127
+ "Asbestos Shingle",
128
+ "Block",
129
+ "Brick",
130
+ "Brick Veneer",
131
+ "Ceramic Tile",
132
+ "Clay Tile",
133
+ "Combination",
134
+ "Composition",
135
+ "Composition/Composite",
136
+ "Concrete",
137
+ "Concrete Block",
138
+ "Concrete Tile",
139
+ "EIFS/Synthetic Stucco",
140
+ "Fiber Cement Siding",
141
+ "Glass",
142
+ "Log",
143
+ "Marble",
144
+ "Masonry",
145
+ "Metal",
146
+ "Other",
147
+ "Rock",
148
+ "Shingle (Not Wood)",
149
+ "Siding (Alum/Vinyl)",
150
+ "Stucco",
151
+ "Tile",
152
+ "Tilt-up (pre-cast concrete)",
153
+ "Vinyl Siding",
154
+ "Wood",
155
+ "Wood Shingle",
156
+ "Wood Siding",
157
+ ],
158
+ FloorCover: [
159
+ "Asbestos",
160
+ "Brick",
161
+ "Carpet",
162
+ "Ceramic",
163
+ "Combination",
164
+ "Concrete",
165
+ "Cork",
166
+ "Covered",
167
+ "Dirt/Earth/Soil",
168
+ "Epoxy",
169
+ "Faux Wood Tile",
170
+ "Finished Wood",
171
+ "Floating Floor/Laminate",
172
+ "Granite",
173
+ "Hardwood",
174
+ "Linoleum",
175
+ "Marble",
176
+ "Other",
177
+ "Parquet",
178
+ "Plywood",
179
+ "Slate",
180
+ "Softwood",
181
+ "Stone",
182
+ "Terrazzo",
183
+ "Tile",
184
+ "Vinyl",
185
+ ],
186
+ Garage: [
187
+ "Attached Garage",
188
+ "Built-in",
189
+ "Carport",
190
+ "Covered",
191
+ "Detached Garage",
192
+ "Finished",
193
+ "Finished Attached",
194
+ "Finished Detached",
195
+ "Garage",
196
+ "Heated",
197
+ "Mixed",
198
+ "None",
199
+ "Offsite",
200
+ "Open",
201
+ "Parking Lot",
202
+ "Parking Structure",
203
+ "Paved/Surfaced",
204
+ "Pole",
205
+ "Ramp",
206
+ "Tuckunder",
207
+ "Underground/Basement",
208
+ "Unfinished Attached",
209
+ "Unfinished Detached",
210
+ "Unimproved",
211
+ ],
212
+ HeatSource: [
213
+ "Baseboard",
214
+ "Central",
215
+ "Coal",
216
+ "Convection",
217
+ "Electric",
218
+ "Floor/Wall",
219
+ "Forced Air Unit",
220
+ "Gas",
221
+ "Geo-Thermal",
222
+ "Gravity",
223
+ "Heat Pump",
224
+ "Hot Water",
225
+ "None",
226
+ "Oil",
227
+ "Other",
228
+ "Partial",
229
+ "Propane",
230
+ "Radiant",
231
+ "Solar",
232
+ "Space/Suspended",
233
+ "Steam",
234
+ "Vent",
235
+ "Wood Burning",
236
+ "Yes",
237
+ "Zone",
238
+ ],
239
+ HeatingFuelType: [
240
+ "Butane",
241
+ "Coal",
242
+ "Electric",
243
+ "Gas",
244
+ "Geo-Thermal",
245
+ "None",
246
+ "Oil",
247
+ "Propane",
248
+ "Solar",
249
+ "Wood",
250
+ ],
251
+ InteriorWalls: [
252
+ "Block",
253
+ "Brick",
254
+ "Cement Board",
255
+ "Composition",
256
+ "Concrete",
257
+ "Decorative/Custom",
258
+ "Finished/Painted",
259
+ "Glass",
260
+ "Gypsum Board",
261
+ "Log",
262
+ "Masonry",
263
+ "Metal",
264
+ "Minimum/Plywood",
265
+ "Other",
266
+ "Paneling",
267
+ "Plaster",
268
+ "Stone",
269
+ "Unfinished",
270
+ "Vinyl",
271
+ "Wood",
272
+ ],
273
+ Patio: ["Patio", "Patio - Screened"],
274
+ Features: [
275
+ "ARBOR/PERGOLA",
276
+ "Above-Ground Pool",
277
+ "Air Conditioning",
278
+ "Alarm System",
279
+ "Atrium",
280
+ "Attached Garage",
281
+ "Audio Sound System",
282
+ "Automatic Sprinkler System (irrigation)",
283
+ "BOAT LIFT/DAVITS",
284
+ "Basketball/Sport Court",
285
+ "Boat Dock/Ramp",
286
+ "Built-in Garage",
287
+ "Carport",
288
+ "Cellar",
289
+ "Central Air Conditioning",
290
+ "Central Vacuum System",
291
+ "Chilled Water Air Conditioning",
292
+ "Club House",
293
+ "Community Pool or Spa",
294
+ "Covered Garage",
295
+ "Covered Porch",
296
+ "Detached Garage",
297
+ "Enclosed Pool",
298
+ "Evaporative Cooler",
299
+ "Exercise Room/Home Gym",
300
+ "Fire Sprinkler",
301
+ "Fireplace",
302
+ "Game/Recreation Room",
303
+ "Garage",
304
+ "Geo-Thermal Air Conditioning",
305
+ "Geo-Thermal Heat",
306
+ "Golf Course/Green",
307
+ "HANDICAP RAMP/ACCESSIBLE",
308
+ "Heated Pool",
309
+ "Indoor Pool",
310
+ "Intercom System",
311
+ "Koi Pond",
312
+ "Lanai",
313
+ "MOBILE HOME HOOKUP",
314
+ "Media Room/Home Theater",
315
+ "OVERHEAD DOOR",
316
+ "Outdoor Kitchen/Fireplace",
317
+ "Panic Room",
318
+ "Parking Structure",
319
+ "Partial Air Conditioning",
320
+ "Patio",
321
+ "Pole Garage",
322
+ "Pool",
323
+ "Porch",
324
+ "Portico",
325
+ "RV parking",
326
+ "Refrigeration Air Conditioning",
327
+ "SAUNA/STEAM ROOM",
328
+ "STORM/SECURITY SHUTTERS",
329
+ "Safe Room/Panic Room",
330
+ "Screened Porch",
331
+ "Solar Heat",
332
+ "Solar Heated Pool",
333
+ "Spa",
334
+ "Spa or Hot Tub",
335
+ "Storm or Tornado Shelter/Cellar",
336
+ "Study Library",
337
+ "Sun Room",
338
+ "Tennis Court",
339
+ "Tuckunder Garage",
340
+ "Underground/Basement Garage",
341
+ "Vinyl In-Ground Pool",
342
+ "Wall Air Conditioning",
343
+ "Water Feature",
344
+ "Wet Bar",
345
+ "Wine Cellar",
346
+ ],
347
+ Pool: [
348
+ "Above-Ground Pool",
349
+ "Community Pool or Spa",
350
+ "Enclosed",
351
+ "Heated Pool",
352
+ "In-Ground Pool",
353
+ "Indoor Pool",
354
+ "Pool & Spa",
355
+ "Pool - Yes",
356
+ "Solar Heated",
357
+ "Spa or Hot Tub (only)",
358
+ "Vinyl In-Ground Pool",
359
+ ],
360
+ Porch: [
361
+ "Porch",
362
+ "Porch - Open",
363
+ "Porch covered",
364
+ "Porch screened",
365
+ "Portico (Drive Under)",
366
+ ],
367
+ RoofCover: [
368
+ "Aluminum",
369
+ "Asbestos",
370
+ "Asphalt",
371
+ "Bermuda",
372
+ "Built-Up",
373
+ "Ceramic Tile",
374
+ "Clay Tile",
375
+ "Composition Shingle",
376
+ "Concrete",
377
+ "Concrete Tile",
378
+ "Copper",
379
+ "Fiberglass",
380
+ "Gravel/Rock",
381
+ "Gypsum",
382
+ "Masonite/ Cement Shake",
383
+ "Metal",
384
+ "Other",
385
+ "Roll Composition",
386
+ "Shingle (Not Wood)",
387
+ "Slate",
388
+ "Solar",
389
+ "Steel",
390
+ "Tar & Gravel",
391
+ "Tile",
392
+ "Tin",
393
+ "Urethane",
394
+ "Wood",
395
+ "Wood Shake/ Shingles",
396
+ ],
397
+ RoofType: [
398
+ "Bowstring Truss",
399
+ "Dome",
400
+ "Flat",
401
+ "Gable",
402
+ "Gable or Hip",
403
+ "Gambrel",
404
+ "Hip",
405
+ "Irr/Cathedral",
406
+ "Mansard",
407
+ "Prestress Concrete",
408
+ "Reinforced Concrete",
409
+ "Rigid Frame Bar Joist",
410
+ "Sawtooth",
411
+ "Shed",
412
+ "Steel Frame/Truss",
413
+ "Wood Truss",
414
+ ],
415
+ Sewer: ["Municipal", "None", "Septic", "Storm", "Yes"],
416
+ Style: [
417
+ "A-Frame",
418
+ "Bi-Level",
419
+ "Bungalow",
420
+ "Cape Cod",
421
+ "Cluster",
422
+ "Colonial",
423
+ "Condominium",
424
+ "Contemporary",
425
+ "Conventional",
426
+ "Cottage",
427
+ "Custom",
428
+ "Dome",
429
+ "Duplex",
430
+ "English",
431
+ "European",
432
+ "French Provincial",
433
+ "Georgian",
434
+ "High-rise",
435
+ "Historical",
436
+ "Log Cabin/Rustic",
437
+ "Mansion",
438
+ "Mediterranean",
439
+ "Mobile Home",
440
+ "Mobile/Manufactured",
441
+ "Modern",
442
+ "MultiFamily",
443
+ "Other",
444
+ "Patio Home",
445
+ "Prefab/Modular",
446
+ "Quadplex",
447
+ "Raised Ranch",
448
+ "Ranch/Rambler",
449
+ "Row Home",
450
+ "Shotgun",
451
+ "Spanish",
452
+ "Split Foyer",
453
+ "Split Level",
454
+ "Tiny House",
455
+ "TownHouse",
456
+ "Traditional",
457
+ "Tri-Level",
458
+ "Triplex",
459
+ "Tudor",
460
+ "Unfinished-Under Construction",
461
+ "Victorian",
462
+ "unknown",
463
+ ],
464
+ WaterService: ["Cistern", "Municipal", "None", "Spring", "Well", "Yes"],
465
+ BusinessOwner: [
466
+ "Accountant",
467
+ "Builder",
468
+ "Contractor",
469
+ "Dealer/Retailer/Storekeeper",
470
+ "Distributor/Wholesaler",
471
+ "Funeral Director",
472
+ "Maker/Manufacturer",
473
+ "Owner",
474
+ "Partner",
475
+ "Self-Employed",
476
+ ],
477
+ DemographicsValue: [
478
+ "Business Owner",
479
+ "Female",
480
+ "Has Children",
481
+ "Home Owner",
482
+ "Male",
483
+ "Married",
484
+ "Millionaire",
485
+ "New Home Owner",
486
+ "Pet Owner",
487
+ "Recently Moved",
488
+ "Religious",
489
+ "Renter",
490
+ "Single",
491
+ "Single Parent",
492
+ "Smoker",
493
+ ],
494
+ Gender: ["Female", "Male"],
495
+ HomeownerRenter: ["Home Owner", "Renter"],
496
+ Investments: [
497
+ "Foreign",
498
+ "Investment Properties",
499
+ "Personal",
500
+ "Real Estate",
501
+ "Stocks and Bonds",
502
+ ],
503
+ ReligiousAffiliation: [
504
+ "All",
505
+ "Buddhist",
506
+ "Catholic",
507
+ "Eastern Orthodox",
508
+ "Ethiopian Orthodox",
509
+ "Greek Orthodox",
510
+ "Hindu",
511
+ "Islamic",
512
+ "Jewish",
513
+ "Lutheran",
514
+ "Mormon",
515
+ "Other",
516
+ "Protestant",
517
+ "Shinto",
518
+ "Sikh",
519
+ ],
520
+ ForeclosureStatus: [
521
+ "Cancel Due to length of Time and Auction Date",
522
+ "Notice of Default and Lis Pendens",
523
+ "Notice of Sale",
524
+ "Notice of Trustee Sale and Final Judgement",
525
+ "REO Release",
526
+ "Rescission Recording",
527
+ "Rescission Release",
528
+ "Transfer Release",
529
+ ],
530
+ PropertyTypeCategory: [
531
+ "Agricultural",
532
+ "Commercial",
533
+ "Exempt",
534
+ "Industrial",
535
+ "Miscellaneous",
536
+ "Office",
537
+ "Recreational",
538
+ "Residential",
539
+ "Vacant Land",
540
+ ],
541
+ PropertyTypeDetail: [
542
+ "Agricultural/Rural",
543
+ "Airport",
544
+ "Apartment House (5+ Units)",
545
+ "Apartments",
546
+ "Auto Repair or Garage",
547
+ "Bar or Tavern",
548
+ "Barber or Hair Salon",
549
+ "Boarding House or Rooming House",
550
+ "Boat Slips",
551
+ "Bulk Storage Tanks",
552
+ "Bungalow",
553
+ "Cabin",
554
+ "Campground or RV Park",
555
+ "Car Wash",
556
+ "Cemetery",
557
+ "Centrally Assessed",
558
+ "Charitable or Fraternal Organization",
559
+ "Church",
560
+ "City",
561
+ "Club",
562
+ "Cluster Home",
563
+ "College",
564
+ "Commercial",
565
+ "Commercial Building",
566
+ "Commercial Condominium (Not Offices)",
567
+ "Commercial Office",
568
+ "Commercial/Office/Residential (Mixed Use)",
569
+ "Commerical/Industrial (Mixed Use)",
570
+ "Common Area",
571
+ "Community Center",
572
+ "Community Shopping Center",
573
+ "Condominium Building",
574
+ "Condominium Offices",
575
+ "Condominium Unit",
576
+ "Construction or Contracting Services",
577
+ "Convenience Store",
578
+ "Cooperative Unit",
579
+ "Country Club",
580
+ "County Owned",
581
+ "Court Apartment (5+ Units)",
582
+ "Crop Land",
583
+ "Cultural or Historical",
584
+ "Dairy Farm",
585
+ "Day Care or Preschool Facility",
586
+ "Dental Building",
587
+ "Department Store",
588
+ "Distribution Warehouse",
589
+ "Dormitory",
590
+ "Drugstore or Pharmacy",
591
+ "Duplex",
592
+ "Easement",
593
+ "Emergency",
594
+ "Equipment or Supplies",
595
+ "Exempt",
596
+ "Factory",
597
+ "Farm",
598
+ "Fast Food Restaurant or Drive-Through",
599
+ "Federal Property",
600
+ "Fields or Row Crops",
601
+ "Financial Building or Bank",
602
+ "Florist",
603
+ "Forest",
604
+ "Freeway or State Highway",
605
+ "Full or Partial",
606
+ "Funeral Home or Mortuary",
607
+ "Garden Apartment",
608
+ "Garden Home",
609
+ "Gas Station",
610
+ "General",
611
+ "Golf Course",
612
+ "Government Administrative Office",
613
+ "Governmental",
614
+ "Governmental or Public Use",
615
+ "Grocery or Supermarket",
616
+ "Gym or Health Spa",
617
+ "Harbor & Marine Transportation",
618
+ "Heavy Industrial",
619
+ "Heavy Manufacturing",
620
+ "High-Rise Apartment",
621
+ "Horticulture or Growing Houses",
622
+ "Hotel",
623
+ "Hotel Resort",
624
+ "Hotel/Motel",
625
+ "Industrial",
626
+ "Industrial Loft Building",
627
+ "Industrial Park",
628
+ "Institutional",
629
+ "Institutional (General)",
630
+ "Inventory",
631
+ "Irrigation or Flood Control",
632
+ "Laboratory or Research Facility",
633
+ "Landominium",
634
+ "Leasehold Rights",
635
+ "Library or Art Gallery",
636
+ "Light Industrial",
637
+ "Light Manufacturing",
638
+ "Livestock Parcel",
639
+ "Lodge or Professional Association",
640
+ "Lumber or Building Materials Yard",
641
+ "Mail Order Showroom or Commercial Warehouse",
642
+ "Marina or Yacht Club",
643
+ "Marsh or Swamp",
644
+ "Medical Building or Clinic",
645
+ "Medical Clinic",
646
+ "Military",
647
+ "Mini-Warehouse or Self-Storage",
648
+ "Mining Facility",
649
+ "Miscellaneous Residential Improvement",
650
+ "Miscellaneous Structures",
651
+ "Mobile Home Park or Trailer Park",
652
+ "Mobile/Manufactured Home",
653
+ "Module or Prefabricated Homes",
654
+ "Motel",
655
+ "Multi-Family",
656
+ "Multi-Family Dwelling",
657
+ "Municipal",
658
+ "Museum",
659
+ "Native American Lands",
660
+ "Natural Resources",
661
+ "Neighborhood Shopping Center",
662
+ "Nightclub or Cocktail Lounge",
663
+ "Nursery or Greenhouse",
664
+ "Office Building (General)",
665
+ "Orchard",
666
+ "Other Exempt Property",
667
+ "Parcel with Improvements",
668
+ "Park",
669
+ "Parking Garage or Structure",
670
+ "Parking Lot",
671
+ "Parochial or Private School",
672
+ "Pasture or Meadow",
673
+ "Patio Home",
674
+ "Personal Property",
675
+ "Petroleum & Gas Wells",
676
+ "Pipeline or Right-of-Way",
677
+ "Planned Unit Development",
678
+ "Playground or Picnic Area",
679
+ "Plaza or Mini-Mall",
680
+ "Possessory Interest",
681
+ "Post Office",
682
+ "Private Hospital",
683
+ "Private Preserve or Open Space",
684
+ "Private Utility",
685
+ "Processing Plant",
686
+ "Professional Building",
687
+ "Public College or University",
688
+ "Public Hospital",
689
+ "Public School",
690
+ "Public Utility",
691
+ "Quadruplex",
692
+ "Quarry",
693
+ "R&D",
694
+ "Radio or TV Statio",
695
+ "Railroad",
696
+ "Ranch",
697
+ "Range Land",
698
+ "Recreation Center",
699
+ "Recreational",
700
+ "Recreational/Entertainment",
701
+ "Redevelopment Agency or Zone",
702
+ "Regional Shopping Center or Mall",
703
+ "Regulating Districts & Assessments",
704
+ "Religious",
705
+ "Resevoir or Water Supply",
706
+ "Residential",
707
+ "Residential Common Area",
708
+ "Residential Condominium Development",
709
+ "Residential Income (Multi-Family)",
710
+ "Residential Parking Garage",
711
+ "Residential Storage Space",
712
+ "Restaurant",
713
+ "Retail Stores",
714
+ "Retail/Residential (Mixed Use)",
715
+ "Right-of-Way",
716
+ "Road",
717
+ "Road Right-of-Way",
718
+ "Row House",
719
+ "Royalty Interest",
720
+ "Rural Improved (Non-Residential)",
721
+ "Rural/Agricultural",
722
+ "Rurual/Agricultural Residence",
723
+ "Seasonal",
724
+ "Service Shop",
725
+ "Service Station",
726
+ "Service Station with Food Mart",
727
+ "Single Family",
728
+ "Skyscraper or High-Rise (Commercial Offices)",
729
+ "Social Service or Low Income Housing",
730
+ "Special Purpose",
731
+ "State Board of Equalization - Special Assessments",
732
+ "State Owned",
733
+ "Storage Yard",
734
+ "Store (Multi-Story)",
735
+ "Store/Office",
736
+ "Street or Bridge",
737
+ "Strip Mall or Enterprise Zone",
738
+ "Structures on Leased Land",
739
+ "Sub-Surface Rights",
740
+ "Surface Rights",
741
+ "Telephone or Telegraph Facility",
742
+ "Theater",
743
+ "Timberland or Forest",
744
+ "Timeshare",
745
+ "Town or Village Owned",
746
+ "Townhouse",
747
+ "Transportation & Communications",
748
+ "Triplex",
749
+ "Truck Crops",
750
+ "Truck Terminal",
751
+ "Under Construction",
752
+ "University or Vocational School",
753
+ "Unspecified Improvement",
754
+ "Unusable Land",
755
+ "Utilities",
756
+ "Vacation Residence",
757
+ "Vehicle Rental and Sales",
758
+ "Veterinary Clinic or Animal Hospital",
759
+ "Vineyard",
760
+ "Warehouse (Industrial)",
761
+ "Waste Disposal or Sewage Plant",
762
+ "Waste Land",
763
+ "Welfare",
764
+ "Wholesale Outlet or Discount Store",
765
+ "Working Interest",
766
+ "Worship",
767
+ "Zero Lot Line",
768
+ ],
769
+ ZoningCode: [
770
+ "01 - NOT Z",
771
+ "01-SINGLE",
772
+ "0100:SINGL",
773
+ "02 - SINGL",
774
+ "1",
775
+ "10",
776
+ "2F",
777
+ "A",
778
+ "A-1",
779
+ "A1",
780
+ "A2",
781
+ "AG",
782
+ "AR",
783
+ "B",
784
+ "C",
785
+ "C1",
786
+ "C2",
787
+ "COMMERCIAL",
788
+ "GR",
789
+ "LAR1",
790
+ "LDR",
791
+ "M-H",
792
+ "MDR",
793
+ "MPUD",
794
+ "P-D",
795
+ "PAD",
796
+ "PD",
797
+ "PUD",
798
+ "R",
799
+ "R-1",
800
+ "R-10",
801
+ "R-15",
802
+ "R-1A",
803
+ "R-1C",
804
+ "R-2",
805
+ "R-20",
806
+ "R-3",
807
+ "R-4",
808
+ "R-40",
809
+ "R-5",
810
+ "R-6",
811
+ "R-7",
812
+ "R-8",
813
+ "R1",
814
+ "R1-8",
815
+ "R10",
816
+ "R12",
817
+ "R15",
818
+ "R16",
819
+ "R1A",
820
+ "R1B",
821
+ "R1C",
822
+ "R2",
823
+ "R20",
824
+ "R2A",
825
+ "R3",
826
+ "R3-2",
827
+ "R3A",
828
+ "R4",
829
+ "R4-RESIDEN",
830
+ "R40",
831
+ "R5",
832
+ "R5-RESIDEN",
833
+ "R6",
834
+ "R60",
835
+ "R7",
836
+ "R75",
837
+ "R8",
838
+ "RA",
839
+ "RB",
840
+ "RC",
841
+ "RD",
842
+ "RD-5",
843
+ "RES",
844
+ "RESIDENTIA",
845
+ "RI",
846
+ "RL",
847
+ "RLD-60",
848
+ "RM",
849
+ "RM1",
850
+ "RPD",
851
+ "RR",
852
+ "RS",
853
+ "RS-1",
854
+ "RS-1-7",
855
+ "RS2",
856
+ "RS3",
857
+ "RS6",
858
+ "RSA5",
859
+ "RSF",
860
+ "RSF3.5",
861
+ "RT",
862
+ "SF 5000",
863
+ "SF-5",
864
+ "SFR",
865
+ "SINGLE-FAM",
866
+ "SR",
867
+ "U/05/00",
868
+ "Z298",
869
+ "ZO01",
870
+ ],
871
+ LienType: [
872
+ "Assessment Lien",
873
+ "Economic Lien",
874
+ "Federal Tax Lien",
875
+ "Mechanic's Lien",
876
+ "Other",
877
+ "State Tax Lien",
878
+ "Support Lien",
879
+ ],
880
+ LienTypeCode: ["A", "B", "C", "D", "E", "F", "G"],
881
+ LoanType: [
882
+ "2nd Mortgage made to cover Down Payment",
883
+ "ARM (Adjustable Rate Mortgage as of August, 2009)",
884
+ "Amount keyed is an Aggregate amount",
885
+ "Assumption",
886
+ "Balloon",
887
+ "Building or Construction Loan",
888
+ "Cash",
889
+ "Closed-end Mortgage",
890
+ "Commercial",
891
+ "Construction Loan",
892
+ "Conventional",
893
+ "Credit Line (Revolving)",
894
+ "FHA",
895
+ "Fannie Mae/Freddie Mac",
896
+ "Farmers Home Administration",
897
+ "Future Advance Clause / Open End Mortgage",
898
+ "Future-Advance Mortgage",
899
+ "Land Contract",
900
+ "Land Contract (Argmt. Of Sale)",
901
+ "Line of Credit",
902
+ "Loan Amount $1-9 billion",
903
+ "Loan Amount $10-99 billion",
904
+ "Misc Residential Improvement",
905
+ "Modification - Effective as of December 2008",
906
+ "Negative Amortization",
907
+ "New Conventional",
908
+ "Non Purchase Money Mortgage",
909
+ "Purchase Money Mortgage",
910
+ "Real Conventional",
911
+ "Reverse Mortgage",
912
+ "Reverse Mortgage (Home Equity Conversion Mortgage)",
913
+ "SBA Participation Trust Deed",
914
+ "Seller Caryback",
915
+ "Seller take-back",
916
+ "Stand Alone First",
917
+ "Stand Alone Refi (Refinance of Original Loan)",
918
+ "Stand Alone Second",
919
+ "Standalone Refinance",
920
+ "State Veterans",
921
+ "USDA",
922
+ "Undefined/Multiple Amounts",
923
+ "Unknown & Other",
924
+ "Unknown (DEFAULT)",
925
+ "VA",
926
+ ],
927
+ OwnerStatusType: ["Company Owned", "Individual"],
928
+ AddressValidity: ["Valid", "Invalid", "Partially Valid"],
929
+ StateAbbreviation: [
930
+ "AA",
931
+ "AB",
932
+ "AE",
933
+ "AK",
934
+ "AL",
935
+ "AP",
936
+ "AR",
937
+ "AS",
938
+ "AU",
939
+ "AZ",
940
+ "BC",
941
+ "BR",
942
+ "CA",
943
+ "CH",
944
+ "CN",
945
+ "CO",
946
+ "CT",
947
+ "CZ",
948
+ "DC",
949
+ "DE",
950
+ "DF",
951
+ "FL",
952
+ "FR",
953
+ "GA",
954
+ "GB",
955
+ "GE",
956
+ "GU",
957
+ "HI",
958
+ "HO",
959
+ "IA",
960
+ "ID",
961
+ "IL",
962
+ "IN",
963
+ "IS",
964
+ "IT",
965
+ "JA",
966
+ "JP",
967
+ "KR",
968
+ "KS",
969
+ "KU",
970
+ "KY",
971
+ "LA",
972
+ "MA",
973
+ "MB",
974
+ "MD",
975
+ "ME",
976
+ "MH",
977
+ "MI",
978
+ "MN",
979
+ "MO",
980
+ "MP",
981
+ "MS",
982
+ "MT",
983
+ "MX",
984
+ "NB",
985
+ "NC",
986
+ "ND",
987
+ "NE",
988
+ "NH",
989
+ "NJ",
990
+ "NL",
991
+ "NM",
992
+ "NS",
993
+ "NV",
994
+ "NY",
995
+ "OH",
996
+ "OK",
997
+ "ON",
998
+ "OR",
999
+ "PA",
1000
+ "PE",
1001
+ "PH",
1002
+ "PR",
1003
+ "QC",
1004
+ "RI",
1005
+ "SC",
1006
+ "SD",
1007
+ "SG",
1008
+ "SI",
1009
+ "SK",
1010
+ "SO",
1011
+ "SW",
1012
+ "TA",
1013
+ "TH",
1014
+ "TN",
1015
+ "TW",
1016
+ "TX",
1017
+ "UK",
1018
+ "UN",
1019
+ "UT",
1020
+ "VA",
1021
+ "VI",
1022
+ "VT",
1023
+ "WA",
1024
+ "WI",
1025
+ "WV",
1026
+ "WY",
1027
+ "XX",
1028
+ "YO",
1029
+ "YT",
1030
+ ],
1031
+ FlipLengthCategory: ["12", "24", "3", "6"],
1032
+ LastSaleDocumentType: [
1033
+ "Administrator's Deed",
1034
+ "Affidavit",
1035
+ "Affidavit - Notice of Sale",
1036
+ "Affidavit Death of Trustee/Successor Trustee (Los Angeles)",
1037
+ "Affidavit of Death of Joint Tenant",
1038
+ "Affidavit of Death of Life Tenant",
1039
+ "Affidavit of Trust or Trust Agreement (Los Angeles)",
1040
+ "Agreement of Sale",
1041
+ "Assessor Sales History",
1042
+ "Assignment Deed (or Condo Deed if Land Use = CND)",
1043
+ "Assignment of Agreement of Sale (Hawaii)",
1044
+ "Assignment of Commercial Lease (Hawaii)",
1045
+ "Assignment of Final Judgement of Foreclosure",
1046
+ "Assignment of Lease (Leasehold Sale) (Hawaii)",
1047
+ "Assignment of Sub Agreement of Sale (Hawaii)",
1048
+ "Assignment of Sub Commercial Lease (Hawaii)",
1049
+ "Assignment of Sub Lease (Hawaii)",
1050
+ "Bargain and Sale Deed",
1051
+ "Beneficiary Deed",
1052
+ "Beneficiary Deed (Buyer ID = BE)",
1053
+ "Cancellation of Agreement of Sale (Hawaii)",
1054
+ "Cash Sale Deed",
1055
+ "Certificate of Transfer",
1056
+ "Commercial Lease",
1057
+ "Commercial Lease (Hawaii)",
1058
+ "Commissioner's Deed - North Carolina in probate-related transfers. In Hawaii foreclosure-related transfers.",
1059
+ "Commissioners Assignment of Lease (Hawaii)",
1060
+ "Condominium Deed",
1061
+ "Conservator's Deed",
1062
+ "Contract of Sale",
1063
+ "Corporation Deed",
1064
+ "Correction Deed",
1065
+ "Correction Document",
1066
+ "Declaration",
1067
+ "Deed",
1068
+ "Deed in Lieu of Foreclosure",
1069
+ "Deed of Distribution",
1070
+ "Deed of Guardian",
1071
+ "Distress Sale",
1072
+ "Divorce/Dissolution of Marriage Transfer",
1073
+ "Exchange",
1074
+ "Executor's Deed",
1075
+ "Fiduciary Deed",
1076
+ "Foreclosure",
1077
+ "Gift Deed",
1078
+ "Grant Deed",
1079
+ "Ground Lease",
1080
+ "Individual Deed",
1081
+ "Intra-Familty Transfer",
1082
+ "Intra-Family Transfer",
1083
+ "Intrafamily Transfer",
1084
+ "Intrafamily Transfer & Dissolution",
1085
+ "Joint Tenancy Deed",
1086
+ "Land Contract",
1087
+ "Land Court (Massachusetts)",
1088
+ "Lease",
1089
+ "Lease (Hawaii)",
1090
+ "Leasehold Conv. With Agreement of Sale (Fee Purchase) (Hawaii)",
1091
+ "Leasehold Conv. with an Agreement of Sale (Hawaii)",
1092
+ "Legal Action/Court Order",
1093
+ "Limited Warranty Deed",
1094
+ "Mineral Rights Deed",
1095
+ "Mortgage",
1096
+ "Other",
1097
+ "Owelty Deed/Owelty Agreement",
1098
+ "Partial Release of Lis Pendens",
1099
+ "Partnership Deed",
1100
+ "Personal Representatives Deed",
1101
+ "Power of Attorney to Foreclosure Mortgage",
1102
+ "PreForeclosure Sold",
1103
+ "Public Action - Common in Florida (Clerks Tax Deed or Tax Deeds or property sold for taxes.",
1104
+ "Quit Claim Deed",
1105
+ "Quit Claim Deed (arm's length)",
1106
+ "REO Sale (REO Out)",
1107
+ "Re-Recorded Partial Release of Lis Pendens",
1108
+ "Re-Recorded Power of Attorney to Foreclosure",
1109
+ "Re-recorded Document",
1110
+ "Receiver's Deed",
1111
+ "Redemption Deed",
1112
+ "Referee's Deed - transfer pursuant to a foreclosure sale (NY)",
1113
+ "Release/Satisfaction of Agreement of Sale (Leasehold) (Hawaii)",
1114
+ "Satisfaction of Land Contract (WI) or Release/Satisfaction of Agreement of Sale (Fee Property) (HI)",
1115
+ "Sheriff's Deed",
1116
+ "Special Master Deed",
1117
+ "Special Warranty Deed",
1118
+ "Sub Agreement of Sale (Hawaii)",
1119
+ "Sub Commercial Lease (Hawaii)",
1120
+ "Sub Lease",
1121
+ "Sub Lease (Hawaii)",
1122
+ "Survivorship Deed",
1123
+ "Survivorship Deed/Survivorship Property Agreement",
1124
+ "Transaction History Record",
1125
+ "Transfer on Death Deed",
1126
+ "Trustee's Deed",
1127
+ "Trustee's Deed (Certificate of Title)",
1128
+ "Vendor's Lien",
1129
+ "Warranty Deed",
1130
+ ],
1131
+ QuickList: [
1132
+ "absentee-owner",
1133
+ "active-auction",
1134
+ "active-listing",
1135
+ "bankruptcy",
1136
+ "canceled-listing",
1137
+ "cash-buyer",
1138
+ "corporate-owned",
1139
+ "divorce",
1140
+ "expired-listing",
1141
+ "fix-and-flip",
1142
+ "free-and-clear",
1143
+ "has-hoa-fees",
1144
+ "high-equity",
1145
+ "in-state-absentee-owner",
1146
+ "inherited",
1147
+ "involuntary-lien",
1148
+ "liens",
1149
+ "listed-below-market-price",
1150
+ "low-equity",
1151
+ "mailing-address-vacant",
1152
+ "notice-of-default",
1153
+ "notice-of-default-or-lis-pendens",
1154
+ "notice-of-sale",
1155
+ "notice-of-trustee-sale",
1156
+ "on-market",
1157
+ "out-of-state-absentee-owner",
1158
+ "out-of-state-owner",
1159
+ "owner-occupied",
1160
+ "pending-listing",
1161
+ "preforeclosure",
1162
+ "recently-sold",
1163
+ "same-property-and-mailing-address",
1164
+ "senior-owner",
1165
+ "tax-default",
1166
+ "tired-landlord",
1167
+ "unknown-equity",
1168
+ "vacant",
1169
+ ],
1170
+ };
27
1171
  /**
28
1172
  * Registry of all property field metadata, indexed by field path
29
1173
  */
@@ -47,7 +1191,7 @@ exports.PROPERTY_FIELD_METADATA = {
47
1191
  dataType: "string",
48
1192
  description: "The validity of the address (e.g. Valid, Invalid, Partially Valid)",
49
1193
  isArrayElement: false,
50
- possibleValues: ["Valid", "Invalid", "Partially Valid"],
1194
+ possibleValuesRef: "AddressValidity",
51
1195
  },
52
1196
  "address.city": {
53
1197
  fieldPath: "address.city",
@@ -188,7 +1332,7 @@ exports.PROPERTY_FIELD_METADATA = {
188
1332
  dataType: "string",
189
1333
  description: "The validity of the address (e.g. Valid, Invalid, Partially Valid)",
190
1334
  isArrayElement: false,
191
- possibleValues: ["Valid", "Invalid", "Partially Valid"],
1335
+ possibleValuesRef: "AddressValidity",
192
1336
  },
193
1337
  "owner.names.[n].first": {
194
1338
  fieldPath: "owner.names.[n].first",
@@ -259,6 +1403,7 @@ exports.PROPERTY_FIELD_METADATA = {
259
1403
  dataType: "string",
260
1404
  description: "The state abbreviation (e.g. IL)",
261
1405
  isArrayElement: false,
1406
+ possibleValuesRef: "StateAbbreviation",
262
1407
  },
263
1408
  "owner.mailingAddress.street": {
264
1409
  fieldPath: "owner.mailingAddress.street",
@@ -549,6 +1694,7 @@ exports.PROPERTY_FIELD_METADATA = {
549
1694
  dataType: "string",
550
1695
  description: "Air Conditioning Source",
551
1696
  isArrayElement: false,
1697
+ possibleValuesRef: "AirConditioningSource",
552
1698
  },
553
1699
  "building.airConditioningSourceCode": {
554
1700
  fieldPath: "building.airConditioningSourceCode",
@@ -619,6 +1765,7 @@ exports.PROPERTY_FIELD_METADATA = {
619
1765
  dataType: "string",
620
1766
  description: "Basement Type",
621
1767
  isArrayElement: false,
1768
+ possibleValuesRef: "BasementType",
622
1769
  },
623
1770
  "building.basementTypeCode": {
624
1771
  fieldPath: "building.basementTypeCode",
@@ -679,6 +1826,7 @@ exports.PROPERTY_FIELD_METADATA = {
679
1826
  dataType: "string",
680
1827
  description: "Building Class",
681
1828
  isArrayElement: false,
1829
+ possibleValuesRef: "BuildingClass",
682
1830
  },
683
1831
  "building.buildingClassCode": {
684
1832
  fieldPath: "building.buildingClassCode",
@@ -699,6 +1847,7 @@ exports.PROPERTY_FIELD_METADATA = {
699
1847
  dataType: "string",
700
1848
  description: "Building Condition",
701
1849
  isArrayElement: false,
1850
+ possibleValuesRef: "BuildingCondition",
702
1851
  },
703
1852
  "building.buildingConditionCode": {
704
1853
  fieldPath: "building.buildingConditionCode",
@@ -729,6 +1878,7 @@ exports.PROPERTY_FIELD_METADATA = {
729
1878
  dataType: "string",
730
1879
  description: "Building Quality",
731
1880
  isArrayElement: false,
1881
+ possibleValuesRef: "BuildingQuality",
732
1882
  },
733
1883
  "building.buildingQualityCode": {
734
1884
  fieldPath: "building.buildingQualityCode",
@@ -779,6 +1929,7 @@ exports.PROPERTY_FIELD_METADATA = {
779
1929
  dataType: "string",
780
1930
  description: "Construction Type",
781
1931
  isArrayElement: false,
1932
+ possibleValuesRef: "ConstructionType",
782
1933
  },
783
1934
  "building.constructionTypeCode": {
784
1935
  fieldPath: "building.constructionTypeCode",
@@ -799,6 +1950,7 @@ exports.PROPERTY_FIELD_METADATA = {
799
1950
  dataType: "string",
800
1951
  description: "Driveway",
801
1952
  isArrayElement: false,
1953
+ possibleValuesRef: "Driveway",
802
1954
  },
803
1955
  "building.drivewayCode": {
804
1956
  fieldPath: "building.drivewayCode",
@@ -829,6 +1981,7 @@ exports.PROPERTY_FIELD_METADATA = {
829
1981
  dataType: "string",
830
1982
  description: "Exterior Walls",
831
1983
  isArrayElement: false,
1984
+ possibleValuesRef: "ExteriorWalls",
832
1985
  },
833
1986
  "building.exteriorWallsCode": {
834
1987
  fieldPath: "building.exteriorWallsCode",
@@ -849,6 +2002,7 @@ exports.PROPERTY_FIELD_METADATA = {
849
2002
  dataType: "array[string]",
850
2003
  description: "Features",
851
2004
  isArrayElement: false,
2005
+ possibleValuesRef: "Features",
852
2006
  },
853
2007
  "building.fireplaceCount": {
854
2008
  fieldPath: "building.fireplaceCount",
@@ -869,6 +2023,7 @@ exports.PROPERTY_FIELD_METADATA = {
869
2023
  dataType: "string",
870
2024
  description: "Floor Cover",
871
2025
  isArrayElement: false,
2026
+ possibleValuesRef: "FloorCover",
872
2027
  },
873
2028
  "building.floorCoverCode": {
874
2029
  fieldPath: "building.floorCoverCode",
@@ -919,6 +2074,7 @@ exports.PROPERTY_FIELD_METADATA = {
919
2074
  dataType: "string",
920
2075
  description: "Garage",
921
2076
  isArrayElement: false,
2077
+ possibleValuesRef: "Garage",
922
2078
  },
923
2079
  "building.garageCode": {
924
2080
  fieldPath: "building.garageCode",
@@ -989,6 +2145,7 @@ exports.PROPERTY_FIELD_METADATA = {
989
2145
  dataType: "string",
990
2146
  description: "Heating Fuel Type",
991
2147
  isArrayElement: false,
2148
+ possibleValuesRef: "HeatingFuelType",
992
2149
  },
993
2150
  "building.heatingFuelTypeCode": {
994
2151
  fieldPath: "building.heatingFuelTypeCode",
@@ -1009,6 +2166,7 @@ exports.PROPERTY_FIELD_METADATA = {
1009
2166
  dataType: "string",
1010
2167
  description: "Heat Source",
1011
2168
  isArrayElement: false,
2169
+ possibleValuesRef: "HeatSource",
1012
2170
  },
1013
2171
  "building.heatSourceCode": {
1014
2172
  fieldPath: "building.heatSourceCode",
@@ -1029,6 +2187,7 @@ exports.PROPERTY_FIELD_METADATA = {
1029
2187
  dataType: "string",
1030
2188
  description: "Interior Walls",
1031
2189
  isArrayElement: false,
2190
+ possibleValuesRef: "InteriorWalls",
1032
2191
  },
1033
2192
  "building.interiorWallsCode": {
1034
2193
  fieldPath: "building.interiorWallsCode",
@@ -1089,6 +2248,7 @@ exports.PROPERTY_FIELD_METADATA = {
1089
2248
  dataType: "string",
1090
2249
  description: "Patio",
1091
2250
  isArrayElement: false,
2251
+ possibleValuesRef: "Patio",
1092
2252
  },
1093
2253
  "building.patioCode": {
1094
2254
  fieldPath: "building.patioCode",
@@ -1109,6 +2269,7 @@ exports.PROPERTY_FIELD_METADATA = {
1109
2269
  dataType: "string",
1110
2270
  description: "Pool",
1111
2271
  isArrayElement: false,
2272
+ possibleValuesRef: "Pool",
1112
2273
  },
1113
2274
  "building.poolCode": {
1114
2275
  fieldPath: "building.poolCode",
@@ -1129,6 +2290,7 @@ exports.PROPERTY_FIELD_METADATA = {
1129
2290
  dataType: "string",
1130
2291
  description: "Porch",
1131
2292
  isArrayElement: false,
2293
+ possibleValuesRef: "Porch",
1132
2294
  },
1133
2295
  "building.porchCode": {
1134
2296
  fieldPath: "building.porchCode",
@@ -1159,6 +2321,7 @@ exports.PROPERTY_FIELD_METADATA = {
1159
2321
  dataType: "string",
1160
2322
  description: "Roof Cover",
1161
2323
  isArrayElement: false,
2324
+ possibleValuesRef: "RoofCover",
1162
2325
  },
1163
2326
  "building.roofCoverCode": {
1164
2327
  fieldPath: "building.roofCoverCode",
@@ -1179,6 +2342,7 @@ exports.PROPERTY_FIELD_METADATA = {
1179
2342
  dataType: "string",
1180
2343
  description: "Roof Type",
1181
2344
  isArrayElement: false,
2345
+ possibleValuesRef: "RoofType",
1182
2346
  },
1183
2347
  "building.roofTypeCode": {
1184
2348
  fieldPath: "building.roofTypeCode",
@@ -1209,6 +2373,7 @@ exports.PROPERTY_FIELD_METADATA = {
1209
2373
  dataType: "string",
1210
2374
  description: "Sewer",
1211
2375
  isArrayElement: false,
2376
+ possibleValuesRef: "Sewer",
1212
2377
  },
1213
2378
  "building.sewerCode": {
1214
2379
  fieldPath: "building.sewerCode",
@@ -1259,6 +2424,7 @@ exports.PROPERTY_FIELD_METADATA = {
1259
2424
  dataType: "string",
1260
2425
  description: "Style",
1261
2426
  isArrayElement: false,
2427
+ possibleValuesRef: "Style",
1262
2428
  },
1263
2429
  "building.styleCode": {
1264
2430
  fieldPath: "building.styleCode",
@@ -1319,6 +2485,7 @@ exports.PROPERTY_FIELD_METADATA = {
1319
2485
  dataType: "string",
1320
2486
  description: "Water Service",
1321
2487
  isArrayElement: false,
2488
+ possibleValuesRef: "WaterService",
1322
2489
  },
1323
2490
  "building.waterServiceCode": {
1324
2491
  fieldPath: "building.waterServiceCode",
@@ -1419,6 +2586,7 @@ exports.PROPERTY_FIELD_METADATA = {
1419
2586
  dataType: "string",
1420
2587
  description: "Property type category",
1421
2588
  isArrayElement: false,
2589
+ possibleValuesRef: "PropertyTypeCategory",
1422
2590
  },
1423
2591
  "general.propertyTypeDetail": {
1424
2592
  fieldPath: "general.propertyTypeDetail",
@@ -1429,6 +2597,7 @@ exports.PROPERTY_FIELD_METADATA = {
1429
2597
  dataType: "string",
1430
2598
  description: "Property type detail",
1431
2599
  isArrayElement: false,
2600
+ possibleValuesRef: "PropertyTypeDetail",
1432
2601
  },
1433
2602
  "general.schoolDistrict": {
1434
2603
  fieldPath: "general.schoolDistrict",
@@ -1799,6 +2968,7 @@ exports.PROPERTY_FIELD_METADATA = {
1799
2968
  dataType: "string",
1800
2969
  description: "The property lot zonning code",
1801
2970
  isArrayElement: false,
2971
+ possibleValuesRef: "ZoningCode",
1802
2972
  },
1803
2973
  "meta.propertyDateModified": {
1804
2974
  fieldPath: "meta.propertyDateModified",
@@ -1939,6 +3109,7 @@ exports.PROPERTY_FIELD_METADATA = {
1939
3109
  dataType: "string",
1940
3110
  description: "The owner status type",
1941
3111
  isArrayElement: false,
3112
+ possibleValuesRef: "OwnerStatusType",
1942
3113
  },
1943
3114
  "sale.flipLength": {
1944
3115
  fieldPath: "sale.flipLength",
@@ -1959,6 +3130,7 @@ exports.PROPERTY_FIELD_METADATA = {
1959
3130
  dataType: "number",
1960
3131
  description: "Details about the property's flip length category",
1961
3132
  isArrayElement: false,
3133
+ possibleValuesRef: "FlipLengthCategory",
1962
3134
  },
1963
3135
  "sale.flipProfit": {
1964
3136
  fieldPath: "sale.flipProfit",
@@ -1999,6 +3171,7 @@ exports.PROPERTY_FIELD_METADATA = {
1999
3171
  dataType: "string",
2000
3172
  description: "The type of document used to record the sale or transfer of the property",
2001
3173
  isArrayElement: false,
3174
+ possibleValuesRef: "LastSaleDocumentType",
2002
3175
  },
2003
3176
  "sale.lastSale.documentTypeCode": {
2004
3177
  fieldPath: "sale.lastSale.documentTypeCode",
@@ -2839,6 +4012,7 @@ exports.PROPERTY_FIELD_METADATA = {
2839
4012
  dataType: "array[string]",
2840
4013
  description: "All loan types",
2841
4014
  isArrayElement: false,
4015
+ possibleValuesRef: "LoanType",
2842
4016
  },
2843
4017
  "openLien.firstLoanRecordingDate": {
2844
4018
  fieldPath: "openLien.firstLoanRecordingDate",
@@ -2859,6 +4033,51 @@ exports.PROPERTY_FIELD_METADATA = {
2859
4033
  dataType: "array[string]",
2860
4034
  description: "Junior loan types",
2861
4035
  isArrayElement: false,
4036
+ possibleValuesRef: "LoanType",
4037
+ },
4038
+ "openLien.firstLoanType": {
4039
+ fieldPath: "openLien.firstLoanType",
4040
+ dataset: "Mortgage Transaction + Open Liens",
4041
+ responseGroupName: "openLien",
4042
+ resourceSubGroupName: undefined,
4043
+ name: "firstLoanType",
4044
+ dataType: "array[string]",
4045
+ description: "First loan type",
4046
+ isArrayElement: false,
4047
+ possibleValuesRef: "LoanType",
4048
+ },
4049
+ "openLien.secondLoanType": {
4050
+ fieldPath: "openLien.secondLoanType",
4051
+ dataset: "Mortgage Transaction + Open Liens",
4052
+ responseGroupName: "openLien",
4053
+ resourceSubGroupName: undefined,
4054
+ name: "secondLoanType",
4055
+ dataType: "array[string]",
4056
+ description: "Second loan type",
4057
+ isArrayElement: false,
4058
+ possibleValuesRef: "LoanType",
4059
+ },
4060
+ "openLien.thirdLoanType": {
4061
+ fieldPath: "openLien.thirdLoanType",
4062
+ dataset: "Mortgage Transaction + Open Liens",
4063
+ responseGroupName: "openLien",
4064
+ resourceSubGroupName: undefined,
4065
+ name: "thirdLoanType",
4066
+ dataType: "array[string]",
4067
+ description: "Third loan type",
4068
+ isArrayElement: false,
4069
+ possibleValuesRef: "LoanType",
4070
+ },
4071
+ "openLien.fourthLoanType": {
4072
+ fieldPath: "openLien.fourthLoanType",
4073
+ dataset: "Mortgage Transaction + Open Liens",
4074
+ responseGroupName: "openLien",
4075
+ resourceSubGroupName: undefined,
4076
+ name: "fourthLoanType",
4077
+ dataType: "array[string]",
4078
+ description: "Fourth loan type",
4079
+ isArrayElement: false,
4080
+ possibleValuesRef: "LoanType",
2862
4081
  },
2863
4082
  "openLien.lastLoanRecordingDate": {
2864
4083
  fieldPath: "openLien.lastLoanRecordingDate",
@@ -3419,6 +4638,7 @@ exports.PROPERTY_FIELD_METADATA = {
3419
4638
  dataType: "string",
3420
4639
  description: "The lien type",
3421
4640
  isArrayElement: true,
4641
+ possibleValuesRef: "LienType",
3422
4642
  },
3423
4643
  "involuntaryLien.liens.[n].lienTypeCode": {
3424
4644
  fieldPath: "involuntaryLien.liens.[n].lienTypeCode",
@@ -3429,6 +4649,7 @@ exports.PROPERTY_FIELD_METADATA = {
3429
4649
  dataType: "string",
3430
4650
  description: "A code indicating the lien type",
3431
4651
  isArrayElement: true,
4652
+ possibleValuesRef: "LienTypeCode",
3432
4653
  },
3433
4654
  "involuntaryLien.liens.[n].attorneyCompanyName": {
3434
4655
  fieldPath: "involuntaryLien.liens.[n].attorneyCompanyName",
@@ -4650,6 +5871,17 @@ exports.PROPERTY_FIELD_METADATA = {
4650
5871
  description: "The property owner's age",
4651
5872
  isArrayElement: false,
4652
5873
  },
5874
+ "demographics.demographics": {
5875
+ fieldPath: "demographics.demographics",
5876
+ dataset: "Demographics",
5877
+ responseGroupName: "demographics",
5878
+ resourceSubGroupName: undefined,
5879
+ name: "demographics",
5880
+ dataType: "string",
5881
+ description: "Composite demographics filter field",
5882
+ isArrayElement: false,
5883
+ possibleValuesRef: "DemographicsValue",
5884
+ },
4653
5885
  "demographics.businessOwner": {
4654
5886
  fieldPath: "demographics.businessOwner",
4655
5887
  dataset: "Demographics",
@@ -4659,6 +5891,7 @@ exports.PROPERTY_FIELD_METADATA = {
4659
5891
  dataType: "string",
4660
5892
  description: "The primary occupant's buiness type. E.g. Accountant, Builder",
4661
5893
  isArrayElement: false,
5894
+ possibleValuesRef: "BusinessOwner",
4662
5895
  },
4663
5896
  "demographics.businessOwnerCode": {
4664
5897
  fieldPath: "demographics.businessOwnerCode",
@@ -4699,6 +5932,7 @@ exports.PROPERTY_FIELD_METADATA = {
4699
5932
  dataType: "string",
4700
5933
  description: "The primary occupant's gender",
4701
5934
  isArrayElement: false,
5935
+ possibleValuesRef: "Gender",
4702
5936
  },
4703
5937
  "demographics.genderCode": {
4704
5938
  fieldPath: "demographics.genderCode",
@@ -4729,6 +5963,7 @@ exports.PROPERTY_FIELD_METADATA = {
4729
5963
  dataType: "string",
4730
5964
  description: "A string indicating whether the occupants are owners or renters",
4731
5965
  isArrayElement: false,
5966
+ possibleValuesRef: "HomeownerRenter",
4732
5967
  },
4733
5968
  "demographics.homeownerRenterCode": {
4734
5969
  fieldPath: "demographics.homeownerRenterCode",
@@ -4809,6 +6044,7 @@ exports.PROPERTY_FIELD_METADATA = {
4809
6044
  dataType: "array[string]",
4810
6045
  description: "The primary occupant's investments",
4811
6046
  isArrayElement: false,
6047
+ possibleValuesRef: "Investments",
4812
6048
  },
4813
6049
  "demographics.maritalStatus": {
4814
6050
  fieldPath: "demographics.maritalStatus",
@@ -4919,6 +6155,7 @@ exports.PROPERTY_FIELD_METADATA = {
4919
6155
  dataType: "string",
4920
6156
  description: "The primary occupant's religious affiliation",
4921
6157
  isArrayElement: false,
6158
+ possibleValuesRef: "ReligiousAffiliation",
4922
6159
  },
4923
6160
  "demographics.religiousAffiliationCode": {
4924
6161
  fieldPath: "demographics.religiousAffiliationCode",
@@ -5189,6 +6426,7 @@ exports.PROPERTY_FIELD_METADATA = {
5189
6426
  dataType: "string",
5190
6427
  description: "The preforeclosure status",
5191
6428
  isArrayElement: false,
6429
+ possibleValuesRef: "ForeclosureStatus",
5192
6430
  },
5193
6431
  "foreclosure.statusCode": {
5194
6432
  fieldPath: "foreclosure.statusCode",
@@ -6170,7 +7408,42 @@ exports.PROPERTY_FIELD_METADATA = {
6170
7408
  description: "Property is owned by a trust",
6171
7409
  isArrayElement: false,
6172
7410
  },
7411
+ "quickLists.quickLists": {
7412
+ fieldPath: "quickLists.quickLists",
7413
+ dataset: "Quick Lists",
7414
+ responseGroupName: "quickLists",
7415
+ resourceSubGroupName: undefined,
7416
+ name: "quickLists",
7417
+ dataType: "array[string]",
7418
+ description: "Quick lists",
7419
+ isArrayElement: false,
7420
+ possibleValuesRef: "QuickList",
7421
+ },
7422
+ "quickLists.orQuickLists": {
7423
+ fieldPath: "quickLists.orQuickLists",
7424
+ dataset: "Quick Lists",
7425
+ responseGroupName: "quickLists",
7426
+ resourceSubGroupName: undefined,
7427
+ name: "orQuickLists",
7428
+ dataType: "array[string]",
7429
+ description: "OR quick lists",
7430
+ isArrayElement: false,
7431
+ possibleValuesRef: "QuickList",
7432
+ },
6173
7433
  };
7434
+ /**
7435
+ * Get the resolved possible values for a field
7436
+ * @param metadata The field metadata
7437
+ * @returns The array of possible values, or undefined if none
7438
+ */
7439
+ function getPossibleValues(metadata) {
7440
+ if (metadata.possibleValuesRef) {
7441
+ return [
7442
+ ...exports.POSSIBLE_VALUES_CONSTANTS[metadata.possibleValuesRef],
7443
+ ];
7444
+ }
7445
+ return undefined;
7446
+ }
6174
7447
  /**
6175
7448
  * Get metadata for a specific field path
6176
7449
  * @param fieldPath The field path (e.g., "address.city")