{
  "meta": {
    "data_version": "4.2.0",
    "contract_version": "4.2",
    "built_at": "2026-11-21T04:12:40Z",
    "license": "CC-BY-4.0",
    "source": "https://github.com/datenoio/internacia-db/releases/tag/v4.2.0",
    "html": "https://internacia.io/countries/eh/",
    "markdown": "https://internacia.io/countries/eh.md",
    "license_notes": [
      "The centroid field is extracted from mledoze/countries and remains under ODbL-1.0; every other field is CC-BY-4.0."
    ],
    "api": "https://internacia.io/api/v1/index.json"
  },
  "data": {
    "code": "EH",
    "name": "Western Sahara",
    "iso3code": "ESH",
    "capital_city": {
      "name": "El Aaiún",
      "lat": 27.15,
      "lng": -13.2
    },
    "numeric_code": "732",
    "wikidata_id": "Q6250",
    "geonames_id": "2461445",
    "fips_code": "WI",
    "official_name": "Sahrawi Arab Democratic Republic",
    "languages": [
      {
        "code": "ber",
        "name": "Berber"
      },
      {
        "code": "mey",
        "name": "Hassaniya"
      },
      {
        "code": "spa",
        "name": "Spanish"
      }
    ],
    "currencies": [
      {
        "code": "DZD",
        "name": "Algerian dinar",
        "symbol": "دج"
      },
      {
        "code": "MAD",
        "name": "Moroccan dirham",
        "symbol": "DH"
      },
      {
        "code": "MRU",
        "name": "Mauritanian ouguiya",
        "symbol": "UM"
      }
    ],
    "un_member": false,
    "un_status": "non_member",
    "independent": false,
    "subregion": "Northern Africa",
    "continents": [
      "Africa"
    ],
    "borders": [
      "DZA",
      "MRT",
      "MAR"
    ],
    "landlocked": false,
    "tld": ".eh",
    "calling_codes": [
      "+2125288",
      "+2125289"
    ],
    "flag_emoji": "🇪🇭",
    "car_side": "right",
    "start_of_week": "monday",
    "demonyms": {
      "female": "Sahrawi",
      "male": "Sahrawi"
    },
    "m49_code": "732",
    "other_names": [
      {
        "id": "ar",
        "name": "الصحراء الغربية"
      },
      {
        "id": "zh",
        "name": "西撒哈拉"
      },
      {
        "id": "en",
        "name": "Western Sahara"
      },
      {
        "id": "fr",
        "name": "Sahara occidental"
      },
      {
        "id": "ru",
        "name": "Западная Сахара"
      },
      {
        "id": "es",
        "name": "Sahara Occidental"
      }
    ],
    "common_names": [
      "Sahrawi Arab Democratic Republic"
    ],
    "population": {
      "value": 582000,
      "year": null,
      "source": "Wikidata",
      "source_id": "P1082"
    },
    "area": {
      "value": 266000,
      "year": null,
      "source": "Wikidata",
      "source_id": "P2046"
    },
    "timezones": [
      "Africa/El_Aaiun"
    ],
    "native_names": {
      "es": {
        "official": "Sáhara Occidental",
        "common": "Sahara Occidental"
      }
    },
    "code_status": "official_iso3166_1",
    "entity_type": "disputed_territory",
    "provenance": [
      {
        "field": "centroid",
        "source": "mledoze/countries",
        "url": "https://github.com/mledoze/countries",
        "retrieved_at": "2026-06-15"
      },
      {
        "field": "region",
        "source": "UN M49 inference",
        "retrieved_at": "2026-06-15",
        "url": "https://unstats.un.org/unsd/methodology/m49/"
      },
      {
        "field": "population",
        "source": "Wikidata",
        "retrieved_at": "2026-06-15",
        "url": "https://www.wikidata.org/"
      },
      {
        "field": "area",
        "source": "Wikidata",
        "retrieved_at": "2026-06-15",
        "url": "https://www.wikidata.org/"
      },
      {
        "field": "timezones",
        "source": "IANA tzdata",
        "retrieved_at": "2026-06-15",
        "url": "https://data.iana.org/time-zones/tzdb/zone1970.tab",
        "license": "Public domain"
      },
      {
        "field": "native_names",
        "source": "Wikidata (official name P1448, label, native label P1705)",
        "retrieved_at": "2026-11-19",
        "url": "https://www.wikidata.org/wiki/Q6250",
        "license": "CC0"
      },
      {
        "field": "adminregion",
        "source": "UN M49 inference",
        "retrieved_at": "2026-06-15",
        "url": "https://unstats.un.org/unsd/methodology/m49/"
      },
      {
        "field": "incomeLevel",
        "source": "UN M49 inference",
        "retrieved_at": "2026-06-15",
        "url": "https://unstats.un.org/unsd/methodology/m49/"
      },
      {
        "field": "lendingType",
        "source": "UN M49 inference",
        "retrieved_at": "2026-06-15",
        "url": "https://unstats.un.org/unsd/methodology/m49/"
      },
      {
        "field": "writing_directions",
        "source": "Internacia attribute-intblock migration",
        "retrieved_at": "2026-08-03",
        "url": "https://github.com/datenoio/internacia-db",
        "license": "CC-BY-4.0"
      },
      {
        "field": "geonames_id",
        "source": "GeoNames countryInfo.txt",
        "url": "https://download.geonames.org/export/dump/countryInfo.txt",
        "retrieved_at": "2026-09-29",
        "license": "CC-BY-4.0"
      },
      {
        "field": "fips_code",
        "source": "GeoNames countryInfo.txt (legacy FIPS 10-4-compatible code)",
        "url": "https://download.geonames.org/export/dump/countryInfo.txt",
        "retrieved_at": "2026-09-29",
        "license": "CC-BY-4.0"
      }
    ],
    "centroid": {
      "lat": 24.5,
      "lng": -13
    },
    "region": {
      "id": "MEA",
      "value": "Middle East, North Africa, Afghanistan & Pakistan"
    },
    "incomeLevel": {
      "id": "LMC",
      "value": "Lower middle income"
    },
    "lendingType": {
      "id": "LNX",
      "value": "Not classified"
    },
    "adminregion": {
      "id": "MNA",
      "value": "Middle East, North Africa, Afghanistan & Pakistan (excluding high income)"
    },
    "writing_directions": [
      {
        "id": "rtl",
        "primary": true
      }
    ],
    "_current_member_count": 15,
    "_status_counts": {
      "member": 13,
      "founding_member": 1,
      "participant": 1
    },
    "_blocktype_counts": {
      "geographic": 2,
      "fta": 1,
      "court": 1,
      "economic": 1,
      "energy": 1,
      "climate": 1,
      "political": 1,
      "police": 1,
      "humanitarian": 1,
      "development": 1,
      "armscontrol": 1,
      "parliamentary": 1,
      "agreement": 1,
      "wbgroup": 1
    },
    "_memberships": [
      {
        "block_id": "AfCFTA",
        "block_name": "African Continental Free Trade Area",
        "acronym": "AfCFTA",
        "blocktype": "fta",
        "block_status": "formal",
        "status": "member",
        "joined": "2019-04-30",
        "left": null,
        "role": null,
        "note": null,
        "current": true
      },
      {
        "block_id": "ACTHPR",
        "block_name": "African Court on Human and Peoples' Rights",
        "acronym": "ACtHPR",
        "blocktype": "court",
        "block_status": "formal",
        "status": "member",
        "joined": null,
        "left": null,
        "role": null,
        "note": "State party to the 1998 Protocol establishing the Court",
        "current": true
      },
      {
        "block_id": "AEC",
        "block_name": "African Economic Community",
        "acronym": "AEC",
        "blocktype": "economic",
        "block_status": "formal",
        "status": "founding_member",
        "joined": "1992-08-25",
        "left": null,
        "role": null,
        "note": null,
        "current": true
      },
      {
        "block_id": "AFREC",
        "block_name": "African Energy Commission",
        "acronym": "AFREC",
        "blocktype": "energy",
        "block_status": "formal",
        "status": "member",
        "joined": null,
        "left": null,
        "role": null,
        "note": null,
        "current": true
      },
      {
        "block_id": "ARC",
        "block_name": "African Risk Capacity",
        "acronym": "ARC",
        "blocktype": "climate",
        "block_status": "formal",
        "status": "member",
        "joined": "2012-11-23",
        "left": null,
        "role": null,
        "note": "Sahrawi Arab Democratic Republic (SADR); AU member party to ARC Establishment Agreement",
        "current": true
      },
      {
        "block_id": "AFUNION",
        "block_name": "African Union",
        "acronym": "AU",
        "blocktype": "political",
        "block_status": "formal",
        "status": "member",
        "joined": "1982-02-22",
        "left": null,
        "role": null,
        "note": "Sahrawi Arab Democratic Republic; admitted to the OAU on 22 February 1982, founding AU member",
        "current": true
      },
      {
        "block_id": "AFRIPOL",
        "block_name": "African Union Mechanism for Police Cooperation",
        "acronym": "AFRIPOL",
        "blocktype": "police",
        "block_status": "formal",
        "status": "member",
        "joined": null,
        "left": null,
        "role": null,
        "note": null,
        "current": true
      },
      {
        "block_id": "ICRC",
        "block_name": "International Committee of the Red Cross",
        "acronym": "ICRC",
        "blocktype": "humanitarian",
        "block_status": "formal",
        "status": "participant",
        "joined": null,
        "left": null,
        "role": null,
        "note": null,
        "current": true
      },
      {
        "block_id": "ICSU",
        "block_name": "International Council for Science",
        "acronym": "ICSU",
        "blocktype": "research",
        "block_status": "historical",
        "status": "member",
        "joined": null,
        "left": null,
        "role": null,
        "note": null,
        "current": false
      },
      {
        "block_id": "MAGHREB",
        "block_name": "Maghreb",
        "acronym": null,
        "blocktype": "geographic",
        "block_status": "informal",
        "status": "member",
        "joined": null,
        "left": null,
        "role": null,
        "note": null,
        "current": true
      },
      {
        "block_id": "NEPAD",
        "block_name": "New Partnership for Africa's Development",
        "acronym": "NEPAD",
        "blocktype": "development",
        "block_status": "formal",
        "status": "member",
        "joined": null,
        "left": null,
        "role": null,
        "note": null,
        "current": true
      },
      {
        "block_id": "NORTHAFRICA",
        "block_name": "North Africa",
        "acronym": null,
        "blocktype": "geographic",
        "block_status": "informal",
        "status": "member",
        "joined": null,
        "left": null,
        "role": null,
        "note": null,
        "current": true
      },
      {
        "block_id": "NWFZ",
        "block_name": "Nuclear-Weapon-Free Zones",
        "acronym": "NWFZ",
        "blocktype": "armscontrol",
        "block_status": "informal",
        "status": "member",
        "joined": null,
        "left": null,
        "role": null,
        "note": null,
        "current": true
      },
      {
        "block_id": "PAP",
        "block_name": "Pan-African Parliament",
        "acronym": "PAP",
        "blocktype": "parliamentary",
        "block_status": "formal",
        "status": "member",
        "joined": null,
        "left": null,
        "role": null,
        "note": null,
        "current": true
      },
      {
        "block_id": "PELINDABA",
        "block_name": "Treaty of Pelindaba",
        "acronym": null,
        "blocktype": "agreement",
        "block_status": "formal",
        "status": "member",
        "joined": null,
        "left": null,
        "role": null,
        "note": null,
        "current": true
      },
      {
        "block_id": "WLD",
        "block_name": "World",
        "acronym": null,
        "blocktype": "wbgroup",
        "block_status": "formal",
        "status": "member",
        "joined": null,
        "left": null,
        "role": null,
        "note": null,
        "current": true
      }
    ],
    "_similar": [
      {
        "code": "AQ",
        "name": "Antarctica",
        "shared": 1,
        "jaccard": 0.0667,
        "flag_emoji": "🇦🇶"
      },
      {
        "code": "CC",
        "name": "Cocos (Keeling) Islands",
        "shared": 1,
        "jaccard": 0.0667,
        "flag_emoji": "🇨🇨"
      },
      {
        "code": "CX",
        "name": "Christmas Island",
        "shared": 1,
        "jaccard": 0.0667,
        "flag_emoji": "🇨🇽"
      },
      {
        "code": "HM",
        "name": "Heard Island and McDonald Islands",
        "shared": 1,
        "jaccard": 0.0667,
        "flag_emoji": "🇭🇲"
      },
      {
        "code": "NF",
        "name": "Norfolk Island",
        "shared": 1,
        "jaccard": 0.0667,
        "flag_emoji": "🇳🇫"
      }
    ],
    "_borders": [
      {
        "iso3code": "DZA",
        "code": "DZ",
        "name": "Algeria",
        "status": null,
        "border_status": null
      },
      {
        "iso3code": "MRT",
        "code": "MR",
        "name": "Mauritania",
        "status": null,
        "border_status": null
      },
      {
        "iso3code": "MAR",
        "code": "MA",
        "name": "Morocco",
        "status": null,
        "border_status": null
      }
    ],
    "_parent_exists": false,
    "_dependents": [],
    "_alias_notes": [],
    "_source_path": "data/countries/EH.yaml"
  }
}
