Commit d4e76a23 authored by Tobias Quathamer's avatar Tobias Quathamer

Add alpha_2 codes to ISO 3166-3.

Closes: alioth#315741
Thanks: Adrian Mönnich
parent 0666ca91
{
"3166-3": [
{
"alpha_2": "AI",
"alpha_3": "AFI",
"alpha_4": "AIDJ",
"name": "French Afars and Issas",
......@@ -8,6 +9,7 @@
"withdrawal_date": "1977"
},
{
"alpha_2": "AN",
"alpha_3": "ANT",
"alpha_4": "ANHH",
"name": "Netherlands Antilles",
......@@ -15,12 +17,14 @@
"withdrawal_date": "1993-07-12"
},
{
"alpha_2": "BQ",
"alpha_3": "ATB",
"alpha_4": "BQAQ",
"name": "British Antarctic Territory",
"withdrawal_date": "1979"
},
{
"alpha_2": "BU",
"alpha_3": "BUR",
"alpha_4": "BUMM",
"name": "Burma, Socialist Republic of the Union of",
......@@ -28,6 +32,7 @@
"withdrawal_date": "1989-12-05"
},
{
"alpha_2": "BY",
"alpha_3": "BYS",
"alpha_4": "BYAA",
"name": "Byelorussian SSR Soviet Socialist Republic",
......@@ -35,6 +40,7 @@
"withdrawal_date": "1992-06-15"
},
{
"alpha_2": "CS",
"alpha_3": "CSK",
"alpha_4": "CSHH",
"name": "Czechoslovakia, Czechoslovak Socialist Republic",
......@@ -42,6 +48,7 @@
"withdrawal_date": "1993-06-15"
},
{
"alpha_2": "CS",
"alpha_3": "SCG",
"alpha_4": "CSXX",
"name": "Serbia and Montenegro",
......@@ -49,6 +56,7 @@
"withdrawal_date": "2006-06-05"
},
{
"alpha_2": "CT",
"alpha_3": "CTE",
"alpha_4": "CTKI",
"name": "Canton and Enderbury Islands",
......@@ -56,6 +64,7 @@
"withdrawal_date": "1984"
},
{
"alpha_2": "DD",
"alpha_3": "DDR",
"alpha_4": "DDDE",
"name": "German Democratic Republic",
......@@ -63,6 +72,7 @@
"withdrawal_date": "1990-10-30"
},
{
"alpha_2": "DY",
"alpha_3": "DHY",
"alpha_4": "DYBJ",
"name": "Dahomey",
......@@ -70,6 +80,7 @@
"withdrawal_date": "1977"
},
{
"alpha_2": "FQ",
"alpha_3": "ATF",
"alpha_4": "FQHH",
"comment": "now split between AQ and TF",
......@@ -77,6 +88,7 @@
"withdrawal_date": "1979"
},
{
"alpha_2": "FX",
"alpha_3": "FXX",
"alpha_4": "FXFR",
"name": "France, Metropolitan",
......@@ -84,6 +96,7 @@
"withdrawal_date": "1997-07-14"
},
{
"alpha_2": "GE",
"alpha_3": "GEL",
"alpha_4": "GEHH",
"comment": "now split into Kiribati and Tuvalu",
......@@ -92,6 +105,7 @@
"withdrawal_date": "1979"
},
{
"alpha_2": "HV",
"alpha_3": "HVO",
"alpha_4": "HVBF",
"name": "Upper Volta, Republic of",
......@@ -99,6 +113,7 @@
"withdrawal_date": "1984"
},
{
"alpha_2": "JT",
"alpha_3": "JTN",
"alpha_4": "JTUM",
"name": "Johnston Island",
......@@ -106,6 +121,7 @@
"withdrawal_date": "1986"
},
{
"alpha_2": "MI",
"alpha_3": "MID",
"alpha_4": "MIUM",
"name": "Midway Islands",
......@@ -113,6 +129,7 @@
"withdrawal_date": "1986"
},
{
"alpha_2": "NH",
"alpha_3": "NHB",
"alpha_4": "NHVU",
"name": "New Hebrides",
......@@ -120,6 +137,7 @@
"withdrawal_date": "1980"
},
{
"alpha_2": "NQ",
"alpha_3": "ATN",
"alpha_4": "NQAQ",
"name": "Dronning Maud Land",
......@@ -127,6 +145,7 @@
"withdrawal_date": "1983"
},
{
"alpha_2": "NT",
"alpha_3": "NTZ",
"alpha_4": "NTHH",
"comment": "formerly between Saudi Arabia and Iraq",
......@@ -135,6 +154,7 @@
"withdrawal_date": "1993-07-12"
},
{
"alpha_2": "PC",
"alpha_3": "PCI",
"alpha_4": "PCHH",
"comment": "divided into FM, MH, MP, and PW",
......@@ -143,6 +163,7 @@
"withdrawal_date": "1986"
},
{
"alpha_2": "PU",
"alpha_3": "PUS",
"alpha_4": "PUUM",
"name": "US Miscellaneous Pacific Islands",
......@@ -150,12 +171,14 @@
"withdrawal_date": "1986"
},
{
"alpha_2": "PZ",
"alpha_3": "PCZ",
"alpha_4": "PZPA",
"name": "Panama Canal Zone",
"withdrawal_date": "1980"
},
{
"alpha_2": "RH",
"alpha_3": "RHO",
"alpha_4": "RHZW",
"name": "Southern Rhodesia",
......@@ -163,12 +186,14 @@
"withdrawal_date": "1980"
},
{
"alpha_2": "SK",
"alpha_3": "SKM",
"alpha_4": "SKIN",
"name": "Sikkim",
"withdrawal_date": "1975"
},
{
"alpha_2": "SU",
"alpha_3": "SUN",
"alpha_4": "SUHH",
"name": "USSR, Union of Soviet Socialist Republics",
......@@ -176,6 +201,7 @@
"withdrawal_date": "1992-08-30"
},
{
"alpha_2": "TP",
"alpha_3": "TMP",
"alpha_4": "TPTL",
"comment": "was Portuguese Timor",
......@@ -184,12 +210,14 @@
"withdrawal_date": "2002-05-20"
},
{
"alpha_2": "VD",
"alpha_3": "VDR",
"alpha_4": "VDVN",
"name": "Viet-Nam, Democratic Republic of",
"withdrawal_date": "1977"
},
{
"alpha_2": "WK",
"alpha_3": "WAK",
"alpha_4": "WKUM",
"name": "Wake Island",
......@@ -197,6 +225,7 @@
"withdrawal_date": "1986"
},
{
"alpha_2": "YD",
"alpha_3": "YMD",
"alpha_4": "YDYE",
"name": "Yemen, Democratic, People's Democratic Republic of",
......@@ -204,6 +233,7 @@
"withdrawal_date": "1990-08-14"
},
{
"alpha_2": "YU",
"alpha_3": "YUG",
"alpha_4": "YUCS",
"name": "Yugoslavia, Socialist Federal Republic of",
......@@ -211,6 +241,7 @@
"withdrawal_date": "1993-07-28"
},
{
"alpha_2": "ZR",
"alpha_3": "ZAR",
"alpha_4": "ZRCD",
"name": "Zaire, Republic of",
......
......@@ -11,6 +11,11 @@
"items": {
"type": "object",
"properties": {
"alpha_2": {
"description": "Two letter alphabetic code of the item",
"type": "string",
"pattern": "^[A-Z]{2}$"
},
"alpha_3": {
"description": "Three letter alphabetic code of the item",
"type": "string",
......@@ -42,7 +47,7 @@
"pattern": "^[0-9]{4}(|-[0-9]{2}){2}$"
}
},
"required": ["alpha_3", "alpha_4", "name"],
"required": ["alpha_2", "alpha_3", "alpha_4", "name"],
"additionalProperties": false
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment