WS7: Land Registry v1 panel (open-data Price Paid lookup)

↗ view on GitHub · sloth-ninja · 2026-07-28 · a6ae0acf

Replace the inert "coming soon" sidebar stub with a clickable Research page:
honest account-connection status, a free open-data Price Paid lookup by
postcode, and outbound links to HM Land Registry's chargeable services. v1 has
no HMLR account-connection path by design (conditions of use bar third-party
credential entry until channel-partner authorisation).

Backend: self-contained lib/landRegistry.ts querying the HM Land Registry Price
Paid SPARQL endpoint (keyless, OGL v3.0), postcode validated/normalised before
it reaches any query string, 10s fetch timeout, TTL cache + single-flight;
route GET /land-registry/price-paid mounted under requireAuth + researchLimiter
with fixed generic error mapping. 27 vitest tests (validation matrix,
normalisation, cap-at-25, upstream/network/timeout errors, error mapper).

Frontend: new /land-registry page to the approved mock-up (3 cards), mikeApi
getPricePaid(postcode, signal), sidebar entry now a normal clickable item.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Repository Sloth-ninja/JessicaOSS
Author sloth-ninja <ezanahaddis@gmail.com>
Authored
Parents b1c69f6a
Stats 9 files changed , +1115 , -57
Part of WS7: Land Registry (HM Land Registry Price Paid open data)

Capture this commit into my fork

Download a Markdown prompt that tells Claude how to port this exact commit into your working tree. Run it via claude -p < capture-commit-a6ae0acf.md from inside the repo you want the change in.

⬇ Download capture-commit-a6ae0acf.md