Summary
This PR updates the Simple Forms form models so that they have a method, zip_code_is_us_based, which can tell the metadata validator if the address is based in the USA. Up until now, we've been operating under the assumption that all addresses are US-based but that isn't always going to be the case.
This PR is up for team review currently. I didn't do exactly what SimpleForms did because it felt clunky passing along an arg that simple so I wrote it a bit differetly.
Summary This PR updates the Simple Forms form models so that they have a method, zip_code_is_us_based, which can tell the metadata validator if the address is based in the USA. Up until now, we've been operating under the assumption that all addresses are US-based but that isn't always going to be the case.
Related issue(s) https://app.zenhub.com/workspaces/vagov-product-team-forms-634853151f5c6000165942bc/issues/gh/department-of-veterans-affairs/va.gov-team/72916
https://github.com/department-of-veterans-affairs/vets-api/pull/16152