{
 "code": "AF",
 "alpha3": "AFG",
 "numeric": "004",
 "flag": "🇦🇫",
 "name": "Afghanistan",
 "official": "Islamic Republic of Afghanistan",
 "native": [
  "افغانستان",
  "Owganystan"
 ],
 "independent": true,
 "status": "officially-assigned",
 "unMember": true,
 "region": "Asia",
 "subregion": "Southern Asia",
 "capital": [
  "Kabul"
 ],
 "coords": [
  33,
  65
 ],
 "area": 652230,
 "landlocked": true,
 "borders": [
  "IR",
  "PK",
  "TM",
  "UZ",
  "TJ",
  "CN"
 ],
 "demonym": "Afghan",
 "tld": [
  ".af"
 ],
 "cioc": "AFG",
 "population": 40121600,
 "gdp": 80420000000,
 "literacy": 28.1,
 "groups": [
  "034",
  "UN"
 ],
 "languages": [
  {
   "code": "fa",
   "name": "Persian",
   "percent": 50,
   "writing": null,
   "status": "official"
  },
  {
   "code": "ps",
   "name": "Pashto",
   "percent": 43,
   "writing": null,
   "status": "official"
  },
  {
   "code": "uz-Arab",
   "name": null,
   "percent": 4.7,
   "writing": null,
   "status": "official_regional"
  },
  {
   "code": "tk",
   "name": "Turkmen",
   "percent": 1.7,
   "writing": null,
   "status": "official_regional"
  },
  {
   "code": "haz",
   "name": null,
   "percent": 5.9,
   "writing": null,
   "status": null
  },
  {
   "code": "prd",
   "name": null,
   "percent": 1.2,
   "writing": null,
   "status": null
  },
  {
   "code": "bgn",
   "name": "Western Balochi",
   "percent": 0.63,
   "writing": 5,
   "status": null
  },
  {
   "code": "kaa",
   "name": "Kara-Kalpak",
   "percent": 0.0084,
   "writing": null,
   "status": null
  },
  {
   "code": "ug",
   "name": "Uyghur",
   "percent": 0.0075,
   "writing": null,
   "status": null
  },
  {
   "code": "kk-Arab",
   "name": null,
   "percent": 0.005,
   "writing": null,
   "status": null
  }
 ],
 "locales": [
  "bgn-AF",
  "fa-AF",
  "ps-AF",
  "uz-Arab-AF"
 ],
 "currencies": [
  "AFN"
 ],
 "formerCurrencies": [
  "AFA"
 ],
 "timezones": [
  "Asia/Kabul"
 ],
 "week": {
  "firstDay": "sat",
  "weekendStart": "thu",
  "weekendEnd": "fri",
  "minDays": 1
 },
 "hourCycle": {
  "preferred": "H",
  "allowed": [
   "H",
   "hb",
   "hB",
   "h"
  ]
 },
 "calendars": [
  "persian",
  "gregorian",
  "islamic",
  "islamic-civil",
  "islamic-tbla"
 ],
 "measurement": {
  "system": "metric",
  "temperature": null,
  "paper": "A4"
 },
 "callingCodes": [
  "+93"
 ],
 "phone": {
  "callingCode": "93",
  "mainForCode": false,
  "intlPrefix": "00",
  "preferredIntlPrefix": "",
  "nationalPrefix": "0",
  "leadingDigits": "",
  "lengths": [
   9
  ],
  "types": {
   "fixedLine": {
    "pattern": "(?:[25][0-8]|[34][0-4]|6[0-5])[2-9]\\d{6}",
    "example": "234567890",
    "lengths": [
     "9"
    ],
    "national": "023 456 7890",
    "international": "+93 23 456 7890",
    "e164": "+93234567890",
    "layout": "XXX XXX XXXX"
   },
   "mobile": {
    "pattern": "7\\d{8}",
    "example": "701234567",
    "lengths": [
     "9"
    ],
    "national": "070 123 4567",
    "international": "+93 70 123 4567",
    "e164": "+93701234567",
    "layout": "XXX XXX XXXX"
   }
  },
  "formats": [
   {
    "pattern": "(\\d{3})(\\d{4})",
    "leading": [
     "[1-9]"
    ],
    "format": "$1 $2",
    "intlFormat": "",
    "prefixRule": ""
   },
   {
    "pattern": "(\\d{2})(\\d{3})(\\d{4})",
    "leading": [
     "[2-7]"
    ],
    "format": "$1 $2 $3",
    "prefixRule": "$NP$FG"
   }
  ],
  "emergency": {
   "pattern": "1(?:0[02]|19)",
   "example": "100",
   "lengths": "3"
  }
 },
 "address": {
  "format": "%N%n%O%n%A%n%C%n%Z",
  "lines": [
   "{Name}",
   "{Organization}",
   "{Street address}",
   "{City}",
   "{Postal code}"
  ],
  "required": [],
  "postalRegex": "\\d{4}",
  "postalExamples": [
   "1001",
   "2601",
   "3801"
  ]
 }
}