Skip to content

feat(postcodes/GI): add Gibraltar postcode (#1039)#1408

Merged
dr5hn merged 1 commit into
masterfrom
feat/postcodes-gibraltar
Apr 25, 2026
Merged

feat(postcodes/GI): add Gibraltar postcode (#1039)#1408
dr5hn merged 1 commit into
masterfrom
feat/postcodes-gibraltar

Conversation

@dr5hn
Copy link
Copy Markdown
Owner

@dr5hn dr5hn commented Apr 25, 2026

Summary

Adds Gibraltar's single national postcode GX11 1AA. Country-only (Gibraltar has no state-level subdivisions in this dataset; same shape as Monaco #1402 / Vatican #1406).

Gibraltar uses one fixed postcode assigned in 2008 when it joined the UK postcode address file.

Validation

  • ✅ 1 record passes schema
  • country_id: 84 / country_code: "GI" agree
  • ✅ Code matches countries.postal_code_regex (GX11 1AA)
  • state_id correctly null

Refs: #1039

Adds Gibraltar's single national postcode "GX11 1AA". Country-only
(no state-level subdivisions in this dataset).

Gibraltar uses a single fixed postcode for the entire territory,
formerly under the UK PO box system; the GX11 1AA code was assigned
in 2008 when Gibraltar joined the UK postcode address file.

Validated:
- 1 record passes schema rules
- country_id 84 / country_code "GI" agree
- code "GX11 1AA" matches countries.postal_code_regex
- state_id correctly null

Refs: #1039

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 25, 2026 15:23
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. enhancement New feature or request labels Apr 25, 2026
@github-actions
Copy link
Copy Markdown
Contributor

CSC Validation Report

PR Format

  • ✅ Description provided
  • ❌ Data source linked
  • ✅ Issue linked (recommended for data changes)
  • ✅ Justification / context provided

Labels applied: data:postcodes

Schema Validation (1 records)

✅ All records passed validation

Cross-Reference Validation

✅ 1 reference(s) verified


All checks passed | Status: Ready for review

@dr5hn dr5hn merged commit d508806 into master Apr 25, 2026
3 checks passed
@dr5hn dr5hn deleted the feat/postcodes-gibraltar branch April 25, 2026 15:24
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds Gibraltar’s country-scoped postcode entry to the postcodes contributions dataset, following the same “single national postcode” pattern used for Monaco and Vatican City.

Changes:

  • Added contributions/postcodes/GI.json with Gibraltar’s national postcode GX11 1AA.
  • Included minimal required fields (code, country_id, country_code) plus optional metadata (locality_name, type, source).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:postcodes enhancement New feature or request ready-for-review size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants