Update templates messages

Add iso3166 country list
Link MMSI MID Codes with iso3166 country list
This commit is contained in:
xbgmsharp
2023-06-21 15:49:10 +02:00
parent a2cdd8ddfe
commit 7b3a1451bb

View File

@@ -94,7 +94,7 @@ INSERT INTO email_templates VALUES
E'Congratulations!\nPlease validate your account. Check your email!'), E'Congratulations!\nPlease validate your account. Check your email!'),
('email_valid', ('email_valid',
'Email verified', 'Email verified',
E'Hello __RECIPIENT__,\nCongratulations!\nYou successfully validate your account.\nThe PostgSail Team', E'Hello,\nCongratulations!\nYou successfully validate your account.\nThe PostgSail Team',
'Email verified', 'Email verified',
E'Hi!\nYou successfully validate your account.\n'), E'Hi!\nYou successfully validate your account.\n'),
('email_reset', ('email_reset',
@@ -104,9 +104,9 @@ INSERT INTO email_templates VALUES
E'You requested a password recovery. Check your email!\n'), E'You requested a password recovery. Check your email!\n'),
('telegram_otp', ('telegram_otp',
'Telegram bot', 'Telegram bot',
E'Hello __RECIPIENT__,\nTo connect your account to a @postgsail_bot. Please type this verification code __OTP_CODE__ back to the bot.\nThe code is valid 15 minutes.\nThe PostgSail Team', E'Hello,\nTo connect your account to a @postgsail_bot. Please type this verification code __OTP_CODE__ back to the bot.\nThe code is valid 15 minutes.\nThe PostgSail Team',
'Telegram bot', 'Telegram bot',
E'Congratulations!\nTo connect your account to a @postgsail_bot. Check your email!\n'), E'Hello,\nTo connect your account to a @postgsail_bot. Check your email!\n'),
('telegram_valid', ('telegram_valid',
'Telegram bot', 'Telegram bot',
E'Hello __RECIPIENT__,\nCongratulations! You have just connect your account to your vessel, @postgsail_bot.\n\nThe PostgSail Team', E'Hello __RECIPIENT__,\nCongratulations! You have just connect your account to your vessel, @postgsail_bot.\n\nThe PostgSail Team',
@@ -183,9 +183,9 @@ COMMENT ON COLUMN public.app_settings.value IS 'application settings value';
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
-- Badges description -- Badges description
-- TODO add contiditions
-- --
CREATE TABLE IF NOT EXISTS badges( DROP FUNCTION IF EXISTS public.badges;
CREATE TABLE IF NOT EXISTS public.badges(
name TEXT UNIQUE, name TEXT UNIQUE,
description TEXT description TEXT
); );
@@ -205,7 +205,7 @@ INSERT INTO badges VALUES
'It takes a lot of skill to "thread that floating needle" but seems like you have mastered mooring with 10 nights on buoy!'), 'It takes a lot of skill to "thread that floating needle" but seems like you have mastered mooring with 10 nights on buoy!'),
('Anchormaster', ('Anchormaster',
'Hook, line and sinker, you have this anchoring thing down! 25 days on the hook for you!'), 'Hook, line and sinker, you have this anchoring thing down! 25 days on the hook for you!'),
('Traveler', ('Traveler todo',
'Who needs to fly when one can sail! You are an international sailor. À votre santé!'), 'Who needs to fly when one can sail! You are an international sailor. À votre santé!'),
('Stormtrooper', ('Stormtrooper',
'Just like the elite defenders of the Empire, here you are, our braving your own hydro-empire in windspeeds above 30kts. Nice work trooper! '), 'Just like the elite defenders of the Empire, here you are, our braving your own hydro-empire in windspeeds above 30kts. Nice work trooper! '),
@@ -215,11 +215,10 @@ INSERT INTO badges VALUES
'Look at you with your suntan, tropical drink and southern latitude!'), 'Look at you with your suntan, tropical drink and southern latitude!'),
('Aloha Award', ('Aloha Award',
'Ticking off over 2300 NM across the great blue Pacific makes you the rare recipient of the Aloha Award. Well done and Aloha sailor!'), 'Ticking off over 2300 NM across the great blue Pacific makes you the rare recipient of the Aloha Award. Well done and Aloha sailor!'),
('Tyee', ('Navigator Award',
'You made it to the Tyee Outstation, the friendliest dock in Pacific Northwest!'), 'You made it, Ticking off over 100NM in one go, well done sailor!'),
-- TODO the sea is big and the world is not limited to the US ('Long-distance Award',
('Mediterranean Traveler', 'Congratulation, you reach over 1000NM, well done sailor!');
'You made it trought the Mediterranean!');
--------------------------------------------------------------------------- ---------------------------------------------------------------------------
-- aistypes description -- aistypes description
@@ -321,7 +320,8 @@ INSERT INTO aistypes VALUES
-- --
CREATE TABLE IF NOT EXISTS mid( CREATE TABLE IF NOT EXISTS mid(
country TEXT, country TEXT,
id NUMERIC UNIQUE id NUMERIC UNIQUE,
country_id INTEGER
); );
-- Description -- Description
COMMENT ON TABLE COMMENT ON TABLE
@@ -329,292 +329,556 @@ COMMENT ON TABLE
IS 'MMSI MID Codes (Maritime Mobile Service Identity) Filtered by Flag of Registration, https://www.marinevesseltraffic.com/2013/11/mmsi-mid-codes-by-flag.html'; IS 'MMSI MID Codes (Maritime Mobile Service Identity) Filtered by Flag of Registration, https://www.marinevesseltraffic.com/2013/11/mmsi-mid-codes-by-flag.html';
INSERT INTO mid VALUES INSERT INTO mid VALUES
('Adelie Land', 501), ('Adelie Land', 501, NULL),
('Afghanistan', 401), ('Afghanistan', 401, 4),
('Alaska', 303), ('Alaska', 303, 840),
('Albania', 201), ('Albania', 201, 8),
('Algeria', 605), ('Algeria', 605, 12),
('American Samoa', 559), ('American Samoa', 559, 16),
('Andorra', 202), ('Andorra', 202, 20),
('Angola', 603), ('Angola', 603, 24),
('Anguilla', 301), ('Anguilla', 301, 660),
('Antigua and Barbuda', 304), ('Antigua and Barbuda', 304, 28),
('Antigua and Barbuda', 305), ('Antigua and Barbuda', 305, 28),
('Argentina', 701), ('Argentina', 701, 32),
('Armenia', 216), ('Armenia', 216, 51),
('Aruba', 307), ('Aruba', 307, 533),
('Ascension Island', 608), ('Ascension Island', 608, NULL),
('Australia', 503), ('Australia', 503, 36),
('Austria', 203), ('Austria', 203, 40),
('Azerbaijan', 423), ('Azerbaijan', 423, 31),
('Azores', 204), ('Azores', 204, NULL),
('Bahamas', 308), ('Bahamas', 308, 44),
('Bahamas', 309), ('Bahamas', 309, 44),
('Bahamas', 311), ('Bahamas', 311, 44),
('Bahrain', 408), ('Bahrain', 408, 48),
('Bangladesh', 405), ('Bangladesh', 405, 50),
('Barbados', 314), ('Barbados', 314, 52),
('Belarus', 206), ('Belarus', 206, 112),
('Belgium', 205), ('Belgium', 205, 56),
('Belize', 312), ('Belize', 312, 84),
('Benin', 610), ('Benin', 610, 204),
('Bermuda', 310), ('Bermuda', 310, 60),
('Bhutan', 410), ('Bhutan', 410, 64),
('Bolivia', 720), ('Bolivia', 720, 68),
('Bosnia and Herzegovina', 478), ('Bosnia and Herzegovina', 478, 70),
('Botswana', 611), ('Botswana', 611, 72),
('Brazil', 710), ('Brazil', 710, 76),
('British Virgin Islands', 378), ('British Virgin Islands', 378, 92),
('Brunei Darussalam', 508), ('Brunei Darussalam', 508, 96),
('Bulgaria', 207), ('Bulgaria', 207, 100),
('Burkina Faso', 633), ('Burkina Faso', 633, 854),
('Burundi', 609), ('Burundi', 609, 108),
('Cambodia', 514), ('Cambodia', 514, 116),
('Cambodia', 515), ('Cambodia', 515, 116),
('Cameroon', 613), ('Cameroon', 613, 120),
('Canada', 316), ('Canada', 316, 124),
('Cape Verde', 617), ('Cape Verde', 617, 132),
('Cayman Islands', 319), ('Cayman Islands', 319, 136),
('Central African Republic', 612), ('Central African Republic', 612, 140),
('Chad', 670), ('Chad', 670, 148),
('Chile', 725), ('Chile', 725, 152),
('China', 412), ('China', 412, 156),
('China', 413), ('China', 413, 156),
('China', 414), ('China', 414, 156),
('Christmas Island', 516), ('Christmas Island', 516, 162),
('Cocos Islands', 523), ('Cocos Islands', 523, 166),
('Colombia', 730), ('Colombia', 730, 170),
('Comoros', 616), ('Comoros', 616, 174),
('Comoros', 620), ('Comoros', 620, 174),
('Congo', 615), ('Congo', 615, 178),
('Cook Islands', 518), ('Cook Islands', 518, 184),
('Costa Rica', 321), ('Costa Rica', 321, 188),
(E'Côte d\'Ivoire', 619), (E'Côte d\'Ivoire', 619, 384),
('Croatia', 238), ('Croatia', 238, 191),
('Crozet Archipelago', 618), ('Crozet Archipelago', 618, NULL),
('Cuba', 323), ('Cuba', 323, 192),
('Cyprus', 209), ('Cyprus', 209, 196),
('Cyprus', 210), ('Cyprus', 210, 196),
('Cyprus', 212), ('Cyprus', 212, 196),
('Czech Republic', 270), ('Czech Republic', 270, 203),
('Denmark', 219), ('Denmark', 219, 208),
('Denmark', 220), ('Denmark', 220, 208),
('Djibouti', 621), ('Djibouti', 621, 262),
('Dominica', 325), ('Dominica', 325, 212),
('Dominican Republic', 327), ('Dominican Republic', 327, 214),
('DR Congo', 676), ('DR Congo', 676, NULL),
('Ecuador', 735), ('Ecuador', 735, 218),
('Egypt', 622), ('Egypt', 622, 818),
('El Salvador', 359), ('El Salvador', 359, 222),
('Equatorial Guinea', 631), ('Equatorial Guinea', 631, 226),
('Eritrea', 625), ('Eritrea', 625, 232),
('Estonia', 276), ('Estonia', 276, 233),
('Ethiopia', 624), ('Ethiopia', 624, 231),
('Falkland Islands', 740), ('Falkland Islands', 740, 234),
('Faroe Islands', 231), ('Faroe Islands', 231, NULL),
('Fiji', 520), ('Fiji', 520, 242),
('Finland', 230), ('Finland', 230, 246),
('France', 226), ('France', 226, 250),
('France', 227), ('France', 227, 250),
('France', 228), ('France', 228, 250),
('French Polynesia', 546), ('French Polynesia', 546, 260),
('Gabonese Republic', 626), ('Gabonese Republic', 626, 266),
('Gambia', 629), ('Gambia', 629, 270),
('Georgia', 213), ('Georgia', 213, 268),
('Germany', 211), ('Germany', 211, 276),
('Germany', 218), ('Germany', 218, 276),
('Ghana', 627), ('Ghana', 627, 288),
('Gibraltar', 236), ('Gibraltar', 236, 292),
('Greece', 237), ('Greece', 237, 300),
('Greece', 239), ('Greece', 239, 300),
('Greece', 240), ('Greece', 240, 300),
('Greece', 241), ('Greece', 241, 300),
('Greenland', 331), ('Greenland', 331, 304),
('Grenada', 330), ('Grenada', 330, 308),
('Guadeloupe', 329), ('Guadeloupe', 329, 312),
('Guatemala', 332), ('Guatemala', 332, 320),
('Guiana', 745), ('Guiana', 745, 324),
('Guinea', 632), ('Guinea', 632, 324),
('Guinea-Bissau', 630), ('Guinea-Bissau', 630, 624),
('Guyana', 750), ('Guyana', 750, 328),
('Haiti', 336), ('Haiti', 336, 332),
('Honduras', 334), ('Honduras', 334, 340),
('Hong Kong', 477), ('Hong Kong', 477, 344),
('Hungary', 243), ('Hungary', 243, 348),
('Iceland', 251), ('Iceland', 251, 352),
('India', 419), ('India', 419, 356),
('Indonesia', 525), ('Indonesia', 525, 360),
('Iran', 422), ('Iran', 422, 364),
('Iraq', 425), ('Iraq', 425, 368),
('Ireland', 250), ('Ireland', 250, 372),
('Israel', 428), ('Israel', 428, 376),
('Italy', 247), ('Italy', 247, 380),
('Jamaica', 339), ('Jamaica', 339, 388),
('Japan', 431), ('Japan', 431, 392),
('Japan', 432), ('Japan', 432, 392),
('Jordan', 438), ('Jordan', 438, 400),
('Kazakhstan', 436), ('Kazakhstan', 436, 398),
('Kenya', 634), ('Kenya', 634, 404),
('Kerguelen Islands', 635), ('Kerguelen Islands', 635, NULL),
('Kiribati', 529), ('Kiribati', 529, 296),
('Kuwait', 447), ('Kuwait', 447, 414),
('Kyrgyzstan', 451), ('Kyrgyzstan', 451, 417),
('Lao', 531), ('Lao', 531, 418),
('Latvia', 275), ('Latvia', 275, 428),
('Lebanon', 450), ('Lebanon', 450, 422),
('Lesotho', 644), ('Lesotho', 644, 426),
('Liberia', 636), ('Liberia', 636, 430),
('Liberia', 637), ('Liberia', 637, 430),
('Libya', 642), ('Libya', 642, 434),
('Liechtenstein', 252), ('Liechtenstein', 252, 438),
('Lithuania', 277), ('Lithuania', 277, 440),
('Luxembourg', 253), ('Luxembourg', 253, 442),
('Macao', 453), ('Macao', 453, 446),
('Madagascar', 647), ('Madagascar', 647, 450),
('Madeira', 255), ('Madeira', 255, NULL),
('Makedonia', 274), ('Makedonia', 274, NULL),
('Malawi', 655), ('Malawi', 655, 454),
('Malaysia', 533), ('Malaysia', 533, 458),
('Maldives', 455), ('Maldives', 455, 462),
('Mali', 649), ('Mali', 649, 466),
('Malta', 215), ('Malta', 215, 470),
('Malta', 229), ('Malta', 229, 470),
('Malta', 248), ('Malta', 248, 470),
('Malta', 249), ('Malta', 249, 470),
('Malta', 256), ('Malta', 256, 470),
('Marshall Islands', 538), ('Marshall Islands', 538, 584),
('Martinique', 347), ('Martinique', 347, 474),
('Mauritania', 654), ('Mauritania', 654, 478),
('Mauritius', 645), ('Mauritius', 645, 480),
('Mexico', 345), ('Mexico', 345, 484),
('Micronesia', 510), ('Micronesia', 510, 583),
('Moldova', 214), ('Moldova', 214, 498),
('Monaco', 254), ('Monaco', 254, 492),
('Mongolia', 457), ('Mongolia', 457, 496),
('Montenegro', 262), ('Montenegro', 262, 499),
('Montserrat', 348), ('Montserrat', 348, 500),
('Morocco', 242), ('Morocco', 242, 504),
('Mozambique', 650), ('Mozambique', 650, 508),
('Myanmar', 506), ('Myanmar', 506, 104),
('Namibia', 659), ('Namibia', 659, 516),
('Nauru', 544), ('Nauru', 544, 520),
('Nepal', 459), ('Nepal', 459, 524),
('Netherlands', 244), ('Netherlands', 244, 528),
('Netherlands', 245), ('Netherlands', 245, 528),
('Netherlands', 246), ('Netherlands', 246, 528),
('Netherlands Antilles', 306), ('Netherlands Antilles', 306, NULL),
('New Caledonia', 540), ('New Caledonia', 540, 540),
('New Zealand', 512), ('New Zealand', 512, 554),
('Nicaragua', 350), ('Nicaragua', 350, 558),
('Niger', 656), ('Niger', 656, 562),
('Nigeria', 657), ('Nigeria', 657, 566),
('Niue', 542), ('Niue', 542, 570),
('North Korea', 445), ('North Korea', 445, 408),
('Northern Mariana Islands', 536), ('Northern Mariana Islands', 536, 580),
('Norway', 257), ('Norway', 257, 578),
('Norway', 258), ('Norway', 258, 578),
('Norway', 259), ('Norway', 259, 578),
('Oman', 461), ('Oman', 461, 512),
('Pakistan', 463), ('Pakistan', 463, 586),
('Palau', 511), ('Palau', 511, 585),
('Palestine', 443), ('Palestine', 443, 275),
('Panama', 351), ('Panama', 351, 591),
('Panama', 352), ('Panama', 352, 591),
('Panama', 353), ('Panama', 353, 591),
('Panama', 354), ('Panama', 354, 591),
('Panama', 355), ('Panama', 355, 591),
('Panama', 356), ('Panama', 356, 591),
('Panama', 357), ('Panama', 357, 591),
('Panama', 370), ('Panama', 370, 591),
('Panama', 371), ('Panama', 371, 591),
('Panama', 372), ('Panama', 372, 591),
('Panama', 373), ('Panama', 373, 591),
('Papua New Guinea', 553), ('Papua New Guinea', 553, 598),
('Paraguay', 755), ('Paraguay', 755, 600),
('Peru', 760), ('Peru', 760, 604),
('Philippines', 548), ('Philippines', 548, 608),
('Pitcairn Island', 555), ('Pitcairn Island', 555, 612),
('Poland', 261), ('Poland', 261, 616),
('Portugal', 263), ('Portugal', 263, 620),
('Puerto Rico', 358), ('Puerto Rico', 358, 630),
('Qatar', 466), ('Qatar', 466, 634),
('Reunion', 660), ('Reunion', 660, 638),
('Romania', 264), ('Romania', 264, 642),
('Russian Federation', 273), ('Russian Federation', 273, 643),
('Rwanda', 661), ('Rwanda', 661, 646),
('Saint Helena', 665), ('Saint Helena', 665, 654),
('Saint Kitts and Nevis', 341), ('Saint Kitts and Nevis', 341, 659),
('Saint Lucia', 343), ('Saint Lucia', 343, 662),
('Saint Paul and Amsterdam Islands', 607), ('Saint Paul and Amsterdam Islands', 607, NULL),
('Saint Pierre and Miquelon', 361), ('Saint Pierre and Miquelon', 361, 666),
('Samoa', 561), ('Samoa', 561, 882),
('San Marino', 268), ('San Marino', 268, 674),
('Sao Tome and Principe', 668), ('Sao Tome and Principe', 668, 678),
('Saudi Arabia', 403), ('Saudi Arabia', 403, 682),
('Senegal', 663), ('Senegal', 663, 686),
('Serbia', 279), ('Serbia', 279, 688),
('Seychelles', 664), ('Seychelles', 664, 690),
('Sierra Leone', 667), ('Sierra Leone', 667, 694),
('Singapore', 563), ('Singapore', 563, 702),
('Singapore', 564), ('Singapore', 564, 702),
('Singapore', 565), ('Singapore', 565, 702),
('Singapore', 566), ('Singapore', 566, 702),
('Slovakia', 267), ('Slovakia', 267, 703),
('Slovenia', 278), ('Slovenia', 278, 705),
('Solomon Islands', 557), ('Solomon Islands', 557, 90),
('Somalia', 666), ('Somalia', 666, 706),
('South Africa', 601), ('South Africa', 601, 710),
('South Korea', 440), ('South Korea', 440, 410),
('South Korea', 441), ('South Korea', 441, 410),
('South Sudan', 638), ('South Sudan', 638, 728),
('Spain', 224), ('Spain', 224, 724),
('Spain', 225), ('Spain', 225, 724),
('Sri Lanka', 417), ('Sri Lanka', 417, 144),
('St Vincent and the Grenadines', 375), ('St Vincent and the Grenadines', 375, 670),
('St Vincent and the Grenadines', 376), ('St Vincent and the Grenadines', 376, 670),
('St Vincent and the Grenadines', 377), ('St Vincent and the Grenadines', 377, 670),
('Sudan', 662), ('Sudan', 662, 729),
('Suriname', 765), ('Suriname', 765, 740),
('Swaziland', 669), ('Swaziland', 669, 748),
('Sweden', 265), ('Sweden', 265, 752),
('Sweden', 266), ('Sweden', 266, 752),
('Switzerland', 269), ('Switzerland', 269, 756),
('Syria', 468), ('Syria', 468, 760),
('Taiwan', 416), ('Taiwan', 416, 158),
('Tajikistan', 472), ('Tajikistan', 472, 762),
('Tanzania', 674), ('Tanzania', 674, 834),
('Tanzania', 677), ('Tanzania', 677, 834),
('Thailand', 567), ('Thailand', 567, 764),
('Togolese', 671), ('Togolese', 671, 768),
('Tonga', 570), ('Tonga', 570, 776),
('Trinidad and Tobago', 362), ('Trinidad and Tobago', 362, 780),
('Tunisia', 672), ('Tunisia', 672, 788),
('Turkey', 271), ('Turkey', 271, 792),
('Turkmenistan', 434), ('Turkmenistan', 434, 795),
('Turks and Caicos Islands', 364), ('Turks and Caicos Islands', 364, 796),
('Tuvalu', 572), ('Tuvalu', 572, 798),
('Uganda', 675), ('Uganda', 675, 800),
('Ukraine', 272), ('Ukraine', 272, 804),
('United Arab Emirates', 470), ('United Arab Emirates', 470, 784),
('United Kingdom', 232), ('United Kingdom', 232, 826),
('United Kingdom', 233), ('United Kingdom', 233, 826),
('United Kingdom', 234), ('United Kingdom', 234, 826),
('United Kingdom', 235), ('United Kingdom', 235, 826),
('Uruguay', 770), ('Uruguay', 770, 858),
('US Virgin Islands', 379), ('US Virgin Islands', 379, 850),
('USA', 338), ('USA', 338, 840),
('USA', 366), ('USA', 366, 840),
('USA', 367), ('USA', 367, 840),
('USA', 368), ('USA', 368, 840),
('USA', 369), ('USA', 369, 840),
('Uzbekistan', 437), ('Uzbekistan', 437, 860),
('Vanuatu', 576), ('Vanuatu', 576, 548),
('Vanuatu', 577), ('Vanuatu', 577, 548),
('Vatican City', 208), ('Vatican City', 208, NULL),
('Venezuela', 775), ('Venezuela', 775, 862),
('Vietnam', 574), ('Vietnam', 574, 704),
('Wallis and Futuna Islands', 578), ('Wallis and Futuna Islands', 578, 876),
('Yemen', 473), ('Yemen', 473, 887),
('Yemen', 475), ('Yemen', 475, 887),
('Zambia', 678), ('Zambia', 678, 894),
('Zimbabwe', 679); ('Zimbabwe', 679, 716);
---------------------------------------------------------------------------
--
CREATE TABLE IF NOT EXISTS iso3166(
id INTEGER,
country TEXT,
alpha_2 TEXT,
alpha_3 TEXT
);
-- Description
COMMENT ON TABLE
public.iso3166
IS 'This is a complete list of all country ISO codes as described in the ISO 3166 international standard. Country Codes Alpha-2 & Alpha-3 https://www.iban.com/country-codes';
INSERT INTO iso3166 VALUES
(4,'Afghanistan','AF','AFG'),
(8,'Albania','AL','ALB'),
(12,'Algeria','DZ','DZA'),
(16,'American Samoa','AS','ASM'),
(20,'Andorra','AD','AND'),
(24,'Angola','AO','AGO'),
(660,'Anguilla','AI','AIA'),
(10,'Antarctica','AQ','ATA'),
(28,'Antigua and Barbuda','AG','ATG'),
(32,'Argentina','AR','ARG'),
(51,'Armenia','AM','ARM'),
(533,'Aruba','AW','ABW'),
(36,'Australia','AU','AUS'),
(40,'Austria','AT','AUT'),
(31,'Azerbaijan','AZ','AZE'),
(44,'Bahamas (the)','BS','BHS'),
(48,'Bahrain','BH','BHR'),
(50,'Bangladesh','BD','BGD'),
(52,'Barbados','BB','BRB'),
(112,'Belarus','BY','BLR'),
(56,'Belgium','BE','BEL'),
(84,'Belize','BZ','BLZ'),
(204,'Benin','BJ','BEN'),
(60,'Bermuda','BM','BMU'),
(64,'Bhutan','BT','BTN'),
(68,E'Bolivia (Plurinational State of)','BO','BOL'),
(535,'Bonaire, Sint Eustatius and Saba','BQ','BES'),
(70,'Bosnia and Herzegovina','BA','BIH'),
(72,'Botswana','BW','BWA'),
(74,'Bouvet Island','BV','BVT'),
(76,'Brazil','BR','BRA'),
(86,E'British Indian Ocean Territory (the)','IO','IOT'),
(96,'Brunei Darussalam','BN','BRN'),
(100,'Bulgaria','BG','BGR'),
(854,'Burkina Faso','BF','BFA'),
(108,'Burundi','BI','BDI'),
(132,'Cabo Verde','CV','CPV'),
(116,'Cambodia','KH','KHM'),
(120,'Cameroon','CM','CMR'),
(124,'Canada','CA','CAN'),
(136,E'Cayman Islands (the)','KY','CYM'),
(140,E'Central African Republic (the)','CF','CAF'),
(148,'Chad','TD','TCD'),
(152,'Chile','CL','CHL'),
(156,'China','CN','CHN'),
(162,'Christmas Island','CX','CXR'),
(166,E'Cocos (Keeling) Islands (the)','CC','CCK'),
(170,'Colombia','CO','COL'),
(174,'Comoros (the)','KM','COM'),
(180,E'Congo (the Democratic Republic of the)','CD','COD'),
(178,E'Congo (the)','CG','COG'),
(184,E'Cook Islands (the)','CK','COK'),
(188,'Costa Rica','CR','CRI'),
(191,'Croatia','HR','HRV'),
(192,'Cuba','CU','CUB'),
(531,'Curaçao','CW','CUW'),
(196,'Cyprus','CY','CYP'),
(203,'Czechia','CZ','CZE'),
(384,E'Côte d\'Ivoire','CI','CIV'),
(208,'Denmark','DK','DNK'),
(262,'Djibouti','DJ','DJI'),
(212,'Dominica','DM','DMA'),
(214,E'Dominican Republic (the)','DO','DOM'),
(218,'Ecuador','EC','ECU'),
(818,'Egypt','EG','EGY'),
(222,'El Salvador','SV','SLV'),
(226,'Equatorial Guinea','GQ','GNQ'),
(232,'Eritrea','ER','ERI'),
(233,'Estonia','EE','EST'),
(748,'Eswatini','SZ','SWZ'),
(231,'Ethiopia','ET','ETH'),
(238,E'Falkland Islands (the) [Malvinas]','FK','FLK'),
(234,E'Faroe Islands (the)','FO','FRO'),
(242,'Fiji','FJ','FJI'),
(246,'Finland','FI','FIN'),
(250,'France','FR','FRA'),
(254,'French Guiana','GF','GUF'),
(258,'French Polynesia','PF','PYF'),
(260,E'French Southern Territories (the)','TF','ATF'),
(266,'Gabon','GA','GAB'),
(270,E'Gambia (the)','GM','GMB'),
(268,'Georgia','GE','GEO'),
(276,'Germany','DE','DEU'),
(288,'Ghana','GH','GHA'),
(292,'Gibraltar','GI','GIB'),
(300,'Greece','GR','GRC'),
(304,'Greenland','GL','GRL'),
(308,'Grenada','GD','GRD'),
(312,'Guadeloupe','GP','GLP'),
(316,'Guam','GU','GUM'),
(320,'Guatemala','GT','GTM'),
(831,'Guernsey','GG','GGY'),
(324,'Guinea','GN','GIN'),
(624,'Guinea-Bissau','GW','GNB'),
(328,'Guyana','GY','GUY'),
(332,'Haiti','HT','HTI'),
(334,'Heard Island and McDonald Islands','HM','HMD'),
(336,E'Holy See (the)','VA','VAT'),
(340,'Honduras','HN','HND'),
(344,'Hong Kong','HK','HKG'),
(348,'Hungary','HU','HUN'),
(352,'Iceland','IS','ISL'),
(356,'India','IN','IND'),
(360,'Indonesia','ID','IDN'),
(364,E'Iran (Islamic Republic of)','IR','IRN'),
(368,'Iraq','IQ','IRQ'),
(372,'Ireland','IE','IRL'),
(833,'Isle of Man','IM','IMN'),
(376,'Israel','IL','ISR'),
(380,'Italy','IT','ITA'),
(388,'Jamaica','JM','JAM'),
(392,'Japan','JP','JPN'),
(832,'Jersey','JE','JEY'),
(400,'Jordan','JO','JOR'),
(398,'Kazakhstan','KZ','KAZ'),
(404,'Kenya','KE','KEN'),
(296,'Kiribati','KI','KIR'),
(408,E'Korea (the Democratic People\'s Republic of)','KP','PRK'),
(410,E'Korea (the Republic of)','KR','KOR'),
(414,'Kuwait','KW','KWT'),
(417,'Kyrgyzstan','KG','KGZ'),
(418,E'Lao People\'s Democratic Republic (the)','LA','LAO'),
(428,'Latvia','LV','LVA'),
(422,'Lebanon','LB','LBN'),
(426,'Lesotho','LS','LSO'),
(430,'Liberia','LR','LBR'),
(434,'Libya','LY','LBY'),
(438,'Liechtenstein','LI','LIE'),
(440,'Lithuania','LT','LTU'),
(442,'Luxembourg','LU','LUX'),
(446,'Macao','MO','MAC'),
(450,'Madagascar','MG','MDG'),
(454,'Malawi','MW','MWI'),
(458,'Malaysia','MY','MYS'),
(462,'Maldives','MV','MDV'),
(466,'Mali','ML','MLI'),
(470,'Malta','MT','MLT'),
(584,E'Marshall Islands (the)','MH','MHL'),
(474,'Martinique','MQ','MTQ'),
(478,'Mauritania','MR','MRT'),
(480,'Mauritius','MU','MUS'),
(175,'Mayotte','YT','MYT'),
(484,'Mexico','MX','MEX'),
(583,E'Micronesia (Federated States of)','FM','FSM'),
(498,E'Moldova (the Republic of)','MD','MDA'),
(492,'Monaco','MC','MCO'),
(496,'Mongolia','MN','MNG'),
(499,'Montenegro','ME','MNE'),
(500,'Montserrat','MS','MSR'),
(504,'Morocco','MA','MAR'),
(508,'Mozambique','MZ','MOZ'),
(104,'Myanmar','MM','MMR'),
(516,'Namibia','NA','NAM'),
(520,'Nauru','NR','NRU'),
(524,'Nepal','NP','NPL'),
(528,E'Netherlands (the)','NL','NLD'),
(540,'New Caledonia','NC','NCL'),
(554,'New Zealand','NZ','NZL'),
(558,'Nicaragua','NI','NIC'),
(562,E'Niger (the)','NE','NER'),
(566,'Nigeria','NG','NGA'),
(570,'Niue','NU','NIU'),
(574,'Norfolk Island','NF','NFK'),
(580,E'Northern Mariana Islands (the)','MP','MNP'),
(578,'Norway','NO','NOR'),
(512,'Oman','OM','OMN'),
(586,'Pakistan','PK','PAK'),
(585,'Palau','PW','PLW'),
(275,'Palestine, State of','PS','PSE'),
(591,'Panama','PA','PAN'),
(598,'Papua New Guinea','PG','PNG'),
(600,'Paraguay','PY','PRY'),
(604,'Peru','PE','PER'),
(608,E'Philippines (the)','PH','PHL'),
(612,'Pitcairn','PN','PCN'),
(616,'Poland','PL','POL'),
(620,'Portugal','PT','PRT'),
(630,'Puerto Rico','PR','PRI'),
(634,'Qatar','QA','QAT'),
(807,'Republic of North Macedonia','MK','MKD'),
(642,'Romania','RO','ROU'),
(643,'Russian Federation (the)','RU','RUS'),
(646,'Rwanda','RW','RWA'),
(638,'Réunion','RE','REU'),
(652,'Saint Barthélemy','BL','BLM'),
(654,'Saint Helena, Ascension and Tristan da Cunha','SH','SHN'),
(659,'Saint Kitts and Nevis','KN','KNA'),
(662,'Saint Lucia','LC','LCA'),
(663,'Saint Martin (French part)','MF','MAF'),
(666,'Saint Pierre and Miquelon','PM','SPM'),
(670,'Saint Vincent and the Grenadines','VC','VCT'),
(882,'Samoa','WS','WSM'),
(674,'San Marino','SM','SMR'),
(678,'Sao Tome and Principe','ST','STP'),
(682,'Saudi Arabia','SA','SAU'),
(686,'Senegal','SN','SEN'),
(688,'Serbia','RS','SRB'),
(690,'Seychelles','SC','SYC'),
(694,'Sierra Leone','SL','SLE'),
(702,'Singapore','SG','SGP'),
(534,'Sint Maarten (Dutch part)','SX','SXM'),
(703,'Slovakia','SK','SVK'),
(705,'Slovenia','SI','SVN'),
(90,'Solomon Islands','SB','SLB'),
(706,'Somalia','SO','SOM'),
(710,'South Africa','ZA','ZAF'),
(239,'South Georgia and the South Sandwich Islands','GS','SGS'),
(728,'South Sudan','SS','SSD'),
(724,'Spain','ES','ESP'),
(144,'Sri Lanka','LK','LKA'),
(729,'Sudan (the)','SD','SDN'),
(740,'Suriname','SR','SUR'),
(744,'Svalbard and Jan Mayen','SJ','SJM'),
(752,'Sweden','SE','SWE'),
(756,'Switzerland','CH','CHE'),
(760,'Syrian Arab Republic','SY','SYR'),
(158,'Taiwan (Province of China)','TW','TWN'),
(762,'Tajikistan','TJ','TJK'),
(834,'Tanzania, United Republic of','TZ','TZA'),
(764,'Thailand','TH','THA'),
(626,'Timor-Leste','TL','TLS'),
(768,'Togo','TG','TGO'),
(772,'Tokelau','TK','TKL'),
(776,'Tonga','TO','TON'),
(780,'Trinidad and Tobago','TT','TTO'),
(788,'Tunisia','TN','TUN'),
(792,'Turkey','TR','TUR'),
(795,'Turkmenistan','TM','TKM'),
(796,'Turks and Caicos Islands (the)','TC','TCA'),
(798,'Tuvalu','TV','TUV'),
(800,'Uganda','UG','UGA'),
(804,'Ukraine','UA','UKR'),
(784,'United Arab Emirates (the)','AE','ARE'),
(826,'United Kingdom of Great Britain and Northern Ireland (the)','GB','GBR'),
(581,'United States Minor Outlying Islands (the)','UM','UMI'),
(840,'United States of America (the)','US','USA'),
(858,'Uruguay','UY','URY'),
(860,'Uzbekistan','UZ','UZB'),
(548,'Vanuatu','VU','VUT'),
(862,'Venezuela (Bolivarian Republic of)','VE','VEN'),
(704,'Viet Nam','VN','VNM'),
(92,'Virgin Islands (British)','VG','VGB'),
(850,'Virgin Islands (U.S.)','VI','VIR'),
(876,'Wallis and Futuna','WF','WLF'),
(732,'Western Sahara','EH','ESH'),
(887,'Yemen','YE','YEM'),
(894,'Zambia','ZM','ZMB'),
(716,'Zimbabwe','ZW','ZWE'),
(248,E'Åland Islands','AX','ALA');