Commit 45c15865 authored by Tobias Quathamer's avatar Tobias Quathamer

Add JSON data files

parent 5a99f4dc
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"3166-3": [
{
"alpha_3": "AFI",
"alpha_4": "AIDJ",
"name": "French Afars and Issas",
"numeric": "262",
"withdrawal_date": "1977"
},
{
"alpha_3": "ANT",
"alpha_4": "AN",
"name": "Netherlands Antilles",
"numeric": "532",
"withdrawal_date": "1993-07-12"
},
{
"alpha_3": "ATB",
"alpha_4": "BQAQ",
"name": "British Antarctic Territory",
"withdrawal_date": "1979"
},
{
"alpha_3": "BUR",
"alpha_4": "BUMM",
"name": "Burma, Socialist Republic of the Union of",
"numeric": "104",
"withdrawal_date": "1989-12-05"
},
{
"alpha_3": "BYS",
"alpha_4": "BYAA",
"name": "Byelorussian SSR Soviet Socialist Republic",
"numeric": "112",
"withdrawal_date": "1992-06-15"
},
{
"alpha_3": "CSK",
"alpha_4": "CSHH",
"name": "Czechoslovakia, Czechoslovak Socialist Republic",
"numeric": "200",
"withdrawal_date": "1993-06-15"
},
{
"alpha_3": "SCG",
"alpha_4": "CSXX",
"name": "Serbia and Montenegro",
"numeric": "891",
"withdrawal_date": "2006-06-05"
},
{
"alpha_3": "CTE",
"alpha_4": "CTKI",
"name": "Canton and Enderbury Islands",
"numeric": "128",
"withdrawal_date": "1984"
},
{
"alpha_3": "DDR",
"alpha_4": "DDDE",
"name": "German Democratic Republic",
"numeric": "278",
"withdrawal_date": "1990-10-30"
},
{
"alpha_3": "DEU",
"alpha_4": "DE",
"name": "Germany, Federal Republic of",
"numeric": "280",
"withdrawal_date": "1990-10-30"
},
{
"alpha_3": "DHY",
"alpha_4": "DYBJ",
"name": "Dahomey",
"numeric": "204",
"withdrawal_date": "1977"
},
{
"alpha_3": "ESH",
"alpha_4": "EH",
"comment": "now Western Sahara",
"name": "Spanish Sahara",
"numeric": "732",
"withdrawal_date": "1988"
},
{
"alpha_3": "ETH",
"alpha_4": "ET",
"name": "Ethiopia",
"numeric": "230",
"withdrawal_date": "1993-07-16"
},
{
"alpha_3": "ATF",
"alpha_4": "FQHH",
"comment": "now split between AQ and TF",
"name": "French Southern and Antarctic Territories",
"withdrawal_date": "1979"
},
{
"alpha_3": "FXX",
"alpha_4": "FXFR",
"name": "France, Metropolitan",
"numeric": "249",
"withdrawal_date": "1997-07-14"
},
{
"alpha_3": "GEL",
"alpha_4": "GEHH",
"comment": "now split into Kiribati and Tuvalu",
"name": "Gilbert and Ellice Islands",
"numeric": "296",
"withdrawal_date": "1979"
},
{
"alpha_3": "HVO",
"alpha_4": "HVBF",
"name": "Upper Volta, Republic of",
"numeric": "854",
"withdrawal_date": "1984"
},
{
"alpha_3": "JTN",
"alpha_4": "JTUM",
"name": "Johnston Island",
"numeric": "396",
"withdrawal_date": "1986"
},
{
"alpha_3": "KNA",
"alpha_4": "KN",
"comment": "now St. Kitts and Nevis and Anguilla",
"name": "St. Kitts-Nevis-Anguilla",
"numeric": "658",
"withdrawal_date": "1988"
},
{
"alpha_3": "MID",
"alpha_4": "MIUM",
"name": "Midway Islands",
"numeric": "488",
"withdrawal_date": "1986"
},
{
"alpha_3": "NHB",
"alpha_4": "NHVU",
"name": "New Hebrides",
"numeric": "548",
"withdrawal_date": "1980"
},
{
"alpha_3": "ATN",
"alpha_4": "NQAQ",
"name": "Dronning Maud Land",
"numeric": "216",
"withdrawal_date": "1983"
},
{
"alpha_3": "NTZ",
"alpha_4": "NTHH",
"comment": "formerly between Saudi Arabia and Iraq",
"name": "Neutral Zone",
"numeric": "536",
"withdrawal_date": "1993-07-12"
},
{
"alpha_3": "PAN",
"alpha_4": "PA",
"name": "Panama, Republic of",
"numeric": "590",
"withdrawal_date": "1993-07-22"
},
{
"alpha_3": "PCI",
"alpha_4": "PCHH",
"comment": "divided into FM, MH, MP, and PW",
"name": "Pacific Islands (trust territory)",
"numeric": "582",
"withdrawal_date": "1986"
},
{
"alpha_3": "PUS",
"alpha_4": "PUUM",
"name": "US Miscellaneous Pacific Islands",
"numeric": "849",
"withdrawal_date": "1986"
},
{
"alpha_3": "PCZ",
"alpha_4": "PZPA",
"name": "Panama Canal Zone",
"withdrawal_date": "1980"
},
{
"alpha_3": "RHO",
"alpha_4": "RHZW",
"name": "Southern Rhodesia",
"numeric": "716",
"withdrawal_date": "1980"
},
{
"alpha_3": "ROM",
"alpha_4": "RO",
"name": "Romania, Socialist Republic of",
"numeric": "642",
"withdrawal_date": "2002-02-01"
},
{
"alpha_3": "SKM",
"alpha_4": "SKIN",
"name": "Sikkim",
"withdrawal_date": "1975"
},
{
"alpha_3": "SUN",
"alpha_4": "SUHH",
"name": "USSR, Union of Soviet Socialist Republics",
"numeric": "810",
"withdrawal_date": "1992-08-30"
},
{
"alpha_3": "TMP",
"alpha_4": "TPTL",
"comment": "was Portuguese Timor",
"name": "East Timor",
"numeric": "626",
"withdrawal_date": "2002-05-20"
},
{
"alpha_3": "VAT",
"alpha_4": "VA",
"name": "Vatican City State (Holy See)",
"numeric": "336",
"withdrawal_date": "1996-04-03"
},
{
"alpha_3": "VDR",
"alpha_4": "VDVN",
"name": "Viet-Nam, Democratic Republic of",
"withdrawal_date": "1977"
},
{
"alpha_3": "WAK",
"alpha_4": "WKUM",
"name": "Wake Island",
"numeric": "872",
"withdrawal_date": "1986"
},
{
"alpha_3": "YMD",
"alpha_4": "YDYE",
"name": "Yemen, Democratic, People's Democratic Republic of",
"numeric": "720",
"withdrawal_date": "1990-08-14"
},
{
"alpha_3": "YEM",
"alpha_4": "YE",
"name": "Yemen, Yemen Arab Republic",
"numeric": "891",
"withdrawal_date": "1990-08-14"
},
{
"alpha_3": "YUG",
"alpha_4": "YUCS",
"name": "Yugoslavia, Socialist Federal Republic of",
"numeric": "891",
"withdrawal_date": "1993-07-28"
},
{
"alpha_3": "ZAR",
"alpha_4": "ZRCD",
"name": "Zaire, Republic of",
"numeric": "180",
"withdrawal_date": "1997-07-14"
}
]
}
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"639-5": [
{
"alpha_3": "aav",
"name": "Austro-Asiatic languages"
},
{
"alpha_3": "afa",
"name": "Afro-Asiatic languages"
},
{
"alpha_3": "art",
"name": "Artificial languages"
},
{
"alpha_3": "aus",
"name": "Australian languages"
},
{
"alpha_3": "cai",
"name": "Central American Indian languages"
},
{
"alpha_3": "cau",
"name": "Caucasian languages"
},
{
"alpha_3": "crp",
"name": "Creoles and pidgins"
},
{
"alpha_3": "day",
"name": "Land Dayak languages"
},
{
"alpha_3": "dra",
"name": "Dravidian languages"
},
{
"alpha_3": "esx",
"name": "Eskimo-Aleut languages"
},
{
"alpha_3": "euq",
"name": "Basque (family)"
},
{
"alpha_3": "hmx",
"name": "Hmong-Mien languages"
},
{
"alpha_3": "ine",
"name": "Indo-European languages"
},
{
"alpha_3": "jpx",
"name": "Japanese (family)"
},
{
"alpha_3": "khi",
"name": "Khoisan languages"
},
{
"alpha_3": "map",
"name": "Austronesian languages"
},
{
"alpha_3": "nai",
"name": "North American Indian languages"
},
{
"alpha_3": "nic",
"name": "Niger-Kordofanian languages"
},
{
"alpha_3": "paa",
"name": "Papuan languages"
},
{
"alpha_3": "sai",
"name": "South American Indian languages"
},
{
"alpha_3": "sgn",
"name": "sign languages"
},
{
"alpha_3": "sit",
"name": "Sino-Tibetan languages"
},
{
"alpha_3": "ssa",
"name": "Nilo-Saharan languages"
},
{
"alpha_3": "tai",
"name": "Tai languages"
},
{
"alpha_3": "tut",
"name": "Altaic languages"
},
{
"alpha_3": "urj",
"name": "Uralic languages"
}
]
}
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ISO 15924",
"description": "Codes for the representation of names of scripts",
"type": "object",
"properties": {
"15924": {
"type": "array",
"items": {
"type": "object",
"properties": {
"alpha_4": {
"description": "Four letter alphabetic code of the script",
"type": "string",
"pattern": "^[A-Z][a-z]{3}$"
},
"name": {
"description": "Name of the script",
"type": "string",
"minLength": 1
},
"numeric": {
"description": "Three digit numeric code of the script, including leading zeros",
"type": "string",
"pattern": "^[0-9]{3}$"
},
},
"required": ["alpha_4", "name", "numeric"],
"additionalProperties": false
}
}
},
"additionalProperties": false
}
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ISO 3166-1",
"description": "ISO 3166-1 country codes",
"type": "object",
"properties": {
"3166-1": {
"type": "array",
"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",
"pattern": "^[A-Z]{3}$"
},
"name": {
"description": "Name of the item",
"type": "string",
"minLength": 1
},
"numeric": {
"description": "Three digit numeric code of the item, including leading zeros",
"type": "string",
"pattern": "^[0-9]{3}$"
},
"official_name": {
"description": "Official name of the item (optional)",
"type": "string",
"minLength": 1
},
"common_name": {
"description": "Common name of the item (optional)",
"type": "string",
"minLength": 1
}
},
"required": ["alpha_2", "alpha_3", "name", "numeric"],
"additionalProperties": false
}
}
},
"additionalProperties": false
}
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ISO 3166-2",
"description": "ISO 3166-2 country and subdivision codes",
"type": "object",
"properties": {
"3166-2": {
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"description": "Two letter alphabetic code of the country",
"type": "string",
"pattern": "^[A-Z]{2}$"
},
"subsets": {
"description": "Subsets of the country",
"type": "array",
"items": {
"type": "object",
"properties": {
"items": {
"description": "Items of the country subset",
"type": "array",
"items": {
"type": "object",
"properties": {
"code": {
"description": "Code of the country subset item",
"type": "string",
"pattern": "^[A-Z]{2}-[A-Z0-9]+$"
},
"name": {
"description": "Name of the country subset item",
"type": "string",
"minLength": 1
},
"parent": {
"description": "Parent of the country subset item (optional)",
"type": "string",
"minLength": 1
},
},
"required": ["code", "name"],
"additionalProperties": false
}
},
"type": {
"description": "Type of subset of the country",
"type": "string"
},
},
"required": ["items", "type"],
"additionalProperties": false
}
},
},
"required": ["code", "subsets"],
"additionalProperties": false
}
}
},
"additionalProperties": false
}
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ISO 3166-3",
"description": "ISO 3166-3 formerly used country codes",
"type": "object",
"properties": {
"3166-3": {
"type": "array",
"items": {
"type": "object",
"properties": {
"alpha_3": {
"description": "Three letter alphabetic code of the item",
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"alpha_4": {
"description": "Four letter alphabetic code of the item",
"type": "string",
"pattern": "^[A-Z]{2,4}$"
},
"name": {
"description": "Name of the item",
"type": "string",
"minLength": 1
},
"numeric": {
"description": "Three digit numeric code of the item, including leading zeros (optional)",
"type": "string",
"pattern": "^[0-9]{3}$"
},
"comment": {
"description": "Comment for the item (optional)",
"type": "string",
"minLength": 1
},
"withdrawal_date": {
"description": "Date of withdrawal from ISO 3166-1 (optional)",
"type": "string",
"pattern": "^[0-9]{4}(|-[0-9]{2}){2}$"
}
},
"required": ["alpha_3", "alpha_4", "name"],
"additionalProperties": false
}
}
},
"additionalProperties": false
}
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ISO 4217",
"description": "ISO 4217 language family and groups codes",
"type": "object",
"properties": {
"4217": {
"type": "array",
"items": {
"type": "object",
"properties": {
"alpha_3": {
"description": "Three letter code of the currency",
"type": "string",
"pattern": "^[A-Z]{3}$"
},
"name": {
"description": "Name of currency",
"type": "string",
"minLength": 1
},
"numeric": {
"description": "Three digit numeric code of the item, including leading zeros",
"type": "string",
"pattern": "^[0-9]{3}$"
}
},
"required": ["alpha_3", "name", "numeric"],
"additionalProperties": false
}
}
},
"additionalProperties": false
}
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ISO 639-2",
"description": "ISO 639-2 language codes",
"type": "object",
"properties": {
"639-2": {
"type": "array",
"items": {
"type": "object",
"properties": {
"alpha_3": {
"description": "Three letter terminology code of the language",
"type": "string",
"pattern": "^[a-z]{3}(-[a-z]{3})?$"
},
"name": {
"description": "Name of the item",
"type": "string",
"minLength": 1
},
"alpha_2": {
"description": "Two letter alphabetic code of the language from part 1 (optional)",
"type": "string",
"pattern": "^[a-z]{2}$"
},
"bibliographic": {
"description": "Three letter bibliographic code of the language (optional)",
"type": "string",
"pattern": "^[a-z]{3}$"
},
"common_name": {
"description": "Common name of the language (optional)",
"type": "string",
"minLength": 1
}
},
"required": ["alpha_3", "name"],
"additionalProperties": false
}
}
},
"additionalProperties": false
}
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "ISO 639-3",
"description": "ISO 639-3 language codes",
"type": "object",
"properties": {
"639-3": {
"type": "array",
"items": {
"type": "object",
"properties": {
"alpha_3": {
"description": "Three letter code of the language",
"type": "string",
"pattern": "^[a-z]{3}$"
},
"name": {
"description": "Reference name of the language",
"type": "string",
"minLength": 1
},
"scope": {
"description": "Scope of the language: I(ndividual), M(acrolanguage), S(pecial)",
"type": "string",
"pattern": "^[IMS]$"
},
"type": {
"description": "Type of the language: A(ncient), C(onstructed), E(xtinct), H(istorical), L(iving), S(pecial)",
"type": "string",
"pattern": "^[ACEHLS]$"
},
"alpha_2": {
"description": "Two letter alphabetic code of the language from part 1 (optional)",
"type": "string",
"pattern": "^[a-z]{2}$"
},
"common_name": {
"description": "Common name of the language (optional)",
"type": "string",