From 40484ed148ba91af9fae14b364a3665145b5eaf6 Mon Sep 17 00:00:00 2001 From: Greg Kempe Date: Thu, 29 Aug 2024 16:29:45 +0200 Subject: [PATCH] fix tests, add missing migration --- africanlii/tests/test_views.py | 2 +- .../fixtures/documents/sample_documents.json | 3358 +---------------- peachjam/fixtures/tests/countries.json | 3324 +++++++++++++++- .../0152_alter_coredocument_nature.py | 23 + peachjam/models/core_document_model.py | 3 +- peachjam/models/journals_books.py | 2 + peachjam/tests/test_documents.py | 2 +- peachjam/tests/test_forms.py | 2 +- peachjam/tests/test_preferred_language.py | 2 +- peachjam/tests/test_views.py | 2 +- peachjam_search/tests.py | 2 +- 11 files changed, 3367 insertions(+), 3355 deletions(-) create mode 100644 peachjam/migrations/0152_alter_coredocument_nature.py diff --git a/africanlii/tests/test_views.py b/africanlii/tests/test_views.py index b70b3a812..7ec67e47f 100644 --- a/africanlii/tests/test_views.py +++ b/africanlii/tests/test_views.py @@ -2,7 +2,7 @@ class AfricanliiViewsTest(TestCase): - fixtures = ["documents/sample_documents"] + fixtures = ["tests/countries", "documents/sample_documents"] def test_homepage(self): response = self.client.get("/") diff --git a/peachjam/fixtures/documents/sample_documents.json b/peachjam/fixtures/documents/sample_documents.json index 4d4f72f28..90aeb4e10 100644 --- a/peachjam/fixtures/documents/sample_documents.json +++ b/peachjam/fixtures/documents/sample_documents.json @@ -1,3145 +1,45 @@ [ { - "model": "peachjam.courtclass", - "pk": 2, - "fields": { - "name": "High Court", - "description": "" - } - }, - { - "fields": { - "code": "ECOWASCJ", - "court_class": 2, - "name": "ECOWAS Community Court of Justice" - }, - "model": "peachjam.court", - "pk": 1 - }, - { - "fields": { - "area": "390580.00", - "capital": "Harare", - "continent": "AF", - "currency_code": "ZWL", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "ZI", - "geonameid": 878675, - "iso3": "ZWE", - "iso_numeric": 716, - "languages": "en-ZW,sn,nr,nd", - "name": "Zimbabwe", - "neighbours": "ZA,MZ,BW,ZM", - "phone": "263", - "population": 14439018, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".zw" - }, - "model": "countries_plus.country", - "pk": "ZW" - }, - { - "fields": { - "area": "752614.00", - "capital": "Lusaka", - "continent": "AF", - "currency_code": "ZMW", - "currency_name": "Kwacha", - "currency_symbol": null, - "equivalent_fips_code": null, - "fips": "ZA", - "geonameid": 895949, - "iso3": "ZMB", - "iso_numeric": 894, - "languages": "en-ZM,bem,loz,lun,lue,ny,toi", - "name": "Zambia", - "neighbours": "ZW,TZ,MZ,CD,NA,MW,AO", - "phone": "260", - "population": 17351822, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".zm" - }, - "model": "countries_plus.country", - "pk": "ZM" - }, - { - "fields": { - "area": "329560.00", - "capital": "Hanoi", - "continent": "AS", - "currency_code": "VND", - "currency_name": "Dong", - "currency_symbol": "\u20ab", - "equivalent_fips_code": null, - "fips": "VM", - "geonameid": 1562822, - "iso3": "VNM", - "iso_numeric": 704, - "languages": "vi,en,fr,zh,km", - "name": "Vietnam", - "neighbours": "CN,LA,KH", - "phone": "84", - "population": 95540395, - "postal_code_format": "######", - "postal_code_regex": "^(\\d{6})$", - "tld": ".vn" - }, - "model": "countries_plus.country", - "pk": "VN" - }, - { - "fields": { - "area": "12200.00", - "capital": "Port Vila", - "continent": "OC", - "currency_code": "VUV", - "currency_name": "Vatu", - "currency_symbol": "Vt", - "equivalent_fips_code": null, - "fips": "NH", - "geonameid": 2134431, - "iso3": "VUT", - "iso_numeric": 548, - "languages": "bi,en-VU,fr-VU", - "name": "Vanuatu", - "neighbours": null, - "phone": "678", - "population": 292680, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".vu" - }, - "model": "countries_plus.country", - "pk": "VU" - }, - { - "fields": { - "area": "352.00", - "capital": "Charlotte Amalie", - "continent": "NA", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "VQ", - "geonameid": 4796775, - "iso3": "VIR", - "iso_numeric": 850, - "languages": "en-VI", - "name": "U.S. Virgin Islands", - "neighbours": null, - "phone": "+1-340", - "population": 106977, - "postal_code_format": "#####-####", - "postal_code_regex": "^008\\d{2}(?:-\\d{4})?$", - "tld": ".vi" - }, - "model": "countries_plus.country", - "pk": "VI" - }, - { - "fields": { - "area": "0.00", - "capital": null, - "continent": "OC", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": null, - "geonameid": 5854968, - "iso3": "UMI", - "iso_numeric": 581, - "languages": "en-UM", - "name": "United States Minor Outlying Islands", - "neighbours": null, - "phone": "1", - "population": 0, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".um" - }, - "model": "countries_plus.country", - "pk": "UM" - }, - { - "fields": { - "area": "9629091.00", - "capital": "Washington", - "continent": "NA", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "US", - "geonameid": 6252001, - "iso3": "USA", - "iso_numeric": 840, - "languages": "en-US,es-US,haw,fr", - "name": "United States", - "neighbours": "CA,MX,CU", - "phone": "1", - "population": 327167434, - "postal_code_format": "#####-####", - "postal_code_regex": "^\\d{5}(-\\d{4})?$", - "tld": ".us" - }, - "model": "countries_plus.country", - "pk": "US" - }, - { - "fields": { - "area": "244820.00", - "capital": "London", - "continent": "EU", - "currency_code": "GBP", - "currency_name": "Pound", - "currency_symbol": "\u00a3", - "equivalent_fips_code": null, - "fips": "UK", - "geonameid": 2635167, - "iso3": "GBR", - "iso_numeric": 826, - "languages": "en-GB,cy-GB,gd", - "name": "United Kingdom", - "neighbours": "IE", - "phone": "44", - "population": 66488991, - "postal_code_format": "@# #@@|@## #@@|@@# #@@|@@## #@@|@#@ #@@|@@#@ #@@|GIR0AA", - "postal_code_regex": "^([Gg][Ii][Rr]\\s?0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9]?[A-Za-z]))))\\s?[0-9][A-Za-z]{2})$", - "tld": ".uk" - }, - "model": "countries_plus.country", - "pk": "GB" - }, - { - "fields": { - "area": "82880.00", - "capital": "Abu Dhabi", - "continent": "AS", - "currency_code": "AED", - "currency_name": "Dirham", - "currency_symbol": "\u062f.\u0625", - "equivalent_fips_code": null, - "fips": "AE", - "geonameid": 290557, - "iso3": "ARE", - "iso_numeric": 784, - "languages": "ar-AE,fa,en,hi,ur", - "name": "United Arab Emirates", - "neighbours": "SA,OM", - "phone": "971", - "population": 9630959, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".ae" - }, - "model": "countries_plus.country", - "pk": "AE" - }, - { - "fields": { - "area": "236040.00", - "capital": "Kampala", - "continent": "AF", - "currency_code": "UGX", - "currency_name": "Shilling", - "currency_symbol": "Sh", - "equivalent_fips_code": null, - "fips": "UG", - "geonameid": 226074, - "iso3": "UGA", - "iso_numeric": 800, - "languages": "en-UG,lg,sw,ar", - "name": "Uganda", - "neighbours": "TZ,KE,SS,CD,RW", - "phone": "256", - "population": 42723139, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".ug" - }, - "model": "countries_plus.country", - "pk": "UG" - }, - { - "fields": { - "area": "26.00", - "capital": "Funafuti", - "continent": "OC", - "currency_code": "AUD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "TV", - "geonameid": 2110297, - "iso3": "TUV", - "iso_numeric": 798, - "languages": "tvl,en,sm,gil", - "name": "Tuvalu", - "neighbours": null, - "phone": "688", - "population": 11508, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".tv" - }, - "model": "countries_plus.country", - "pk": "TV" - }, - { - "fields": { - "area": "430.00", - "capital": "Cockburn Town", - "continent": "NA", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "TK", - "geonameid": 3576916, - "iso3": "TCA", - "iso_numeric": 796, - "languages": "en-TC", - "name": "Turks and Caicos Islands", - "neighbours": null, - "phone": "+1-649", - "population": 37665, - "postal_code_format": "TKCA 1ZZ", - "postal_code_regex": "^(TKCA 1ZZ)$", - "tld": ".tc" - }, - "model": "countries_plus.country", - "pk": "TC" - }, - { - "fields": { - "area": "5128.00", - "capital": "Port of Spain", - "continent": "NA", - "currency_code": "TTD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "TD", - "geonameid": 3573591, - "iso3": "TTO", - "iso_numeric": 780, - "languages": "en-TT,hns,fr,es,zh", - "name": "Trinidad and Tobago", - "neighbours": null, - "phone": "+1-868", - "population": 1389858, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".tt" - }, - "model": "countries_plus.country", - "pk": "TT" - }, - { - "fields": { - "area": "748.00", - "capital": "Nuku'alofa", - "continent": "OC", - "currency_code": "TOP", - "currency_name": "Pa'anga", - "currency_symbol": "T$", - "equivalent_fips_code": null, - "fips": "TN", - "geonameid": 4032283, - "iso3": "TON", - "iso_numeric": 776, - "languages": "to,en-TO", - "name": "Tonga", - "neighbours": null, - "phone": "676", - "population": 103197, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".to" - }, - "model": "countries_plus.country", - "pk": "TO" - }, - { - "fields": { - "area": "10.00", - "capital": null, - "continent": "OC", - "currency_code": "NZD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "TL", - "geonameid": 4031074, - "iso3": "TKL", - "iso_numeric": 772, - "languages": "tkl,en-TK", - "name": "Tokelau", - "neighbours": null, - "phone": "690", - "population": 1466, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".tk" - }, - "model": "countries_plus.country", - "pk": "TK" - }, - { - "fields": { - "area": "15007.00", - "capital": "Dili", - "continent": "OC", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "TT", - "geonameid": 1966436, - "iso3": "TLS", - "iso_numeric": 626, - "languages": "tet,pt-TL,id,en", - "name": "Timor Leste", - "neighbours": "ID", - "phone": "670", - "population": 1267972, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".tl" - }, - "model": "countries_plus.country", - "pk": "TL" - }, - { - "fields": { - "area": "514000.00", - "capital": "Bangkok", - "continent": "AS", - "currency_code": "THB", - "currency_name": "Baht", - "currency_symbol": "\u0e3f", - "equivalent_fips_code": null, - "fips": "TH", - "geonameid": 1605651, - "iso3": "THA", - "iso_numeric": 764, - "languages": "th,en", - "name": "Thailand", - "neighbours": "LA,MM,KH,MY", - "phone": "66", - "population": 69428524, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".th" - }, - "model": "countries_plus.country", - "pk": "TH" - }, - { - "fields": { - "area": "945087.00", - "capital": "Dodoma", - "continent": "AF", - "currency_code": "TZS", - "currency_name": "Shilling", - "currency_symbol": "Sh", - "equivalent_fips_code": null, - "fips": "TZ", - "geonameid": 149590, - "iso3": "TZA", - "iso_numeric": 834, - "languages": "sw-TZ,en,ar", - "name": "Tanzania", - "neighbours": "MZ,KE,CD,RW,ZM,BI,UG,MW", - "phone": "255", - "population": 56318348, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".tz" - }, - "model": "countries_plus.country", - "pk": "TZ" - }, - { - "fields": { - "area": "185180.00", - "capital": "Damascus", - "continent": "AS", - "currency_code": "SYP", - "currency_name": "Pound", - "currency_symbol": "\u00a3, \u0644.\u0633", - "equivalent_fips_code": null, - "fips": "SY", - "geonameid": 163843, - "iso3": "SYR", - "iso_numeric": 760, - "languages": "ar-SY,ku,hy,arc,fr,en", - "name": "Syria", - "neighbours": "IQ,JO,IL,TR,LB", - "phone": "963", - "population": 16906283, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".sy" - }, - "model": "countries_plus.country", - "pk": "SY" - }, - { - "fields": { - "area": "163270.00", - "capital": "Paramaribo", - "continent": "SA", - "currency_code": "SRD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "NS", - "geonameid": 3382998, - "iso3": "SUR", - "iso_numeric": 740, - "languages": "nl-SR,en,srn,hns,jv", - "name": "Suriname", - "neighbours": "GY,BR,GF", - "phone": "597", - "population": 575991, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".sr" - }, - "model": "countries_plus.country", - "pk": "SR" - }, - { - "fields": { - "area": "1861484.00", - "capital": "Khartoum", - "continent": "AF", - "currency_code": "SDG", - "currency_name": "Pound", - "currency_symbol": "S$", - "equivalent_fips_code": null, - "fips": "SU", - "geonameid": 366755, - "iso3": "SDN", - "iso_numeric": 729, - "languages": "ar-SD,en,fia", - "name": "Sudan", - "neighbours": "SS,TD,EG,ET,ER,LY,CF", - "phone": "249", - "population": 41801533, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".sd" - }, - "model": "countries_plus.country", - "pk": "SD" - }, - { - "fields": { - "area": "65610.00", - "capital": "Colombo", - "continent": "AS", - "currency_code": "LKR", - "currency_name": "Rupee", - "currency_symbol": "\u0bb0\u0bc2", - "equivalent_fips_code": null, - "fips": "CE", - "geonameid": 1227603, - "iso3": "LKA", - "iso_numeric": 144, - "languages": "si,ta,en", - "name": "Sri Lanka", - "neighbours": null, - "phone": "94", - "population": 21670000, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".lk" - }, - "model": "countries_plus.country", - "pk": "LK" - }, - { - "fields": { - "area": "644329.00", - "capital": "Juba", - "continent": "AF", - "currency_code": "SSP", - "currency_name": "Pound", - "currency_symbol": null, - "equivalent_fips_code": null, - "fips": "OD", - "geonameid": 7909807, - "iso3": "SSD", - "iso_numeric": 728, - "languages": "en", - "name": "South Sudan", - "neighbours": "CD,CF,ET,KE,SD,UG", - "phone": "211", - "population": 8260490, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".ss" - }, - "model": "countries_plus.country", - "pk": "SS" - }, - { - "fields": { - "area": "98480.00", - "capital": "Seoul", - "continent": "AS", - "currency_code": "KRW", - "currency_name": "Won", - "currency_symbol": "\u20a9", - "equivalent_fips_code": null, - "fips": "KS", - "geonameid": 1835841, - "iso3": "KOR", - "iso_numeric": 410, - "languages": "ko-KR,en", - "name": "South Korea", - "neighbours": "KP", - "phone": "82", - "population": 51635256, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".kr" - }, - "model": "countries_plus.country", - "pk": "KR" - }, - { - "fields": { - "area": "3903.00", - "capital": "Grytviken", - "continent": "AN", - "currency_code": "GBP", - "currency_name": "Pound", - "currency_symbol": "\u00a3", - "equivalent_fips_code": null, - "fips": "SX", - "geonameid": 3474415, - "iso3": "SGS", - "iso_numeric": 239, - "languages": "en", - "name": "South Georgia and the South Sandwich Islands", - "neighbours": null, - "phone": null, - "population": 30, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".gs" - }, - "model": "countries_plus.country", - "pk": "GS" - }, - { - "fields": { - "area": "1219912.00", - "capital": "Pretoria", - "continent": "AF", - "currency_code": "ZAR", - "currency_name": "Rand", - "currency_symbol": "R", - "equivalent_fips_code": null, - "fips": "SF", - "geonameid": 953987, - "iso3": "ZAF", - "iso_numeric": 710, - "languages": "zu,xh,af,nso,en-ZA,tn,st,ts,ss,ve,nr", - "name": "South Africa", - "neighbours": "ZW,SZ,MZ,BW,NA,LS", - "phone": "27", - "population": 57779622, - "postal_code_format": "####", - "postal_code_regex": "^(\\d{4})$", - "tld": ".za" - }, - "model": "countries_plus.country", - "pk": "ZA" - }, - { - "fields": { - "area": "637657.00", - "capital": "Mogadishu", - "continent": "AF", - "currency_code": "SOS", - "currency_name": "Shilling", - "currency_symbol": "Sh", - "equivalent_fips_code": null, - "fips": "SO", - "geonameid": 51537, - "iso3": "SOM", - "iso_numeric": 706, - "languages": "so-SO,ar-SO,it,en-SO", - "name": "Somalia", - "neighbours": "ET,KE,DJ", - "phone": "252", - "population": 15008154, - "postal_code_format": "@@ #####", - "postal_code_regex": "^([A-Z]{2}\\d{5})$", - "tld": ".so" - }, - "model": "countries_plus.country", - "pk": "SO" - }, - { - "fields": { - "area": "28450.00", - "capital": "Honiara", - "continent": "OC", - "currency_code": "SBD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "BP", - "geonameid": 2103350, - "iso3": "SLB", - "iso_numeric": 90, - "languages": "en-SB,tpi", - "name": "Solomon Islands", - "neighbours": null, - "phone": "677", - "population": 652858, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".sb" - }, - "model": "countries_plus.country", - "pk": "SB" - }, - { - "fields": { - "area": "21.00", - "capital": "Philipsburg", - "continent": "NA", - "currency_code": "ANG", - "currency_name": "Guilder", - "currency_symbol": "\u0192", - "equivalent_fips_code": null, - "fips": "NN", - "geonameid": 7609695, - "iso3": "SXM", - "iso_numeric": 534, - "languages": "nl,en", - "name": "Sint Maarten", - "neighbours": "MF", - "phone": "599", - "population": 40654, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".sx" - }, - "model": "countries_plus.country", - "pk": "SX" - }, - { - "fields": { - "area": "692.70", - "capital": "Singapore", - "continent": "AS", - "currency_code": "SGD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "SN", - "geonameid": 1880251, - "iso3": "SGP", - "iso_numeric": 702, - "languages": "cmn,en-SG,ms-SG,ta-SG,zh-SG", - "name": "Singapore", - "neighbours": null, - "phone": "65", - "population": 5638676, - "postal_code_format": "######", - "postal_code_regex": "^(\\d{6})$", - "tld": ".sg" - }, - "model": "countries_plus.country", - "pk": "SG" - }, - { - "fields": { - "area": "71740.00", - "capital": "Freetown", - "continent": "AF", - "currency_code": "SLL", - "currency_name": "Leone", - "currency_symbol": "Le", - "equivalent_fips_code": null, - "fips": "SL", - "geonameid": 2403846, - "iso3": "SLE", - "iso_numeric": 694, - "languages": "en-SL,men,tem", - "name": "Sierra Leone", - "neighbours": "LR,GN", - "phone": "232", - "population": 7650154, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".sl" - }, - "model": "countries_plus.country", - "pk": "SL" - }, - { - "fields": { - "area": "455.00", - "capital": "Victoria", - "continent": "AF", - "currency_code": "SCR", - "currency_name": "Rupee", - "currency_symbol": "\u20a8", - "equivalent_fips_code": null, - "fips": "SE", - "geonameid": 241170, - "iso3": "SYC", - "iso_numeric": 690, - "languages": "en-SC,fr-SC", - "name": "Seychelles", - "neighbours": null, - "phone": "248", - "population": 96762, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".sc" - }, - "model": "countries_plus.country", - "pk": "SC" - }, - { - "fields": { - "area": "2944.00", - "capital": "Apia", - "continent": "OC", - "currency_code": "WST", - "currency_name": "Tala", - "currency_symbol": "T", - "equivalent_fips_code": null, - "fips": "WS", - "geonameid": 4034894, - "iso3": "WSM", - "iso_numeric": 882, - "languages": "sm,en-WS", - "name": "Samoa", - "neighbours": null, - "phone": "685", - "population": 196130, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".ws" - }, - "model": "countries_plus.country", - "pk": "WS" - }, - { - "fields": { - "area": "389.00", - "capital": "Kingstown", - "continent": "NA", - "currency_code": "XCD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "VC", - "geonameid": 3577815, - "iso3": "VCT", - "iso_numeric": 670, - "languages": "en-VC,fr", - "name": "Saint Vincent and the Grenadines", - "neighbours": null, - "phone": "+1-784", - "population": 110211, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".vc" - }, - "model": "countries_plus.country", - "pk": "VC" - }, - { - "fields": { - "area": "616.00", - "capital": "Castries", - "continent": "NA", - "currency_code": "XCD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "ST", - "geonameid": 3576468, - "iso3": "LCA", - "iso_numeric": 662, - "languages": "en-LC", - "name": "Saint Lucia", - "neighbours": null, - "phone": "+1-758", - "population": 181889, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".lc" - }, - "model": "countries_plus.country", - "pk": "LC" - }, - { - "fields": { - "area": "261.00", - "capital": "Basseterre", - "continent": "NA", - "currency_code": "XCD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "SC", - "geonameid": 3575174, - "iso3": "KNA", - "iso_numeric": 659, - "languages": "en-KN", - "name": "Saint Kitts and Nevis", - "neighbours": null, - "phone": "+1-869", - "population": 52441, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".kn" - }, - "model": "countries_plus.country", - "pk": "KN" - }, - { - "fields": { - "area": "410.00", - "capital": "Jamestown", - "continent": "AF", - "currency_code": "SHP", - "currency_name": "Pound", - "currency_symbol": "\u00a3", - "equivalent_fips_code": null, - "fips": "SH", - "geonameid": 3370751, - "iso3": "SHN", - "iso_numeric": 654, - "languages": "en-SH", - "name": "Saint Helena", - "neighbours": null, - "phone": "290", - "population": 7460, - "postal_code_format": "STHL 1ZZ", - "postal_code_regex": "^(STHL1ZZ)$", - "tld": ".sh" - }, - "model": "countries_plus.country", - "pk": "SH" - }, - { - "fields": { - "area": "26338.00", - "capital": "Kigali", - "continent": "AF", - "currency_code": "RWF", - "currency_name": "Franc", - "currency_symbol": "Fr", - "equivalent_fips_code": null, - "fips": "RW", - "geonameid": 49518, - "iso3": "RWA", - "iso_numeric": 646, - "languages": "rw,en-RW,fr-RW,sw", - "name": "Rwanda", - "neighbours": "TZ,CD,BI,UG", - "phone": "250", - "population": 12301939, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".rw" - }, - "model": "countries_plus.country", - "pk": "RW" - }, - { - "fields": { - "area": "9104.00", - "capital": "San Juan", - "continent": "NA", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "RQ", - "geonameid": 4566966, - "iso3": "PRI", - "iso_numeric": 630, - "languages": "en-PR,es-PR", - "name": "Puerto Rico", - "neighbours": null, - "phone": "+1-787,1-939", - "population": 3195153, - "postal_code_format": "#####-####", - "postal_code_regex": "^00[679]\\d{2}(?:-\\d{4})?$", - "tld": ".pr" - }, - "model": "countries_plus.country", - "pk": "PR" - }, - { - "fields": { - "area": "47.00", - "capital": "Adamstown", - "continent": "OC", - "currency_code": "NZD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "PC", - "geonameid": 4030699, - "iso3": "PCN", - "iso_numeric": 612, - "languages": "en-PN", - "name": "Pitcairn", - "neighbours": null, - "phone": "870", - "population": 46, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".pn" - }, - "model": "countries_plus.country", - "pk": "PN" - }, - { - "fields": { - "area": "300000.00", - "capital": "Manila", - "continent": "AS", - "currency_code": "PHP", - "currency_name": "Peso", - "currency_symbol": "\u20b1", - "equivalent_fips_code": null, - "fips": "RP", - "geonameid": 1694008, - "iso3": "PHL", - "iso_numeric": 608, - "languages": "tl,en-PH,fil,ceb,tgl,ilo,hil,war,pam,bik,bcl,pag,mrw,tsg,mdh,cbk,krj,sgd,msb,akl,ibg,yka,mta,abx", - "name": "Philippines", - "neighbours": null, - "phone": "63", - "population": 106651922, - "postal_code_format": "####", - "postal_code_regex": "^(\\d{4})$", - "tld": ".ph" - }, - "model": "countries_plus.country", - "pk": "PH" - }, - { - "fields": { - "area": "462840.00", - "capital": "Port Moresby", - "continent": "OC", - "currency_code": "PGK", - "currency_name": "Kina", - "currency_symbol": "K", - "equivalent_fips_code": null, - "fips": "PP", - "geonameid": 2088628, - "iso3": "PNG", - "iso_numeric": 598, - "languages": "en-PG,ho,meu,tpi", - "name": "Papua New Guinea", - "neighbours": "ID", - "phone": "675", - "population": 8606316, - "postal_code_format": "###", - "postal_code_regex": "^(\\d{3})$", - "tld": ".pg" - }, - "model": "countries_plus.country", - "pk": "PG" - }, - { - "fields": { - "area": "78200.00", - "capital": "Panama City", - "continent": "NA", - "currency_code": "PAB", - "currency_name": "Balboa", - "currency_symbol": "B/.", - "equivalent_fips_code": null, - "fips": "PM", - "geonameid": 3703430, - "iso3": "PAN", - "iso_numeric": 591, - "languages": "es-PA,en", - "name": "Panama", - "neighbours": "CR,CO", - "phone": "507", - "population": 4176873, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".pa" - }, - "model": "countries_plus.country", - "pk": "PA" - }, - { - "fields": { - "area": "458.00", - "capital": "Melekeok", - "continent": "OC", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "PS", - "geonameid": 1559582, - "iso3": "PLW", - "iso_numeric": 585, - "languages": "pau,sov,en-PW,tox,ja,fil,zh", - "name": "Palau", - "neighbours": null, - "phone": "680", - "population": 17907, - "postal_code_format": "96940", - "postal_code_regex": "^(96940)$", - "tld": ".pw" - }, - "model": "countries_plus.country", - "pk": "PW" - }, - { - "fields": { - "area": "803940.00", - "capital": "Islamabad", - "continent": "AS", - "currency_code": "PKR", - "currency_name": "Rupee", - "currency_symbol": "\u20a8", - "equivalent_fips_code": null, - "fips": "PK", - "geonameid": 1168579, - "iso3": "PAK", - "iso_numeric": 586, - "languages": "ur-PK,en-PK,pa,sd,ps,brh", - "name": "Pakistan", - "neighbours": "CN,AF,IR,IN", - "phone": "92", - "population": 212215030, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".pk" - }, - "model": "countries_plus.country", - "pk": "PK" - }, - { - "fields": { - "area": "212460.00", - "capital": "Muscat", - "continent": "AS", - "currency_code": "OMR", - "currency_name": "Rial", - "currency_symbol": "\u0631.\u0639.", - "equivalent_fips_code": null, - "fips": "MU", - "geonameid": 286963, - "iso3": "OMN", - "iso_numeric": 512, - "languages": "ar-OM,en,bal,ur", - "name": "Oman", - "neighbours": "SA,YE,AE", - "phone": "968", - "population": 4829483, - "postal_code_format": "###", - "postal_code_regex": "^(\\d{3})$", - "tld": ".om" - }, - "model": "countries_plus.country", - "pk": "OM" - }, - { - "fields": { - "area": "477.00", - "capital": "Saipan", - "continent": "OC", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "CQ", - "geonameid": 4041468, - "iso3": "MNP", - "iso_numeric": 580, - "languages": "fil,tl,zh,ch-MP,en-MP", - "name": "Northern Mariana Islands", - "neighbours": null, - "phone": "+1-670", - "population": 56882, - "postal_code_format": "#####", - "postal_code_regex": "^9695\\d{1}$", - "tld": ".mp" - }, - "model": "countries_plus.country", - "pk": "MP" - }, - { - "fields": { - "area": "34.60", - "capital": "Kingston", - "continent": "OC", - "currency_code": "AUD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "NF", - "geonameid": 2155115, - "iso3": "NFK", - "iso_numeric": 574, - "languages": "en-NF", - "name": "Norfolk Island", - "neighbours": null, - "phone": "672", - "population": 1828, - "postal_code_format": "####", - "postal_code_regex": "^(\\d{4})$", - "tld": ".nf" - }, - "model": "countries_plus.country", - "pk": "NF" - }, - { - "fields": { - "area": "260.00", - "capital": "Alofi", - "continent": "OC", - "currency_code": "NZD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "NE", - "geonameid": 4036232, - "iso3": "NIU", - "iso_numeric": 570, - "languages": "niu,en-NU", - "name": "Niue", - "neighbours": null, - "phone": "683", - "population": 2166, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".nu" - }, - "model": "countries_plus.country", - "pk": "NU" - }, - { - "fields": { - "area": "923768.00", - "capital": "Abuja", - "continent": "AF", - "currency_code": "NGN", - "currency_name": "Naira", - "currency_symbol": "\u20a6", - "equivalent_fips_code": null, - "fips": "NI", - "geonameid": 2328926, - "iso3": "NGA", - "iso_numeric": 566, - "languages": "en-NG,ha,yo,ig,ff", - "name": "Nigeria", - "neighbours": "TD,NE,BJ,CM", - "phone": "234", - "population": 195874740, - "postal_code_format": "######", - "postal_code_regex": "^(\\d{6})$", - "tld": ".ng" - }, - "model": "countries_plus.country", - "pk": "NG" - }, - { - "fields": { - "area": "129494.00", - "capital": "Managua", - "continent": "NA", - "currency_code": "NIO", - "currency_name": "Cordoba", - "currency_symbol": "C$", - "equivalent_fips_code": null, - "fips": "NU", - "geonameid": 3617476, - "iso3": "NIC", - "iso_numeric": 558, - "languages": "es-NI,en", - "name": "Nicaragua", - "neighbours": "CR,HN", - "phone": "505", - "population": 6465513, - "postal_code_format": "###-###-#", - "postal_code_regex": "^(\\d{7})$", - "tld": ".ni" - }, - "model": "countries_plus.country", - "pk": "NI" - }, - { - "fields": { - "area": "268680.00", - "capital": "Wellington", - "continent": "OC", - "currency_code": "NZD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "NZ", - "geonameid": 2186224, - "iso3": "NZL", - "iso_numeric": 554, - "languages": "en-NZ,mi", - "name": "New Zealand", - "neighbours": null, - "phone": "64", - "population": 4885500, - "postal_code_format": "####", - "postal_code_regex": "^(\\d{4})$", - "tld": ".nz" - }, - "model": "countries_plus.country", - "pk": "NZ" - }, - { - "fields": { - "area": "960.00", - "capital": "Willemstad", - "continent": "NA", - "currency_code": "ANG", - "currency_name": "Guilder", - "currency_symbol": "\u0192", - "equivalent_fips_code": null, - "fips": "NT", - "geonameid": 8505032, - "iso3": "ANT", - "iso_numeric": 530, - "languages": "nl-AN,en,es", - "name": "Netherlands Antilles", - "neighbours": "GP", - "phone": "599", - "population": 300000, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".an" - }, - "model": "countries_plus.country", - "pk": "AN" - }, - { - "fields": { - "area": "140800.00", - "capital": "Kathmandu", - "continent": "AS", - "currency_code": "NPR", - "currency_name": "Rupee", - "currency_symbol": "\u20a8", - "equivalent_fips_code": null, - "fips": "NP", - "geonameid": 1282988, - "iso3": "NPL", - "iso_numeric": 524, - "languages": "ne,en", - "name": "Nepal", - "neighbours": "CN,IN", - "phone": "977", - "population": 28087871, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".np" - }, - "model": "countries_plus.country", - "pk": "NP" - }, - { - "fields": { - "area": "21.00", - "capital": "Yaren", - "continent": "OC", - "currency_code": "AUD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "NR", - "geonameid": 2110425, - "iso3": "NRU", - "iso_numeric": 520, - "languages": "na,en-NR", - "name": "Nauru", - "neighbours": null, - "phone": "674", - "population": 12704, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".nr" - }, - "model": "countries_plus.country", - "pk": "NR" - }, - { - "fields": { - "area": "825418.00", - "capital": "Windhoek", - "continent": "AF", - "currency_code": "NAD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "WA", - "geonameid": 3355338, - "iso3": "NAM", - "iso_numeric": 516, - "languages": "en-NA,af,de,hz,naq", - "name": "Namibia", - "neighbours": "ZA,BW,ZM,AO", - "phone": "264", - "population": 2448255, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".na" - }, - "model": "countries_plus.country", - "pk": "NA" - }, - { - "fields": { - "area": "102.00", - "capital": "Plymouth", - "continent": "NA", - "currency_code": "XCD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "MH", - "geonameid": 3578097, - "iso3": "MSR", - "iso_numeric": 500, - "languages": "en-MS", - "name": "Montserrat", - "neighbours": null, - "phone": "+1-664", - "population": 9341, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".ms" - }, - "model": "countries_plus.country", - "pk": "MS" - }, - { - "fields": { - "area": "1.95", - "capital": "Monaco", - "continent": "EU", - "currency_code": "EUR", - "currency_name": "Euro", - "currency_symbol": "\u20ac", - "equivalent_fips_code": null, - "fips": "MN", - "geonameid": 2993457, - "iso3": "MCO", - "iso_numeric": 492, - "languages": "fr-MC,en,it", - "name": "Monaco", - "neighbours": "FR", - "phone": "377", - "population": 38682, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".mc" - }, - "model": "countries_plus.country", - "pk": "MC" - }, - { - "fields": { - "area": "702.00", - "capital": "Palikir", - "continent": "OC", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "FM", - "geonameid": 2081918, - "iso3": "FSM", - "iso_numeric": 583, - "languages": "en-FM,chk,pon,yap,kos,uli,woe,nkr,kpg", - "name": "Micronesia", - "neighbours": null, - "phone": "691", - "population": 112640, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".fm" - }, - "model": "countries_plus.country", - "pk": "FM" - }, - { - "fields": { - "area": "2040.00", - "capital": "Port Louis", - "continent": "AF", - "currency_code": "MUR", - "currency_name": "Rupee", - "currency_symbol": "\u20a8", - "equivalent_fips_code": null, - "fips": "MP", - "geonameid": 934292, - "iso3": "MUS", - "iso_numeric": 480, - "languages": "en-MU,bho,fr", - "name": "Mauritius", - "neighbours": null, - "phone": "230", - "population": 1265303, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".mu" - }, - "model": "countries_plus.country", - "pk": "MU" - }, - { - "fields": { - "area": "181.30", - "capital": "Majuro", - "continent": "OC", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "RM", - "geonameid": 2080185, - "iso3": "MHL", - "iso_numeric": 584, - "languages": "mh,en-MH", - "name": "Marshall Islands", - "neighbours": null, - "phone": "692", - "population": 58413, - "postal_code_format": "#####-####", - "postal_code_regex": "^969\\d{2}(-\\d{4})$", - "tld": ".mh" - }, - "model": "countries_plus.country", - "pk": "MH" - }, - { - "fields": { - "area": "316.00", - "capital": "Valletta", - "continent": "EU", - "currency_code": "EUR", - "currency_name": "Euro", - "currency_symbol": "\u20ac", - "equivalent_fips_code": null, - "fips": "MT", - "geonameid": 2562770, - "iso3": "MLT", - "iso_numeric": 470, - "languages": "mt,en-MT", - "name": "Malta", - "neighbours": null, - "phone": "356", - "population": 483530, - "postal_code_format": "@@@ ####", - "postal_code_regex": "^[A-Z]{3}\\s?\\d{4}$", - "tld": ".mt" - }, - "model": "countries_plus.country", - "pk": "MT" - }, - { - "fields": { - "area": "300.00", - "capital": "Male", - "continent": "AS", - "currency_code": "MVR", - "currency_name": "Rufiyaa", - "currency_symbol": "\u0783.", - "equivalent_fips_code": null, - "fips": "MV", - "geonameid": 1282028, - "iso3": "MDV", - "iso_numeric": 462, - "languages": "dv,en", - "name": "Maldives", - "neighbours": null, - "phone": "960", - "population": 515696, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".mv" - }, - "model": "countries_plus.country", - "pk": "MV" - }, - { - "fields": { - "area": "329750.00", - "capital": "Kuala Lumpur", - "continent": "AS", - "currency_code": "MYR", - "currency_name": "Ringgit", - "currency_symbol": "RM", - "equivalent_fips_code": null, - "fips": "MY", - "geonameid": 1733045, - "iso3": "MYS", - "iso_numeric": 458, - "languages": "ms-MY,en,zh,ta,te,ml,pa,th", - "name": "Malaysia", - "neighbours": "BN,TH,ID", - "phone": "60", - "population": 31528585, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".my" - }, - "model": "countries_plus.country", - "pk": "MY" - }, - { - "fields": { - "area": "1759540.00", - "capital": "Tripoli", - "continent": "AF", - "currency_code": "LYD", - "currency_name": "Dinar", - "currency_symbol": "\u0644.\u062f", - "equivalent_fips_code": null, - "fips": "LY", - "geonameid": 2215636, - "iso3": "LBY", - "iso_numeric": 434, - "languages": "ar-LY,it,en", - "name": "Libya", - "neighbours": "TD,NE,DZ,SD,TN,EG", - "phone": "218", - "population": 6678567, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".ly" - }, - "model": "countries_plus.country", - "pk": "LY" - }, - { - "fields": { - "area": "111370.00", - "capital": "Monrovia", - "continent": "AF", - "currency_code": "LRD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "LI", - "geonameid": 2275384, - "iso3": "LBR", - "iso_numeric": 430, - "languages": "en-LR", - "name": "Liberia", - "neighbours": "SL,CI,GN", - "phone": "231", - "population": 4818977, - "postal_code_format": "####", - "postal_code_regex": "^(\\d{4})$", - "tld": ".lr" - }, - "model": "countries_plus.country", - "pk": "LR" - }, - { - "fields": { - "area": "30355.00", - "capital": "Maseru", - "continent": "AF", - "currency_code": "LSL", - "currency_name": "Loti", - "currency_symbol": "L", - "equivalent_fips_code": null, - "fips": "LT", - "geonameid": 932692, - "iso3": "LSO", - "iso_numeric": 426, - "languages": "en-LS,st,zu,xh", - "name": "Lesotho", - "neighbours": "ZA", - "phone": "266", - "population": 2108132, - "postal_code_format": "###", - "postal_code_regex": "^(\\d{3})$", - "tld": ".ls" - }, - "model": "countries_plus.country", - "pk": "LS" - }, - { - "fields": { - "area": "10400.00", - "capital": "Beirut", - "continent": "AS", - "currency_code": "LBP", - "currency_name": "Pound", - "currency_symbol": "\u0644.\u0644", - "equivalent_fips_code": null, - "fips": "LE", - "geonameid": 272103, - "iso3": "LBN", - "iso_numeric": 422, - "languages": "ar-LB,fr-LB,en,hy", - "name": "Lebanon", - "neighbours": "SY,IL", - "phone": "961", - "population": 6848925, - "postal_code_format": "#### ####|####", - "postal_code_regex": "^(\\d{4}(\\d{4})?)$", - "tld": ".lb" - }, - "model": "countries_plus.country", - "pk": "LB" - }, - { - "fields": { - "area": "236800.00", - "capital": "Vientiane", - "continent": "AS", - "currency_code": "LAK", - "currency_name": "Kip", - "currency_symbol": "\u20ad", - "equivalent_fips_code": null, - "fips": "LA", - "geonameid": 1655842, - "iso3": "LAO", - "iso_numeric": 418, - "languages": "lo,fr,en", - "name": "Laos", - "neighbours": "CN,MM,KH,TH,VN", - "phone": "856", - "population": 7061507, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".la" - }, - "model": "countries_plus.country", - "pk": "LA" - }, - { - "fields": { - "area": "17820.00", - "capital": "Kuwait City", - "continent": "AS", - "currency_code": "KWD", - "currency_name": "Dinar", - "currency_symbol": "\u062f.\u0643", - "equivalent_fips_code": null, - "fips": "KU", - "geonameid": 285570, - "iso3": "KWT", - "iso_numeric": 414, - "languages": "ar-KW,en", - "name": "Kuwait", - "neighbours": "SA,IQ", - "phone": "965", - "population": 4137309, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".kw" - }, - "model": "countries_plus.country", - "pk": "KW" - }, - { - "fields": { - "area": "811.00", - "capital": "Tarawa", - "continent": "OC", - "currency_code": "AUD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "KR", - "geonameid": 4030945, - "iso3": "KIR", - "iso_numeric": 296, - "languages": "en-KI,gil", - "name": "Kiribati", - "neighbours": null, - "phone": "686", - "population": 115847, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".ki" - }, - "model": "countries_plus.country", - "pk": "KI" - }, - { - "fields": { - "area": "582650.00", - "capital": "Nairobi", - "continent": "AF", - "currency_code": "KES", - "currency_name": "Shilling", - "currency_symbol": "Sh", - "equivalent_fips_code": null, - "fips": "KE", - "geonameid": 192950, - "iso3": "KEN", - "iso_numeric": 404, - "languages": "en-KE,sw-KE", - "name": "Kenya", - "neighbours": "ET,TZ,SS,SO,UG", - "phone": "254", - "population": 51393010, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".ke" - }, - "model": "countries_plus.country", - "pk": "KE" - }, - { - "fields": { - "area": "92300.00", - "capital": "Amman", - "continent": "AS", - "currency_code": "JOD", - "currency_name": "Dinar", - "currency_symbol": "\u062f.\u0627", - "equivalent_fips_code": null, - "fips": "JO", - "geonameid": 248816, - "iso3": "JOR", - "iso_numeric": 400, - "languages": "ar-JO,en", - "name": "Jordan", - "neighbours": "SY,SA,IQ,IL,PS", - "phone": "962", - "population": 9956011, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".jo" - }, - "model": "countries_plus.country", - "pk": "JO" - }, - { - "fields": { - "area": "116.00", - "capital": "Saint Helier", - "continent": "EU", - "currency_code": "GBP", - "currency_name": "Pound", - "currency_symbol": "\u00a3", - "equivalent_fips_code": null, - "fips": "JE", - "geonameid": 3042142, - "iso3": "JEY", - "iso_numeric": 832, - "languages": "en,fr,nrf", - "name": "Jersey", - "neighbours": null, - "phone": "+44-1534", - "population": 90812, - "postal_code_format": "@# #@@|@## #@@|@@# #@@|@@## #@@|@#@ #@@|@@#@ #@@|GIR0AA", - "postal_code_regex": "^((?:(?:[A-PR-UWYZ][A-HK-Y]\\d[ABEHMNPRV-Y0-9]|[A-PR-UWYZ]\\d[A-HJKPS-UW0-9])\\s\\d[ABD-HJLNP-UW-Z]{2})|GIR\\s?0AA)$", - "tld": ".je" - }, - "model": "countries_plus.country", - "pk": "JE" - }, - { - "fields": { - "area": "10991.00", - "capital": "Kingston", - "continent": "NA", - "currency_code": "JMD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "JM", - "geonameid": 3489940, - "iso3": "JAM", - "iso_numeric": 388, - "languages": "en-JM", - "name": "Jamaica", - "neighbours": null, - "phone": "+1-876", - "population": 2934855, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".jm" - }, - "model": "countries_plus.country", - "pk": "JM" - }, - { - "fields": { - "area": "20770.00", - "capital": "Jerusalem", - "continent": "AS", - "currency_code": "ILS", - "currency_name": "Shekel", - "currency_symbol": "\u20aa", - "equivalent_fips_code": null, - "fips": "IS", - "geonameid": 294640, - "iso3": "ISR", - "iso_numeric": 376, - "languages": "he,ar-IL,en-IL,", - "name": "Israel", - "neighbours": "SY,JO,LB,EG,PS", - "phone": "972", - "population": 8883800, - "postal_code_format": "#######", - "postal_code_regex": "^(\\d{7}|\\d{5})$", - "tld": ".il" - }, - "model": "countries_plus.country", - "pk": "IL" - }, - { - "fields": { - "area": "572.00", - "capital": "Douglas", - "continent": "EU", - "currency_code": "GBP", - "currency_name": "Pound", - "currency_symbol": "\u00a3", - "equivalent_fips_code": null, - "fips": "IM", - "geonameid": 3042225, - "iso3": "IMN", - "iso_numeric": 833, - "languages": "en,gv", - "name": "Isle of Man", - "neighbours": null, - "phone": "+44-1624", - "population": 84077, - "postal_code_format": "@# #@@|@## #@@|@@# #@@|@@## #@@|@#@ #@@|@@#@ #@@|GIR0AA", - "postal_code_regex": "^((?:(?:[A-PR-UWYZ][A-HK-Y]\\d[ABEHMNPRV-Y0-9]|[A-PR-UWYZ]\\d[A-HJKPS-UW0-9])\\s\\d[ABD-HJLNP-UW-Z]{2})|GIR\\s?0AA)$", - "tld": ".im" - }, - "model": "countries_plus.country", - "pk": "IM" - }, - { - "fields": { - "area": "70280.00", - "capital": "Dublin", - "continent": "EU", - "currency_code": "EUR", - "currency_name": "Euro", - "currency_symbol": "\u20ac", - "equivalent_fips_code": null, - "fips": "EI", - "geonameid": 2963597, - "iso3": "IRL", - "iso_numeric": 372, - "languages": "en-IE,ga-IE", - "name": "Ireland", - "neighbours": "GB", - "phone": "353", - "population": 4853506, - "postal_code_format": "@@@ @@@@", - "postal_code_regex": "^(D6W|[AC-FHKNPRTV-Y][0-9]{2})\\s?([AC-FHKNPRTV-Y0-9]{4})", - "tld": ".ie" - }, - "model": "countries_plus.country", - "pk": "IE" - }, - { - "fields": { - "area": "1919440.00", - "capital": "Jakarta", - "continent": "AS", - "currency_code": "IDR", - "currency_name": "Rupiah", - "currency_symbol": "Rp", - "equivalent_fips_code": null, - "fips": "ID", - "geonameid": 1643084, - "iso3": "IDN", - "iso_numeric": 360, - "languages": "id,en,nl,jv", - "name": "Indonesia", - "neighbours": "PG,TL,MY", - "phone": "62", - "population": 267663435, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".id" - }, - "model": "countries_plus.country", - "pk": "ID" - }, - { - "fields": { - "area": "3287590.00", - "capital": "New Delhi", - "continent": "AS", - "currency_code": "INR", - "currency_name": "Rupee", - "currency_symbol": "\u20a8", - "equivalent_fips_code": null, - "fips": "IN", - "geonameid": 1269750, - "iso3": "IND", - "iso_numeric": 356, - "languages": "en-IN,hi,bn,te,mr,ta,ur,gu,kn,ml,or,pa,as,bh,sat,ks,ne,sd,kok,doi,mni,sit,sa,fr,lus,inc", - "name": "India", - "neighbours": "CN,NP,MM,BT,PK,BD", - "phone": "91", - "population": 1352617328, - "postal_code_format": "######", - "postal_code_regex": "^(\\d{6})$", - "tld": ".in" - }, - "model": "countries_plus.country", - "pk": "IN" - }, - { - "fields": { - "area": "103000.00", - "capital": "Reykjavik", - "continent": "EU", - "currency_code": "ISK", - "currency_name": "Krona", - "currency_symbol": "kr", - "equivalent_fips_code": null, - "fips": "IC", - "geonameid": 2629691, - "iso3": "ISL", - "iso_numeric": 352, - "languages": "is,en,de,da,sv,no", - "name": "Iceland", - "neighbours": null, - "phone": "354", - "population": 353574, - "postal_code_format": "###", - "postal_code_regex": "^(\\d{3})$", - "tld": ".is" - }, - "model": "countries_plus.country", - "pk": "IS" - }, - { - "fields": { - "area": "1092.00", - "capital": "Hong Kong", - "continent": "AS", - "currency_code": "HKD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "HK", - "geonameid": 1819730, - "iso3": "HKG", - "iso_numeric": 344, - "languages": "zh-HK,yue,zh,en", - "name": "Hong Kong", - "neighbours": null, - "phone": "852", - "population": 7451000, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".hk" - }, - "model": "countries_plus.country", - "pk": "HK" - }, - { - "fields": { - "area": "214970.00", - "capital": "Georgetown", - "continent": "SA", - "currency_code": "GYD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "GY", - "geonameid": 3378535, - "iso3": "GUY", - "iso_numeric": 328, - "languages": "en-GY", - "name": "Guyana", - "neighbours": "SR,BR,VE", - "phone": "592", - "population": 779004, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".gy" - }, - "model": "countries_plus.country", - "pk": "GY" - }, - { - "fields": { - "area": "78.00", - "capital": "St Peter Port", - "continent": "EU", - "currency_code": "GBP", - "currency_name": "Pound", - "currency_symbol": "\u00a3", - "equivalent_fips_code": null, - "fips": "GK", - "geonameid": 3042362, - "iso3": "GGY", - "iso_numeric": 831, - "languages": "en,nrf", - "name": "Guernsey", - "neighbours": null, - "phone": "+44-1481", - "population": 65228, - "postal_code_format": "@# #@@|@## #@@|@@# #@@|@@## #@@|@#@ #@@|@@#@ #@@|GIR0AA", - "postal_code_regex": "^((?:(?:[A-PR-UWYZ][A-HK-Y]\\d[ABEHMNPRV-Y0-9]|[A-PR-UWYZ]\\d[A-HJKPS-UW0-9])\\s\\d[ABD-HJLNP-UW-Z]{2})|GIR\\s?0AA)$", - "tld": ".gg" - }, - "model": "countries_plus.country", - "pk": "GG" - }, - { - "fields": { - "area": "549.00", - "capital": "Hagatna", - "continent": "OC", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "GQ", - "geonameid": 4043988, - "iso3": "GUM", - "iso_numeric": 316, - "languages": "en-GU,ch-GU", - "name": "Guam", - "neighbours": null, - "phone": "+1-671", - "population": 165768, - "postal_code_format": "969##", - "postal_code_regex": "^(969\\d{2})$", - "tld": ".gu" - }, - "model": "countries_plus.country", - "pk": "GU" - }, - { - "fields": { - "area": "344.00", - "capital": "St. George's", - "continent": "NA", - "currency_code": "XCD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "GJ", - "geonameid": 3580239, - "iso3": "GRD", - "iso_numeric": 308, - "languages": "en-GD", - "name": "Grenada", - "neighbours": null, - "phone": "+1-473", - "population": 111454, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".gd" - }, - "model": "countries_plus.country", - "pk": "GD" - }, - { - "fields": { - "area": "2166086.00", - "capital": "Nuuk", - "continent": "NA", - "currency_code": "DKK", - "currency_name": "Krone", - "currency_symbol": "kr", - "equivalent_fips_code": null, - "fips": "GL", - "geonameid": 3425505, - "iso3": "GRL", - "iso_numeric": 304, - "languages": "kl,da-GL,en", - "name": "Greenland", - "neighbours": null, - "phone": "299", - "population": 56025, - "postal_code_format": "####", - "postal_code_regex": "^(\\d{4})$", - "tld": ".gl" - }, - "model": "countries_plus.country", - "pk": "GL" - }, - { - "fields": { - "area": "131940.00", - "capital": "Athens", - "continent": "EU", - "currency_code": "EUR", - "currency_name": "Euro", - "currency_symbol": "\u20ac", - "equivalent_fips_code": null, - "fips": "GR", - "geonameid": 390903, - "iso3": "GRC", - "iso_numeric": 300, - "languages": "el-GR,en,fr", - "name": "Greece", - "neighbours": "AL,MK,TR,BG", - "phone": "30", - "population": 10727668, - "postal_code_format": "### ##", - "postal_code_regex": "^(\\d{5})$", - "tld": ".gr" - }, - "model": "countries_plus.country", - "pk": "GR" - }, - { - "fields": { - "area": "6.50", - "capital": "Gibraltar", - "continent": "EU", - "currency_code": "GIP", - "currency_name": "Pound", - "currency_symbol": "\u00a3", - "equivalent_fips_code": null, - "fips": "GI", - "geonameid": 2411586, - "iso3": "GIB", - "iso_numeric": 292, - "languages": "en-GI,es,it,pt", - "name": "Gibraltar", - "neighbours": "ES", - "phone": "350", - "population": 33718, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".gi" - }, - "model": "countries_plus.country", - "pk": "GI" - }, - { - "fields": { - "area": "239460.00", - "capital": "Accra", - "continent": "AF", - "currency_code": "GHS", - "currency_name": "Cedi", - "currency_symbol": "\u20b5", - "equivalent_fips_code": null, - "fips": "GH", - "geonameid": 2300660, - "iso3": "GHA", - "iso_numeric": 288, - "languages": "en-GH,ak,ee,tw", - "name": "Ghana", - "neighbours": "CI,TG,BF", - "phone": "233", - "population": 29767108, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".gh" - }, - "model": "countries_plus.country", - "pk": "GH" - }, - { - "fields": { - "area": "11300.00", - "capital": "Banjul", - "continent": "AF", - "currency_code": "GMD", - "currency_name": "Dalasi", - "currency_symbol": "D", - "equivalent_fips_code": null, - "fips": "GA", - "geonameid": 2413451, - "iso3": "GMB", - "iso_numeric": 270, - "languages": "en-GM,mnk,wof,wo,ff", - "name": "Gambia", - "neighbours": "SN", - "phone": "220", - "population": 2280102, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".gm" - }, - "model": "countries_plus.country", - "pk": "GM" - }, - { - "fields": { - "area": "18270.00", - "capital": "Suva", - "continent": "OC", - "currency_code": "FJD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "FJ", - "geonameid": 2205218, - "iso3": "FJI", - "iso_numeric": 242, - "languages": "en-FJ,fj", - "name": "Fiji", - "neighbours": null, - "phone": "679", - "population": 883483, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".fj" - }, - "model": "countries_plus.country", - "pk": "FJ" - }, - { - "fields": { - "area": "12173.00", - "capital": "Stanley", - "continent": "SA", - "currency_code": "FKP", - "currency_name": "Pound", - "currency_symbol": "\u00a3", - "equivalent_fips_code": null, - "fips": "FK", - "geonameid": 3474414, - "iso3": "FLK", - "iso_numeric": 238, - "languages": "en-FK", - "name": "Falkland Islands", - "neighbours": null, - "phone": "500", - "population": 2638, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".fk" - }, - "model": "countries_plus.country", - "pk": "FK" - }, - { - "fields": { - "area": "1127127.00", - "capital": "Addis Ababa", - "continent": "AF", - "currency_code": "ETB", - "currency_name": "Birr", - "currency_symbol": "Br", - "equivalent_fips_code": null, - "fips": "ET", - "geonameid": 337996, - "iso3": "ETH", - "iso_numeric": 231, - "languages": "am,en-ET,om-ET,ti-ET,so-ET,sid", - "name": "Ethiopia", - "neighbours": "ER,KE,SD,SS,SO,DJ", - "phone": "251", - "population": 109224559, - "postal_code_format": "####", - "postal_code_regex": "^(\\d{4})$", - "tld": ".et" - }, - "model": "countries_plus.country", - "pk": "ET" - }, - { - "fields": { - "area": "17363.00", - "capital": "Mbabane", - "continent": "AF", - "currency_code": "SZL", - "currency_name": "Lilangeni", - "currency_symbol": "L", - "equivalent_fips_code": null, - "fips": "WZ", - "geonameid": 934841, - "iso3": "SWZ", - "iso_numeric": 748, - "languages": "en-SZ,ss-SZ", - "name": "Eswatini", - "neighbours": "ZA,MZ", - "phone": "268", - "population": 1136191, - "postal_code_format": "@###", - "postal_code_regex": "^([A-Z]\\d{3})$", - "tld": ".sz" - }, - "model": "countries_plus.country", - "pk": "SZ" - }, - { - "fields": { - "area": "1001450.00", - "capital": "Cairo", - "continent": "AF", - "currency_code": "EGP", - "currency_name": "Pound", - "currency_symbol": "\u00a3,\u062c.\u0645", - "equivalent_fips_code": null, - "fips": "EG", - "geonameid": 357994, - "iso3": "EGY", - "iso_numeric": 818, - "languages": "ar-EG,en,fr", - "name": "Egypt", - "neighbours": "LY,SD,IL,PS", - "phone": "20", - "population": 98423595, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".eg" - }, - "model": "countries_plus.country", - "pk": "EG" - }, - { - "fields": { - "area": "754.00", - "capital": "Roseau", - "continent": "NA", - "currency_code": "XCD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "DO", - "geonameid": 3575830, - "iso3": "DMA", - "iso_numeric": 212, - "languages": "en-DM", - "name": "Dominica", - "neighbours": null, - "phone": "+1-767", - "population": 71625, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".dm" - }, - "model": "countries_plus.country", - "pk": "DM" - }, - { - "fields": { - "area": "43094.00", - "capital": "Copenhagen", - "continent": "EU", - "currency_code": "DKK", - "currency_name": "Krone", - "currency_symbol": "kr", - "equivalent_fips_code": null, - "fips": "DA", - "geonameid": 2623032, - "iso3": "DNK", - "iso_numeric": 208, - "languages": "da-DK,en,fo,de-DK", - "name": "Denmark", - "neighbours": "DE", - "phone": "45", - "population": 5797446, - "postal_code_format": "####", - "postal_code_regex": "^(\\d{4})$", - "tld": ".dk" - }, - "model": "countries_plus.country", - "pk": "DK" - }, - { - "fields": { - "area": "9250.00", - "capital": "Nicosia", - "continent": "EU", - "currency_code": "EUR", - "currency_name": "Euro", - "currency_symbol": "\u20ac", - "equivalent_fips_code": null, - "fips": "CY", - "geonameid": 146669, - "iso3": "CYP", - "iso_numeric": 196, - "languages": "el-CY,tr-CY,en", - "name": "Cyprus", - "neighbours": null, - "phone": "357", - "population": 1189265, - "postal_code_format": "####", - "postal_code_regex": "^(\\d{4})$", - "tld": ".cy" - }, - "model": "countries_plus.country", - "pk": "CY" - }, - { - "fields": { - "area": "51100.00", - "capital": "San Jose", - "continent": "NA", - "currency_code": "CRC", - "currency_name": "Colon", - "currency_symbol": "\u20a1", - "equivalent_fips_code": null, - "fips": "CS", - "geonameid": 3624060, - "iso3": "CRI", - "iso_numeric": 188, - "languages": "es-CR,en", - "name": "Costa Rica", - "neighbours": "PA,NI", - "phone": "506", - "population": 4999441, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".cr" - }, - "model": "countries_plus.country", - "pk": "CR" - }, - { - "fields": { - "area": "240.00", - "capital": "Avarua", - "continent": "OC", - "currency_code": "NZD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "CW", - "geonameid": 1899402, - "iso3": "COK", - "iso_numeric": 184, - "languages": "en-CK,mi", - "name": "Cook Islands", - "neighbours": null, - "phone": "682", - "population": 21388, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".ck" - }, - "model": "countries_plus.country", - "pk": "CK" - }, - { - "fields": { - "area": "14.00", - "capital": "West Island", - "continent": "AS", - "currency_code": "AUD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "CK", - "geonameid": 1547376, - "iso3": "CCK", - "iso_numeric": 166, - "languages": "ms-CC,en", - "name": "Cocos Islands", - "neighbours": null, - "phone": "61", - "population": 628, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".cc" - }, - "model": "countries_plus.country", - "pk": "CC" - }, - { - "fields": { - "area": "135.00", - "capital": "Flying Fish Cove", - "continent": "OC", - "currency_code": "AUD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "KT", - "geonameid": 2078138, - "iso3": "CXR", - "iso_numeric": 162, - "languages": "en,zh,ms-CC", - "name": "Christmas Island", - "neighbours": null, - "phone": "61", - "population": 1500, - "postal_code_format": "####", - "postal_code_regex": "^(\\d{4})$", - "tld": ".cx" - }, - "model": "countries_plus.country", - "pk": "CX" - }, - { - "fields": { - "area": "262.00", - "capital": "George Town", - "continent": "NA", - "currency_code": "KYD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "CJ", - "geonameid": 3580718, - "iso3": "CYM", - "iso_numeric": 136, - "languages": "en-KY", - "name": "Cayman Islands", - "neighbours": null, - "phone": "+1-345", - "population": 64174, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".ky" - }, - "model": "countries_plus.country", - "pk": "KY" - }, - { - "fields": { - "area": "9984670.00", - "capital": "Ottawa", - "continent": "NA", - "currency_code": "CAD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "CA", - "geonameid": 6251999, - "iso3": "CAN", - "iso_numeric": 124, - "languages": "en-CA,fr-CA,iu", - "name": "Canada", - "neighbours": "US", - "phone": "1", - "population": 37058856, - "postal_code_format": "@#@ #@#", - "postal_code_regex": "^([ABCEGHJKLMNPRSTVXY]\\d[ABCEGHJKLMNPRSTVWXYZ]) ?(\\d[ABCEGHJKLMNPRSTVWXYZ]\\d)$ ", - "tld": ".ca" - }, - "model": "countries_plus.country", - "pk": "CA" - }, - { - "fields": { - "area": "475440.00", - "capital": "Yaounde", - "continent": "AF", - "currency_code": "XAF", - "currency_name": "Franc", - "currency_symbol": "Fr", - "equivalent_fips_code": null, - "fips": "CM", - "geonameid": 2233387, - "iso3": "CMR", - "iso_numeric": 120, - "languages": "en-CM,fr-CM", - "name": "Cameroon", - "neighbours": "TD,CF,GA,GQ,CG,NG", - "phone": "237", - "population": 25216237, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".cm" - }, - "model": "countries_plus.country", - "pk": "CM" - }, - { - "fields": { - "area": "181040.00", - "capital": "Phnom Penh", - "continent": "AS", - "currency_code": "KHR", - "currency_name": "Riels", - "currency_symbol": "\u17db", - "equivalent_fips_code": null, - "fips": "CB", - "geonameid": 1831722, - "iso3": "KHM", - "iso_numeric": 116, - "languages": "km,fr,en", - "name": "Cambodia", - "neighbours": "LA,TH,VN", - "phone": "855", - "population": 16249798, - "postal_code_format": "#####", - "postal_code_regex": "^(\\d{5})$", - "tld": ".kh" - }, - "model": "countries_plus.country", - "pk": "KH" - }, - { - "fields": { - "area": "5770.00", - "capital": "Bandar Seri Begawan", - "continent": "AS", - "currency_code": "BND", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "BX", - "geonameid": 1820814, - "iso3": "BRN", - "iso_numeric": 96, - "languages": "ms-BN,en-BN", - "name": "Brunei", - "neighbours": "MY", - "phone": "673", - "population": 428962, - "postal_code_format": "@@####", - "postal_code_regex": "^([A-Z]{2}\\d{4})$", - "tld": ".bn" - }, - "model": "countries_plus.country", - "pk": "BN" - }, - { - "fields": { - "area": "153.00", - "capital": "Road Town", - "continent": "NA", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "VI", - "geonameid": 3577718, - "iso3": "VGB", - "iso_numeric": 92, - "languages": "en-VG", - "name": "British Virgin Islands", - "neighbours": null, - "phone": "+1-284", - "population": 29802, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".vg" - }, - "model": "countries_plus.country", - "pk": "VG" - }, - { - "fields": { - "area": "60.00", - "capital": "Diego Garcia", - "continent": "AS", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "IO", - "geonameid": 1282588, - "iso3": "IOT", - "iso_numeric": 86, - "languages": "en-IO", - "name": "British Indian Ocean Territory", - "neighbours": null, - "phone": "246", - "population": 4000, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".io" - }, - "model": "countries_plus.country", - "pk": "IO" - }, - { - "fields": { - "area": "8511965.00", - "capital": "Brasilia", - "continent": "SA", - "currency_code": "BRL", - "currency_name": "Real", - "currency_symbol": "R$", - "equivalent_fips_code": null, - "fips": "BR", - "geonameid": 3469034, - "iso3": "BRA", - "iso_numeric": 76, - "languages": "pt-BR,es,en,fr", - "name": "Brazil", - "neighbours": "SR,PE,BO,UY,GY,PY,GF,VE,CO,AR", - "phone": "55", - "population": 209469333, - "postal_code_format": "#####-###", - "postal_code_regex": "^\\d{5}-\\d{3}$", - "tld": ".br" - }, - "model": "countries_plus.country", - "pk": "BR" - }, - { - "fields": { - "area": "600370.00", - "capital": "Gaborone", - "continent": "AF", - "currency_code": "BWP", - "currency_name": "Pula", - "currency_symbol": "P", - "equivalent_fips_code": null, - "fips": "BC", - "geonameid": 933860, - "iso3": "BWA", - "iso_numeric": 72, - "languages": "en-BW,tn-BW", - "name": "Botswana", - "neighbours": "ZW,ZA,NA", - "phone": "267", - "population": 2254126, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".bw" - }, - "model": "countries_plus.country", - "pk": "BW" - }, - { - "fields": { - "area": "328.00", - "capital": null, - "continent": "NA", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": null, - "geonameid": 7626844, - "iso3": "BES", - "iso_numeric": 535, - "languages": "nl,pap,en", - "name": "Bonaire, Saint Eustatius and Saba ", - "neighbours": null, - "phone": "599", - "population": 18012, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".bq" - }, - "model": "countries_plus.country", - "pk": "BQ" - }, - { - "fields": { - "area": "53.00", - "capital": "Hamilton", - "continent": "NA", - "currency_code": "BMD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "BD", - "geonameid": 3573345, - "iso3": "BMU", - "iso_numeric": 60, - "languages": "en-BM,pt", - "name": "Bermuda", - "neighbours": null, - "phone": "+1-441", - "population": 63968, - "postal_code_format": "@@ ##", - "postal_code_regex": "^([A-Z]{2}\\d{2})$", - "tld": ".bm" - }, - "model": "countries_plus.country", - "pk": "BM" - }, - { - "fields": { - "area": "22966.00", - "capital": "Belmopan", - "continent": "NA", - "currency_code": "BZD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "BH", - "geonameid": 3582678, - "iso3": "BLZ", - "iso_numeric": 84, - "languages": "en-BZ,es", - "name": "Belize", - "neighbours": "GT,MX", - "phone": "501", - "population": 383071, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".bz" - }, - "model": "countries_plus.country", - "pk": "BZ" - }, - { - "fields": { - "area": "431.00", - "capital": "Bridgetown", - "continent": "NA", - "currency_code": "BBD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "BB", - "geonameid": 3374084, - "iso3": "BRB", - "iso_numeric": 52, - "languages": "en-BB", - "name": "Barbados", - "neighbours": null, - "phone": "+1-246", - "population": 286641, - "postal_code_format": "BB#####", - "postal_code_regex": "^(?:BB)*(\\d{5})$", - "tld": ".bb" - }, - "model": "countries_plus.country", - "pk": "BB" - }, - { - "fields": { - "area": "144000.00", - "capital": "Dhaka", - "continent": "AS", - "currency_code": "BDT", - "currency_name": "Taka", - "currency_symbol": "\u09f3", - "equivalent_fips_code": null, - "fips": "BG", - "geonameid": 1210997, - "iso3": "BGD", - "iso_numeric": 50, - "languages": "bn-BD,en", - "name": "Bangladesh", - "neighbours": "MM,IN", - "phone": "880", - "population": 161356039, - "postal_code_format": "####", - "postal_code_regex": "^(\\d{4})$", - "tld": ".bd" - }, - "model": "countries_plus.country", - "pk": "BD" - }, - { - "fields": { - "area": "665.00", - "capital": "Manama", - "continent": "AS", - "currency_code": "BHD", - "currency_name": "Dinar", - "currency_symbol": "\u0628.\u062f", - "equivalent_fips_code": null, - "fips": "BA", - "geonameid": 290291, - "iso3": "BHR", - "iso_numeric": 48, - "languages": "ar-BH,en,fa,ur", - "name": "Bahrain", - "neighbours": null, - "phone": "973", - "population": 1569439, - "postal_code_format": "####|###", - "postal_code_regex": "^(\\d{3}\\d?)$", - "tld": ".bh" - }, - "model": "countries_plus.country", - "pk": "BH" - }, - { - "fields": { - "area": "13940.00", - "capital": "Nassau", - "continent": "NA", - "currency_code": "BSD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "BF", - "geonameid": 3572887, - "iso3": "BHS", - "iso_numeric": 44, - "languages": "en-BS", - "name": "Bahamas", - "neighbours": null, - "phone": "+1-242", - "population": 385640, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".bs" - }, - "model": "countries_plus.country", - "pk": "BS" - }, - { - "fields": { - "area": "7686850.00", - "capital": "Canberra", - "continent": "OC", - "currency_code": "AUD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "AS", - "geonameid": 2077456, - "iso3": "AUS", - "iso_numeric": 36, - "languages": "en-AU", - "name": "Australia", - "neighbours": null, - "phone": "61", - "population": 24992369, - "postal_code_format": "####", - "postal_code_regex": "^(\\d{4})$", - "tld": ".au" - }, - "model": "countries_plus.country", - "pk": "AU" - }, - { + "model": "peachjam.documentnature", + "pk": 1, "fields": { - "area": "193.00", - "capital": "Oranjestad", - "continent": "NA", - "currency_code": "AWG", - "currency_name": "Guilder", - "currency_symbol": "\u0192", - "equivalent_fips_code": null, - "fips": "AA", - "geonameid": 3577279, - "iso3": "ABW", - "iso_numeric": 533, - "languages": "nl-AW,pap,es,en", - "name": "Aruba", - "neighbours": null, - "phone": "297", - "population": 105845, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".aw" - }, - "model": "countries_plus.country", - "pk": "AW" + "name": "Document", + "code": "document" + } }, { + "model": "peachjam.documentnature", + "pk": 3, "fields": { - "area": "2766890.00", - "capital": "Buenos Aires", - "continent": "SA", - "currency_code": "ARS", - "currency_name": "Peso", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "AR", - "geonameid": 3865483, - "iso3": "ARG", - "iso_numeric": 32, - "languages": "es-AR,en,it,de,fr,gn", - "name": "Argentina", - "neighbours": "CL,BO,UY,PY,BR", - "phone": "54", - "population": 44494502, - "postal_code_format": "@####@@@", - "postal_code_regex": "^[A-Z]?\\d{4}[A-Z]{0,3}$", - "tld": ".ar" - }, - "model": "countries_plus.country", - "pk": "AR" + "name": "Charter", + "code": "charter" + } }, { "fields": { - "area": "443.00", - "capital": "St. John's", - "continent": "NA", - "currency_code": "XCD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "AC", - "geonameid": 3576396, - "iso3": "ATG", - "iso_numeric": 28, - "languages": "en-AG", - "name": "Antigua and Barbuda", - "neighbours": null, - "phone": "+1-268", - "population": 96286, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".ag" + "description": "", + "name": "Activity report", + "code": "activity-report" }, - "model": "countries_plus.country", - "pk": "AG" + "model": "peachjam.documentnature", + "pk": 8 }, { + "model": "peachjam.courtclass", + "pk": 2, "fields": { - "area": "102.00", - "capital": "The Valley", - "continent": "NA", - "currency_code": "XCD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "AV", - "geonameid": 3573511, - "iso3": "AIA", - "iso_numeric": 660, - "languages": "en-AI", - "name": "Anguilla", - "neighbours": null, - "phone": "+1-264", - "population": 13254, - "postal_code_format": null, - "postal_code_regex": null, - "tld": ".ai" - }, - "model": "countries_plus.country", - "pk": "AI" + "name": "High Court", + "description": "" + } }, { "fields": { - "area": "199.00", - "capital": "Pago Pago", - "continent": "OC", - "currency_code": "USD", - "currency_name": "Dollar", - "currency_symbol": "$", - "equivalent_fips_code": null, - "fips": "AQ", - "geonameid": 5880801, - "iso3": "ASM", - "iso_numeric": 16, - "languages": "en-AS,sm,to", - "name": "American Samoa", - "neighbours": null, - "phone": "+1-684", - "population": 55465, - "postal_code_format": "#####-####", - "postal_code_regex": "96799", - "tld": ".as" + "code": "ECOWASCJ", + "court_class": 2, + "name": "ECOWAS Community Court of Justice" }, - "model": "countries_plus.country", - "pk": "AS" + "model": "peachjam.court", + "pk": 1 }, { "fields": { @@ -3295,23 +195,6 @@ "model": "peachjam.coredocument", "pk": 5389 }, - { - "fields": { - "frbr_uri": "/akn/aa-au/doc/activity-report/2017/nn", - "title": "Activity Report of the Pan-African Parliament, July 2016 to June 2017" - }, - "model": "peachjam.work", - "pk": 3573 - }, - { - "fields": { - "description": "", - "name": "Activity report", - "code": "activity-report" - }, - "model": "peachjam.documentnature", - "pk": 8 - }, { "fields": { "citation": null, @@ -3468,177 +351,11 @@ }, { "fields": { - "code": "au", - "jurisdiction": "AA", - "name": "African Union (AU)" - }, - "model": "peachjam.locality", - "pk": 1 - }, - { - "fields": { - "area": null, - "capital": null, - "continent": "AF", - "currency_code": null, - "currency_name": null, - "currency_symbol": null, - "equivalent_fips_code": null, - "fips": null, - "geonameid": null, - "iso3": "AAA", - "iso_numeric": 10000, - "languages": null, - "name": "African Regional Bodies", - "neighbours": null, - "phone": null, - "population": null, - "postal_code_format": null, - "postal_code_regex": null, - "tld": null - }, - "model": "countries_plus.country", - "pk": "AA" - }, - { - "fields": { - "countries_spoken": [ - "AS", - "AI", - "AG", - "AR", - "AW", - "AU", - "BS", - "BH", - "BD", - "BB", - "BZ", - "BM", - "BQ", - "BW", - "BR", - "IO", - "VG", - "BN", - "KH", - "CM", - "CA", - "KY", - "CX", - "CC", - "CK", - "CR", - "CY", - "DK", - "DM", - "EG", - "SZ", - "ET", - "FK", - "FJ", - "GM", - "GH", - "GI", - "GR", - "GL", - "GD", - "GU", - "GG", - "GY", - "HK", - "IS", - "IN", - "ID", - "IE", - "IM", - "IL", - "JM", - "JE", - "JO", - "KE", - "KI", - "KW", - "LA", - "LB", - "LS", - "LR", - "LY", - "MY", - "MV", - "MT", - "MH", - "MU", - "FM", - "MC", - "MS", - "NA", - "NR", - "NP", - "AN", - "NZ", - "NI", - "NG", - "NU", - "NF", - "MP", - "OM", - "PK", - "PW", - "PA", - "PG", - "PH", - "PN", - "PR", - "RW", - "SH", - "KN", - "LC", - "VC", - "WS", - "SC", - "SL", - "SG", - "SX", - "SB", - "SO", - "ZA", - "GS", - "KR", - "SS", - "LK", - "SD", - "SR", - "SY", - "TZ", - "TH", - "TL", - "TK", - "TO", - "TT", - "TC", - "TV", - "UG", - "AE", - "GB", - "US", - "UM", - "VI", - "VU", - "VN", - "ZM", - "ZW" - ], - "family": "Indo-European", - "iso_639_2B": "eng", - "iso_639_2T": "eng", - "iso_639_3": "eng", - "name_en": "English", - "name_native": "English", - "notes": "" + "frbr_uri": "/akn/aa-au/doc/activity-report/2017/nn", + "title": "Activity Report of the Pan-African Parliament, July 2016 to June 2017" }, - "model": "languages_plus.language", - "pk": "en" + "model": "peachjam.work", + "pk": 3573 }, { "fields": { @@ -5886,15 +2603,6 @@ "model": "peachjam.work", "pk": 3716 }, - { - "fields": { - "description": "", - "name": "Charter", - "code": "charter" - }, - "model": "peachjam.documentnature", - "pk": 3 - }, { "fields": { "citation": null, @@ -8143,6 +4851,7 @@ }, { "fields": { + "nature": 2, "citation": "Obi vs Federal Republic of Nigeria [2016] ECOWASCJ 52 (09 November 2016)", "content_html": "", "content_html_is_akn": false, @@ -8182,6 +4891,7 @@ }, { "fields": { + "nature": 2, "citation": "Ababacar and Ors vs Senegal [2018] ECOWASCJ 17 (29 June 2018)", "content_html": "", "content_html_is_akn": false, @@ -8253,6 +4963,7 @@ }, { "fields": { + "nature": 4, "citation": null, "content_html": "\n\n\n\n \n\n\n
\n \n\n \n \n

African Union

\n \n \n\n \n \n \n\n \n

African Union Non-Aggression and Common Defence Pact

\n \n\n \n \n \n \n \n\n \n \n \n\n \n \n\n\n\n \n
\n\n\n\n\n\n\n\n
We, the Heads of State and Government of the Member States of the African Union;CONSCIOUS of the gravity of the impact of conflicts both within and among African States, on peace, security and stability in the Continent, and their devastating impact on socio-economic development;COMMITTED to our common vision of a united and strong Africa, based on respect for the principles of peaceful co-existence, non-aggression, non-interference in the internal affairs of Member States, mutual respect for individual sovereignty and territorial integrity of each State;DETERMINED to put an end to conflicts of any kind within and among States in Africa, in order to create propitious conditions for socio-economic development and integration of the Continent, as well as the fulfilment of the aspirations of our peoples;REAFFIRMING that appropriate development institutions and promotion of a strong democratic culture through organization of honest and regular elections, respect for human rights and the rule of law, combating corruption and impunity and formulation of sustainable development policies are vital to collective security, peace and stability;CONSIDERING the Constitutive Act of the African Union, the Treaty Establishing the African Economic Community and the Charter of the United Nations;CONSIDERING ALSO the Protocol Relating to the Establishment of the Peace and Security Council of the African Union adopted in Durban, South Africa, on 10 July 2002, particularly its Article 7(h) on the implementation of the Common Defence Policy of the Union;REAFFIRMING our commitment to the Solemn Declaration on the Common African Defence and Security Policy adopted in Sirte, Great Libyan Arab Jamahiriya, by the Second Extraordinary Session of the Assembly of the African Union held from 27 to 28 February 2004, particularly its Chapter III, paragraph (t) which encourages \"the conclusion and ratification of non-aggression pacts between and among African States and the harmonization of such agreements'\";CONVINCED that the African Union is a community of Member States which decided, among other things, to adopt an African Union Non-Aggression and Common Defence Pact in order to deal with threats to peace, security and stability in the continent and to ensure the well being of the African peoples.
HAVE AGREED AS FOLLOWS:

Definitions

\n

Article 1

\nIn this Pact:a)\"Acts of Subversion\" means any act that incites, aggravates or creates dissension within or among Member States with the intention or purpose to destabilize or overthrow the existing regime or political order by, among other means, fomenting racial, religious, linguistic, ethnic and other differences, in a manner inconsistent with the Constitutive Act, the Charter of the United Nations and the Lom\u00e9 Declaration;b)\"African Standby Force\" means the African Standby Force (ASF) provided in the Protocol Relating to the Establishment of the Peace and Security Council of the African Union;c)\"Aggression\" means the use, intentionally and knowingly, of armed force or any other hostile act by a State, a group of States, an organization of States or non-State actor(s) or by any foreign or external entity, against the sovereignty, political independence, territorial integrity and human security of the population of a State Party to this Pact, which are incompatible with the Charter of the United Nations or the Constitutive Act of the African Union. The following shall constitute acts of aggression, regardless of a declaration of war by a State, group of States, organization of States, or non-State actor(s) or by any foreign entity:i)the use of armed forces against the sovereignty, territorial integrity and political independence of a Member State, or any other act inconsistent with the provisions of the Constitutive Act of the African Union and the Charter of the United Nations;ii)the invasion or attack by armed forces against the territory of a Member State, or military occupation, however temporary, resulting from such an invasion or attack, or any annexation by the use of force of the territory of a Member State or part thereof;iii)the bombardment of the territory of a Member State or the use of any weapon against the territory of a Member State;iv)the blockade of the ports, coasts or airspace of a Member State;v)the attack on the land, sea or air forces, or marine and fleets of a Member State;vi)the use of the armed forces of a Member State which are within the territory of another Member State with the agreement of the latter, in contravention of the conditions provided for in this Pact;vii)the action of a Member State in allowing its territory, to be used by another Member State for perpetrating an act of aggression against a third State;viii)the sending by, or on behalf of a Member State or the provision of any support to armed groups, mercenaries, and other organized trans-national criminal groups which may carry out hostile acts against a Member State, of such gravity as to amount to the acts listed above, or its substantial involvement therein;ix)the acts of espionage which could be used for military aggression against a Member State;x)technological assistance of any kind, intelligence and training to another State for use in committing acts of aggression against another Member State; andxi)the encouragement, support, harbouring or provision of any assistance for the commission of terrorist acts and other violent trans-national organized crimes against a Member State.d)\"Assembly\" means the Assembly of Heads of State and Government of the African Union;e)\"Commission\" means the Commission of the African Union;f)\"Common African Defence and Security Policy\" means the Solemn Declaration on a Common African Defence and Security Policy adopted by the Second Extraordinary Session of the Assembly, held in Sirte, Great Socialist Libyan Arab Jamahiriya, in February 2004;g)\"Constitutive Act\" means the Constitutive Act of the African Union;h)\"Court of Justice\" means the Court of Justice of the African Union;i)\"Destabilization\" means any act that disrupts the peace and tranquillity of any Member State or which may lead to mass social and political disorder;j)\"Dispute\" means any conflict between two or among several Member States or within a Member State, which constitutes a threat to peace and security, or a breach of the peace and security within the African Union, as determined by the Assembly of Heads of State and Government or the Peace and Security Council;k)\"Human Security\" means the security of the individual in terms of satisfaction of his/her basic needs. It also includes the creation of social, economic, political, environmental and cultural conditions necessary for the survival and dignity of the individual, the protection of and respect for human rights, good governance and the guarantee for each individual of opportunities and choices for his/her full development;l)\"Lom\u00e9 Declaration\" means the Declaration on the Framework for an OAU Response to Unconstitutional Changes of Government;m)\"Member States\" means Member States of the African Union;m)\"Mercenaries\" means mercenaries as defined in the OAU Convention on the Elimination of Mercenarism in Africa;o)\"Military Staff Committee\" means the Military Staff Committee (MSC) provided in the Protocol Relating to the Establishment of the Peace and Security Council of the African Union;p)\"Non-Aggression\" means peaceful conduct by a Member State, group of Member States, organization of Member States, or non-State actor(s), which does not constitute acts of aggression as defined above;q)\"Pact\" means the present Pact;r)\"Peace and Security Council\" means the Peace and Security Council (PSC) of the African Union as provided in the Protocol Relating to the Establishment of the Peace and Security Council of the African Union;s)\"Protocol\" means the Protocol Relating to the Establishment of the Peace and Security Council of the African Union;t)\"Regional Mechanism\" means African Regional Mechanisms for Conflict Prevention, Management and Resolution;u)\"State Party\" means a Member State that has ratified or acceded to this Pact;v)\"Terrorist Acts\" means those acts or offences defined in the OAU Convention on the Prevention and Combating of Terrorism;w)\"Threat of Aggression\" means any harmful conduct or statement by a State, group of States, organization of States, or non-State actor(s) which though falling short of a declaration of war, might lead to an act of aggression as defined above;x)\"Trans-national Organized Criminal Group\" means a structured group of three or more persons, existing for a period of time and acting in concert with the aim of committing one or more serious crimes which are trans-national in scope, or offences established in accordance with international law, including the United Nations Convention Against Trans-national Organized Crime and its Protocols thereto, the purpose being which to obtain, directly or indirectly financial and other material benefits;y)\"Union\" means the African Union;

Objectives

\n

Article 2

\n
a)The objectives of this Pact are:
i)to promote cooperation among the Member States in the areas of non-aggression and common defence,
ii)to promote peaceful co-existence in Africa,
iii)to prevent conflicts of inter-State or intra-State nature, and
iv)to ensure that disputes are resolved by peaceful means.
b)In pursuance of these objectives, this Pact seeks to define a framework under which the Union may intervene or authorise intervention, in preventing or addressing situations of aggression, in conformity with the Constitutive Act, the Protocol and the Common African Defence and Security Policy;
c)Consequently, any aggression or threat of aggression against any of the Member States shall be deemed to constitute a threat or aggression against all Member States of the Union.

Obligations

\n

Article 3

\n
a)State Parties undertake, pursuant to the provisions of the Constitutive Act, to resolve any differences by peaceful means, in order to avoid endangering peace and security; to refrain from the use of force or threat to use force in their relations with each other and in any manner whatsoever, incompatible with the United Nations Charter. Consequently, no consideration whatsoever, be it political, economic, military, religious or racial shall justify aggression;
b)State Parties undertake to develop and strengthen the friendly and peaceful relations among them in accordance with the fundamental principles of the Union;
c)State Parties undertake to promote such sustainable development policies as are appropriate to enhance the well being of the African people, including the dignity and fundamental rights of every human being in the context of a democratic society as stipulated in the Lom\u00e9 Declaration. In particular, State Parties shall ensure freedom of worship, respect of the cultural identity of peoples and the rights of minorities;
d)State Parties undertake to prohibit and prevent genocide, other forms of mass murder as well as crimes against humanity.

Article 4

\n
a)State Parties undertake to provide mutual assistance towards their common defence and security vis-a-vis any aggression or threats of aggression;
b)State Parties undertake, individually and collectively, to respond by all available means to aggression or threats of aggression against any Member State;
c)State Parties undertake not to recognize any territorial acquisition or special advantage, resulting from the use of aggression;
d)As part of the vision of building a strong and united Africa, State Parties undertake to establish an African Army at the final stage of the political and economic integration of the Continent. In the meantime, State Parties will make best efforts to address the challenges of common defence and security through the effective implementation of the Common African Defence and Security Policy, including the early establishment and operationalisation of the African Standby Force.

Article 5

\n
a)State Parties undertake to intensify collaboration and cooperation in all aspects related to combating international terrorism and any other form of organized trans-national crime or destabilization of any Member State;
b)Each State Party shall prevent its territory and its people from being used for encouraging or committing acts of subversion, hostility, aggression and other harmful practices that might threaten the territorial integrity and sovereignty of a Member State or regional peace and security;
c)Each State Party shall prohibit the use of its territory for the stationing, transit, withdrawal or incursions of irregular armed groups, mercenaries and terrorist organizations operating in the territory of another Member State.

Article 6

\n
a)State Parties undertake to extend mutual legal and all other assistance in the event of threats of terrorist attack or other organized international crimes.
b)State Parties undertake to arrest and prosecute any irregular armed group(s), mercenaries or terrorist(s) that pose a threat to any Member State.

Article 7

\nState Parties undertake, to cooperate and enhance their military and intelligence capacities through mutual assistance.

Article 8

\n
a)Each State Party declares not to enter into any international or regional commitment which is in contradiction to the present Pact.
b)Each State Party declares that under no circumstances shall it exempt itself from its obligations under this Pact.

Implementation mechanisms

\n

Article 9

\nThe Peace and Security Council shall be responsible for the implementation of this Pact, under the authority of the Assembly. In this regard, the Peace and Security Council may be assisted by any organ of the Union, pending the setting up of mechanisms and institutions for common defence and security.

Article 10

\n
a)State Parties undertake to provide all possible assistance towards the military operations decided by the Peace and Security Council, including the use of the African Standby Force;
b)State Parties undertake to develop and strengthen the level of their actual collaboration with the Command Headquarters and Military Staff Committee of the African Standby Force in accordance with the provisions of the Protocol and the Policy Framework for the Establishment of the African Standby Force and the Military Staff Committee.

Article 11

\n
a)State Parties undertake to develop and strengthen the capacities of African research, information and training institutions to enhance early preventive action against any aggression or threats of aggression;
b)The Peace and Security Council may also be assisted by the following institutions:
i)The African Peace Academy;
ii)The African Centre for Study and Research on Terrorism;
iii)The African Union Commission on International Law;
c)The Peace and Security Council may establish any other mechanism as it deems necessary.

The African Peace Academy

\n

Article 12

\n
a)State Parties undertake to establish and operationalize the African Peace Academy (APA) to serve as a framework for the promotion of peace and stability in Africa, and as a centre of excellence for research and development of an African peace doctrine;
b)The organization and operational modalities of the Academy shall be decided upon by the Assembly.

African Centre for the Study and Research on Terrorism

\n

Article 13

\n
a)The African Centre for the Study and Research on Terrorism (ACSRT) shall serve to centralize, collect and disseminate information, studies and analysis on terrorism and terrorist groups, and shall provide training programs by organizing, with the assistance of international partners meetings, and symposia, in order to prevent and combat terrorist acts in Africa;
b)The Centre shall assist Member States develop the expertise and strategies for the prevention and combating of terrorism, particularly with respect to the implementation of the 1999 OAU Convention and its Protocol thereto on the Prevention and Combating of Terrorism, as well as the Plan of Action on the Prevention and Combating of Terrorism in Africa and other relevant decisions adopted by the policy Organs of the Union;
c)State Parties undertake to support fully and take active part in the activities of the Centre.

The African Union Commission on International Law

\n

Article 14

\n
a)State Parties undertake to establish an African Union Commission on International Law whose objectives shall, among others, be to study all legal matters related to the promotion of peace and security in Africa, including the demarcation and delineation of African borders;
b)The composition and functions of the African Union Commission on International Law shall be decided upon by the Assembly.

Peaceful settlement of dispute

\n

Article 15

\nState Parties involved in any dispute shall first seek a solution by negotiation, inquiry, mediation, conciliation, arbitration, judicial settlement, or resort to regional and continental mechanisms or arrangements, or other peaceful means.

Interpretation

\n

Article 16

\nState Parties undertake to refer all disputes over the interpretation, implementation and validity of this Pact to the Court of Justice, without prejudice to the competence of the Peace and Security Council.

Article 17

\n
a)This Pact shall not derogate from, and shall not be interpreted as derogating in any way from the obligations of Member States contained in the United Nations Charter and the Constitutive Act, including the Protocol, and from the primary responsibility of the United Nations Security Council for the maintenance of international peace and security.
b)This Pact shall not derogate from, and shall not be interpreted as derogating in any way whatsoever, from the rights of refugees guaranteed by the relevant continental and international instruments.

Final provisions

\n

Article 18

\n
a)This Pact shall be open to signature and ratification or accession by Member States in accordance with their respective constitutional procedures;
b)The instruments of ratification shall be deposited with the Chairperson of the Commission;
c)Any Member State acceding to this Pact after its entry into force shall deposit the instrument of accession with the Chairperson of the Commission;
d)Any State Party may withdraw from this Pact by giving a one (1) year prior notice to the Chairperson of the Commission, who shall notify all the State Parties thereof.

Article 19

\nThis Pact shall enter into force thirty (30) days following the deposit of instruments of ratification by fifteen (15) Member States.

Article 20

\n
a)Any State Party may submit proposals for the amendment or revision of this Pact;
b)Proposals for amendment or revision shall be submitted to the Chairperson of the Commission who shall transmit same to the State Parties within thirty (30) days of receipt thereof;
c)The amendments shall be examined and approved by the State Parties, by consensus or, failing which, by two-third majority, and thereafter, the amendments shall be formally endorsed by the Assembly;
d)The amendments shall enter into force for each State Party which has accepted it, thirty (30) days after the Chairperson of the Commission has received notice of the acceptance.

Article 21

\nThere shall be a periodic evaluation of this Pact in order to update it and to enhance its implementation. The evaluation of the Pact shall be done within the context of paragraph 36 of the Solemn Declaration on the Common African Defence and Security Policy which provide for the convening by the Chairperson of the Peace and Security Council \"of a yearly review conference involving all the conflict resolution mechanisms of the various regional organizations as well as mechanisms established by the continental instruments.\"

Article 22

\nThis Pact, drawn up in four (4) original texts in Arabic, English, French and Portuguese, all four (4) being equally authentic, shall be deposited with the Chairperson of the Commission who shall transmit certified copies thereof to each Member State.

Article 23

\nThe Chairperson of the Commission shall register this Pact with the United Nations.
Adopted by the fourth Ordinary Session of the Assembly, held in Abuja, Nigeria, on Monday, 31 January 2005
\n\n\n\n\n\n", "content_html_is_akn": true, @@ -9131,6 +5842,7 @@ }, { "fields": { + "nature": 4, "citation": null, "content_html": "\n\n\n\n \n\n\n
\n \n\n \n \n

African Union

\n \n \n\n \n \n \n\n \n

African Civil Aviation Commission Constitution (AFCAC)

\n \n\n \n \n \n \n \n\n \n \n \n\n \n \n\n\n\n \n
\n\n\n\n\n\n\n\n11Came into force provisionally on 17 January 1969 in respect of the following States, on behalf of which it had been signed on that date, in accordance with article 14:
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Central African RepublicMaliSierra Leone
CongoMauritaniaTogo
EgyptMauritiusUnited Republic of Cameroon
EthiopiaMoroccoUnited Republic of Tanzania
GhanaNigeriaUpper Volta
Ivory CoastSenegalZambia
Libyan Arab Republic
\nSubsequently, the Convention came into force in respect of the following States, with provisional effect from the date of signature, in accordance with article 14:
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
StateDate of signatureStateDate of signature
Algeria3 March 1971Malawi25 June 1969
Benin17 February 1972Niger8 July 1969
Lesotho27 March 1973Rwanda9 December 1970
Liberia17 January 1969Swaziland23 June 1970
\nThe Convention came into force definitively on 12 January 1972 in respect of the following 20 Member States of the Organization of African Unity, on behalf of which an instrument of ratification had been deposited with the Secretariat of the Organization of African Unity, in accordance with article 14:
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
StateDate of deposit of the instrument of ratificationStateDate of deposit of the instrument of ratification
Algeria8 October 1971Nigeria14 December 1970
Chad10 March 1971Senegal13 April 1971
Egypt28 July 1969Sudan8 July 1971
Ghana10 December 1970Swaziland23 June 1971
Ivory Coast16 November 1970TogoI July 1971
Kenya16 May 1969Uganda18 November 1969
Malawi7 August 1969United Republic of Cameroon12 January 1972
Mali16 April 1970United Republic of Tanzania26 September 1969
Morocco15 March 1971Upper Volta12 March 1971
Niger22 June 1970Zambia10 December 1971
\nSubsequently, the Convention came into force in respect of the following Member States of the Organization of African Unity, on the date of deposit of their instruments of ratification with the Secretariat of the Organization of African Unity, in accordance with article 14:
\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
StateDate of deposit of the instrument of ratificationStateDate of deposit of the instrument of ratification
Benin31 January 1973Liberia16 September 1974
Burundi19 April 1973Libyan Arab Republic29 August 1973
Congo2 April 1973Rwanda8 April 1974
Ethiopia8 January 1975Sierra Leone17 August 1973
Gabon17 April 1972Somalia5 April 1972
Guinea2 June 1975Zaire12 December 1973
Lesotho27 August 1973
1.The African Civil Aviation Commission (AFCAC) is an autonomous body and membership shall be open to African States members of ECA or OAU.
2.AFCAC is a consultative body and its conclusions and recommendations shall be subject to acceptance by each of the governments.

Objectives

\n
3.The objectives of AFCAC are:
(a)to provide the civil aviation authorities in the member States with a framework within which to discuss and plan all the required measures of co-ordination and co-operation for all their civil aviation activities;
(b)to promote co-ordination, better utilization and orderly development of African air transport systems.

Functions

\n
4.1The functions of AFCAC shall, in particular, include:
(a)formulating plans at the regional and sub-regional levels for the operation of air services within and outside Africa;
(b)carrying out studies of the feasibility of standardization of flying equipment and ground units servicing aircraft;
(c)carrying out studies of the possibility of integration of the policies of governments regarding commercial aspects of air transport;
(d)carrying out studies of intra-African fares and rates with a view to adopting a structure conducive to the rapid growth of traffic in Africa;
(e)carrying out studies of regional or sub-regional air transport economic questions other than those mentioned in (b), (c) and (d) above;
(f)encouraging the application of ICAO standards and recommendations on facilitation and supplementing them by further measures aimed at greater facilitation of the movement by air of passengers, cargo and mail;
(g)fostering arrangements between States whenever this will contribute to the implementation of
(i)ICAO regional plans for air navigation facilities and services, and
(ii)ICAO specifications in the fields of airworthiness, maintenance and operation of aircraft, licensing of personnel and aircraft accident investigation;
(h)fostering and co-ordinating programmes for the development of existing and future training facilities to cope with the present and future regional and sub-regional requirements for personnel in all fields of civil aviation;
(i)studying the need for collective arrangements for technical assistance in Africa with a viflw to obtaining the best possible use of all available resources, particularly those provided within the framework of the United Nations Development Programme.
4.2AFCAC shall, in the exercise of its functions, work in close consultation and co-operation with OAU, ECA, ICAO and any other governmental or non-governmental international organization concerned with civil aviation.

Organization and working arrangements

\n
5.AFCAC shall meet in ordinary plenary session once every two years.
6.At each ordinary plenary session, AFCAC shall elect its President and four Vice Presidents, one for each sub-region, who will constitute the Bureau of AFCAC.
7.Extraordinary plenary meetings may be convened by the Bureau and must be convened if the Bureau received a request from two-thirds of the AFCAC members.
8.At each ordinary plenary session, AFCAC shall establish its work programme for the period until the following ordinary plenary session.
9.The direction, co-ordination and steering of the work programme between ordinary plenary sessions shall be the responsibility of the Bureau of AFCAC.
10.AFCAC shall determine its own internal organization, arrangements and procedures, including the formation of committees to study special aspects of civil aviation in Africa.
11.Member States should be represented at meetings of AFCAC by delegates senior in rank and competent in the field to be discussed for the authoritative handling of the problems.
12.There shall be established by AFCAC a Secretariat for organizing studies, meetings, maintenance of records and the like. The rules governing the recruitment and conditions of service of the staff shall be determined by AFCAC, ICAO, during the initial period to be determined by AFCAC, shall have the following responsibilities:
(i)to provide staff to carry out studies, organize meetings and undertake related activities;
(ii)to handle minutes, correspondence, etc.
AFCAC shall make full use of the experience and assistance of ICAO in conformity with the practice followed by the latter with similar international organizations.

Financial matters

\n
13.At each ordinary plenary session, AFCAC shall prepare and approve a budget of the direct costs of its activities, as indicated in the work programme for the ensuing years. AFCAC shall establish its own financial rules for the assessment of members' contributions and control of expenditure. As regards the indirect costs, these shall be the responsibility of ICAO in accordance with the practice followed by ICAO in the joint financing field under Chapter XV of the Chicago Convention.

Signature, ratification and withdrawal

\n
14.The present constitution is open to signature by all States attending the Constitutive Conference of AFCAC and by all other independent African States members of the OAU or ECA.The instruments of ratification shall be deposited with the Secretariat of the OAU which shall give notice of the date of deposit to AFCAC and all member States of AFCAC.The present Constitution shall be open for the signature of African States as of 17 January 1969 at the Headquarters of the OAU in Addis Ababa.The Constitution shall come into force provisionally as of 17 January 1969 and shall come into force definitively after ratification by twenty member States.
15.To withdraw from AFCAC, a State shall address a notification to that effect to the Secretariat of OAU which shall immediately notify AFCAC and all other members.Withdrawal shall take effect one year from receipt of the notification.

Amendment

\n
16.This Constitution may be amended by a two-thirds majority of all members.
\n\n\n\n\n\n", "content_html_is_akn": true, @@ -9789,6 +6501,7 @@ "model": "peachjam.coredocument", "pk": 3040, "fields": { + "nature": 1, "polymorphic_ctype": [ "peachjam", "legislation" @@ -10048,7 +6761,6 @@ "language": "en", "jurisdiction": "ZA", "locality": null, - "nature": null, "work_frbr_uri": "/akn/za/act/1979/70", "frbr_uri_doctype": "act", "frbr_uri_subtype": null, @@ -10066,6 +6778,7 @@ "model": "peachjam.coredocument", "pk": 3041, "fields": { + "nature": 1, "polymorphic_ctype": [ "peachjam", "legislation" @@ -10325,7 +7038,6 @@ "language": "en", "jurisdiction": "ZA", "locality": null, - "nature": null, "work_frbr_uri": "/akn/za/act/1979/70", "frbr_uri_doctype": "act", "frbr_uri_subtype": null, diff --git a/peachjam/fixtures/tests/countries.json b/peachjam/fixtures/tests/countries.json index 02a99b6cf..82e9024a5 100644 --- a/peachjam/fixtures/tests/countries.json +++ b/peachjam/fixtures/tests/countries.json @@ -1,27 +1,3301 @@ [ -{ - "model": "countries_plus.country", - "pk": "ZA", - "fields": { - "iso3": "ZAF", - "iso_numeric": 710, - "fips": "SF", - "name": "South Africa", - "capital": "Pretoria", - "area": "1219912.00", - "population": 57779622, - "continent": "AF", - "tld": ".za", - "currency_code": "ZAR", - "currency_symbol": "R", - "currency_name": "Rand", - "phone": "27", - "postal_code_format": "####", - "postal_code_regex": "^(\\d{4})$", - "languages": "zu,xh,af,nso,en-ZA,tn,st,ts,ss,ve,nr", - "geonameid": 953987, - "neighbours": "ZW,SZ,MZ,BW,NA,LS", - "equivalent_fips_code": null - } -} + { + "fields": { + "area": "390580.00", + "capital": "Harare", + "continent": "AF", + "currency_code": "ZWL", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "ZI", + "geonameid": 878675, + "iso3": "ZWE", + "iso_numeric": 716, + "languages": "en-ZW,sn,nr,nd", + "name": "Zimbabwe", + "neighbours": "ZA,MZ,BW,ZM", + "phone": "263", + "population": 14439018, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".zw" + }, + "model": "countries_plus.country", + "pk": "ZW" + }, + { + "fields": { + "area": "752614.00", + "capital": "Lusaka", + "continent": "AF", + "currency_code": "ZMW", + "currency_name": "Kwacha", + "currency_symbol": null, + "equivalent_fips_code": null, + "fips": "ZA", + "geonameid": 895949, + "iso3": "ZMB", + "iso_numeric": 894, + "languages": "en-ZM,bem,loz,lun,lue,ny,toi", + "name": "Zambia", + "neighbours": "ZW,TZ,MZ,CD,NA,MW,AO", + "phone": "260", + "population": 17351822, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".zm" + }, + "model": "countries_plus.country", + "pk": "ZM" + }, + { + "fields": { + "area": "329560.00", + "capital": "Hanoi", + "continent": "AS", + "currency_code": "VND", + "currency_name": "Dong", + "currency_symbol": "\u20ab", + "equivalent_fips_code": null, + "fips": "VM", + "geonameid": 1562822, + "iso3": "VNM", + "iso_numeric": 704, + "languages": "vi,en,fr,zh,km", + "name": "Vietnam", + "neighbours": "CN,LA,KH", + "phone": "84", + "population": 95540395, + "postal_code_format": "######", + "postal_code_regex": "^(\\d{6})$", + "tld": ".vn" + }, + "model": "countries_plus.country", + "pk": "VN" + }, + { + "fields": { + "area": "12200.00", + "capital": "Port Vila", + "continent": "OC", + "currency_code": "VUV", + "currency_name": "Vatu", + "currency_symbol": "Vt", + "equivalent_fips_code": null, + "fips": "NH", + "geonameid": 2134431, + "iso3": "VUT", + "iso_numeric": 548, + "languages": "bi,en-VU,fr-VU", + "name": "Vanuatu", + "neighbours": null, + "phone": "678", + "population": 292680, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".vu" + }, + "model": "countries_plus.country", + "pk": "VU" + }, + { + "fields": { + "area": "352.00", + "capital": "Charlotte Amalie", + "continent": "NA", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "VQ", + "geonameid": 4796775, + "iso3": "VIR", + "iso_numeric": 850, + "languages": "en-VI", + "name": "U.S. Virgin Islands", + "neighbours": null, + "phone": "+1-340", + "population": 106977, + "postal_code_format": "#####-####", + "postal_code_regex": "^008\\d{2}(?:-\\d{4})?$", + "tld": ".vi" + }, + "model": "countries_plus.country", + "pk": "VI" + }, + { + "fields": { + "area": "0.00", + "capital": null, + "continent": "OC", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": null, + "geonameid": 5854968, + "iso3": "UMI", + "iso_numeric": 581, + "languages": "en-UM", + "name": "United States Minor Outlying Islands", + "neighbours": null, + "phone": "1", + "population": 0, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".um" + }, + "model": "countries_plus.country", + "pk": "UM" + }, + { + "fields": { + "area": "9629091.00", + "capital": "Washington", + "continent": "NA", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "US", + "geonameid": 6252001, + "iso3": "USA", + "iso_numeric": 840, + "languages": "en-US,es-US,haw,fr", + "name": "United States", + "neighbours": "CA,MX,CU", + "phone": "1", + "population": 327167434, + "postal_code_format": "#####-####", + "postal_code_regex": "^\\d{5}(-\\d{4})?$", + "tld": ".us" + }, + "model": "countries_plus.country", + "pk": "US" + }, + { + "fields": { + "area": "244820.00", + "capital": "London", + "continent": "EU", + "currency_code": "GBP", + "currency_name": "Pound", + "currency_symbol": "\u00a3", + "equivalent_fips_code": null, + "fips": "UK", + "geonameid": 2635167, + "iso3": "GBR", + "iso_numeric": 826, + "languages": "en-GB,cy-GB,gd", + "name": "United Kingdom", + "neighbours": "IE", + "phone": "44", + "population": 66488991, + "postal_code_format": "@# #@@|@## #@@|@@# #@@|@@## #@@|@#@ #@@|@@#@ #@@|GIR0AA", + "postal_code_regex": "^([Gg][Ii][Rr]\\s?0[Aa]{2})|((([A-Za-z][0-9]{1,2})|(([A-Za-z][A-Ha-hJ-Yj-y][0-9]{1,2})|(([A-Za-z][0-9][A-Za-z])|([A-Za-z][A-Ha-hJ-Yj-y][0-9]?[A-Za-z]))))\\s?[0-9][A-Za-z]{2})$", + "tld": ".uk" + }, + "model": "countries_plus.country", + "pk": "GB" + }, + { + "fields": { + "area": "82880.00", + "capital": "Abu Dhabi", + "continent": "AS", + "currency_code": "AED", + "currency_name": "Dirham", + "currency_symbol": "\u062f.\u0625", + "equivalent_fips_code": null, + "fips": "AE", + "geonameid": 290557, + "iso3": "ARE", + "iso_numeric": 784, + "languages": "ar-AE,fa,en,hi,ur", + "name": "United Arab Emirates", + "neighbours": "SA,OM", + "phone": "971", + "population": 9630959, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".ae" + }, + "model": "countries_plus.country", + "pk": "AE" + }, + { + "fields": { + "area": "236040.00", + "capital": "Kampala", + "continent": "AF", + "currency_code": "UGX", + "currency_name": "Shilling", + "currency_symbol": "Sh", + "equivalent_fips_code": null, + "fips": "UG", + "geonameid": 226074, + "iso3": "UGA", + "iso_numeric": 800, + "languages": "en-UG,lg,sw,ar", + "name": "Uganda", + "neighbours": "TZ,KE,SS,CD,RW", + "phone": "256", + "population": 42723139, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".ug" + }, + "model": "countries_plus.country", + "pk": "UG" + }, + { + "fields": { + "area": "26.00", + "capital": "Funafuti", + "continent": "OC", + "currency_code": "AUD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "TV", + "geonameid": 2110297, + "iso3": "TUV", + "iso_numeric": 798, + "languages": "tvl,en,sm,gil", + "name": "Tuvalu", + "neighbours": null, + "phone": "688", + "population": 11508, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".tv" + }, + "model": "countries_plus.country", + "pk": "TV" + }, + { + "fields": { + "area": "430.00", + "capital": "Cockburn Town", + "continent": "NA", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "TK", + "geonameid": 3576916, + "iso3": "TCA", + "iso_numeric": 796, + "languages": "en-TC", + "name": "Turks and Caicos Islands", + "neighbours": null, + "phone": "+1-649", + "population": 37665, + "postal_code_format": "TKCA 1ZZ", + "postal_code_regex": "^(TKCA 1ZZ)$", + "tld": ".tc" + }, + "model": "countries_plus.country", + "pk": "TC" + }, + { + "fields": { + "area": "5128.00", + "capital": "Port of Spain", + "continent": "NA", + "currency_code": "TTD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "TD", + "geonameid": 3573591, + "iso3": "TTO", + "iso_numeric": 780, + "languages": "en-TT,hns,fr,es,zh", + "name": "Trinidad and Tobago", + "neighbours": null, + "phone": "+1-868", + "population": 1389858, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".tt" + }, + "model": "countries_plus.country", + "pk": "TT" + }, + { + "fields": { + "area": "748.00", + "capital": "Nuku'alofa", + "continent": "OC", + "currency_code": "TOP", + "currency_name": "Pa'anga", + "currency_symbol": "T$", + "equivalent_fips_code": null, + "fips": "TN", + "geonameid": 4032283, + "iso3": "TON", + "iso_numeric": 776, + "languages": "to,en-TO", + "name": "Tonga", + "neighbours": null, + "phone": "676", + "population": 103197, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".to" + }, + "model": "countries_plus.country", + "pk": "TO" + }, + { + "fields": { + "area": "10.00", + "capital": null, + "continent": "OC", + "currency_code": "NZD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "TL", + "geonameid": 4031074, + "iso3": "TKL", + "iso_numeric": 772, + "languages": "tkl,en-TK", + "name": "Tokelau", + "neighbours": null, + "phone": "690", + "population": 1466, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".tk" + }, + "model": "countries_plus.country", + "pk": "TK" + }, + { + "fields": { + "area": "15007.00", + "capital": "Dili", + "continent": "OC", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "TT", + "geonameid": 1966436, + "iso3": "TLS", + "iso_numeric": 626, + "languages": "tet,pt-TL,id,en", + "name": "Timor Leste", + "neighbours": "ID", + "phone": "670", + "population": 1267972, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".tl" + }, + "model": "countries_plus.country", + "pk": "TL" + }, + { + "fields": { + "area": "514000.00", + "capital": "Bangkok", + "continent": "AS", + "currency_code": "THB", + "currency_name": "Baht", + "currency_symbol": "\u0e3f", + "equivalent_fips_code": null, + "fips": "TH", + "geonameid": 1605651, + "iso3": "THA", + "iso_numeric": 764, + "languages": "th,en", + "name": "Thailand", + "neighbours": "LA,MM,KH,MY", + "phone": "66", + "population": 69428524, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".th" + }, + "model": "countries_plus.country", + "pk": "TH" + }, + { + "fields": { + "area": "945087.00", + "capital": "Dodoma", + "continent": "AF", + "currency_code": "TZS", + "currency_name": "Shilling", + "currency_symbol": "Sh", + "equivalent_fips_code": null, + "fips": "TZ", + "geonameid": 149590, + "iso3": "TZA", + "iso_numeric": 834, + "languages": "sw-TZ,en,ar", + "name": "Tanzania", + "neighbours": "MZ,KE,CD,RW,ZM,BI,UG,MW", + "phone": "255", + "population": 56318348, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".tz" + }, + "model": "countries_plus.country", + "pk": "TZ" + }, + { + "fields": { + "area": "185180.00", + "capital": "Damascus", + "continent": "AS", + "currency_code": "SYP", + "currency_name": "Pound", + "currency_symbol": "\u00a3, \u0644.\u0633", + "equivalent_fips_code": null, + "fips": "SY", + "geonameid": 163843, + "iso3": "SYR", + "iso_numeric": 760, + "languages": "ar-SY,ku,hy,arc,fr,en", + "name": "Syria", + "neighbours": "IQ,JO,IL,TR,LB", + "phone": "963", + "population": 16906283, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".sy" + }, + "model": "countries_plus.country", + "pk": "SY" + }, + { + "fields": { + "area": "163270.00", + "capital": "Paramaribo", + "continent": "SA", + "currency_code": "SRD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "NS", + "geonameid": 3382998, + "iso3": "SUR", + "iso_numeric": 740, + "languages": "nl-SR,en,srn,hns,jv", + "name": "Suriname", + "neighbours": "GY,BR,GF", + "phone": "597", + "population": 575991, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".sr" + }, + "model": "countries_plus.country", + "pk": "SR" + }, + { + "fields": { + "area": "1861484.00", + "capital": "Khartoum", + "continent": "AF", + "currency_code": "SDG", + "currency_name": "Pound", + "currency_symbol": "S$", + "equivalent_fips_code": null, + "fips": "SU", + "geonameid": 366755, + "iso3": "SDN", + "iso_numeric": 729, + "languages": "ar-SD,en,fia", + "name": "Sudan", + "neighbours": "SS,TD,EG,ET,ER,LY,CF", + "phone": "249", + "population": 41801533, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".sd" + }, + "model": "countries_plus.country", + "pk": "SD" + }, + { + "fields": { + "area": "65610.00", + "capital": "Colombo", + "continent": "AS", + "currency_code": "LKR", + "currency_name": "Rupee", + "currency_symbol": "\u0bb0\u0bc2", + "equivalent_fips_code": null, + "fips": "CE", + "geonameid": 1227603, + "iso3": "LKA", + "iso_numeric": 144, + "languages": "si,ta,en", + "name": "Sri Lanka", + "neighbours": null, + "phone": "94", + "population": 21670000, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".lk" + }, + "model": "countries_plus.country", + "pk": "LK" + }, + { + "fields": { + "area": "644329.00", + "capital": "Juba", + "continent": "AF", + "currency_code": "SSP", + "currency_name": "Pound", + "currency_symbol": null, + "equivalent_fips_code": null, + "fips": "OD", + "geonameid": 7909807, + "iso3": "SSD", + "iso_numeric": 728, + "languages": "en", + "name": "South Sudan", + "neighbours": "CD,CF,ET,KE,SD,UG", + "phone": "211", + "population": 8260490, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".ss" + }, + "model": "countries_plus.country", + "pk": "SS" + }, + { + "fields": { + "area": "98480.00", + "capital": "Seoul", + "continent": "AS", + "currency_code": "KRW", + "currency_name": "Won", + "currency_symbol": "\u20a9", + "equivalent_fips_code": null, + "fips": "KS", + "geonameid": 1835841, + "iso3": "KOR", + "iso_numeric": 410, + "languages": "ko-KR,en", + "name": "South Korea", + "neighbours": "KP", + "phone": "82", + "population": 51635256, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".kr" + }, + "model": "countries_plus.country", + "pk": "KR" + }, + { + "fields": { + "area": "3903.00", + "capital": "Grytviken", + "continent": "AN", + "currency_code": "GBP", + "currency_name": "Pound", + "currency_symbol": "\u00a3", + "equivalent_fips_code": null, + "fips": "SX", + "geonameid": 3474415, + "iso3": "SGS", + "iso_numeric": 239, + "languages": "en", + "name": "South Georgia and the South Sandwich Islands", + "neighbours": null, + "phone": null, + "population": 30, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".gs" + }, + "model": "countries_plus.country", + "pk": "GS" + }, + { + "fields": { + "area": "1219912.00", + "capital": "Pretoria", + "continent": "AF", + "currency_code": "ZAR", + "currency_name": "Rand", + "currency_symbol": "R", + "equivalent_fips_code": null, + "fips": "SF", + "geonameid": 953987, + "iso3": "ZAF", + "iso_numeric": 710, + "languages": "zu,xh,af,nso,en-ZA,tn,st,ts,ss,ve,nr", + "name": "South Africa", + "neighbours": "ZW,SZ,MZ,BW,NA,LS", + "phone": "27", + "population": 57779622, + "postal_code_format": "####", + "postal_code_regex": "^(\\d{4})$", + "tld": ".za" + }, + "model": "countries_plus.country", + "pk": "ZA" + }, + { + "fields": { + "area": "637657.00", + "capital": "Mogadishu", + "continent": "AF", + "currency_code": "SOS", + "currency_name": "Shilling", + "currency_symbol": "Sh", + "equivalent_fips_code": null, + "fips": "SO", + "geonameid": 51537, + "iso3": "SOM", + "iso_numeric": 706, + "languages": "so-SO,ar-SO,it,en-SO", + "name": "Somalia", + "neighbours": "ET,KE,DJ", + "phone": "252", + "population": 15008154, + "postal_code_format": "@@ #####", + "postal_code_regex": "^([A-Z]{2}\\d{5})$", + "tld": ".so" + }, + "model": "countries_plus.country", + "pk": "SO" + }, + { + "fields": { + "area": "28450.00", + "capital": "Honiara", + "continent": "OC", + "currency_code": "SBD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "BP", + "geonameid": 2103350, + "iso3": "SLB", + "iso_numeric": 90, + "languages": "en-SB,tpi", + "name": "Solomon Islands", + "neighbours": null, + "phone": "677", + "population": 652858, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".sb" + }, + "model": "countries_plus.country", + "pk": "SB" + }, + { + "fields": { + "area": "21.00", + "capital": "Philipsburg", + "continent": "NA", + "currency_code": "ANG", + "currency_name": "Guilder", + "currency_symbol": "\u0192", + "equivalent_fips_code": null, + "fips": "NN", + "geonameid": 7609695, + "iso3": "SXM", + "iso_numeric": 534, + "languages": "nl,en", + "name": "Sint Maarten", + "neighbours": "MF", + "phone": "599", + "population": 40654, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".sx" + }, + "model": "countries_plus.country", + "pk": "SX" + }, + { + "fields": { + "area": "692.70", + "capital": "Singapore", + "continent": "AS", + "currency_code": "SGD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "SN", + "geonameid": 1880251, + "iso3": "SGP", + "iso_numeric": 702, + "languages": "cmn,en-SG,ms-SG,ta-SG,zh-SG", + "name": "Singapore", + "neighbours": null, + "phone": "65", + "population": 5638676, + "postal_code_format": "######", + "postal_code_regex": "^(\\d{6})$", + "tld": ".sg" + }, + "model": "countries_plus.country", + "pk": "SG" + }, + { + "fields": { + "area": "71740.00", + "capital": "Freetown", + "continent": "AF", + "currency_code": "SLL", + "currency_name": "Leone", + "currency_symbol": "Le", + "equivalent_fips_code": null, + "fips": "SL", + "geonameid": 2403846, + "iso3": "SLE", + "iso_numeric": 694, + "languages": "en-SL,men,tem", + "name": "Sierra Leone", + "neighbours": "LR,GN", + "phone": "232", + "population": 7650154, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".sl" + }, + "model": "countries_plus.country", + "pk": "SL" + }, + { + "fields": { + "area": "455.00", + "capital": "Victoria", + "continent": "AF", + "currency_code": "SCR", + "currency_name": "Rupee", + "currency_symbol": "\u20a8", + "equivalent_fips_code": null, + "fips": "SE", + "geonameid": 241170, + "iso3": "SYC", + "iso_numeric": 690, + "languages": "en-SC,fr-SC", + "name": "Seychelles", + "neighbours": null, + "phone": "248", + "population": 96762, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".sc" + }, + "model": "countries_plus.country", + "pk": "SC" + }, + { + "fields": { + "area": "2944.00", + "capital": "Apia", + "continent": "OC", + "currency_code": "WST", + "currency_name": "Tala", + "currency_symbol": "T", + "equivalent_fips_code": null, + "fips": "WS", + "geonameid": 4034894, + "iso3": "WSM", + "iso_numeric": 882, + "languages": "sm,en-WS", + "name": "Samoa", + "neighbours": null, + "phone": "685", + "population": 196130, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".ws" + }, + "model": "countries_plus.country", + "pk": "WS" + }, + { + "fields": { + "area": "389.00", + "capital": "Kingstown", + "continent": "NA", + "currency_code": "XCD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "VC", + "geonameid": 3577815, + "iso3": "VCT", + "iso_numeric": 670, + "languages": "en-VC,fr", + "name": "Saint Vincent and the Grenadines", + "neighbours": null, + "phone": "+1-784", + "population": 110211, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".vc" + }, + "model": "countries_plus.country", + "pk": "VC" + }, + { + "fields": { + "area": "616.00", + "capital": "Castries", + "continent": "NA", + "currency_code": "XCD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "ST", + "geonameid": 3576468, + "iso3": "LCA", + "iso_numeric": 662, + "languages": "en-LC", + "name": "Saint Lucia", + "neighbours": null, + "phone": "+1-758", + "population": 181889, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".lc" + }, + "model": "countries_plus.country", + "pk": "LC" + }, + { + "fields": { + "area": "261.00", + "capital": "Basseterre", + "continent": "NA", + "currency_code": "XCD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "SC", + "geonameid": 3575174, + "iso3": "KNA", + "iso_numeric": 659, + "languages": "en-KN", + "name": "Saint Kitts and Nevis", + "neighbours": null, + "phone": "+1-869", + "population": 52441, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".kn" + }, + "model": "countries_plus.country", + "pk": "KN" + }, + { + "fields": { + "area": "410.00", + "capital": "Jamestown", + "continent": "AF", + "currency_code": "SHP", + "currency_name": "Pound", + "currency_symbol": "\u00a3", + "equivalent_fips_code": null, + "fips": "SH", + "geonameid": 3370751, + "iso3": "SHN", + "iso_numeric": 654, + "languages": "en-SH", + "name": "Saint Helena", + "neighbours": null, + "phone": "290", + "population": 7460, + "postal_code_format": "STHL 1ZZ", + "postal_code_regex": "^(STHL1ZZ)$", + "tld": ".sh" + }, + "model": "countries_plus.country", + "pk": "SH" + }, + { + "fields": { + "area": "26338.00", + "capital": "Kigali", + "continent": "AF", + "currency_code": "RWF", + "currency_name": "Franc", + "currency_symbol": "Fr", + "equivalent_fips_code": null, + "fips": "RW", + "geonameid": 49518, + "iso3": "RWA", + "iso_numeric": 646, + "languages": "rw,en-RW,fr-RW,sw", + "name": "Rwanda", + "neighbours": "TZ,CD,BI,UG", + "phone": "250", + "population": 12301939, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".rw" + }, + "model": "countries_plus.country", + "pk": "RW" + }, + { + "fields": { + "area": "9104.00", + "capital": "San Juan", + "continent": "NA", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "RQ", + "geonameid": 4566966, + "iso3": "PRI", + "iso_numeric": 630, + "languages": "en-PR,es-PR", + "name": "Puerto Rico", + "neighbours": null, + "phone": "+1-787,1-939", + "population": 3195153, + "postal_code_format": "#####-####", + "postal_code_regex": "^00[679]\\d{2}(?:-\\d{4})?$", + "tld": ".pr" + }, + "model": "countries_plus.country", + "pk": "PR" + }, + { + "fields": { + "area": "47.00", + "capital": "Adamstown", + "continent": "OC", + "currency_code": "NZD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "PC", + "geonameid": 4030699, + "iso3": "PCN", + "iso_numeric": 612, + "languages": "en-PN", + "name": "Pitcairn", + "neighbours": null, + "phone": "870", + "population": 46, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".pn" + }, + "model": "countries_plus.country", + "pk": "PN" + }, + { + "fields": { + "area": "300000.00", + "capital": "Manila", + "continent": "AS", + "currency_code": "PHP", + "currency_name": "Peso", + "currency_symbol": "\u20b1", + "equivalent_fips_code": null, + "fips": "RP", + "geonameid": 1694008, + "iso3": "PHL", + "iso_numeric": 608, + "languages": "tl,en-PH,fil,ceb,tgl,ilo,hil,war,pam,bik,bcl,pag,mrw,tsg,mdh,cbk,krj,sgd,msb,akl,ibg,yka,mta,abx", + "name": "Philippines", + "neighbours": null, + "phone": "63", + "population": 106651922, + "postal_code_format": "####", + "postal_code_regex": "^(\\d{4})$", + "tld": ".ph" + }, + "model": "countries_plus.country", + "pk": "PH" + }, + { + "fields": { + "area": "462840.00", + "capital": "Port Moresby", + "continent": "OC", + "currency_code": "PGK", + "currency_name": "Kina", + "currency_symbol": "K", + "equivalent_fips_code": null, + "fips": "PP", + "geonameid": 2088628, + "iso3": "PNG", + "iso_numeric": 598, + "languages": "en-PG,ho,meu,tpi", + "name": "Papua New Guinea", + "neighbours": "ID", + "phone": "675", + "population": 8606316, + "postal_code_format": "###", + "postal_code_regex": "^(\\d{3})$", + "tld": ".pg" + }, + "model": "countries_plus.country", + "pk": "PG" + }, + { + "fields": { + "area": "78200.00", + "capital": "Panama City", + "continent": "NA", + "currency_code": "PAB", + "currency_name": "Balboa", + "currency_symbol": "B/.", + "equivalent_fips_code": null, + "fips": "PM", + "geonameid": 3703430, + "iso3": "PAN", + "iso_numeric": 591, + "languages": "es-PA,en", + "name": "Panama", + "neighbours": "CR,CO", + "phone": "507", + "population": 4176873, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".pa" + }, + "model": "countries_plus.country", + "pk": "PA" + }, + { + "fields": { + "area": "458.00", + "capital": "Melekeok", + "continent": "OC", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "PS", + "geonameid": 1559582, + "iso3": "PLW", + "iso_numeric": 585, + "languages": "pau,sov,en-PW,tox,ja,fil,zh", + "name": "Palau", + "neighbours": null, + "phone": "680", + "population": 17907, + "postal_code_format": "96940", + "postal_code_regex": "^(96940)$", + "tld": ".pw" + }, + "model": "countries_plus.country", + "pk": "PW" + }, + { + "fields": { + "area": "803940.00", + "capital": "Islamabad", + "continent": "AS", + "currency_code": "PKR", + "currency_name": "Rupee", + "currency_symbol": "\u20a8", + "equivalent_fips_code": null, + "fips": "PK", + "geonameid": 1168579, + "iso3": "PAK", + "iso_numeric": 586, + "languages": "ur-PK,en-PK,pa,sd,ps,brh", + "name": "Pakistan", + "neighbours": "CN,AF,IR,IN", + "phone": "92", + "population": 212215030, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".pk" + }, + "model": "countries_plus.country", + "pk": "PK" + }, + { + "fields": { + "area": "212460.00", + "capital": "Muscat", + "continent": "AS", + "currency_code": "OMR", + "currency_name": "Rial", + "currency_symbol": "\u0631.\u0639.", + "equivalent_fips_code": null, + "fips": "MU", + "geonameid": 286963, + "iso3": "OMN", + "iso_numeric": 512, + "languages": "ar-OM,en,bal,ur", + "name": "Oman", + "neighbours": "SA,YE,AE", + "phone": "968", + "population": 4829483, + "postal_code_format": "###", + "postal_code_regex": "^(\\d{3})$", + "tld": ".om" + }, + "model": "countries_plus.country", + "pk": "OM" + }, + { + "fields": { + "area": "477.00", + "capital": "Saipan", + "continent": "OC", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "CQ", + "geonameid": 4041468, + "iso3": "MNP", + "iso_numeric": 580, + "languages": "fil,tl,zh,ch-MP,en-MP", + "name": "Northern Mariana Islands", + "neighbours": null, + "phone": "+1-670", + "population": 56882, + "postal_code_format": "#####", + "postal_code_regex": "^9695\\d{1}$", + "tld": ".mp" + }, + "model": "countries_plus.country", + "pk": "MP" + }, + { + "fields": { + "area": "34.60", + "capital": "Kingston", + "continent": "OC", + "currency_code": "AUD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "NF", + "geonameid": 2155115, + "iso3": "NFK", + "iso_numeric": 574, + "languages": "en-NF", + "name": "Norfolk Island", + "neighbours": null, + "phone": "672", + "population": 1828, + "postal_code_format": "####", + "postal_code_regex": "^(\\d{4})$", + "tld": ".nf" + }, + "model": "countries_plus.country", + "pk": "NF" + }, + { + "fields": { + "area": "260.00", + "capital": "Alofi", + "continent": "OC", + "currency_code": "NZD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "NE", + "geonameid": 4036232, + "iso3": "NIU", + "iso_numeric": 570, + "languages": "niu,en-NU", + "name": "Niue", + "neighbours": null, + "phone": "683", + "population": 2166, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".nu" + }, + "model": "countries_plus.country", + "pk": "NU" + }, + { + "fields": { + "area": "923768.00", + "capital": "Abuja", + "continent": "AF", + "currency_code": "NGN", + "currency_name": "Naira", + "currency_symbol": "\u20a6", + "equivalent_fips_code": null, + "fips": "NI", + "geonameid": 2328926, + "iso3": "NGA", + "iso_numeric": 566, + "languages": "en-NG,ha,yo,ig,ff", + "name": "Nigeria", + "neighbours": "TD,NE,BJ,CM", + "phone": "234", + "population": 195874740, + "postal_code_format": "######", + "postal_code_regex": "^(\\d{6})$", + "tld": ".ng" + }, + "model": "countries_plus.country", + "pk": "NG" + }, + { + "fields": { + "area": "129494.00", + "capital": "Managua", + "continent": "NA", + "currency_code": "NIO", + "currency_name": "Cordoba", + "currency_symbol": "C$", + "equivalent_fips_code": null, + "fips": "NU", + "geonameid": 3617476, + "iso3": "NIC", + "iso_numeric": 558, + "languages": "es-NI,en", + "name": "Nicaragua", + "neighbours": "CR,HN", + "phone": "505", + "population": 6465513, + "postal_code_format": "###-###-#", + "postal_code_regex": "^(\\d{7})$", + "tld": ".ni" + }, + "model": "countries_plus.country", + "pk": "NI" + }, + { + "fields": { + "area": "268680.00", + "capital": "Wellington", + "continent": "OC", + "currency_code": "NZD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "NZ", + "geonameid": 2186224, + "iso3": "NZL", + "iso_numeric": 554, + "languages": "en-NZ,mi", + "name": "New Zealand", + "neighbours": null, + "phone": "64", + "population": 4885500, + "postal_code_format": "####", + "postal_code_regex": "^(\\d{4})$", + "tld": ".nz" + }, + "model": "countries_plus.country", + "pk": "NZ" + }, + { + "fields": { + "area": "960.00", + "capital": "Willemstad", + "continent": "NA", + "currency_code": "ANG", + "currency_name": "Guilder", + "currency_symbol": "\u0192", + "equivalent_fips_code": null, + "fips": "NT", + "geonameid": 8505032, + "iso3": "ANT", + "iso_numeric": 530, + "languages": "nl-AN,en,es", + "name": "Netherlands Antilles", + "neighbours": "GP", + "phone": "599", + "population": 300000, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".an" + }, + "model": "countries_plus.country", + "pk": "AN" + }, + { + "fields": { + "area": "140800.00", + "capital": "Kathmandu", + "continent": "AS", + "currency_code": "NPR", + "currency_name": "Rupee", + "currency_symbol": "\u20a8", + "equivalent_fips_code": null, + "fips": "NP", + "geonameid": 1282988, + "iso3": "NPL", + "iso_numeric": 524, + "languages": "ne,en", + "name": "Nepal", + "neighbours": "CN,IN", + "phone": "977", + "population": 28087871, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".np" + }, + "model": "countries_plus.country", + "pk": "NP" + }, + { + "fields": { + "area": "21.00", + "capital": "Yaren", + "continent": "OC", + "currency_code": "AUD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "NR", + "geonameid": 2110425, + "iso3": "NRU", + "iso_numeric": 520, + "languages": "na,en-NR", + "name": "Nauru", + "neighbours": null, + "phone": "674", + "population": 12704, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".nr" + }, + "model": "countries_plus.country", + "pk": "NR" + }, + { + "fields": { + "area": "825418.00", + "capital": "Windhoek", + "continent": "AF", + "currency_code": "NAD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "WA", + "geonameid": 3355338, + "iso3": "NAM", + "iso_numeric": 516, + "languages": "en-NA,af,de,hz,naq", + "name": "Namibia", + "neighbours": "ZA,BW,ZM,AO", + "phone": "264", + "population": 2448255, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".na" + }, + "model": "countries_plus.country", + "pk": "NA" + }, + { + "fields": { + "area": "102.00", + "capital": "Plymouth", + "continent": "NA", + "currency_code": "XCD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "MH", + "geonameid": 3578097, + "iso3": "MSR", + "iso_numeric": 500, + "languages": "en-MS", + "name": "Montserrat", + "neighbours": null, + "phone": "+1-664", + "population": 9341, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".ms" + }, + "model": "countries_plus.country", + "pk": "MS" + }, + { + "fields": { + "area": "1.95", + "capital": "Monaco", + "continent": "EU", + "currency_code": "EUR", + "currency_name": "Euro", + "currency_symbol": "\u20ac", + "equivalent_fips_code": null, + "fips": "MN", + "geonameid": 2993457, + "iso3": "MCO", + "iso_numeric": 492, + "languages": "fr-MC,en,it", + "name": "Monaco", + "neighbours": "FR", + "phone": "377", + "population": 38682, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".mc" + }, + "model": "countries_plus.country", + "pk": "MC" + }, + { + "fields": { + "area": "702.00", + "capital": "Palikir", + "continent": "OC", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "FM", + "geonameid": 2081918, + "iso3": "FSM", + "iso_numeric": 583, + "languages": "en-FM,chk,pon,yap,kos,uli,woe,nkr,kpg", + "name": "Micronesia", + "neighbours": null, + "phone": "691", + "population": 112640, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".fm" + }, + "model": "countries_plus.country", + "pk": "FM" + }, + { + "fields": { + "area": "2040.00", + "capital": "Port Louis", + "continent": "AF", + "currency_code": "MUR", + "currency_name": "Rupee", + "currency_symbol": "\u20a8", + "equivalent_fips_code": null, + "fips": "MP", + "geonameid": 934292, + "iso3": "MUS", + "iso_numeric": 480, + "languages": "en-MU,bho,fr", + "name": "Mauritius", + "neighbours": null, + "phone": "230", + "population": 1265303, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".mu" + }, + "model": "countries_plus.country", + "pk": "MU" + }, + { + "fields": { + "area": "181.30", + "capital": "Majuro", + "continent": "OC", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "RM", + "geonameid": 2080185, + "iso3": "MHL", + "iso_numeric": 584, + "languages": "mh,en-MH", + "name": "Marshall Islands", + "neighbours": null, + "phone": "692", + "population": 58413, + "postal_code_format": "#####-####", + "postal_code_regex": "^969\\d{2}(-\\d{4})$", + "tld": ".mh" + }, + "model": "countries_plus.country", + "pk": "MH" + }, + { + "fields": { + "area": "316.00", + "capital": "Valletta", + "continent": "EU", + "currency_code": "EUR", + "currency_name": "Euro", + "currency_symbol": "\u20ac", + "equivalent_fips_code": null, + "fips": "MT", + "geonameid": 2562770, + "iso3": "MLT", + "iso_numeric": 470, + "languages": "mt,en-MT", + "name": "Malta", + "neighbours": null, + "phone": "356", + "population": 483530, + "postal_code_format": "@@@ ####", + "postal_code_regex": "^[A-Z]{3}\\s?\\d{4}$", + "tld": ".mt" + }, + "model": "countries_plus.country", + "pk": "MT" + }, + { + "fields": { + "area": "300.00", + "capital": "Male", + "continent": "AS", + "currency_code": "MVR", + "currency_name": "Rufiyaa", + "currency_symbol": "\u0783.", + "equivalent_fips_code": null, + "fips": "MV", + "geonameid": 1282028, + "iso3": "MDV", + "iso_numeric": 462, + "languages": "dv,en", + "name": "Maldives", + "neighbours": null, + "phone": "960", + "population": 515696, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".mv" + }, + "model": "countries_plus.country", + "pk": "MV" + }, + { + "fields": { + "area": "329750.00", + "capital": "Kuala Lumpur", + "continent": "AS", + "currency_code": "MYR", + "currency_name": "Ringgit", + "currency_symbol": "RM", + "equivalent_fips_code": null, + "fips": "MY", + "geonameid": 1733045, + "iso3": "MYS", + "iso_numeric": 458, + "languages": "ms-MY,en,zh,ta,te,ml,pa,th", + "name": "Malaysia", + "neighbours": "BN,TH,ID", + "phone": "60", + "population": 31528585, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".my" + }, + "model": "countries_plus.country", + "pk": "MY" + }, + { + "fields": { + "area": "1759540.00", + "capital": "Tripoli", + "continent": "AF", + "currency_code": "LYD", + "currency_name": "Dinar", + "currency_symbol": "\u0644.\u062f", + "equivalent_fips_code": null, + "fips": "LY", + "geonameid": 2215636, + "iso3": "LBY", + "iso_numeric": 434, + "languages": "ar-LY,it,en", + "name": "Libya", + "neighbours": "TD,NE,DZ,SD,TN,EG", + "phone": "218", + "population": 6678567, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".ly" + }, + "model": "countries_plus.country", + "pk": "LY" + }, + { + "fields": { + "area": "111370.00", + "capital": "Monrovia", + "continent": "AF", + "currency_code": "LRD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "LI", + "geonameid": 2275384, + "iso3": "LBR", + "iso_numeric": 430, + "languages": "en-LR", + "name": "Liberia", + "neighbours": "SL,CI,GN", + "phone": "231", + "population": 4818977, + "postal_code_format": "####", + "postal_code_regex": "^(\\d{4})$", + "tld": ".lr" + }, + "model": "countries_plus.country", + "pk": "LR" + }, + { + "fields": { + "area": "30355.00", + "capital": "Maseru", + "continent": "AF", + "currency_code": "LSL", + "currency_name": "Loti", + "currency_symbol": "L", + "equivalent_fips_code": null, + "fips": "LT", + "geonameid": 932692, + "iso3": "LSO", + "iso_numeric": 426, + "languages": "en-LS,st,zu,xh", + "name": "Lesotho", + "neighbours": "ZA", + "phone": "266", + "population": 2108132, + "postal_code_format": "###", + "postal_code_regex": "^(\\d{3})$", + "tld": ".ls" + }, + "model": "countries_plus.country", + "pk": "LS" + }, + { + "fields": { + "area": "10400.00", + "capital": "Beirut", + "continent": "AS", + "currency_code": "LBP", + "currency_name": "Pound", + "currency_symbol": "\u0644.\u0644", + "equivalent_fips_code": null, + "fips": "LE", + "geonameid": 272103, + "iso3": "LBN", + "iso_numeric": 422, + "languages": "ar-LB,fr-LB,en,hy", + "name": "Lebanon", + "neighbours": "SY,IL", + "phone": "961", + "population": 6848925, + "postal_code_format": "#### ####|####", + "postal_code_regex": "^(\\d{4}(\\d{4})?)$", + "tld": ".lb" + }, + "model": "countries_plus.country", + "pk": "LB" + }, + { + "fields": { + "area": "236800.00", + "capital": "Vientiane", + "continent": "AS", + "currency_code": "LAK", + "currency_name": "Kip", + "currency_symbol": "\u20ad", + "equivalent_fips_code": null, + "fips": "LA", + "geonameid": 1655842, + "iso3": "LAO", + "iso_numeric": 418, + "languages": "lo,fr,en", + "name": "Laos", + "neighbours": "CN,MM,KH,TH,VN", + "phone": "856", + "population": 7061507, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".la" + }, + "model": "countries_plus.country", + "pk": "LA" + }, + { + "fields": { + "area": "17820.00", + "capital": "Kuwait City", + "continent": "AS", + "currency_code": "KWD", + "currency_name": "Dinar", + "currency_symbol": "\u062f.\u0643", + "equivalent_fips_code": null, + "fips": "KU", + "geonameid": 285570, + "iso3": "KWT", + "iso_numeric": 414, + "languages": "ar-KW,en", + "name": "Kuwait", + "neighbours": "SA,IQ", + "phone": "965", + "population": 4137309, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".kw" + }, + "model": "countries_plus.country", + "pk": "KW" + }, + { + "fields": { + "area": "811.00", + "capital": "Tarawa", + "continent": "OC", + "currency_code": "AUD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "KR", + "geonameid": 4030945, + "iso3": "KIR", + "iso_numeric": 296, + "languages": "en-KI,gil", + "name": "Kiribati", + "neighbours": null, + "phone": "686", + "population": 115847, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".ki" + }, + "model": "countries_plus.country", + "pk": "KI" + }, + { + "fields": { + "area": "582650.00", + "capital": "Nairobi", + "continent": "AF", + "currency_code": "KES", + "currency_name": "Shilling", + "currency_symbol": "Sh", + "equivalent_fips_code": null, + "fips": "KE", + "geonameid": 192950, + "iso3": "KEN", + "iso_numeric": 404, + "languages": "en-KE,sw-KE", + "name": "Kenya", + "neighbours": "ET,TZ,SS,SO,UG", + "phone": "254", + "population": 51393010, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".ke" + }, + "model": "countries_plus.country", + "pk": "KE" + }, + { + "fields": { + "area": "92300.00", + "capital": "Amman", + "continent": "AS", + "currency_code": "JOD", + "currency_name": "Dinar", + "currency_symbol": "\u062f.\u0627", + "equivalent_fips_code": null, + "fips": "JO", + "geonameid": 248816, + "iso3": "JOR", + "iso_numeric": 400, + "languages": "ar-JO,en", + "name": "Jordan", + "neighbours": "SY,SA,IQ,IL,PS", + "phone": "962", + "population": 9956011, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".jo" + }, + "model": "countries_plus.country", + "pk": "JO" + }, + { + "fields": { + "area": "116.00", + "capital": "Saint Helier", + "continent": "EU", + "currency_code": "GBP", + "currency_name": "Pound", + "currency_symbol": "\u00a3", + "equivalent_fips_code": null, + "fips": "JE", + "geonameid": 3042142, + "iso3": "JEY", + "iso_numeric": 832, + "languages": "en,fr,nrf", + "name": "Jersey", + "neighbours": null, + "phone": "+44-1534", + "population": 90812, + "postal_code_format": "@# #@@|@## #@@|@@# #@@|@@## #@@|@#@ #@@|@@#@ #@@|GIR0AA", + "postal_code_regex": "^((?:(?:[A-PR-UWYZ][A-HK-Y]\\d[ABEHMNPRV-Y0-9]|[A-PR-UWYZ]\\d[A-HJKPS-UW0-9])\\s\\d[ABD-HJLNP-UW-Z]{2})|GIR\\s?0AA)$", + "tld": ".je" + }, + "model": "countries_plus.country", + "pk": "JE" + }, + { + "fields": { + "area": "10991.00", + "capital": "Kingston", + "continent": "NA", + "currency_code": "JMD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "JM", + "geonameid": 3489940, + "iso3": "JAM", + "iso_numeric": 388, + "languages": "en-JM", + "name": "Jamaica", + "neighbours": null, + "phone": "+1-876", + "population": 2934855, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".jm" + }, + "model": "countries_plus.country", + "pk": "JM" + }, + { + "fields": { + "area": "20770.00", + "capital": "Jerusalem", + "continent": "AS", + "currency_code": "ILS", + "currency_name": "Shekel", + "currency_symbol": "\u20aa", + "equivalent_fips_code": null, + "fips": "IS", + "geonameid": 294640, + "iso3": "ISR", + "iso_numeric": 376, + "languages": "he,ar-IL,en-IL,", + "name": "Israel", + "neighbours": "SY,JO,LB,EG,PS", + "phone": "972", + "population": 8883800, + "postal_code_format": "#######", + "postal_code_regex": "^(\\d{7}|\\d{5})$", + "tld": ".il" + }, + "model": "countries_plus.country", + "pk": "IL" + }, + { + "fields": { + "area": "572.00", + "capital": "Douglas", + "continent": "EU", + "currency_code": "GBP", + "currency_name": "Pound", + "currency_symbol": "\u00a3", + "equivalent_fips_code": null, + "fips": "IM", + "geonameid": 3042225, + "iso3": "IMN", + "iso_numeric": 833, + "languages": "en,gv", + "name": "Isle of Man", + "neighbours": null, + "phone": "+44-1624", + "population": 84077, + "postal_code_format": "@# #@@|@## #@@|@@# #@@|@@## #@@|@#@ #@@|@@#@ #@@|GIR0AA", + "postal_code_regex": "^((?:(?:[A-PR-UWYZ][A-HK-Y]\\d[ABEHMNPRV-Y0-9]|[A-PR-UWYZ]\\d[A-HJKPS-UW0-9])\\s\\d[ABD-HJLNP-UW-Z]{2})|GIR\\s?0AA)$", + "tld": ".im" + }, + "model": "countries_plus.country", + "pk": "IM" + }, + { + "fields": { + "area": "70280.00", + "capital": "Dublin", + "continent": "EU", + "currency_code": "EUR", + "currency_name": "Euro", + "currency_symbol": "\u20ac", + "equivalent_fips_code": null, + "fips": "EI", + "geonameid": 2963597, + "iso3": "IRL", + "iso_numeric": 372, + "languages": "en-IE,ga-IE", + "name": "Ireland", + "neighbours": "GB", + "phone": "353", + "population": 4853506, + "postal_code_format": "@@@ @@@@", + "postal_code_regex": "^(D6W|[AC-FHKNPRTV-Y][0-9]{2})\\s?([AC-FHKNPRTV-Y0-9]{4})", + "tld": ".ie" + }, + "model": "countries_plus.country", + "pk": "IE" + }, + { + "fields": { + "area": "1919440.00", + "capital": "Jakarta", + "continent": "AS", + "currency_code": "IDR", + "currency_name": "Rupiah", + "currency_symbol": "Rp", + "equivalent_fips_code": null, + "fips": "ID", + "geonameid": 1643084, + "iso3": "IDN", + "iso_numeric": 360, + "languages": "id,en,nl,jv", + "name": "Indonesia", + "neighbours": "PG,TL,MY", + "phone": "62", + "population": 267663435, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".id" + }, + "model": "countries_plus.country", + "pk": "ID" + }, + { + "fields": { + "area": "3287590.00", + "capital": "New Delhi", + "continent": "AS", + "currency_code": "INR", + "currency_name": "Rupee", + "currency_symbol": "\u20a8", + "equivalent_fips_code": null, + "fips": "IN", + "geonameid": 1269750, + "iso3": "IND", + "iso_numeric": 356, + "languages": "en-IN,hi,bn,te,mr,ta,ur,gu,kn,ml,or,pa,as,bh,sat,ks,ne,sd,kok,doi,mni,sit,sa,fr,lus,inc", + "name": "India", + "neighbours": "CN,NP,MM,BT,PK,BD", + "phone": "91", + "population": 1352617328, + "postal_code_format": "######", + "postal_code_regex": "^(\\d{6})$", + "tld": ".in" + }, + "model": "countries_plus.country", + "pk": "IN" + }, + { + "fields": { + "area": "103000.00", + "capital": "Reykjavik", + "continent": "EU", + "currency_code": "ISK", + "currency_name": "Krona", + "currency_symbol": "kr", + "equivalent_fips_code": null, + "fips": "IC", + "geonameid": 2629691, + "iso3": "ISL", + "iso_numeric": 352, + "languages": "is,en,de,da,sv,no", + "name": "Iceland", + "neighbours": null, + "phone": "354", + "population": 353574, + "postal_code_format": "###", + "postal_code_regex": "^(\\d{3})$", + "tld": ".is" + }, + "model": "countries_plus.country", + "pk": "IS" + }, + { + "fields": { + "area": "1092.00", + "capital": "Hong Kong", + "continent": "AS", + "currency_code": "HKD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "HK", + "geonameid": 1819730, + "iso3": "HKG", + "iso_numeric": 344, + "languages": "zh-HK,yue,zh,en", + "name": "Hong Kong", + "neighbours": null, + "phone": "852", + "population": 7451000, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".hk" + }, + "model": "countries_plus.country", + "pk": "HK" + }, + { + "fields": { + "area": "214970.00", + "capital": "Georgetown", + "continent": "SA", + "currency_code": "GYD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "GY", + "geonameid": 3378535, + "iso3": "GUY", + "iso_numeric": 328, + "languages": "en-GY", + "name": "Guyana", + "neighbours": "SR,BR,VE", + "phone": "592", + "population": 779004, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".gy" + }, + "model": "countries_plus.country", + "pk": "GY" + }, + { + "fields": { + "area": "78.00", + "capital": "St Peter Port", + "continent": "EU", + "currency_code": "GBP", + "currency_name": "Pound", + "currency_symbol": "\u00a3", + "equivalent_fips_code": null, + "fips": "GK", + "geonameid": 3042362, + "iso3": "GGY", + "iso_numeric": 831, + "languages": "en,nrf", + "name": "Guernsey", + "neighbours": null, + "phone": "+44-1481", + "population": 65228, + "postal_code_format": "@# #@@|@## #@@|@@# #@@|@@## #@@|@#@ #@@|@@#@ #@@|GIR0AA", + "postal_code_regex": "^((?:(?:[A-PR-UWYZ][A-HK-Y]\\d[ABEHMNPRV-Y0-9]|[A-PR-UWYZ]\\d[A-HJKPS-UW0-9])\\s\\d[ABD-HJLNP-UW-Z]{2})|GIR\\s?0AA)$", + "tld": ".gg" + }, + "model": "countries_plus.country", + "pk": "GG" + }, + { + "fields": { + "area": "549.00", + "capital": "Hagatna", + "continent": "OC", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "GQ", + "geonameid": 4043988, + "iso3": "GUM", + "iso_numeric": 316, + "languages": "en-GU,ch-GU", + "name": "Guam", + "neighbours": null, + "phone": "+1-671", + "population": 165768, + "postal_code_format": "969##", + "postal_code_regex": "^(969\\d{2})$", + "tld": ".gu" + }, + "model": "countries_plus.country", + "pk": "GU" + }, + { + "fields": { + "area": "344.00", + "capital": "St. George's", + "continent": "NA", + "currency_code": "XCD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "GJ", + "geonameid": 3580239, + "iso3": "GRD", + "iso_numeric": 308, + "languages": "en-GD", + "name": "Grenada", + "neighbours": null, + "phone": "+1-473", + "population": 111454, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".gd" + }, + "model": "countries_plus.country", + "pk": "GD" + }, + { + "fields": { + "area": "2166086.00", + "capital": "Nuuk", + "continent": "NA", + "currency_code": "DKK", + "currency_name": "Krone", + "currency_symbol": "kr", + "equivalent_fips_code": null, + "fips": "GL", + "geonameid": 3425505, + "iso3": "GRL", + "iso_numeric": 304, + "languages": "kl,da-GL,en", + "name": "Greenland", + "neighbours": null, + "phone": "299", + "population": 56025, + "postal_code_format": "####", + "postal_code_regex": "^(\\d{4})$", + "tld": ".gl" + }, + "model": "countries_plus.country", + "pk": "GL" + }, + { + "fields": { + "area": "131940.00", + "capital": "Athens", + "continent": "EU", + "currency_code": "EUR", + "currency_name": "Euro", + "currency_symbol": "\u20ac", + "equivalent_fips_code": null, + "fips": "GR", + "geonameid": 390903, + "iso3": "GRC", + "iso_numeric": 300, + "languages": "el-GR,en,fr", + "name": "Greece", + "neighbours": "AL,MK,TR,BG", + "phone": "30", + "population": 10727668, + "postal_code_format": "### ##", + "postal_code_regex": "^(\\d{5})$", + "tld": ".gr" + }, + "model": "countries_plus.country", + "pk": "GR" + }, + { + "fields": { + "area": "6.50", + "capital": "Gibraltar", + "continent": "EU", + "currency_code": "GIP", + "currency_name": "Pound", + "currency_symbol": "\u00a3", + "equivalent_fips_code": null, + "fips": "GI", + "geonameid": 2411586, + "iso3": "GIB", + "iso_numeric": 292, + "languages": "en-GI,es,it,pt", + "name": "Gibraltar", + "neighbours": "ES", + "phone": "350", + "population": 33718, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".gi" + }, + "model": "countries_plus.country", + "pk": "GI" + }, + { + "fields": { + "area": "239460.00", + "capital": "Accra", + "continent": "AF", + "currency_code": "GHS", + "currency_name": "Cedi", + "currency_symbol": "\u20b5", + "equivalent_fips_code": null, + "fips": "GH", + "geonameid": 2300660, + "iso3": "GHA", + "iso_numeric": 288, + "languages": "en-GH,ak,ee,tw", + "name": "Ghana", + "neighbours": "CI,TG,BF", + "phone": "233", + "population": 29767108, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".gh" + }, + "model": "countries_plus.country", + "pk": "GH" + }, + { + "fields": { + "area": "11300.00", + "capital": "Banjul", + "continent": "AF", + "currency_code": "GMD", + "currency_name": "Dalasi", + "currency_symbol": "D", + "equivalent_fips_code": null, + "fips": "GA", + "geonameid": 2413451, + "iso3": "GMB", + "iso_numeric": 270, + "languages": "en-GM,mnk,wof,wo,ff", + "name": "Gambia", + "neighbours": "SN", + "phone": "220", + "population": 2280102, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".gm" + }, + "model": "countries_plus.country", + "pk": "GM" + }, + { + "fields": { + "area": "18270.00", + "capital": "Suva", + "continent": "OC", + "currency_code": "FJD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "FJ", + "geonameid": 2205218, + "iso3": "FJI", + "iso_numeric": 242, + "languages": "en-FJ,fj", + "name": "Fiji", + "neighbours": null, + "phone": "679", + "population": 883483, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".fj" + }, + "model": "countries_plus.country", + "pk": "FJ" + }, + { + "fields": { + "area": "12173.00", + "capital": "Stanley", + "continent": "SA", + "currency_code": "FKP", + "currency_name": "Pound", + "currency_symbol": "\u00a3", + "equivalent_fips_code": null, + "fips": "FK", + "geonameid": 3474414, + "iso3": "FLK", + "iso_numeric": 238, + "languages": "en-FK", + "name": "Falkland Islands", + "neighbours": null, + "phone": "500", + "population": 2638, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".fk" + }, + "model": "countries_plus.country", + "pk": "FK" + }, + { + "fields": { + "area": "1127127.00", + "capital": "Addis Ababa", + "continent": "AF", + "currency_code": "ETB", + "currency_name": "Birr", + "currency_symbol": "Br", + "equivalent_fips_code": null, + "fips": "ET", + "geonameid": 337996, + "iso3": "ETH", + "iso_numeric": 231, + "languages": "am,en-ET,om-ET,ti-ET,so-ET,sid", + "name": "Ethiopia", + "neighbours": "ER,KE,SD,SS,SO,DJ", + "phone": "251", + "population": 109224559, + "postal_code_format": "####", + "postal_code_regex": "^(\\d{4})$", + "tld": ".et" + }, + "model": "countries_plus.country", + "pk": "ET" + }, + { + "fields": { + "area": "17363.00", + "capital": "Mbabane", + "continent": "AF", + "currency_code": "SZL", + "currency_name": "Lilangeni", + "currency_symbol": "L", + "equivalent_fips_code": null, + "fips": "WZ", + "geonameid": 934841, + "iso3": "SWZ", + "iso_numeric": 748, + "languages": "en-SZ,ss-SZ", + "name": "Eswatini", + "neighbours": "ZA,MZ", + "phone": "268", + "population": 1136191, + "postal_code_format": "@###", + "postal_code_regex": "^([A-Z]\\d{3})$", + "tld": ".sz" + }, + "model": "countries_plus.country", + "pk": "SZ" + }, + { + "fields": { + "area": "1001450.00", + "capital": "Cairo", + "continent": "AF", + "currency_code": "EGP", + "currency_name": "Pound", + "currency_symbol": "\u00a3,\u062c.\u0645", + "equivalent_fips_code": null, + "fips": "EG", + "geonameid": 357994, + "iso3": "EGY", + "iso_numeric": 818, + "languages": "ar-EG,en,fr", + "name": "Egypt", + "neighbours": "LY,SD,IL,PS", + "phone": "20", + "population": 98423595, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".eg" + }, + "model": "countries_plus.country", + "pk": "EG" + }, + { + "fields": { + "area": "754.00", + "capital": "Roseau", + "continent": "NA", + "currency_code": "XCD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "DO", + "geonameid": 3575830, + "iso3": "DMA", + "iso_numeric": 212, + "languages": "en-DM", + "name": "Dominica", + "neighbours": null, + "phone": "+1-767", + "population": 71625, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".dm" + }, + "model": "countries_plus.country", + "pk": "DM" + }, + { + "fields": { + "area": "43094.00", + "capital": "Copenhagen", + "continent": "EU", + "currency_code": "DKK", + "currency_name": "Krone", + "currency_symbol": "kr", + "equivalent_fips_code": null, + "fips": "DA", + "geonameid": 2623032, + "iso3": "DNK", + "iso_numeric": 208, + "languages": "da-DK,en,fo,de-DK", + "name": "Denmark", + "neighbours": "DE", + "phone": "45", + "population": 5797446, + "postal_code_format": "####", + "postal_code_regex": "^(\\d{4})$", + "tld": ".dk" + }, + "model": "countries_plus.country", + "pk": "DK" + }, + { + "fields": { + "area": "9250.00", + "capital": "Nicosia", + "continent": "EU", + "currency_code": "EUR", + "currency_name": "Euro", + "currency_symbol": "\u20ac", + "equivalent_fips_code": null, + "fips": "CY", + "geonameid": 146669, + "iso3": "CYP", + "iso_numeric": 196, + "languages": "el-CY,tr-CY,en", + "name": "Cyprus", + "neighbours": null, + "phone": "357", + "population": 1189265, + "postal_code_format": "####", + "postal_code_regex": "^(\\d{4})$", + "tld": ".cy" + }, + "model": "countries_plus.country", + "pk": "CY" + }, + { + "fields": { + "area": "51100.00", + "capital": "San Jose", + "continent": "NA", + "currency_code": "CRC", + "currency_name": "Colon", + "currency_symbol": "\u20a1", + "equivalent_fips_code": null, + "fips": "CS", + "geonameid": 3624060, + "iso3": "CRI", + "iso_numeric": 188, + "languages": "es-CR,en", + "name": "Costa Rica", + "neighbours": "PA,NI", + "phone": "506", + "population": 4999441, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".cr" + }, + "model": "countries_plus.country", + "pk": "CR" + }, + { + "fields": { + "area": "240.00", + "capital": "Avarua", + "continent": "OC", + "currency_code": "NZD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "CW", + "geonameid": 1899402, + "iso3": "COK", + "iso_numeric": 184, + "languages": "en-CK,mi", + "name": "Cook Islands", + "neighbours": null, + "phone": "682", + "population": 21388, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".ck" + }, + "model": "countries_plus.country", + "pk": "CK" + }, + { + "fields": { + "area": "14.00", + "capital": "West Island", + "continent": "AS", + "currency_code": "AUD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "CK", + "geonameid": 1547376, + "iso3": "CCK", + "iso_numeric": 166, + "languages": "ms-CC,en", + "name": "Cocos Islands", + "neighbours": null, + "phone": "61", + "population": 628, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".cc" + }, + "model": "countries_plus.country", + "pk": "CC" + }, + { + "fields": { + "area": "135.00", + "capital": "Flying Fish Cove", + "continent": "OC", + "currency_code": "AUD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "KT", + "geonameid": 2078138, + "iso3": "CXR", + "iso_numeric": 162, + "languages": "en,zh,ms-CC", + "name": "Christmas Island", + "neighbours": null, + "phone": "61", + "population": 1500, + "postal_code_format": "####", + "postal_code_regex": "^(\\d{4})$", + "tld": ".cx" + }, + "model": "countries_plus.country", + "pk": "CX" + }, + { + "fields": { + "area": "262.00", + "capital": "George Town", + "continent": "NA", + "currency_code": "KYD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "CJ", + "geonameid": 3580718, + "iso3": "CYM", + "iso_numeric": 136, + "languages": "en-KY", + "name": "Cayman Islands", + "neighbours": null, + "phone": "+1-345", + "population": 64174, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".ky" + }, + "model": "countries_plus.country", + "pk": "KY" + }, + { + "fields": { + "area": "9984670.00", + "capital": "Ottawa", + "continent": "NA", + "currency_code": "CAD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "CA", + "geonameid": 6251999, + "iso3": "CAN", + "iso_numeric": 124, + "languages": "en-CA,fr-CA,iu", + "name": "Canada", + "neighbours": "US", + "phone": "1", + "population": 37058856, + "postal_code_format": "@#@ #@#", + "postal_code_regex": "^([ABCEGHJKLMNPRSTVXY]\\d[ABCEGHJKLMNPRSTVWXYZ]) ?(\\d[ABCEGHJKLMNPRSTVWXYZ]\\d)$ ", + "tld": ".ca" + }, + "model": "countries_plus.country", + "pk": "CA" + }, + { + "fields": { + "area": "475440.00", + "capital": "Yaounde", + "continent": "AF", + "currency_code": "XAF", + "currency_name": "Franc", + "currency_symbol": "Fr", + "equivalent_fips_code": null, + "fips": "CM", + "geonameid": 2233387, + "iso3": "CMR", + "iso_numeric": 120, + "languages": "en-CM,fr-CM", + "name": "Cameroon", + "neighbours": "TD,CF,GA,GQ,CG,NG", + "phone": "237", + "population": 25216237, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".cm" + }, + "model": "countries_plus.country", + "pk": "CM" + }, + { + "fields": { + "area": "181040.00", + "capital": "Phnom Penh", + "continent": "AS", + "currency_code": "KHR", + "currency_name": "Riels", + "currency_symbol": "\u17db", + "equivalent_fips_code": null, + "fips": "CB", + "geonameid": 1831722, + "iso3": "KHM", + "iso_numeric": 116, + "languages": "km,fr,en", + "name": "Cambodia", + "neighbours": "LA,TH,VN", + "phone": "855", + "population": 16249798, + "postal_code_format": "#####", + "postal_code_regex": "^(\\d{5})$", + "tld": ".kh" + }, + "model": "countries_plus.country", + "pk": "KH" + }, + { + "fields": { + "area": "5770.00", + "capital": "Bandar Seri Begawan", + "continent": "AS", + "currency_code": "BND", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "BX", + "geonameid": 1820814, + "iso3": "BRN", + "iso_numeric": 96, + "languages": "ms-BN,en-BN", + "name": "Brunei", + "neighbours": "MY", + "phone": "673", + "population": 428962, + "postal_code_format": "@@####", + "postal_code_regex": "^([A-Z]{2}\\d{4})$", + "tld": ".bn" + }, + "model": "countries_plus.country", + "pk": "BN" + }, + { + "fields": { + "area": "153.00", + "capital": "Road Town", + "continent": "NA", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "VI", + "geonameid": 3577718, + "iso3": "VGB", + "iso_numeric": 92, + "languages": "en-VG", + "name": "British Virgin Islands", + "neighbours": null, + "phone": "+1-284", + "population": 29802, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".vg" + }, + "model": "countries_plus.country", + "pk": "VG" + }, + { + "fields": { + "area": "60.00", + "capital": "Diego Garcia", + "continent": "AS", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "IO", + "geonameid": 1282588, + "iso3": "IOT", + "iso_numeric": 86, + "languages": "en-IO", + "name": "British Indian Ocean Territory", + "neighbours": null, + "phone": "246", + "population": 4000, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".io" + }, + "model": "countries_plus.country", + "pk": "IO" + }, + { + "fields": { + "area": "8511965.00", + "capital": "Brasilia", + "continent": "SA", + "currency_code": "BRL", + "currency_name": "Real", + "currency_symbol": "R$", + "equivalent_fips_code": null, + "fips": "BR", + "geonameid": 3469034, + "iso3": "BRA", + "iso_numeric": 76, + "languages": "pt-BR,es,en,fr", + "name": "Brazil", + "neighbours": "SR,PE,BO,UY,GY,PY,GF,VE,CO,AR", + "phone": "55", + "population": 209469333, + "postal_code_format": "#####-###", + "postal_code_regex": "^\\d{5}-\\d{3}$", + "tld": ".br" + }, + "model": "countries_plus.country", + "pk": "BR" + }, + { + "fields": { + "area": "600370.00", + "capital": "Gaborone", + "continent": "AF", + "currency_code": "BWP", + "currency_name": "Pula", + "currency_symbol": "P", + "equivalent_fips_code": null, + "fips": "BC", + "geonameid": 933860, + "iso3": "BWA", + "iso_numeric": 72, + "languages": "en-BW,tn-BW", + "name": "Botswana", + "neighbours": "ZW,ZA,NA", + "phone": "267", + "population": 2254126, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".bw" + }, + "model": "countries_plus.country", + "pk": "BW" + }, + { + "fields": { + "area": "328.00", + "capital": null, + "continent": "NA", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": null, + "geonameid": 7626844, + "iso3": "BES", + "iso_numeric": 535, + "languages": "nl,pap,en", + "name": "Bonaire, Saint Eustatius and Saba ", + "neighbours": null, + "phone": "599", + "population": 18012, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".bq" + }, + "model": "countries_plus.country", + "pk": "BQ" + }, + { + "fields": { + "area": "53.00", + "capital": "Hamilton", + "continent": "NA", + "currency_code": "BMD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "BD", + "geonameid": 3573345, + "iso3": "BMU", + "iso_numeric": 60, + "languages": "en-BM,pt", + "name": "Bermuda", + "neighbours": null, + "phone": "+1-441", + "population": 63968, + "postal_code_format": "@@ ##", + "postal_code_regex": "^([A-Z]{2}\\d{2})$", + "tld": ".bm" + }, + "model": "countries_plus.country", + "pk": "BM" + }, + { + "fields": { + "area": "22966.00", + "capital": "Belmopan", + "continent": "NA", + "currency_code": "BZD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "BH", + "geonameid": 3582678, + "iso3": "BLZ", + "iso_numeric": 84, + "languages": "en-BZ,es", + "name": "Belize", + "neighbours": "GT,MX", + "phone": "501", + "population": 383071, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".bz" + }, + "model": "countries_plus.country", + "pk": "BZ" + }, + { + "fields": { + "area": "431.00", + "capital": "Bridgetown", + "continent": "NA", + "currency_code": "BBD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "BB", + "geonameid": 3374084, + "iso3": "BRB", + "iso_numeric": 52, + "languages": "en-BB", + "name": "Barbados", + "neighbours": null, + "phone": "+1-246", + "population": 286641, + "postal_code_format": "BB#####", + "postal_code_regex": "^(?:BB)*(\\d{5})$", + "tld": ".bb" + }, + "model": "countries_plus.country", + "pk": "BB" + }, + { + "fields": { + "area": "144000.00", + "capital": "Dhaka", + "continent": "AS", + "currency_code": "BDT", + "currency_name": "Taka", + "currency_symbol": "\u09f3", + "equivalent_fips_code": null, + "fips": "BG", + "geonameid": 1210997, + "iso3": "BGD", + "iso_numeric": 50, + "languages": "bn-BD,en", + "name": "Bangladesh", + "neighbours": "MM,IN", + "phone": "880", + "population": 161356039, + "postal_code_format": "####", + "postal_code_regex": "^(\\d{4})$", + "tld": ".bd" + }, + "model": "countries_plus.country", + "pk": "BD" + }, + { + "fields": { + "area": "665.00", + "capital": "Manama", + "continent": "AS", + "currency_code": "BHD", + "currency_name": "Dinar", + "currency_symbol": "\u0628.\u062f", + "equivalent_fips_code": null, + "fips": "BA", + "geonameid": 290291, + "iso3": "BHR", + "iso_numeric": 48, + "languages": "ar-BH,en,fa,ur", + "name": "Bahrain", + "neighbours": null, + "phone": "973", + "population": 1569439, + "postal_code_format": "####|###", + "postal_code_regex": "^(\\d{3}\\d?)$", + "tld": ".bh" + }, + "model": "countries_plus.country", + "pk": "BH" + }, + { + "fields": { + "area": "13940.00", + "capital": "Nassau", + "continent": "NA", + "currency_code": "BSD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "BF", + "geonameid": 3572887, + "iso3": "BHS", + "iso_numeric": 44, + "languages": "en-BS", + "name": "Bahamas", + "neighbours": null, + "phone": "+1-242", + "population": 385640, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".bs" + }, + "model": "countries_plus.country", + "pk": "BS" + }, + { + "fields": { + "area": "7686850.00", + "capital": "Canberra", + "continent": "OC", + "currency_code": "AUD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "AS", + "geonameid": 2077456, + "iso3": "AUS", + "iso_numeric": 36, + "languages": "en-AU", + "name": "Australia", + "neighbours": null, + "phone": "61", + "population": 24992369, + "postal_code_format": "####", + "postal_code_regex": "^(\\d{4})$", + "tld": ".au" + }, + "model": "countries_plus.country", + "pk": "AU" + }, + { + "fields": { + "area": "193.00", + "capital": "Oranjestad", + "continent": "NA", + "currency_code": "AWG", + "currency_name": "Guilder", + "currency_symbol": "\u0192", + "equivalent_fips_code": null, + "fips": "AA", + "geonameid": 3577279, + "iso3": "ABW", + "iso_numeric": 533, + "languages": "nl-AW,pap,es,en", + "name": "Aruba", + "neighbours": null, + "phone": "297", + "population": 105845, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".aw" + }, + "model": "countries_plus.country", + "pk": "AW" + }, + { + "fields": { + "area": "2766890.00", + "capital": "Buenos Aires", + "continent": "SA", + "currency_code": "ARS", + "currency_name": "Peso", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "AR", + "geonameid": 3865483, + "iso3": "ARG", + "iso_numeric": 32, + "languages": "es-AR,en,it,de,fr,gn", + "name": "Argentina", + "neighbours": "CL,BO,UY,PY,BR", + "phone": "54", + "population": 44494502, + "postal_code_format": "@####@@@", + "postal_code_regex": "^[A-Z]?\\d{4}[A-Z]{0,3}$", + "tld": ".ar" + }, + "model": "countries_plus.country", + "pk": "AR" + }, + { + "fields": { + "area": "443.00", + "capital": "St. John's", + "continent": "NA", + "currency_code": "XCD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "AC", + "geonameid": 3576396, + "iso3": "ATG", + "iso_numeric": 28, + "languages": "en-AG", + "name": "Antigua and Barbuda", + "neighbours": null, + "phone": "+1-268", + "population": 96286, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".ag" + }, + "model": "countries_plus.country", + "pk": "AG" + }, + { + "fields": { + "area": "102.00", + "capital": "The Valley", + "continent": "NA", + "currency_code": "XCD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "AV", + "geonameid": 3573511, + "iso3": "AIA", + "iso_numeric": 660, + "languages": "en-AI", + "name": "Anguilla", + "neighbours": null, + "phone": "+1-264", + "population": 13254, + "postal_code_format": null, + "postal_code_regex": null, + "tld": ".ai" + }, + "model": "countries_plus.country", + "pk": "AI" + }, + { + "fields": { + "area": "199.00", + "capital": "Pago Pago", + "continent": "OC", + "currency_code": "USD", + "currency_name": "Dollar", + "currency_symbol": "$", + "equivalent_fips_code": null, + "fips": "AQ", + "geonameid": 5880801, + "iso3": "ASM", + "iso_numeric": 16, + "languages": "en-AS,sm,to", + "name": "American Samoa", + "neighbours": null, + "phone": "+1-684", + "population": 55465, + "postal_code_format": "#####-####", + "postal_code_regex": "96799", + "tld": ".as" + }, + "model": "countries_plus.country", + "pk": "AS" + }, + { + "fields": { + "area": null, + "capital": null, + "continent": "AF", + "currency_code": null, + "currency_name": null, + "currency_symbol": null, + "equivalent_fips_code": null, + "fips": null, + "geonameid": null, + "iso3": "AAA", + "iso_numeric": 10000, + "languages": null, + "name": "African Regional Bodies", + "neighbours": null, + "phone": null, + "population": null, + "postal_code_format": null, + "postal_code_regex": null, + "tld": null + }, + "model": "countries_plus.country", + "pk": "AA" + }, + { + "fields": { + "code": "au", + "jurisdiction": "AA", + "name": "African Union (AU)" + }, + "model": "peachjam.locality", + "pk": 1 + }, + { + "fields": { + "countries_spoken": [ + "AS", + "AI", + "AG", + "AR", + "AW", + "AU", + "BS", + "BH", + "BD", + "BB", + "BZ", + "BM", + "BQ", + "BW", + "BR", + "IO", + "VG", + "BN", + "KH", + "CM", + "CA", + "KY", + "CX", + "CC", + "CK", + "CR", + "CY", + "DK", + "DM", + "EG", + "SZ", + "ET", + "FK", + "FJ", + "GM", + "GH", + "GI", + "GR", + "GL", + "GD", + "GU", + "GG", + "GY", + "HK", + "IS", + "IN", + "ID", + "IE", + "IM", + "IL", + "JM", + "JE", + "JO", + "KE", + "KI", + "KW", + "LA", + "LB", + "LS", + "LR", + "LY", + "MY", + "MV", + "MT", + "MH", + "MU", + "FM", + "MC", + "MS", + "NA", + "NR", + "NP", + "AN", + "NZ", + "NI", + "NG", + "NU", + "NF", + "MP", + "OM", + "PK", + "PW", + "PA", + "PG", + "PH", + "PN", + "PR", + "RW", + "SH", + "KN", + "LC", + "VC", + "WS", + "SC", + "SL", + "SG", + "SX", + "SB", + "SO", + "ZA", + "GS", + "KR", + "SS", + "LK", + "SD", + "SR", + "SY", + "TZ", + "TH", + "TL", + "TK", + "TO", + "TT", + "TC", + "TV", + "UG", + "AE", + "GB", + "US", + "UM", + "VI", + "VU", + "VN", + "ZM", + "ZW" + ], + "family": "Indo-European", + "iso_639_2B": "eng", + "iso_639_2T": "eng", + "iso_639_3": "eng", + "name_en": "English", + "name_native": "English", + "notes": "" + }, + "model": "languages_plus.language", + "pk": "en" + } ] diff --git a/peachjam/migrations/0152_alter_coredocument_nature.py b/peachjam/migrations/0152_alter_coredocument_nature.py new file mode 100644 index 000000000..c6f4a8677 --- /dev/null +++ b/peachjam/migrations/0152_alter_coredocument_nature.py @@ -0,0 +1,23 @@ +# Generated by Django 4.2.14 on 2024-08-29 14:06 + +import django.db.models.deletion +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("peachjam", "0151_backfill_natures"), + ] + + operations = [ + migrations.AlterField( + model_name="coredocument", + name="nature", + field=models.ForeignKey( + on_delete=django.db.models.deletion.PROTECT, + to="peachjam.documentnature", + verbose_name="nature", + ), + ), + ] diff --git a/peachjam/models/core_document_model.py b/peachjam/models/core_document_model.py index 8c8c843b9..5b19cd609 100644 --- a/peachjam/models/core_document_model.py +++ b/peachjam/models/core_document_model.py @@ -586,7 +586,8 @@ def set_frbr_uri_subtype(self): def set_nature(self): # provide a default nature if it's not already set - if not self.nature: + # use hasattr() because otherwise we'd get a DoesNotExist exception + if not hasattr(self, "nature"): code, name = self.default_nature self.nature = DocumentNature.objects.get_or_create( code=code, defaults={"name": name} diff --git a/peachjam/models/journals_books.py b/peachjam/models/journals_books.py index df9189f4e..6ec35bf32 100644 --- a/peachjam/models/journals_books.py +++ b/peachjam/models/journals_books.py @@ -22,6 +22,7 @@ def convert_content_markdown(self): def pre_save(self): self.frbr_uri_doctype = "doc" + self.frbr_uri_subtype = "book" self.doc_type = "book" return super().pre_save() @@ -32,5 +33,6 @@ class Journal(CoreDocument): def pre_save(self): self.frbr_uri_doctype = "doc" + self.frbr_uri_subtype = "journal" self.doc_type = "journal" return super().pre_save() diff --git a/peachjam/tests/test_documents.py b/peachjam/tests/test_documents.py index ead887c4d..59ed6d634 100644 --- a/peachjam/tests/test_documents.py +++ b/peachjam/tests/test_documents.py @@ -6,7 +6,7 @@ class CoreDocumentTestCase(TestCase): - fixtures = ["documents/sample_documents"] + fixtures = ["tests/countries", "documents/sample_documents"] def test_document_text_from_html(self): doc = CoreDocument.objects.get( diff --git a/peachjam/tests/test_forms.py b/peachjam/tests/test_forms.py index 51e2dd54b..58b5f53ed 100644 --- a/peachjam/tests/test_forms.py +++ b/peachjam/tests/test_forms.py @@ -2,7 +2,7 @@ class BaseDocumentFilterFormTestCase(TestCase): - fixtures = ["documents/sample_documents", "tests/countries", "tests/languages"] + fixtures = ["tests/countries", "documents/sample_documents", "tests/languages"] maxDiff = None def test_years_filter_with_single_year(self): diff --git a/peachjam/tests/test_preferred_language.py b/peachjam/tests/test_preferred_language.py index a9fc16e4e..aeb72e2b9 100644 --- a/peachjam/tests/test_preferred_language.py +++ b/peachjam/tests/test_preferred_language.py @@ -5,7 +5,7 @@ class TestPreferredLanguage(TestCase): - fixtures = ["documents/sample_documents", "tests/countries", "tests/languages"] + fixtures = ["tests/countries", "documents/sample_documents", "tests/languages"] maxDiff = None def test_preferred_language(self): diff --git a/peachjam/tests/test_views.py b/peachjam/tests/test_views.py index 0acbd4f5a..dbc68b5d1 100644 --- a/peachjam/tests/test_views.py +++ b/peachjam/tests/test_views.py @@ -2,7 +2,7 @@ class PeachjamViewsTest(TestCase): - fixtures = ["documents/sample_documents"] + fixtures = ["tests/countries", "documents/sample_documents"] def test_login_page(self): response = self.client.get("/accounts/login/") diff --git a/peachjam_search/tests.py b/peachjam_search/tests.py index 898f2990e..9130fa2b7 100644 --- a/peachjam_search/tests.py +++ b/peachjam_search/tests.py @@ -5,7 +5,7 @@ class SearchableDocumentTestCase(TestCase): - fixtures = ["documents/sample_documents"] + fixtures = ["tests/countries", "documents/sample_documents"] def test_translated_field(self): doc = CoreDocument.objects.filter(nature__code="activity-report").first()