department-of-veterans-affairs / va.gov-team

Public resources for building on and in support of VA.gov. Visit complete Knowledge Hub:
https://depo-platform-documentation.scrollhelp.site/index.html
284 stars 206 forks source link

Validate 21a addresses #89995

Open gabezurita opened 4 months ago

gabezurita commented 4 months ago

ARM's Find a Rep (FAR) uses LH address validation before displaying Google Maps links to Representatives for 2122 requests. They do not display invalid addresses.

Given GCLAWS will not implement address validation until a few more quarters (per their estimate), it would be good to validate addresses on the vets-api side before sending them to the GCLAWS API.

AC

holdenhinkle commented 3 months ago

ARM Address validation using the Lighthouse Address Validation API - https://github.com/department-of-veterans-affairs/vets-api/blob/master/modules/veteran/app/sidekiq/representatives/update.rb#L39