addressing 2.1.0 → 2.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +32 -0
  3. data/README.md +223 -112
  4. data/data/UPSTREAM_VERSION +1 -0
  5. data/data/address_formats.json +2256 -206
  6. data/data/countries.json +1282 -0
  7. data/data/locale.json +222 -0
  8. data/data/subdivision/BR-AC.json +22 -22
  9. data/data/subdivision/BR-AL.json +102 -102
  10. data/data/subdivision/BR-AM.json +62 -62
  11. data/data/subdivision/BR-AP.json +16 -16
  12. data/data/subdivision/BR-BA.json +417 -417
  13. data/data/subdivision/BR-CE.json +184 -184
  14. data/data/subdivision/BR-DF.json +1 -1
  15. data/data/subdivision/BR-ES.json +79 -79
  16. data/data/subdivision/BR-GO.json +246 -246
  17. data/data/subdivision/BR-MA.json +217 -217
  18. data/data/subdivision/BR-MG.json +853 -853
  19. data/data/subdivision/BR-MS.json +78 -78
  20. data/data/subdivision/BR-MT.json +141 -141
  21. data/data/subdivision/BR-PA.json +144 -144
  22. data/data/subdivision/BR-PB.json +223 -223
  23. data/data/subdivision/BR-PE.json +185 -185
  24. data/data/subdivision/BR-PI.json +223 -223
  25. data/data/subdivision/BR-PR.json +400 -400
  26. data/data/subdivision/BR-RJ.json +93 -93
  27. data/data/subdivision/BR-RN.json +166 -166
  28. data/data/subdivision/BR-RO.json +52 -52
  29. data/data/subdivision/BR-RR.json +15 -15
  30. data/data/subdivision/BR-RS.json +497 -497
  31. data/data/subdivision/BR-SC.json +295 -295
  32. data/data/subdivision/BR-SE.json +75 -75
  33. data/data/subdivision/BR-SP.json +645 -645
  34. data/data/subdivision/BR-TO.json +139 -139
  35. data/data/subdivision/CL-AI.json +10 -10
  36. data/data/subdivision/CL-AN.json +9 -9
  37. data/data/subdivision/CL-AP.json +4 -4
  38. data/data/subdivision/CL-AR.json +32 -32
  39. data/data/subdivision/CL-AT.json +9 -9
  40. data/data/subdivision/CL-BI.json +34 -34
  41. data/data/subdivision/CL-CO.json +15 -15
  42. data/data/subdivision/CL-LI.json +33 -33
  43. data/data/subdivision/CL-LL.json +30 -30
  44. data/data/subdivision/CL-LR.json +12 -12
  45. data/data/subdivision/CL-MA.json +11 -11
  46. data/data/subdivision/CL-ML.json +30 -30
  47. data/data/subdivision/CL-NB.json +21 -21
  48. data/data/subdivision/CL-RM.json +52 -52
  49. data/data/subdivision/CL-TA.json +7 -7
  50. data/data/subdivision/CL-VS.json +38 -38
  51. data/data/subdivision/CV.json +9 -9
  52. data/data/subdivision/KY.json +3 -3
  53. data/data/subdivision/TV.json +1 -1
  54. data/lib/addressing/address.rb +7 -3
  55. data/lib/addressing/address_format.rb +55 -81
  56. data/lib/addressing/address_validator.rb +98 -0
  57. data/lib/addressing/blank.rb +32 -0
  58. data/lib/addressing/country.rb +28 -314
  59. data/lib/addressing/data_source.rb +75 -0
  60. data/lib/addressing/default_formatter.rb +25 -25
  61. data/lib/addressing/enum.rb +2 -6
  62. data/lib/addressing/field_violation.rb +17 -0
  63. data/lib/addressing/lazy_subdivisions.rb +16 -15
  64. data/lib/addressing/locale.rb +20 -269
  65. data/lib/addressing/model.rb +20 -78
  66. data/lib/addressing/postal_label_formatter.rb +16 -15
  67. data/lib/addressing/subdivision.rb +113 -116
  68. data/lib/addressing/version.rb +1 -1
  69. data/lib/addressing.rb +6 -1
  70. metadata +9 -3
  71. data/data/address_formats.dump +0 -0
@@ -0,0 +1,1282 @@
1
+ {
2
+ "AC": {
3
+ "three_letter_code": "ASC",
4
+ "numeric_code": null,
5
+ "currency_code": "SHP"
6
+ },
7
+ "AD": {
8
+ "three_letter_code": "AND",
9
+ "numeric_code": "020",
10
+ "currency_code": "EUR"
11
+ },
12
+ "AE": {
13
+ "three_letter_code": "ARE",
14
+ "numeric_code": "784",
15
+ "currency_code": "AED"
16
+ },
17
+ "AF": {
18
+ "three_letter_code": "AFG",
19
+ "numeric_code": "004",
20
+ "currency_code": "AFN"
21
+ },
22
+ "AG": {
23
+ "three_letter_code": "ATG",
24
+ "numeric_code": "028",
25
+ "currency_code": "XCD"
26
+ },
27
+ "AI": {
28
+ "three_letter_code": "AIA",
29
+ "numeric_code": "660",
30
+ "currency_code": "XCD"
31
+ },
32
+ "AL": {
33
+ "three_letter_code": "ALB",
34
+ "numeric_code": "008",
35
+ "currency_code": "ALL"
36
+ },
37
+ "AM": {
38
+ "three_letter_code": "ARM",
39
+ "numeric_code": "051",
40
+ "currency_code": "AMD"
41
+ },
42
+ "AO": {
43
+ "three_letter_code": "AGO",
44
+ "numeric_code": "024",
45
+ "currency_code": "AOA"
46
+ },
47
+ "AQ": {
48
+ "three_letter_code": "ATA",
49
+ "numeric_code": "010",
50
+ "currency_code": null
51
+ },
52
+ "AR": {
53
+ "three_letter_code": "ARG",
54
+ "numeric_code": "032",
55
+ "currency_code": "ARS"
56
+ },
57
+ "AS": {
58
+ "three_letter_code": "ASM",
59
+ "numeric_code": "016",
60
+ "currency_code": "USD"
61
+ },
62
+ "AT": {
63
+ "three_letter_code": "AUT",
64
+ "numeric_code": "040",
65
+ "currency_code": "EUR"
66
+ },
67
+ "AU": {
68
+ "three_letter_code": "AUS",
69
+ "numeric_code": "036",
70
+ "currency_code": "AUD"
71
+ },
72
+ "AW": {
73
+ "three_letter_code": "ABW",
74
+ "numeric_code": "533",
75
+ "currency_code": "AWG"
76
+ },
77
+ "AX": {
78
+ "three_letter_code": "ALA",
79
+ "numeric_code": "248",
80
+ "currency_code": "EUR"
81
+ },
82
+ "AZ": {
83
+ "three_letter_code": "AZE",
84
+ "numeric_code": "031",
85
+ "currency_code": "AZN"
86
+ },
87
+ "BA": {
88
+ "three_letter_code": "BIH",
89
+ "numeric_code": "070",
90
+ "currency_code": "BAM"
91
+ },
92
+ "BB": {
93
+ "three_letter_code": "BRB",
94
+ "numeric_code": "052",
95
+ "currency_code": "BBD"
96
+ },
97
+ "BD": {
98
+ "three_letter_code": "BGD",
99
+ "numeric_code": "050",
100
+ "currency_code": "BDT"
101
+ },
102
+ "BE": {
103
+ "three_letter_code": "BEL",
104
+ "numeric_code": "056",
105
+ "currency_code": "EUR"
106
+ },
107
+ "BF": {
108
+ "three_letter_code": "BFA",
109
+ "numeric_code": "854",
110
+ "currency_code": "XOF"
111
+ },
112
+ "BG": {
113
+ "three_letter_code": "BGR",
114
+ "numeric_code": "100",
115
+ "currency_code": "EUR"
116
+ },
117
+ "BH": {
118
+ "three_letter_code": "BHR",
119
+ "numeric_code": "048",
120
+ "currency_code": "BHD"
121
+ },
122
+ "BI": {
123
+ "three_letter_code": "BDI",
124
+ "numeric_code": "108",
125
+ "currency_code": "BIF"
126
+ },
127
+ "BJ": {
128
+ "three_letter_code": "BEN",
129
+ "numeric_code": "204",
130
+ "currency_code": "XOF"
131
+ },
132
+ "BL": {
133
+ "three_letter_code": "BLM",
134
+ "numeric_code": "652",
135
+ "currency_code": "EUR"
136
+ },
137
+ "BM": {
138
+ "three_letter_code": "BMU",
139
+ "numeric_code": "060",
140
+ "currency_code": "BMD"
141
+ },
142
+ "BN": {
143
+ "three_letter_code": "BRN",
144
+ "numeric_code": "096",
145
+ "currency_code": "BND"
146
+ },
147
+ "BO": {
148
+ "three_letter_code": "BOL",
149
+ "numeric_code": "068",
150
+ "currency_code": "BOB"
151
+ },
152
+ "BQ": {
153
+ "three_letter_code": "BES",
154
+ "numeric_code": "535",
155
+ "currency_code": "USD"
156
+ },
157
+ "BR": {
158
+ "three_letter_code": "BRA",
159
+ "numeric_code": "076",
160
+ "currency_code": "BRL"
161
+ },
162
+ "BS": {
163
+ "three_letter_code": "BHS",
164
+ "numeric_code": "044",
165
+ "currency_code": "BSD"
166
+ },
167
+ "BT": {
168
+ "three_letter_code": "BTN",
169
+ "numeric_code": "064",
170
+ "currency_code": "BTN"
171
+ },
172
+ "BV": {
173
+ "three_letter_code": "BVT",
174
+ "numeric_code": "074",
175
+ "currency_code": "NOK"
176
+ },
177
+ "BW": {
178
+ "three_letter_code": "BWA",
179
+ "numeric_code": "072",
180
+ "currency_code": "BWP"
181
+ },
182
+ "BY": {
183
+ "three_letter_code": "BLR",
184
+ "numeric_code": "112",
185
+ "currency_code": "BYN"
186
+ },
187
+ "BZ": {
188
+ "three_letter_code": "BLZ",
189
+ "numeric_code": "084",
190
+ "currency_code": "BZD"
191
+ },
192
+ "CA": {
193
+ "three_letter_code": "CAN",
194
+ "numeric_code": "124",
195
+ "currency_code": "CAD"
196
+ },
197
+ "CC": {
198
+ "three_letter_code": "CCK",
199
+ "numeric_code": "166",
200
+ "currency_code": "AUD"
201
+ },
202
+ "CD": {
203
+ "three_letter_code": "COD",
204
+ "numeric_code": "180",
205
+ "currency_code": "CDF"
206
+ },
207
+ "CF": {
208
+ "three_letter_code": "CAF",
209
+ "numeric_code": "140",
210
+ "currency_code": "XAF"
211
+ },
212
+ "CG": {
213
+ "three_letter_code": "COG",
214
+ "numeric_code": "178",
215
+ "currency_code": "XAF"
216
+ },
217
+ "CH": {
218
+ "three_letter_code": "CHE",
219
+ "numeric_code": "756",
220
+ "currency_code": "CHF"
221
+ },
222
+ "CI": {
223
+ "three_letter_code": "CIV",
224
+ "numeric_code": "384",
225
+ "currency_code": "XOF"
226
+ },
227
+ "CK": {
228
+ "three_letter_code": "COK",
229
+ "numeric_code": "184",
230
+ "currency_code": "NZD"
231
+ },
232
+ "CL": {
233
+ "three_letter_code": "CHL",
234
+ "numeric_code": "152",
235
+ "currency_code": "CLP"
236
+ },
237
+ "CM": {
238
+ "three_letter_code": "CMR",
239
+ "numeric_code": "120",
240
+ "currency_code": "XAF"
241
+ },
242
+ "CN": {
243
+ "three_letter_code": "CHN",
244
+ "numeric_code": "156",
245
+ "currency_code": "CNY"
246
+ },
247
+ "CO": {
248
+ "three_letter_code": "COL",
249
+ "numeric_code": "170",
250
+ "currency_code": "COP"
251
+ },
252
+ "CP": {
253
+ "three_letter_code": "CPT",
254
+ "numeric_code": null,
255
+ "currency_code": null
256
+ },
257
+ "CR": {
258
+ "three_letter_code": "CRI",
259
+ "numeric_code": "188",
260
+ "currency_code": "CRC"
261
+ },
262
+ "CU": {
263
+ "three_letter_code": "CUB",
264
+ "numeric_code": "192",
265
+ "currency_code": "CUP"
266
+ },
267
+ "CV": {
268
+ "three_letter_code": "CPV",
269
+ "numeric_code": "132",
270
+ "currency_code": "CVE"
271
+ },
272
+ "CW": {
273
+ "three_letter_code": "CUW",
274
+ "numeric_code": "531",
275
+ "currency_code": "XCG"
276
+ },
277
+ "CX": {
278
+ "three_letter_code": "CXR",
279
+ "numeric_code": "162",
280
+ "currency_code": "AUD"
281
+ },
282
+ "CY": {
283
+ "three_letter_code": "CYP",
284
+ "numeric_code": "196",
285
+ "currency_code": "EUR"
286
+ },
287
+ "CZ": {
288
+ "three_letter_code": "CZE",
289
+ "numeric_code": "203",
290
+ "currency_code": "CZK"
291
+ },
292
+ "DE": {
293
+ "three_letter_code": "DEU",
294
+ "numeric_code": "276",
295
+ "currency_code": "EUR"
296
+ },
297
+ "DG": {
298
+ "three_letter_code": "DGA",
299
+ "numeric_code": null,
300
+ "currency_code": "USD"
301
+ },
302
+ "DJ": {
303
+ "three_letter_code": "DJI",
304
+ "numeric_code": "262",
305
+ "currency_code": "DJF"
306
+ },
307
+ "DK": {
308
+ "three_letter_code": "DNK",
309
+ "numeric_code": "208",
310
+ "currency_code": "DKK"
311
+ },
312
+ "DM": {
313
+ "three_letter_code": "DMA",
314
+ "numeric_code": "212",
315
+ "currency_code": "XCD"
316
+ },
317
+ "DO": {
318
+ "three_letter_code": "DOM",
319
+ "numeric_code": "214",
320
+ "currency_code": "DOP"
321
+ },
322
+ "DZ": {
323
+ "three_letter_code": "DZA",
324
+ "numeric_code": "012",
325
+ "currency_code": "DZD"
326
+ },
327
+ "EA": {
328
+ "three_letter_code": null,
329
+ "numeric_code": null,
330
+ "currency_code": "EUR"
331
+ },
332
+ "EC": {
333
+ "three_letter_code": "ECU",
334
+ "numeric_code": "218",
335
+ "currency_code": "USD"
336
+ },
337
+ "EE": {
338
+ "three_letter_code": "EST",
339
+ "numeric_code": "233",
340
+ "currency_code": "EUR"
341
+ },
342
+ "EG": {
343
+ "three_letter_code": "EGY",
344
+ "numeric_code": "818",
345
+ "currency_code": "EGP"
346
+ },
347
+ "EH": {
348
+ "three_letter_code": "ESH",
349
+ "numeric_code": "732",
350
+ "currency_code": "MAD"
351
+ },
352
+ "ER": {
353
+ "three_letter_code": "ERI",
354
+ "numeric_code": "232",
355
+ "currency_code": "ERN"
356
+ },
357
+ "ES": {
358
+ "three_letter_code": "ESP",
359
+ "numeric_code": "724",
360
+ "currency_code": "EUR"
361
+ },
362
+ "ET": {
363
+ "three_letter_code": "ETH",
364
+ "numeric_code": "231",
365
+ "currency_code": "ETB"
366
+ },
367
+ "FI": {
368
+ "three_letter_code": "FIN",
369
+ "numeric_code": "246",
370
+ "currency_code": "EUR"
371
+ },
372
+ "FJ": {
373
+ "three_letter_code": "FJI",
374
+ "numeric_code": "242",
375
+ "currency_code": "FJD"
376
+ },
377
+ "FK": {
378
+ "three_letter_code": "FLK",
379
+ "numeric_code": "238",
380
+ "currency_code": "FKP"
381
+ },
382
+ "FM": {
383
+ "three_letter_code": "FSM",
384
+ "numeric_code": "583",
385
+ "currency_code": "USD"
386
+ },
387
+ "FO": {
388
+ "three_letter_code": "FRO",
389
+ "numeric_code": "234",
390
+ "currency_code": "DKK"
391
+ },
392
+ "FR": {
393
+ "three_letter_code": "FRA",
394
+ "numeric_code": "250",
395
+ "currency_code": "EUR"
396
+ },
397
+ "GA": {
398
+ "three_letter_code": "GAB",
399
+ "numeric_code": "266",
400
+ "currency_code": "XAF"
401
+ },
402
+ "GB": {
403
+ "three_letter_code": "GBR",
404
+ "numeric_code": "826",
405
+ "currency_code": "GBP"
406
+ },
407
+ "GD": {
408
+ "three_letter_code": "GRD",
409
+ "numeric_code": "308",
410
+ "currency_code": "XCD"
411
+ },
412
+ "GE": {
413
+ "three_letter_code": "GEO",
414
+ "numeric_code": "268",
415
+ "currency_code": "GEL"
416
+ },
417
+ "GF": {
418
+ "three_letter_code": "GUF",
419
+ "numeric_code": "254",
420
+ "currency_code": "EUR"
421
+ },
422
+ "GG": {
423
+ "three_letter_code": "GGY",
424
+ "numeric_code": "831",
425
+ "currency_code": "GBP"
426
+ },
427
+ "GH": {
428
+ "three_letter_code": "GHA",
429
+ "numeric_code": "288",
430
+ "currency_code": "GHS"
431
+ },
432
+ "GI": {
433
+ "three_letter_code": "GIB",
434
+ "numeric_code": "292",
435
+ "currency_code": "GIP"
436
+ },
437
+ "GL": {
438
+ "three_letter_code": "GRL",
439
+ "numeric_code": "304",
440
+ "currency_code": "DKK"
441
+ },
442
+ "GM": {
443
+ "three_letter_code": "GMB",
444
+ "numeric_code": "270",
445
+ "currency_code": "GMD"
446
+ },
447
+ "GN": {
448
+ "three_letter_code": "GIN",
449
+ "numeric_code": "324",
450
+ "currency_code": "GNF"
451
+ },
452
+ "GP": {
453
+ "three_letter_code": "GLP",
454
+ "numeric_code": "312",
455
+ "currency_code": "EUR"
456
+ },
457
+ "GQ": {
458
+ "three_letter_code": "GNQ",
459
+ "numeric_code": "226",
460
+ "currency_code": "XAF"
461
+ },
462
+ "GR": {
463
+ "three_letter_code": "GRC",
464
+ "numeric_code": "300",
465
+ "currency_code": "EUR"
466
+ },
467
+ "GS": {
468
+ "three_letter_code": "SGS",
469
+ "numeric_code": "239",
470
+ "currency_code": "GBP"
471
+ },
472
+ "GT": {
473
+ "three_letter_code": "GTM",
474
+ "numeric_code": "320",
475
+ "currency_code": "GTQ"
476
+ },
477
+ "GU": {
478
+ "three_letter_code": "GUM",
479
+ "numeric_code": "316",
480
+ "currency_code": "USD"
481
+ },
482
+ "GW": {
483
+ "three_letter_code": "GNB",
484
+ "numeric_code": "624",
485
+ "currency_code": "XOF"
486
+ },
487
+ "GY": {
488
+ "three_letter_code": "GUY",
489
+ "numeric_code": "328",
490
+ "currency_code": "GYD"
491
+ },
492
+ "HK": {
493
+ "three_letter_code": "HKG",
494
+ "numeric_code": "344",
495
+ "currency_code": "HKD"
496
+ },
497
+ "HM": {
498
+ "three_letter_code": "HMD",
499
+ "numeric_code": "334",
500
+ "currency_code": "AUD"
501
+ },
502
+ "HN": {
503
+ "three_letter_code": "HND",
504
+ "numeric_code": "340",
505
+ "currency_code": "HNL"
506
+ },
507
+ "HR": {
508
+ "three_letter_code": "HRV",
509
+ "numeric_code": "191",
510
+ "currency_code": "EUR"
511
+ },
512
+ "HT": {
513
+ "three_letter_code": "HTI",
514
+ "numeric_code": "332",
515
+ "currency_code": "USD"
516
+ },
517
+ "HU": {
518
+ "three_letter_code": "HUN",
519
+ "numeric_code": "348",
520
+ "currency_code": "HUF"
521
+ },
522
+ "IC": {
523
+ "three_letter_code": null,
524
+ "numeric_code": null,
525
+ "currency_code": "EUR"
526
+ },
527
+ "ID": {
528
+ "three_letter_code": "IDN",
529
+ "numeric_code": "360",
530
+ "currency_code": "IDR"
531
+ },
532
+ "IE": {
533
+ "three_letter_code": "IRL",
534
+ "numeric_code": "372",
535
+ "currency_code": "EUR"
536
+ },
537
+ "IL": {
538
+ "three_letter_code": "ISR",
539
+ "numeric_code": "376",
540
+ "currency_code": "ILS"
541
+ },
542
+ "IM": {
543
+ "three_letter_code": "IMN",
544
+ "numeric_code": "833",
545
+ "currency_code": "GBP"
546
+ },
547
+ "IN": {
548
+ "three_letter_code": "IND",
549
+ "numeric_code": "356",
550
+ "currency_code": "INR"
551
+ },
552
+ "IO": {
553
+ "three_letter_code": "IOT",
554
+ "numeric_code": "086",
555
+ "currency_code": "USD"
556
+ },
557
+ "IQ": {
558
+ "three_letter_code": "IRQ",
559
+ "numeric_code": "368",
560
+ "currency_code": "IQD"
561
+ },
562
+ "IR": {
563
+ "three_letter_code": "IRN",
564
+ "numeric_code": "364",
565
+ "currency_code": "IRR"
566
+ },
567
+ "IS": {
568
+ "three_letter_code": "ISL",
569
+ "numeric_code": "352",
570
+ "currency_code": "ISK"
571
+ },
572
+ "IT": {
573
+ "three_letter_code": "ITA",
574
+ "numeric_code": "380",
575
+ "currency_code": "EUR"
576
+ },
577
+ "JE": {
578
+ "three_letter_code": "JEY",
579
+ "numeric_code": "832",
580
+ "currency_code": "GBP"
581
+ },
582
+ "JM": {
583
+ "three_letter_code": "JAM",
584
+ "numeric_code": "388",
585
+ "currency_code": "JMD"
586
+ },
587
+ "JO": {
588
+ "three_letter_code": "JOR",
589
+ "numeric_code": "400",
590
+ "currency_code": "JOD"
591
+ },
592
+ "JP": {
593
+ "three_letter_code": "JPN",
594
+ "numeric_code": "392",
595
+ "currency_code": "JPY"
596
+ },
597
+ "KE": {
598
+ "three_letter_code": "KEN",
599
+ "numeric_code": "404",
600
+ "currency_code": "KES"
601
+ },
602
+ "KG": {
603
+ "three_letter_code": "KGZ",
604
+ "numeric_code": "417",
605
+ "currency_code": "KGS"
606
+ },
607
+ "KH": {
608
+ "three_letter_code": "KHM",
609
+ "numeric_code": "116",
610
+ "currency_code": "KHR"
611
+ },
612
+ "KI": {
613
+ "three_letter_code": "KIR",
614
+ "numeric_code": "296",
615
+ "currency_code": "AUD"
616
+ },
617
+ "KM": {
618
+ "three_letter_code": "COM",
619
+ "numeric_code": "174",
620
+ "currency_code": "KMF"
621
+ },
622
+ "KN": {
623
+ "three_letter_code": "KNA",
624
+ "numeric_code": "659",
625
+ "currency_code": "XCD"
626
+ },
627
+ "KP": {
628
+ "three_letter_code": "PRK",
629
+ "numeric_code": "408",
630
+ "currency_code": "KPW"
631
+ },
632
+ "KR": {
633
+ "three_letter_code": "KOR",
634
+ "numeric_code": "410",
635
+ "currency_code": "KRW"
636
+ },
637
+ "KW": {
638
+ "three_letter_code": "KWT",
639
+ "numeric_code": "414",
640
+ "currency_code": "KWD"
641
+ },
642
+ "KY": {
643
+ "three_letter_code": "CYM",
644
+ "numeric_code": "136",
645
+ "currency_code": "KYD"
646
+ },
647
+ "KZ": {
648
+ "three_letter_code": "KAZ",
649
+ "numeric_code": "398",
650
+ "currency_code": "KZT"
651
+ },
652
+ "LA": {
653
+ "three_letter_code": "LAO",
654
+ "numeric_code": "418",
655
+ "currency_code": "LAK"
656
+ },
657
+ "LB": {
658
+ "three_letter_code": "LBN",
659
+ "numeric_code": "422",
660
+ "currency_code": "LBP"
661
+ },
662
+ "LC": {
663
+ "three_letter_code": "LCA",
664
+ "numeric_code": "662",
665
+ "currency_code": "XCD"
666
+ },
667
+ "LI": {
668
+ "three_letter_code": "LIE",
669
+ "numeric_code": "438",
670
+ "currency_code": "CHF"
671
+ },
672
+ "LK": {
673
+ "three_letter_code": "LKA",
674
+ "numeric_code": "144",
675
+ "currency_code": "LKR"
676
+ },
677
+ "LR": {
678
+ "three_letter_code": "LBR",
679
+ "numeric_code": "430",
680
+ "currency_code": "LRD"
681
+ },
682
+ "LS": {
683
+ "three_letter_code": "LSO",
684
+ "numeric_code": "426",
685
+ "currency_code": "LSL"
686
+ },
687
+ "LT": {
688
+ "three_letter_code": "LTU",
689
+ "numeric_code": "440",
690
+ "currency_code": "EUR"
691
+ },
692
+ "LU": {
693
+ "three_letter_code": "LUX",
694
+ "numeric_code": "442",
695
+ "currency_code": "EUR"
696
+ },
697
+ "LV": {
698
+ "three_letter_code": "LVA",
699
+ "numeric_code": "428",
700
+ "currency_code": "EUR"
701
+ },
702
+ "LY": {
703
+ "three_letter_code": "LBY",
704
+ "numeric_code": "434",
705
+ "currency_code": "LYD"
706
+ },
707
+ "MA": {
708
+ "three_letter_code": "MAR",
709
+ "numeric_code": "504",
710
+ "currency_code": "MAD"
711
+ },
712
+ "MC": {
713
+ "three_letter_code": "MCO",
714
+ "numeric_code": "492",
715
+ "currency_code": "EUR"
716
+ },
717
+ "MD": {
718
+ "three_letter_code": "MDA",
719
+ "numeric_code": "498",
720
+ "currency_code": "MDL"
721
+ },
722
+ "ME": {
723
+ "three_letter_code": "MNE",
724
+ "numeric_code": "499",
725
+ "currency_code": "EUR"
726
+ },
727
+ "MF": {
728
+ "three_letter_code": "MAF",
729
+ "numeric_code": "663",
730
+ "currency_code": "EUR"
731
+ },
732
+ "MG": {
733
+ "three_letter_code": "MDG",
734
+ "numeric_code": "450",
735
+ "currency_code": "MGA"
736
+ },
737
+ "MH": {
738
+ "three_letter_code": "MHL",
739
+ "numeric_code": "584",
740
+ "currency_code": "USD"
741
+ },
742
+ "MK": {
743
+ "three_letter_code": "MKD",
744
+ "numeric_code": "807",
745
+ "currency_code": "MKD"
746
+ },
747
+ "ML": {
748
+ "three_letter_code": "MLI",
749
+ "numeric_code": "466",
750
+ "currency_code": null
751
+ },
752
+ "MM": {
753
+ "three_letter_code": "MMR",
754
+ "numeric_code": "104",
755
+ "currency_code": "MMK"
756
+ },
757
+ "MN": {
758
+ "three_letter_code": "MNG",
759
+ "numeric_code": "496",
760
+ "currency_code": "MNT"
761
+ },
762
+ "MO": {
763
+ "three_letter_code": "MAC",
764
+ "numeric_code": "446",
765
+ "currency_code": "MOP"
766
+ },
767
+ "MP": {
768
+ "three_letter_code": "MNP",
769
+ "numeric_code": "580",
770
+ "currency_code": "USD"
771
+ },
772
+ "MQ": {
773
+ "three_letter_code": "MTQ",
774
+ "numeric_code": "474",
775
+ "currency_code": "EUR"
776
+ },
777
+ "MR": {
778
+ "three_letter_code": "MRT",
779
+ "numeric_code": "478",
780
+ "currency_code": "MRU"
781
+ },
782
+ "MS": {
783
+ "three_letter_code": "MSR",
784
+ "numeric_code": "500",
785
+ "currency_code": "XCD"
786
+ },
787
+ "MT": {
788
+ "three_letter_code": "MLT",
789
+ "numeric_code": "470",
790
+ "currency_code": "EUR"
791
+ },
792
+ "MU": {
793
+ "three_letter_code": "MUS",
794
+ "numeric_code": "480",
795
+ "currency_code": "MUR"
796
+ },
797
+ "MV": {
798
+ "three_letter_code": "MDV",
799
+ "numeric_code": "462",
800
+ "currency_code": "MVR"
801
+ },
802
+ "MW": {
803
+ "three_letter_code": "MWI",
804
+ "numeric_code": "454",
805
+ "currency_code": "MWK"
806
+ },
807
+ "MX": {
808
+ "three_letter_code": "MEX",
809
+ "numeric_code": "484",
810
+ "currency_code": "MXN"
811
+ },
812
+ "MY": {
813
+ "three_letter_code": "MYS",
814
+ "numeric_code": "458",
815
+ "currency_code": "MYR"
816
+ },
817
+ "MZ": {
818
+ "three_letter_code": "MOZ",
819
+ "numeric_code": "508",
820
+ "currency_code": "MZN"
821
+ },
822
+ "NA": {
823
+ "three_letter_code": "NAM",
824
+ "numeric_code": "516",
825
+ "currency_code": "NAD"
826
+ },
827
+ "NC": {
828
+ "three_letter_code": "NCL",
829
+ "numeric_code": "540",
830
+ "currency_code": "XPF"
831
+ },
832
+ "NE": {
833
+ "three_letter_code": "NER",
834
+ "numeric_code": "562",
835
+ "currency_code": "XOF"
836
+ },
837
+ "NF": {
838
+ "three_letter_code": "NFK",
839
+ "numeric_code": "574",
840
+ "currency_code": "AUD"
841
+ },
842
+ "NG": {
843
+ "three_letter_code": "NGA",
844
+ "numeric_code": "566",
845
+ "currency_code": "NGN"
846
+ },
847
+ "NI": {
848
+ "three_letter_code": "NIC",
849
+ "numeric_code": "558",
850
+ "currency_code": "NIO"
851
+ },
852
+ "NL": {
853
+ "three_letter_code": "NLD",
854
+ "numeric_code": "528",
855
+ "currency_code": "EUR"
856
+ },
857
+ "NO": {
858
+ "three_letter_code": "NOR",
859
+ "numeric_code": "578",
860
+ "currency_code": "NOK"
861
+ },
862
+ "NP": {
863
+ "three_letter_code": "NPL",
864
+ "numeric_code": "524",
865
+ "currency_code": "NPR"
866
+ },
867
+ "NR": {
868
+ "three_letter_code": "NRU",
869
+ "numeric_code": "520",
870
+ "currency_code": "AUD"
871
+ },
872
+ "NU": {
873
+ "three_letter_code": "NIU",
874
+ "numeric_code": "570",
875
+ "currency_code": "NZD"
876
+ },
877
+ "NZ": {
878
+ "three_letter_code": "NZL",
879
+ "numeric_code": "554",
880
+ "currency_code": "NZD"
881
+ },
882
+ "OM": {
883
+ "three_letter_code": "OMN",
884
+ "numeric_code": "512",
885
+ "currency_code": "OMR"
886
+ },
887
+ "PA": {
888
+ "three_letter_code": "PAN",
889
+ "numeric_code": "591",
890
+ "currency_code": "USD"
891
+ },
892
+ "PE": {
893
+ "three_letter_code": "PER",
894
+ "numeric_code": "604",
895
+ "currency_code": "PEN"
896
+ },
897
+ "PF": {
898
+ "three_letter_code": "PYF",
899
+ "numeric_code": "258",
900
+ "currency_code": "XPF"
901
+ },
902
+ "PG": {
903
+ "three_letter_code": "PNG",
904
+ "numeric_code": "598",
905
+ "currency_code": "PGK"
906
+ },
907
+ "PH": {
908
+ "three_letter_code": "PHL",
909
+ "numeric_code": "608",
910
+ "currency_code": "PHP"
911
+ },
912
+ "PK": {
913
+ "three_letter_code": "PAK",
914
+ "numeric_code": "586",
915
+ "currency_code": "PKR"
916
+ },
917
+ "PL": {
918
+ "three_letter_code": "POL",
919
+ "numeric_code": "616",
920
+ "currency_code": "PLN"
921
+ },
922
+ "PM": {
923
+ "three_letter_code": "SPM",
924
+ "numeric_code": "666",
925
+ "currency_code": "EUR"
926
+ },
927
+ "PN": {
928
+ "three_letter_code": "PCN",
929
+ "numeric_code": "612",
930
+ "currency_code": "NZD"
931
+ },
932
+ "PR": {
933
+ "three_letter_code": "PRI",
934
+ "numeric_code": "630",
935
+ "currency_code": "USD"
936
+ },
937
+ "PS": {
938
+ "three_letter_code": "PSE",
939
+ "numeric_code": "275",
940
+ "currency_code": "ILS"
941
+ },
942
+ "PT": {
943
+ "three_letter_code": "PRT",
944
+ "numeric_code": "620",
945
+ "currency_code": "EUR"
946
+ },
947
+ "PW": {
948
+ "three_letter_code": "PLW",
949
+ "numeric_code": "585",
950
+ "currency_code": "USD"
951
+ },
952
+ "PY": {
953
+ "three_letter_code": "PRY",
954
+ "numeric_code": "600",
955
+ "currency_code": "PYG"
956
+ },
957
+ "QA": {
958
+ "three_letter_code": "QAT",
959
+ "numeric_code": "634",
960
+ "currency_code": "QAR"
961
+ },
962
+ "RE": {
963
+ "three_letter_code": "REU",
964
+ "numeric_code": "638",
965
+ "currency_code": "EUR"
966
+ },
967
+ "RO": {
968
+ "three_letter_code": "ROU",
969
+ "numeric_code": "642",
970
+ "currency_code": "RON"
971
+ },
972
+ "RS": {
973
+ "three_letter_code": "SRB",
974
+ "numeric_code": "688",
975
+ "currency_code": "RSD"
976
+ },
977
+ "RU": {
978
+ "three_letter_code": "RUS",
979
+ "numeric_code": "643",
980
+ "currency_code": "RUB"
981
+ },
982
+ "RW": {
983
+ "three_letter_code": "RWA",
984
+ "numeric_code": "646",
985
+ "currency_code": "RWF"
986
+ },
987
+ "SA": {
988
+ "three_letter_code": "SAU",
989
+ "numeric_code": "682",
990
+ "currency_code": "SAR"
991
+ },
992
+ "SB": {
993
+ "three_letter_code": "SLB",
994
+ "numeric_code": "090",
995
+ "currency_code": "SBD"
996
+ },
997
+ "SC": {
998
+ "three_letter_code": "SYC",
999
+ "numeric_code": "690",
1000
+ "currency_code": "SCR"
1001
+ },
1002
+ "SD": {
1003
+ "three_letter_code": "SDN",
1004
+ "numeric_code": "729",
1005
+ "currency_code": "SDG"
1006
+ },
1007
+ "SE": {
1008
+ "three_letter_code": "SWE",
1009
+ "numeric_code": "752",
1010
+ "currency_code": "SEK"
1011
+ },
1012
+ "SG": {
1013
+ "three_letter_code": "SGP",
1014
+ "numeric_code": "702",
1015
+ "currency_code": "SGD"
1016
+ },
1017
+ "SH": {
1018
+ "three_letter_code": "SHN",
1019
+ "numeric_code": "654",
1020
+ "currency_code": "SHP"
1021
+ },
1022
+ "SI": {
1023
+ "three_letter_code": "SVN",
1024
+ "numeric_code": "705",
1025
+ "currency_code": "EUR"
1026
+ },
1027
+ "SJ": {
1028
+ "three_letter_code": "SJM",
1029
+ "numeric_code": "744",
1030
+ "currency_code": "NOK"
1031
+ },
1032
+ "SK": {
1033
+ "three_letter_code": "SVK",
1034
+ "numeric_code": "703",
1035
+ "currency_code": "EUR"
1036
+ },
1037
+ "SL": {
1038
+ "three_letter_code": "SLE",
1039
+ "numeric_code": "694",
1040
+ "currency_code": "SLE"
1041
+ },
1042
+ "SM": {
1043
+ "three_letter_code": "SMR",
1044
+ "numeric_code": "674",
1045
+ "currency_code": "EUR"
1046
+ },
1047
+ "SN": {
1048
+ "three_letter_code": "SEN",
1049
+ "numeric_code": "686",
1050
+ "currency_code": "XOF"
1051
+ },
1052
+ "SO": {
1053
+ "three_letter_code": "SOM",
1054
+ "numeric_code": "706",
1055
+ "currency_code": "SOS"
1056
+ },
1057
+ "SR": {
1058
+ "three_letter_code": "SUR",
1059
+ "numeric_code": "740",
1060
+ "currency_code": "SRD"
1061
+ },
1062
+ "SS": {
1063
+ "three_letter_code": "SSD",
1064
+ "numeric_code": "728",
1065
+ "currency_code": "SSP"
1066
+ },
1067
+ "ST": {
1068
+ "three_letter_code": "STP",
1069
+ "numeric_code": "678",
1070
+ "currency_code": "STN"
1071
+ },
1072
+ "SV": {
1073
+ "three_letter_code": "SLV",
1074
+ "numeric_code": "222",
1075
+ "currency_code": "USD"
1076
+ },
1077
+ "SX": {
1078
+ "three_letter_code": "SXM",
1079
+ "numeric_code": "534",
1080
+ "currency_code": "XCG"
1081
+ },
1082
+ "SY": {
1083
+ "three_letter_code": "SYR",
1084
+ "numeric_code": "760",
1085
+ "currency_code": "SYP"
1086
+ },
1087
+ "SZ": {
1088
+ "three_letter_code": "SWZ",
1089
+ "numeric_code": "748",
1090
+ "currency_code": "SZL"
1091
+ },
1092
+ "TA": {
1093
+ "three_letter_code": "TAA",
1094
+ "numeric_code": null,
1095
+ "currency_code": "GBP"
1096
+ },
1097
+ "TC": {
1098
+ "three_letter_code": "TCA",
1099
+ "numeric_code": "796",
1100
+ "currency_code": "USD"
1101
+ },
1102
+ "TD": {
1103
+ "three_letter_code": "TCD",
1104
+ "numeric_code": "148",
1105
+ "currency_code": "XAF"
1106
+ },
1107
+ "TF": {
1108
+ "three_letter_code": "ATF",
1109
+ "numeric_code": "260",
1110
+ "currency_code": "EUR"
1111
+ },
1112
+ "TG": {
1113
+ "three_letter_code": "TGO",
1114
+ "numeric_code": "768",
1115
+ "currency_code": "XOF"
1116
+ },
1117
+ "TH": {
1118
+ "three_letter_code": "THA",
1119
+ "numeric_code": "764",
1120
+ "currency_code": "THB"
1121
+ },
1122
+ "TJ": {
1123
+ "three_letter_code": "TJK",
1124
+ "numeric_code": "762",
1125
+ "currency_code": "TJS"
1126
+ },
1127
+ "TK": {
1128
+ "three_letter_code": "TKL",
1129
+ "numeric_code": "772",
1130
+ "currency_code": "NZD"
1131
+ },
1132
+ "TL": {
1133
+ "three_letter_code": "TLS",
1134
+ "numeric_code": "626",
1135
+ "currency_code": "USD"
1136
+ },
1137
+ "TM": {
1138
+ "three_letter_code": "TKM",
1139
+ "numeric_code": "795",
1140
+ "currency_code": "TMT"
1141
+ },
1142
+ "TN": {
1143
+ "three_letter_code": "TUN",
1144
+ "numeric_code": "788",
1145
+ "currency_code": "TND"
1146
+ },
1147
+ "TO": {
1148
+ "three_letter_code": "TON",
1149
+ "numeric_code": "776",
1150
+ "currency_code": "TOP"
1151
+ },
1152
+ "TR": {
1153
+ "three_letter_code": "TUR",
1154
+ "numeric_code": "792",
1155
+ "currency_code": "TRY"
1156
+ },
1157
+ "TT": {
1158
+ "three_letter_code": "TTO",
1159
+ "numeric_code": "780",
1160
+ "currency_code": "TTD"
1161
+ },
1162
+ "TV": {
1163
+ "three_letter_code": "TUV",
1164
+ "numeric_code": "798",
1165
+ "currency_code": "AUD"
1166
+ },
1167
+ "TW": {
1168
+ "three_letter_code": "TWN",
1169
+ "numeric_code": "158",
1170
+ "currency_code": "TWD"
1171
+ },
1172
+ "TZ": {
1173
+ "three_letter_code": "TZA",
1174
+ "numeric_code": "834",
1175
+ "currency_code": "TZS"
1176
+ },
1177
+ "UA": {
1178
+ "three_letter_code": "UKR",
1179
+ "numeric_code": "804",
1180
+ "currency_code": "UAH"
1181
+ },
1182
+ "UG": {
1183
+ "three_letter_code": "UGA",
1184
+ "numeric_code": "800",
1185
+ "currency_code": "UGX"
1186
+ },
1187
+ "UM": {
1188
+ "three_letter_code": "UMI",
1189
+ "numeric_code": "581",
1190
+ "currency_code": "USD"
1191
+ },
1192
+ "US": {
1193
+ "three_letter_code": "USA",
1194
+ "numeric_code": "840",
1195
+ "currency_code": "USD"
1196
+ },
1197
+ "UY": {
1198
+ "three_letter_code": "URY",
1199
+ "numeric_code": "858",
1200
+ "currency_code": "UYU"
1201
+ },
1202
+ "UZ": {
1203
+ "three_letter_code": "UZB",
1204
+ "numeric_code": "860",
1205
+ "currency_code": "UZS"
1206
+ },
1207
+ "VA": {
1208
+ "three_letter_code": "VAT",
1209
+ "numeric_code": "336",
1210
+ "currency_code": "EUR"
1211
+ },
1212
+ "VC": {
1213
+ "three_letter_code": "VCT",
1214
+ "numeric_code": "670",
1215
+ "currency_code": "XCD"
1216
+ },
1217
+ "VE": {
1218
+ "three_letter_code": "VEN",
1219
+ "numeric_code": "862",
1220
+ "currency_code": "VES"
1221
+ },
1222
+ "VG": {
1223
+ "three_letter_code": "VGB",
1224
+ "numeric_code": "092",
1225
+ "currency_code": "USD"
1226
+ },
1227
+ "VI": {
1228
+ "three_letter_code": "VIR",
1229
+ "numeric_code": "850",
1230
+ "currency_code": "USD"
1231
+ },
1232
+ "VN": {
1233
+ "three_letter_code": "VNM",
1234
+ "numeric_code": "704",
1235
+ "currency_code": "VND"
1236
+ },
1237
+ "VU": {
1238
+ "three_letter_code": "VUT",
1239
+ "numeric_code": "548",
1240
+ "currency_code": "VUV"
1241
+ },
1242
+ "WF": {
1243
+ "three_letter_code": "WLF",
1244
+ "numeric_code": "876",
1245
+ "currency_code": "XPF"
1246
+ },
1247
+ "WS": {
1248
+ "three_letter_code": "WSM",
1249
+ "numeric_code": "882",
1250
+ "currency_code": "WST"
1251
+ },
1252
+ "XK": {
1253
+ "three_letter_code": "XKK",
1254
+ "numeric_code": "983",
1255
+ "currency_code": "EUR"
1256
+ },
1257
+ "YE": {
1258
+ "three_letter_code": "YEM",
1259
+ "numeric_code": "887",
1260
+ "currency_code": "YER"
1261
+ },
1262
+ "YT": {
1263
+ "three_letter_code": "MYT",
1264
+ "numeric_code": "175",
1265
+ "currency_code": "EUR"
1266
+ },
1267
+ "ZA": {
1268
+ "three_letter_code": "ZAF",
1269
+ "numeric_code": "710",
1270
+ "currency_code": "ZAR"
1271
+ },
1272
+ "ZM": {
1273
+ "three_letter_code": "ZMB",
1274
+ "numeric_code": "894",
1275
+ "currency_code": "ZMW"
1276
+ },
1277
+ "ZW": {
1278
+ "three_letter_code": "ZWE",
1279
+ "numeric_code": "716",
1280
+ "currency_code": "ZWG"
1281
+ }
1282
+ }