{
 "code": "WS",
 "alpha3": "WSM",
 "numeric": "882",
 "flag": "🇼🇸",
 "name": "Samoa",
 "official": "Independent State of Samoa",
 "native": [
  "Samoa",
  "Sāmoa"
 ],
 "independent": true,
 "status": "officially-assigned",
 "unMember": true,
 "region": "Oceania",
 "subregion": "Polynesia",
 "capital": [
  "Apia"
 ],
 "coords": [
  -13.58333333,
  -172.33333333
 ],
 "area": 2842,
 "landlocked": false,
 "borders": [],
 "demonym": "Samoan",
 "tld": [
  ".ws"
 ],
 "cioc": "SAM",
 "population": 208853,
 "gdp": 1359000000,
 "literacy": 98.8,
 "groups": [
  "061",
  "UN"
 ],
 "languages": [
  {
   "code": "sm",
   "name": "Samoan",
   "percent": 100,
   "writing": null,
   "status": "official"
  },
  {
   "code": "en",
   "name": "English",
   "percent": 2.1,
   "writing": null,
   "status": "official"
  }
 ],
 "locales": [
  "en-WS"
 ],
 "currencies": [
  "WST"
 ],
 "formerCurrencies": [],
 "timezones": [
  "Pacific/Apia"
 ],
 "week": {
  "firstDay": "sun",
  "weekendStart": "sat",
  "weekendEnd": "sun",
  "minDays": 1
 },
 "hourCycle": {
  "preferred": "h",
  "allowed": [
   "h",
   "H"
  ]
 },
 "calendars": [
  "gregorian"
 ],
 "measurement": {
  "system": "metric",
  "temperature": null,
  "paper": "A4"
 },
 "callingCodes": [
  "+685"
 ],
 "phone": {
  "callingCode": "685",
  "mainForCode": false,
  "intlPrefix": "0",
  "preferredIntlPrefix": "",
  "nationalPrefix": "",
  "leadingDigits": "",
  "lengths": [
   5,
   6,
   7,
   10
  ],
  "types": {
   "fixedLine": {
    "pattern": "6[1-9]\\d{3}|(?:[2-5]|60)\\d{4}",
    "example": "22123",
    "lengths": [
     "5",
     "6"
    ],
    "national": "22123",
    "international": "+685 22123",
    "e164": "+68522123",
    "layout": "XXXXX"
   },
   "mobile": {
    "pattern": "(?:7[1-35-8]|8(?:[3-7]|9\\d{3}))\\d{5}",
    "example": "7212345",
    "lengths": [
     "7",
     "10"
    ],
    "national": "72 12345",
    "international": "+685 72 12345",
    "e164": "+6857212345",
    "layout": "XX XXXXX"
   },
   "tollFree": {
    "pattern": "800\\d{3}",
    "example": "800123",
    "lengths": [
     "6"
    ],
    "national": "800 123",
    "international": "+685 800 123",
    "e164": "+685800123",
    "layout": "XXX XXX"
   }
  },
  "formats": [
   {
    "pattern": "(\\d{5})",
    "leading": [
     "[2-5]|6[1-9]"
    ],
    "format": "$1",
    "prefixRule": ""
   },
   {
    "pattern": "(\\d{3})(\\d{3,7})",
    "leading": [
     "[68]"
    ],
    "format": "$1 $2",
    "prefixRule": ""
   },
   {
    "pattern": "(\\d{2})(\\d{5})",
    "leading": [
     "7"
    ],
    "format": "$1 $2",
    "prefixRule": ""
   }
  ],
  "emergency": {
   "pattern": "9(?:11|9[4-69])",
   "example": "911",
   "lengths": "3"
  }
 },
 "address": null
}