Enrich property assessor with CAD detail data
This commit is contained in:
@@ -44,6 +44,21 @@ const samplePublicRecords: PublicRecordsResolution = {
|
||||
],
|
||||
sourceIdentifierHints: {
|
||||
parcelId: "14069438"
|
||||
},
|
||||
propertyDetails: {
|
||||
source: "nueces-esearch",
|
||||
sourceUrl: "https://esearch.nuecescad.net/property/view/14069438?year=2026",
|
||||
propertyId: "14069438",
|
||||
ownerName: "Fiorini Family Trust",
|
||||
situsAddress: "4141 WHITELEY DR, CORPUS CHRISTI, TX, 78418",
|
||||
legalDescription: "LOT 4 BLOCK 3 EXAMPLE SUBDIVISION",
|
||||
landValue: 42000,
|
||||
improvementValue: 99000,
|
||||
assessedTotalValue: 141000,
|
||||
exemptions: ["Homestead"],
|
||||
notes: [
|
||||
"Official CAD property detail page exposed owner, value, and exemption data."
|
||||
]
|
||||
}
|
||||
};
|
||||
|
||||
@@ -104,6 +119,19 @@ test("assessProperty auto-discovers listing sources, runs Zillow photos first, a
|
||||
assert.equal(result.reportPayload?.subjectProperty?.address, samplePublicRecords.matchedAddress);
|
||||
assert.equal(result.reportPayload?.publicRecords?.jurisdiction, "Nueces County Appraisal District");
|
||||
assert.equal(result.reportPayload?.publicRecords?.accountNumber, "14069438");
|
||||
assert.equal(result.reportPayload?.publicRecords?.ownerName, "Fiorini Family Trust");
|
||||
assert.equal(result.reportPayload?.publicRecords?.landValue, 42000);
|
||||
assert.equal(result.reportPayload?.publicRecords?.improvementValue, 99000);
|
||||
assert.equal(result.reportPayload?.publicRecords?.assessedTotalValue, 141000);
|
||||
assert.deepEqual(result.reportPayload?.publicRecords?.exemptions, ["Homestead"]);
|
||||
assert.match(
|
||||
String(result.reportPayload?.snapshot?.join(" ")),
|
||||
/141,000|141000|assessed/i
|
||||
);
|
||||
assert.match(
|
||||
String(result.reportPayload?.risksAndDiligence?.join(" ")),
|
||||
/official cad property detail page exposed owner, value, and exemption data/i
|
||||
);
|
||||
assert.equal(result.reportPayload?.photoReview?.status, "completed");
|
||||
assert.equal(result.reportPayload?.photoReview?.source, "zillow");
|
||||
assert.equal(result.reportPayload?.photoReview?.photoCount, 29);
|
||||
|
||||
Reference in New Issue
Block a user