Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 1.28 KB

002-subdivision-with-own-iso-3166-1-alpha-2.md

File metadata and controls

33 lines (21 loc) · 1.28 KB

Subdivisions with Their Own ISO 3166-1 Alpha-2 Codes as Separate Files

Status

Accepted

Context

Jollyday provides holiday information about subdivisions. Subdivisions described in ISO 3166-2 can have both an ISO 3166-1 alpha-2 code and an ISO 3166-2 code. In these cases, we want to declare the subdivision under their ISO 3166-2 code and not under their ISO 3166-1 alpha-2 code.

For example, Guadeloupe is an overseas department of France in the Caribbean and has the ISO 3166-2 code GP and the ISO 3166-1 alpha-2 code FR-971.

Decision

The decision is to only publish subdivisions that have an ISO 3166-2 code under their ISO 3166-2 code and not under their ISO 3166-1 alpha-2 code.

Consequences

The subdivision will not be configured and will also not be left empty like this:

<SubConfigurations hierarchy="971" description="Guadeloupe">
  <Holidays/>
</SubConfigurations>

Instead, the subdivision will be added separately in its own file, e.g., in Holidays_gp.xml.