Skip to content

feat(postcodes/VA): add Vatican City postcode (#1039)#1406

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

feat(postcodes/VA): add Vatican City postcode (#1039)#1406
dr5hn merged 1 commit into
masterfrom
feat/postcodes-vatican

Conversation

@dr5hn
Copy link
Copy Markdown
Owner

@dr5hn dr5hn commented Apr 25, 2026

Summary

Adds Vatican City's single postcode 00120. Country-only (Vatican has no states in this dataset).

Source

source: "manual" — Vatican uses the Italian postal system; 00120 is reserved for Città del Vaticano.

Validation

  • ✅ 1 record passes schema rules
  • country_id: 238 / country_code: "VA" agree
  • ✅ Code 00120 matches countries.postal_code_regex (^(\d{5})$)
  • state_id correctly null (VA has no state-level subdivisions)

Refs: #1039

Adds the single Vatican City postal code 00120. Vatican has no
state-level subdivisions in this dataset (states: 0), so this is a
pure country-only postcode — same shape as Monaco (#1402).

Vatican uses the Italian postal system; 00120 is reserved for
Citta del Vaticano. The country's postal_code_format (#####) and
regex (^(\\d{5})$) already exist in countries.json.

Validated:
- 1 record passes schema rules
- country_id 238 / country_code "VA" agree
- code "00120" matches countries.postal_code_regex
- No state_id (correctly null per VA having no states)

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:17
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 25, 2026
@dosubot dosubot Bot added the enhancement New feature or request label 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 f5886d9 into master Apr 25, 2026
3 checks passed
@dr5hn dr5hn deleted the feat/postcodes-vatican branch April 25, 2026 15:18
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 Vatican City (VA) to the postcodes contributions dataset by introducing the single national postcode used for the country-only (no-states) structure.

Changes:

  • Added contributions/postcodes/VA.json with postcode 00120 for country_id: 238 / country_code: "VA".

"code": "00120",
"country_id": 238,
"country_code": "VA",
"locality_name": "Citta del Vaticano",
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