bcgov / bcgov/STRR

Relax Postal Code Validation for International Addresses

Open
#1,389 0 comments 0 reactions 0 assignees View on GitHub
STR
Dominant language
Python
Stars
2
Forks
22
Avg merge
2d 35m
Merged PRs (30d)
11

Description

If a host is entering their own address as an international address using the Canada Post Address Autocomplete, and that address does not have a postal code, then the validation will fail and the host cannot continue and submit the application.

Intl Address Postal Code Screenshot 2025-04-11 110631.png

Background:
Section 3.3 of the BC OCIO addressing standards suggests there is no requirement for postal codes: https://www2.gov.bc.ca/assets/gov/government/services-for-government-and-broader-public-sector/information-technology-services/standards-files/address_data_standards_-_mailing_delivery_residential.pdf

Guidance from OCIO is to treat all fields aside from Addressee and Country as optional, including postal code for international countries aside from US.

Note that this is how the PPR/MHR registry is currently working

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.