{
 "code": "HU",
 "alpha3": "HUN",
 "numeric": "348",
 "flag": "🇭🇺",
 "name": "Hungary",
 "official": "Hungary",
 "native": [
  "Magyarország"
 ],
 "independent": true,
 "status": "officially-assigned",
 "unMember": true,
 "region": "Europe",
 "subregion": "Central Europe",
 "capital": [
  "Budapest"
 ],
 "coords": [
  47,
  20
 ],
 "area": 93028,
 "landlocked": true,
 "borders": [
  "AT",
  "HR",
  "RO",
  "RS",
  "SK",
  "SI",
  "UA"
 ],
 "demonym": "Hungarian",
 "tld": [
  ".hu"
 ],
 "cioc": "HUN",
 "population": 9855750,
 "gdp": 388900000000,
 "literacy": 99,
 "groups": [
  "151",
  "EU",
  "UN"
 ],
 "languages": [
  {
   "code": "hu",
   "name": "Hungarian",
   "percent": 100,
   "writing": null,
   "status": "official"
  },
  {
   "code": "en",
   "name": "English",
   "percent": 20,
   "writing": null,
   "status": null
  },
  {
   "code": "de",
   "name": "German",
   "percent": 18,
   "writing": null,
   "status": null
  },
  {
   "code": "fr",
   "name": "French",
   "percent": 1.2,
   "writing": null,
   "status": null
  },
  {
   "code": "ro",
   "name": "Romanian",
   "percent": 0.99,
   "writing": null,
   "status": null
  },
  {
   "code": "hr",
   "name": "Croatian",
   "percent": 0.32,
   "writing": null,
   "status": null
  },
  {
   "code": "sk",
   "name": "Slovak",
   "percent": 0.12,
   "writing": null,
   "status": null
  },
  {
   "code": "sl",
   "name": "Slovenian",
   "percent": 0.051,
   "writing": null,
   "status": null
  }
 ],
 "locales": [
  "en-HU",
  "hu-HU"
 ],
 "currencies": [
  "HUF"
 ],
 "formerCurrencies": [],
 "timezones": [
  "Europe/Budapest"
 ],
 "week": {
  "firstDay": "mon",
  "weekendStart": "sat",
  "weekendEnd": "sun",
  "minDays": 4
 },
 "hourCycle": {
  "preferred": "H",
  "allowed": [
   "H",
   "h"
  ]
 },
 "calendars": [
  "gregorian"
 ],
 "measurement": {
  "system": "metric",
  "temperature": null,
  "paper": "A4"
 },
 "callingCodes": [
  "+36"
 ],
 "phone": {
  "callingCode": "36",
  "mainForCode": false,
  "intlPrefix": "00",
  "preferredIntlPrefix": "",
  "nationalPrefix": "06",
  "leadingDigits": "",
  "lengths": [
   8,
   9
  ],
  "types": {
   "fixedLine": {
    "pattern": "(?:1\\d|[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6[23689]|8[2-57-9]|9[2-69])\\d{6}",
    "example": "12345678",
    "lengths": [
     "8"
    ],
    "national": "(06 1) 234 5678",
    "international": "+36 1 234 5678",
    "e164": "+3612345678",
    "layout": "(XX X) XXX XXXX"
   },
   "mobile": {
    "pattern": "(?:[257]0|3[01])\\d{7}",
    "example": "201234567",
    "lengths": [
     "9"
    ],
    "national": "06 20 123 4567",
    "international": "+36 20 123 4567",
    "e164": "+36201234567",
    "layout": "XX XX XXX XXXX"
   },
   "tollFree": {
    "pattern": "(?:[48]0\\d|680[29])\\d{5}",
    "example": "80123456",
    "lengths": [
     "8",
     "9"
    ],
    "national": "06 80 123 456",
    "international": "+36 80 123 456",
    "e164": "+3680123456",
    "layout": "XX XX XXX XXX"
   },
   "premiumRate": {
    "pattern": "9[01]\\d{6}",
    "example": "90123456",
    "lengths": [
     "8"
    ],
    "national": "06 90 123 456",
    "international": "+36 90 123 456",
    "e164": "+3690123456",
    "layout": "XX XX XXX XXX"
   },
   "voip": {
    "pattern": "21\\d{7}",
    "example": "211234567",
    "lengths": [
     "9"
    ],
    "national": "06 21 123 4567",
    "international": "+36 21 123 4567",
    "e164": "+36211234567",
    "layout": "XX XX XXX XXXX"
   },
   "uan": {
    "pattern": "38\\d{7}",
    "example": "381234567",
    "lengths": [
     "9"
    ],
    "national": "06 38 123 4567",
    "international": "+36 38 123 4567",
    "e164": "+36381234567",
    "layout": "XX XX XXX XXXX"
   }
  },
  "formats": [
   {
    "pattern": "(\\d)(\\d{3})(\\d{4})",
    "leading": [
     "1"
    ],
    "format": "$1 $2 $3",
    "prefixRule": "($NP $FG)"
   },
   {
    "pattern": "(\\d{2})(\\d{3})(\\d{3})",
    "leading": [
     "[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"
    ],
    "format": "$1 $2 $3",
    "prefixRule": "($NP $FG)"
   },
   {
    "pattern": "(\\d{2})(\\d{3})(\\d{3,4})",
    "leading": [
     "[2-9]"
    ],
    "format": "$1 $2 $3",
    "prefixRule": "$NP $FG"
   }
  ],
  "emergency": {
   "pattern": "1(?:0[457]|12)",
   "example": "104",
   "lengths": "3"
  }
 },
 "address": {
  "format": "%N%n%O%n%C%n%A%n%Z",
  "lines": [
   "{Name}",
   "{Organization}",
   "{City}",
   "{Street address}",
   "{Postal code}"
  ],
  "required": [
   "Street address",
   "City",
   "Postal code"
  ],
  "postalRegex": "\\d{4}",
  "postalExamples": [
   "1037",
   "2380",
   "1540"
  ],
  "uppercase": [
   "Street address",
   "City",
   "Name",
   "Organization"
  ],
  "postUrl": "http://posta.hu/ugyfelszolgalat/iranyitoszam_kereso"
 }
}