jbm 0.0.1 → 0.0.2

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.
data/README.md CHANGED
@@ -24,7 +24,7 @@ TODO: Write usage instructions here
24
24
 
25
25
  ## Contributing
26
26
 
27
- 1. Fork it ( https://github.com/[my-github-username]/jbm/fork )
27
+ 1. Fork it ( https://github.com/jagadishwer/jbm/fork )
28
28
  2. Create your feature branch (`git checkout -b my-new-feature`)
29
29
  3. Commit your changes (`git commit -am 'Add some feature'`)
30
30
  4. Push to the branch (`git push origin my-new-feature`)
data/jbm-0.0.1.gem ADDED
Binary file
data/lib/config.rb ADDED
@@ -0,0 +1 @@
1
+ COUNTRIES = YAML.load_file(File.join(File.dirname(__FILE__), 'data', 'countries.yaml'))
data/lib/country.rb ADDED
@@ -0,0 +1,12 @@
1
+
2
+ module Country
3
+ extend self
4
+ def names
5
+ all.map{|country| COUNTRIES[country]["name"]}
6
+ end
7
+
8
+ def all
9
+ COUNTRIES.keys
10
+ end
11
+
12
+ end
@@ -0,0 +1,2762 @@
1
+ AF:
2
+ alpha2: AF
3
+ name: Afghanistan
4
+ country_code: '93'
5
+ international_prefix: '00'
6
+ national_destination_code_lengths:
7
+ - 2
8
+ national_number_lengths:
9
+ - 8
10
+ - 9
11
+ postal_code: true
12
+ postcode_regex:
13
+ AX:
14
+ alpha2: AX
15
+ name: Aland Islands
16
+ country_code: '358'
17
+ international_prefix: ''
18
+ national_destination_code_lengths: []
19
+ national_number_lengths: []
20
+ postal_code: true
21
+ postcode_regex: /\A22\d{3}\z/
22
+ AL:
23
+ alpha2: AL
24
+ name: Albania
25
+ country_code: '355'
26
+ international_prefix: '00'
27
+ national_destination_code_lengths:
28
+ - 2
29
+ national_number_lengths:
30
+ - 7
31
+ - 8
32
+ - 9
33
+ postal_code: true
34
+ postcode_regex:
35
+ DZ:
36
+ alpha2: DZ
37
+ name: Algeria
38
+ country_code: '213'
39
+ international_prefix: '00'
40
+ national_destination_code_lengths:
41
+ - 2
42
+ national_number_lengths:
43
+ - 8
44
+ postal_code: true
45
+ postcode_regex: /\A\d{5}\z/
46
+ AS:
47
+ alpha2: AS
48
+ name: American Samoa
49
+ country_code: '1'
50
+ international_prefix: '011'
51
+ national_destination_code_lengths:
52
+ - 3
53
+ national_number_lengths:
54
+ - 10
55
+ postal_code: true
56
+ postcode_regex: /\A96799\z/
57
+ AD:
58
+ alpha2: AD
59
+ name: Andorra
60
+ country_code: '376'
61
+ international_prefix: '00'
62
+ national_destination_code_lengths:
63
+ - 2
64
+ national_number_lengths:
65
+ - 6
66
+ - 7
67
+ - 8
68
+ - 9
69
+ postal_code: true
70
+ postcode_regex: /\AAD\d{3}\z/
71
+ AO:
72
+ alpha2: AO
73
+ name: Angola
74
+ country_code: '244'
75
+ international_prefix: '00'
76
+ national_destination_code_lengths:
77
+ - 2
78
+ national_number_lengths:
79
+ - 9
80
+ postal_code: false
81
+ AI:
82
+ alpha2: AI
83
+ name: Anguilla
84
+ country_code: '1'
85
+ international_prefix: '011'
86
+ national_destination_code_lengths:
87
+ - 3
88
+ national_number_lengths:
89
+ - 10
90
+ postal_code: true
91
+ postcode_regex:
92
+ AQ:
93
+ alpha2: AQ
94
+ name: Antarctica
95
+ country_code: '672'
96
+ international_prefix: ''
97
+ national_destination_code_lengths: []
98
+ national_number_lengths: []
99
+ postal_code: true
100
+ postcode_regex:
101
+ AG:
102
+ alpha2: AG
103
+ name: Antigua and Barbuda
104
+ country_code: '1'
105
+ international_prefix: '011'
106
+ national_destination_code_lengths:
107
+ - 3
108
+ national_number_lengths:
109
+ - 10
110
+ postal_code: false
111
+ AR:
112
+ alpha2: AR
113
+ name: Argentina
114
+ country_code: '54'
115
+ international_prefix: '00'
116
+ national_destination_code_lengths:
117
+ - 2
118
+ national_number_lengths:
119
+ - 8
120
+ - 9
121
+ postal_code: true
122
+ postcode_regex: /\A([A-HJ-NP-Z]{1}\d{4}[A-Z]{3}|[a-z]{1}\d{4}[a-hj-tp-z]{3})\z/
123
+ AM:
124
+ alpha2: AM
125
+ name: Armenia
126
+ country_code: '374'
127
+ international_prefix: '00'
128
+ national_destination_code_lengths:
129
+ - 2
130
+ national_number_lengths:
131
+ - 8
132
+ postal_code: true
133
+ postcode_regex: /\A(37)?\d{4}\z/
134
+ AW:
135
+ alpha2: AW
136
+ name: Aruba
137
+ country_code: '297'
138
+ international_prefix: '00'
139
+ national_destination_code_lengths:
140
+ - 2
141
+ national_number_lengths:
142
+ - 7
143
+ postal_code: false
144
+ AU:
145
+ alpha2: AU
146
+ name: Australia
147
+ country_code: '61'
148
+ international_prefix: '0011'
149
+ national_destination_code_lengths:
150
+ - 2
151
+ national_number_lengths:
152
+ - 9
153
+ postal_code: true
154
+ postcode_regex: /\A\d{4}\z/
155
+ AT:
156
+ alpha2: AT
157
+ name: Austria
158
+ country_code: '43'
159
+ international_prefix: '00'
160
+ national_destination_code_lengths:
161
+ - 1
162
+ - 2
163
+ - 3
164
+ national_number_lengths:
165
+ - 7
166
+ - 8
167
+ - 9
168
+ - 10
169
+ - 11
170
+ - 12
171
+ - 13
172
+ postal_code: true
173
+ postcode_regex: /\A\d{4}\z/
174
+ AZ:
175
+ alpha2: AZ
176
+ name: Azerbaijan
177
+ country_code: '994'
178
+ international_prefix: '810'
179
+ national_destination_code_lengths:
180
+ - 2
181
+ national_number_lengths:
182
+ - 8
183
+ - 9
184
+ postal_code: true
185
+ postcode_regex: /\A\d{4}\z/
186
+ BS:
187
+ alpha2: BS
188
+ name: Bahamas
189
+ country_code: '1'
190
+ international_prefix: '011'
191
+ national_destination_code_lengths:
192
+ - 3
193
+ national_number_lengths:
194
+ - 10
195
+ postal_code: false
196
+ BH:
197
+ alpha2: BH
198
+ name: Bahrain
199
+ country_code: '973'
200
+ international_prefix: '00'
201
+ national_destination_code_lengths:
202
+ - 2
203
+ national_number_lengths:
204
+ - 8
205
+ postal_code: true
206
+ postcode_regex: /\A((1[0-2]|[2-9])\d{2})?\z/
207
+ BD:
208
+ alpha2: BD
209
+ name: Bangladesh
210
+ country_code: '880'
211
+ international_prefix: '00'
212
+ national_destination_code_lengths:
213
+ - 2
214
+ national_number_lengths:
215
+ - 10
216
+ postal_code: true
217
+ postcode_regex: /\A\d{4}\z/
218
+ BB:
219
+ alpha2: BB
220
+ name: Barbados
221
+ country_code: '1'
222
+ international_prefix: '011'
223
+ national_destination_code_lengths:
224
+ - 3
225
+ national_number_lengths:
226
+ - 10
227
+ postal_code: true
228
+ postcode_regex: /\A(BB\d{5})?\z/
229
+ BY:
230
+ alpha2: BY
231
+ name: Belarus
232
+ country_code: '375'
233
+ international_prefix: '810'
234
+ national_destination_code_lengths:
235
+ - 2
236
+ national_number_lengths:
237
+ - 9
238
+ postal_code: true
239
+ postcode_regex: /\A\d{6}\z/
240
+ BE:
241
+ alpha2: BE
242
+ name: Belgium
243
+ country_code: '32'
244
+ international_prefix: '00'
245
+ national_destination_code_lengths:
246
+ - 2
247
+ national_number_lengths:
248
+ - 8
249
+ - 9
250
+ postal_code: true
251
+ postcode_regex: /\A\d{4}\z/
252
+ BZ:
253
+ alpha2: BZ
254
+ name: Belize
255
+ country_code: '501'
256
+ international_prefix: '00'
257
+ national_destination_code_lengths:
258
+ - 2
259
+ national_number_lengths:
260
+ - 7
261
+ postal_code: false
262
+ BJ:
263
+ alpha2: BJ
264
+ name: Benin
265
+ country_code: '229'
266
+ international_prefix: '00'
267
+ national_destination_code_lengths:
268
+ - 2
269
+ national_number_lengths:
270
+ - 8
271
+ postal_code: false
272
+ BM:
273
+ alpha2: BM
274
+ name: Bermuda
275
+ country_code: '1'
276
+ international_prefix: '011'
277
+ national_destination_code_lengths:
278
+ - 3
279
+ national_number_lengths:
280
+ - 10
281
+ postal_code: true
282
+ postcode_regex: /\A[A-Z]{2}[ ]?[A-Z0-9]{2}\z/
283
+ BT:
284
+ alpha2: BT
285
+ name: Bhutan
286
+ country_code: '975'
287
+ international_prefix: '00'
288
+ national_destination_code_lengths:
289
+ - 2
290
+ national_number_lengths:
291
+ - 7
292
+ - 8
293
+ postal_code: true
294
+ postcode_regex:
295
+ BO:
296
+ alpha2: BO
297
+ name: Bolivia
298
+ country_code: '591'
299
+ international_prefix: '0010'
300
+ national_destination_code_lengths:
301
+ - 2
302
+ national_number_lengths:
303
+ - 8
304
+ postal_code: true
305
+ postcode_regex:
306
+ BQ:
307
+ alpha2: BQ
308
+ name: Bonaire, Sint Eustatius and Saba
309
+ country_code: '599'
310
+ international_prefix: '00'
311
+ national_destination_code_lengths:
312
+ - 2
313
+ national_number_lengths:
314
+ - 7
315
+ postal_code: true
316
+ postcode_regex:
317
+ BA:
318
+ alpha2: BA
319
+ name: Bosnia and Herzegovina
320
+ country_code: '387'
321
+ international_prefix: '00'
322
+ national_destination_code_lengths:
323
+ - 2
324
+ national_number_lengths:
325
+ - 8
326
+ postal_code: true
327
+ postcode_regex: /\A\d{5}\z/
328
+ BW:
329
+ alpha2: BW
330
+ name: Botswana
331
+ country_code: '267'
332
+ international_prefix: '00'
333
+ national_destination_code_lengths:
334
+ - 2
335
+ national_number_lengths:
336
+ - 7
337
+ postal_code: false
338
+ BV:
339
+ alpha2: BV
340
+ name: Bouvet Island
341
+ country_code: ''
342
+ international_prefix: ''
343
+ national_destination_code_lengths: []
344
+ national_number_lengths: []
345
+ postal_code: true
346
+ postcode_regex:
347
+ BR:
348
+ alpha2: BR
349
+ name: Brazil
350
+ country_code: '55'
351
+ international_prefix: '0014'
352
+ national_destination_code_lengths:
353
+ - 2
354
+ national_number_lengths:
355
+ - 10
356
+ postal_code: true
357
+ postcode_regex: /\A\d{5}[\-]?\d{3}\z/
358
+ IO:
359
+ alpha2: IO
360
+ name: British Indian Ocean Territory
361
+ country_code: '246'
362
+ international_prefix: ''
363
+ national_destination_code_lengths: []
364
+ national_number_lengths: []
365
+ postal_code: true
366
+ postcode_regex: /\ABBND 1ZZ\z/
367
+ BN:
368
+ alpha2: BN
369
+ name: Brunei Darussalam
370
+ country_code: '673'
371
+ international_prefix: '00'
372
+ national_destination_code_lengths:
373
+ - 2
374
+ national_number_lengths:
375
+ - 7
376
+ postal_code: true
377
+ postcode_regex: /\A[A-Z]{2}[ ]?\d{4}\z/
378
+ BG:
379
+ alpha2: BG
380
+ name: Bulgaria
381
+ country_code: '359'
382
+ international_prefix: '00'
383
+ national_destination_code_lengths:
384
+ - 2
385
+ national_number_lengths:
386
+ - 8
387
+ - 9
388
+ - 10
389
+ postal_code: true
390
+ postcode_regex: /\A\d{4}\z/
391
+ BF:
392
+ alpha2: BF
393
+ name: Burkina Faso
394
+ country_code: '226'
395
+ international_prefix: '00'
396
+ national_destination_code_lengths:
397
+ - 2
398
+ national_number_lengths:
399
+ - 8
400
+ postal_code: false
401
+ BI:
402
+ alpha2: BI
403
+ name: Burundi
404
+ country_code: '257'
405
+ international_prefix: '00'
406
+ national_destination_code_lengths:
407
+ - 2
408
+ national_number_lengths:
409
+ - 8
410
+ postal_code: false
411
+ KH:
412
+ alpha2: KH
413
+ name: Cambodia
414
+ country_code: '855'
415
+ international_prefix: '00'
416
+ national_destination_code_lengths:
417
+ - 2
418
+ national_number_lengths:
419
+ - 8
420
+ postal_code: true
421
+ postcode_regex: /\A\d{5}\z/
422
+ CM:
423
+ alpha2: CM
424
+ name: Cameroon
425
+ country_code: '237'
426
+ international_prefix: '00'
427
+ national_destination_code_lengths:
428
+ - 2
429
+ national_number_lengths:
430
+ - 8
431
+ postal_code: false
432
+ CA:
433
+ alpha2: CA
434
+ name: Canada
435
+ country_code: '1'
436
+ international_prefix: '011'
437
+ national_destination_code_lengths:
438
+ - 3
439
+ national_number_lengths:
440
+ - 10
441
+ postal_code: true
442
+ postcode_regex: /\A[ABCEGHJKLMNPRSTVXY]\d[ABCEGHJ-NPRSTV-Z][ ]?\d[ABCEGHJ-NPRSTV-Z]\d\z/
443
+ CV:
444
+ alpha2: CV
445
+ name: Cape Verde
446
+ country_code: '238'
447
+ international_prefix: '00'
448
+ national_destination_code_lengths:
449
+ - 2
450
+ national_number_lengths:
451
+ - 7
452
+ postal_code: true
453
+ postcode_regex: /\A\d{4}\z/
454
+ KY:
455
+ alpha2: KY
456
+ name: Cayman Islands
457
+ country_code: '1'
458
+ international_prefix: '011'
459
+ national_destination_code_lengths:
460
+ - 3
461
+ national_number_lengths:
462
+ - 10
463
+ postal_code: true
464
+ postcode_regex:
465
+ CF:
466
+ alpha2: CF
467
+ name: Central African Republic
468
+ country_code: '236'
469
+ international_prefix: '00'
470
+ national_destination_code_lengths:
471
+ - 2
472
+ national_number_lengths:
473
+ - 8
474
+ postal_code: false
475
+ TD:
476
+ alpha2: TD
477
+ name: Chad
478
+ country_code: '235'
479
+ international_prefix: '15'
480
+ national_destination_code_lengths:
481
+ - 2
482
+ national_number_lengths:
483
+ - 7
484
+ postal_code: true
485
+ postcode_regex:
486
+ CL:
487
+ alpha2: CL
488
+ name: Chile
489
+ country_code: '56'
490
+ international_prefix: '00'
491
+ national_destination_code_lengths:
492
+ - 2
493
+ national_number_lengths:
494
+ - 8
495
+ - 9
496
+ postal_code: true
497
+ postcode_regex: /\A\d{3}[-]?\d{4}\z/
498
+ CN:
499
+ alpha2: CN
500
+ name: China
501
+ country_code: '86'
502
+ international_prefix: '00'
503
+ national_destination_code_lengths:
504
+ - 2
505
+ national_number_lengths:
506
+ - 7
507
+ - 8
508
+ - 9
509
+ - 10
510
+ - 11
511
+ postal_code: true
512
+ postcode_regex: /\A\d{6}\z/
513
+ CX:
514
+ alpha2: CX
515
+ name: Christmas Island
516
+ country_code: '61'
517
+ international_prefix: '0011'
518
+ national_destination_code_lengths: []
519
+ national_number_lengths: []
520
+ postal_code: true
521
+ postcode_regex: /\A6798\z/
522
+ CC:
523
+ alpha2: CC
524
+ name: Cocos (Keeling) Islands
525
+ country_code: '61'
526
+ international_prefix: '0011'
527
+ national_destination_code_lengths:
528
+ - 2
529
+ national_number_lengths:
530
+ - 9
531
+ postal_code: true
532
+ postcode_regex: /\A6799\z/
533
+ CO:
534
+ alpha2: CO
535
+ name: Colombia
536
+ country_code: '57'
537
+ international_prefix: '005'
538
+ national_destination_code_lengths:
539
+ - 2
540
+ national_number_lengths:
541
+ - 9
542
+ - 10
543
+ postal_code: true
544
+ postcode_regex:
545
+ KM:
546
+ alpha2: KM
547
+ name: Comoros
548
+ country_code: '269'
549
+ international_prefix: '00'
550
+ national_destination_code_lengths:
551
+ - 2
552
+ national_number_lengths:
553
+ - 7
554
+ postal_code: false
555
+ CG:
556
+ alpha2: CG
557
+ name: Congo
558
+ country_code: '242'
559
+ international_prefix: '00'
560
+ national_destination_code_lengths:
561
+ - 2
562
+ national_number_lengths:
563
+ - 7
564
+ postal_code: false
565
+ CD:
566
+ alpha2: CD
567
+ name: Congo, The Democratic Republic Of The
568
+ country_code: '243'
569
+ international_prefix: '00'
570
+ national_destination_code_lengths:
571
+ - 2
572
+ national_number_lengths:
573
+ - 8
574
+ postal_code: false
575
+ CK:
576
+ alpha2: CK
577
+ name: Cook Islands
578
+ country_code: '682'
579
+ international_prefix: '00'
580
+ national_destination_code_lengths:
581
+ - 2
582
+ national_number_lengths:
583
+ - 5
584
+ postal_code: false
585
+ CR:
586
+ alpha2: CR
587
+ name: Costa Rica
588
+ country_code: '506'
589
+ international_prefix: '00'
590
+ national_destination_code_lengths:
591
+ - 2
592
+ national_number_lengths:
593
+ - 8
594
+ postal_code: true
595
+ postcode_regex: /\A\d{4,5}|\d{3}-\d{4}\z/
596
+ HR:
597
+ alpha2: HR
598
+ name: Croatia
599
+ country_code: '385'
600
+ international_prefix: '00'
601
+ national_destination_code_lengths:
602
+ - 2
603
+ national_number_lengths:
604
+ - 8
605
+ postal_code: true
606
+ postcode_regex: /\A\d{5}\z/
607
+ CU:
608
+ alpha2: CU
609
+ name: Cuba
610
+ country_code: '53'
611
+ international_prefix: '119'
612
+ national_destination_code_lengths:
613
+ - 2
614
+ national_number_lengths:
615
+ - 8
616
+ postal_code: true
617
+ postcode_regex:
618
+ CW:
619
+ alpha2: CW
620
+ name: Curaçao
621
+ country_code: '599'
622
+ international_prefix: '00'
623
+ national_destination_code_lengths:
624
+ - 2
625
+ national_number_lengths:
626
+ - 7
627
+ postal_code: true
628
+ postcode_regex:
629
+ CY:
630
+ alpha2: CY
631
+ name: Cyprus
632
+ country_code: '357'
633
+ international_prefix: '00'
634
+ national_destination_code_lengths:
635
+ - 2
636
+ national_number_lengths:
637
+ - 8
638
+ postal_code: true
639
+ postcode_regex: /\A\d{4}\z/
640
+ CZ:
641
+ alpha2: CZ
642
+ name: Czech Republic
643
+ country_code: '420'
644
+ international_prefix: '00'
645
+ national_destination_code_lengths:
646
+ - 2
647
+ national_number_lengths:
648
+ - 9
649
+ postal_code: true
650
+ postcode_regex: /\A\d{3}[ ]?\d{2}\z/
651
+ CI:
652
+ alpha2: CI
653
+ name: Côte D'Ivoire
654
+ country_code: '225'
655
+ international_prefix: '00'
656
+ national_destination_code_lengths:
657
+ - 2
658
+ national_number_lengths:
659
+ - 8
660
+ postal_code: false
661
+ DK:
662
+ alpha2: DK
663
+ name: Denmark
664
+ country_code: '45'
665
+ international_prefix: '00'
666
+ national_destination_code_lengths:
667
+ - 2
668
+ national_number_lengths:
669
+ - 8
670
+ postal_code: true
671
+ postcode_regex: /\A\d{4}\z/
672
+ DJ:
673
+ alpha2: DJ
674
+ name: Djibouti
675
+ country_code: '253'
676
+ international_prefix: '00'
677
+ national_destination_code_lengths:
678
+ - 2
679
+ national_number_lengths:
680
+ - 6
681
+ postal_code: false
682
+ DM:
683
+ alpha2: DM
684
+ name: Dominica
685
+ country_code: '1'
686
+ international_prefix: '011'
687
+ national_destination_code_lengths:
688
+ - 3
689
+ national_number_lengths:
690
+ - 10
691
+ postal_code: false
692
+ DO:
693
+ alpha2: DO
694
+ name: Dominican Republic
695
+ country_code: '1'
696
+ international_prefix: '011'
697
+ national_destination_code_lengths:
698
+ - 3
699
+ national_number_lengths:
700
+ - 10
701
+ postal_code: true
702
+ postcode_regex: /\A\d{5}\z/
703
+ EC:
704
+ alpha2: EC
705
+ name: Ecuador
706
+ country_code: '593'
707
+ international_prefix: '00'
708
+ national_destination_code_lengths:
709
+ - 2
710
+ national_number_lengths:
711
+ - 8
712
+ - 9
713
+ postal_code: true
714
+ postcode_regex: /\A([A-Z]\d{4}[A-Z]|(?:[A-Z]{2})?\d{6})?\z/
715
+ EG:
716
+ alpha2: EG
717
+ name: Egypt
718
+ country_code: '20'
719
+ international_prefix: '00'
720
+ national_destination_code_lengths:
721
+ - 2
722
+ national_number_lengths:
723
+ - 9
724
+ postal_code: true
725
+ postcode_regex: /\A\d{5}\z/
726
+ SV:
727
+ alpha2: SV
728
+ name: El Salvador
729
+ country_code: '503'
730
+ international_prefix: '00'
731
+ national_destination_code_lengths:
732
+ - 2
733
+ national_number_lengths:
734
+ - 8
735
+ postal_code: true
736
+ postcode_regex:
737
+ GQ:
738
+ alpha2: GQ
739
+ name: Equatorial Guinea
740
+ country_code: '240'
741
+ international_prefix: '00'
742
+ national_destination_code_lengths:
743
+ - 2
744
+ national_number_lengths:
745
+ - 6
746
+ postal_code: false
747
+ ER:
748
+ alpha2: ER
749
+ name: Eritrea
750
+ country_code: '291'
751
+ international_prefix: '00'
752
+ national_destination_code_lengths:
753
+ - 2
754
+ national_number_lengths:
755
+ - 7
756
+ postal_code: false
757
+ EE:
758
+ alpha2: EE
759
+ name: Estonia
760
+ country_code: '372'
761
+ international_prefix: '00'
762
+ national_destination_code_lengths:
763
+ - 2
764
+ national_number_lengths:
765
+ - 7
766
+ - 8
767
+ postal_code: true
768
+ postcode_regex: /\A\d{5}\z/
769
+ ET:
770
+ alpha2: ET
771
+ name: Ethiopia
772
+ country_code: '251'
773
+ international_prefix: '00'
774
+ national_destination_code_lengths:
775
+ - 2
776
+ national_number_lengths:
777
+ - 9
778
+ postal_code: true
779
+ postcode_regex: /\A\d{4}\z/
780
+ FK:
781
+ alpha2: FK
782
+ name: Falkland Islands (Malvinas)
783
+ country_code: '500'
784
+ international_prefix: '00'
785
+ national_destination_code_lengths:
786
+ - 2
787
+ national_number_lengths:
788
+ - 5
789
+ postal_code: true
790
+ postcode_regex: /\AFIQQ 1ZZ\z/
791
+ FO:
792
+ alpha2: FO
793
+ name: Faroe Islands
794
+ country_code: '298'
795
+ international_prefix: '00'
796
+ national_destination_code_lengths:
797
+ - 2
798
+ national_number_lengths:
799
+ - 6
800
+ postal_code: true
801
+ postcode_regex: /\A\d{3}\z/
802
+ FJ:
803
+ alpha2: FJ
804
+ name: Fiji
805
+ country_code: '679'
806
+ international_prefix: '00'
807
+ national_destination_code_lengths:
808
+ - 2
809
+ national_number_lengths:
810
+ - 7
811
+ postal_code: false
812
+ FI:
813
+ alpha2: FI
814
+ name: Finland
815
+ country_code: '358'
816
+ international_prefix: '00'
817
+ national_destination_code_lengths:
818
+ - 2
819
+ national_number_lengths:
820
+ - 9
821
+ postal_code: true
822
+ postcode_regex: /\A\d{5}\z/
823
+ FR:
824
+ alpha2: FR
825
+ name: France
826
+ country_code: '33'
827
+ international_prefix: '00'
828
+ national_destination_code_lengths:
829
+ - 1
830
+ national_number_lengths:
831
+ - 9
832
+ - 10
833
+ postal_code: true
834
+ postcode_regex: /\A\d{2}[ ]?\d{3}\z/
835
+ GF:
836
+ alpha2: GF
837
+ name: French Guiana
838
+ country_code: '594'
839
+ international_prefix: '00'
840
+ national_destination_code_lengths:
841
+ - 3
842
+ national_number_lengths:
843
+ - 10
844
+ postal_code: true
845
+ postcode_regex: /\A9[78]3\d{2}\z/
846
+ PF:
847
+ alpha2: PF
848
+ name: French Polynesia
849
+ country_code: '689'
850
+ international_prefix: '00'
851
+ national_destination_code_lengths:
852
+ - 2
853
+ national_number_lengths:
854
+ - 6
855
+ postal_code: true
856
+ postcode_regex: /\A987\d{2}\z/
857
+ TF:
858
+ alpha2: TF
859
+ name: French Southern Territories
860
+ country_code: ''
861
+ international_prefix: ''
862
+ national_destination_code_lengths: []
863
+ national_number_lengths: []
864
+ postal_code: false
865
+ GA:
866
+ alpha2: GA
867
+ name: Gabon
868
+ country_code: '241'
869
+ international_prefix: '00'
870
+ national_destination_code_lengths:
871
+ - 2
872
+ national_number_lengths:
873
+ - 6
874
+ - 7
875
+ - 8
876
+ postal_code: true
877
+ postcode_regex:
878
+ GM:
879
+ alpha2: GM
880
+ name: Gambia
881
+ country_code: '220'
882
+ international_prefix: '00'
883
+ national_destination_code_lengths:
884
+ - 2
885
+ national_number_lengths:
886
+ - 7
887
+ postal_code: false
888
+ GE:
889
+ alpha2: GE
890
+ name: Georgia
891
+ country_code: '995'
892
+ international_prefix: '810'
893
+ national_destination_code_lengths:
894
+ - 2
895
+ national_number_lengths:
896
+ - 9
897
+ postal_code: true
898
+ postcode_regex: /\A\d{4}\z/
899
+ DE:
900
+ alpha2: DE
901
+ name: Germany
902
+ country_code: '49'
903
+ international_prefix: '00'
904
+ national_destination_code_lengths:
905
+ - 2
906
+ - 3
907
+ - 4
908
+ - 5
909
+ national_number_lengths:
910
+ - 6
911
+ - 7
912
+ - 8
913
+ - 9
914
+ - 10
915
+ - 11
916
+ postal_code: true
917
+ postcode_regex: /\A\d{5}\z/
918
+ GH:
919
+ alpha2: GH
920
+ name: Ghana
921
+ country_code: '233'
922
+ international_prefix: '00'
923
+ national_destination_code_lengths:
924
+ - 2
925
+ national_number_lengths:
926
+ - 5
927
+ - 6
928
+ - 7
929
+ - 8
930
+ postal_code: false
931
+ GI:
932
+ alpha2: GI
933
+ name: Gibraltar
934
+ country_code: '350'
935
+ international_prefix: '00'
936
+ national_destination_code_lengths:
937
+ - 2
938
+ national_number_lengths:
939
+ - 8
940
+ postal_code: true
941
+ postcode_regex:
942
+ GR:
943
+ alpha2: GR
944
+ name: Greece
945
+ country_code: '30'
946
+ international_prefix: '00'
947
+ national_destination_code_lengths:
948
+ - 2
949
+ national_number_lengths:
950
+ - 10
951
+ postal_code: true
952
+ postcode_regex: /\A\d{3}[ ]?\d{2}\z/
953
+ GL:
954
+ alpha2: GL
955
+ name: Greenland
956
+ country_code: '299'
957
+ international_prefix: 009
958
+ national_destination_code_lengths:
959
+ - 2
960
+ national_number_lengths:
961
+ - 6
962
+ postal_code: true
963
+ postcode_regex: /\A39\d{2}\z/
964
+ GD:
965
+ alpha2: GD
966
+ name: Grenada
967
+ country_code: '1'
968
+ international_prefix: '011'
969
+ national_destination_code_lengths:
970
+ - 3
971
+ national_number_lengths:
972
+ - 10
973
+ postal_code: false
974
+ GP:
975
+ alpha2: GP
976
+ name: Guadeloupe
977
+ country_code: '590'
978
+ international_prefix: '00'
979
+ national_destination_code_lengths:
980
+ - 3
981
+ national_number_lengths:
982
+ - 10
983
+ postal_code: true
984
+ postcode_regex: /\A9[78][01]\d{2}\z/
985
+ GU:
986
+ alpha2: GU
987
+ name: Guam
988
+ country_code: '1'
989
+ international_prefix: '011'
990
+ national_destination_code_lengths:
991
+ - 3
992
+ national_number_lengths:
993
+ - 10
994
+ postal_code: true
995
+ postcode_regex: /\A969[123]\d([ \-]\d{4})?\z/
996
+ GT:
997
+ alpha2: GT
998
+ name: Guatemala
999
+ country_code: '502'
1000
+ international_prefix: '00'
1001
+ national_destination_code_lengths:
1002
+ - 2
1003
+ national_number_lengths:
1004
+ - 8
1005
+ postal_code: true
1006
+ postcode_regex: /\A\d{5}\z/
1007
+ GG:
1008
+ alpha2: GG
1009
+ name: Guernsey
1010
+ country_code: '44'
1011
+ international_prefix: ''
1012
+ national_destination_code_lengths: []
1013
+ national_number_lengths: []
1014
+ postal_code: true
1015
+ postcode_regex: /\AGY\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}\z/
1016
+ GN:
1017
+ alpha2: GN
1018
+ name: Guinea
1019
+ country_code: '224'
1020
+ international_prefix: '00'
1021
+ national_destination_code_lengths:
1022
+ - 2
1023
+ national_number_lengths:
1024
+ - 8
1025
+ postal_code: false
1026
+ GW:
1027
+ alpha2: GW
1028
+ name: Guinea-Bissau
1029
+ country_code: '245'
1030
+ international_prefix: '00'
1031
+ national_destination_code_lengths:
1032
+ - 2
1033
+ national_number_lengths:
1034
+ - 7
1035
+ postal_code: true
1036
+ postcode_regex: /\A\d{4}\z/
1037
+ GY:
1038
+ alpha2: GY
1039
+ name: Guyana
1040
+ country_code: '592'
1041
+ international_prefix: '00'
1042
+ national_destination_code_lengths:
1043
+ - 2
1044
+ national_number_lengths:
1045
+ - 6
1046
+ - 7
1047
+ postal_code: false
1048
+ HT:
1049
+ alpha2: HT
1050
+ name: Haiti
1051
+ country_code: '509'
1052
+ international_prefix: '00'
1053
+ national_destination_code_lengths:
1054
+ - 2
1055
+ national_number_lengths:
1056
+ - 8
1057
+ postal_code: true
1058
+ postcode_regex: /\A\d{4}\z/
1059
+ HM:
1060
+ alpha2: HM
1061
+ name: Heard and McDonald Islands
1062
+ country_code: ''
1063
+ international_prefix: ''
1064
+ national_destination_code_lengths: []
1065
+ national_number_lengths: []
1066
+ postal_code: true
1067
+ postcode_regex: /\A\d{4}\z/
1068
+ VA:
1069
+ alpha2: VA
1070
+ name: Holy See (Vatican City State)
1071
+ country_code: '39'
1072
+ international_prefix: '00'
1073
+ national_destination_code_lengths:
1074
+ - 3
1075
+ national_number_lengths:
1076
+ - 9
1077
+ postal_code: true
1078
+ postcode_regex: /\A00120\z/
1079
+ HN:
1080
+ alpha2: HN
1081
+ name: Honduras
1082
+ country_code: '504'
1083
+ international_prefix: '00'
1084
+ national_destination_code_lengths:
1085
+ - 2
1086
+ national_number_lengths:
1087
+ - 7
1088
+ - 8
1089
+ postal_code: true
1090
+ postcode_regex: /\A(?:\d{5})?\z/
1091
+ HK:
1092
+ alpha2: HK
1093
+ name: Hong Kong
1094
+ country_code: '852'
1095
+ international_prefix: '001'
1096
+ national_destination_code_lengths:
1097
+ - 2
1098
+ national_number_lengths:
1099
+ - 8
1100
+ postal_code: false
1101
+ HU:
1102
+ alpha2: HU
1103
+ name: Hungary
1104
+ country_code: '36'
1105
+ international_prefix: '00'
1106
+ national_destination_code_lengths:
1107
+ - 2
1108
+ national_number_lengths:
1109
+ - 8
1110
+ - 9
1111
+ postal_code: true
1112
+ postcode_regex: /\A\d{4}\z/
1113
+ IS:
1114
+ alpha2: IS
1115
+ name: Iceland
1116
+ country_code: '354'
1117
+ international_prefix: '00'
1118
+ national_destination_code_lengths:
1119
+ - 2
1120
+ national_number_lengths:
1121
+ - 7
1122
+ - 8
1123
+ - 9
1124
+ postal_code: true
1125
+ postcode_regex: /\A\d{3}\z/
1126
+ IN:
1127
+ alpha2: IN
1128
+ name: India
1129
+ country_code: '91'
1130
+ international_prefix: '00'
1131
+ national_destination_code_lengths:
1132
+ - 2
1133
+ national_number_lengths:
1134
+ - 10
1135
+ postal_code: true
1136
+ postcode_regex: /\A\d{6}\z/
1137
+ ID:
1138
+ alpha2: ID
1139
+ name: Indonesia
1140
+ country_code: '62'
1141
+ international_prefix: '001'
1142
+ national_destination_code_lengths:
1143
+ - 2
1144
+ national_number_lengths:
1145
+ - 8
1146
+ - 9
1147
+ - 10
1148
+ - 11
1149
+ postal_code: true
1150
+ postcode_regex: /\A\d{5}\z/
1151
+ IR:
1152
+ alpha2: IR
1153
+ name: Iran, Islamic Republic Of
1154
+ country_code: '98'
1155
+ international_prefix: '00'
1156
+ national_destination_code_lengths:
1157
+ - 2
1158
+ national_number_lengths:
1159
+ - 10
1160
+ postal_code: true
1161
+ postcode_regex:
1162
+ IQ:
1163
+ alpha2: IQ
1164
+ name: Iraq
1165
+ country_code: '964'
1166
+ international_prefix: '00'
1167
+ national_destination_code_lengths:
1168
+ - 2
1169
+ national_number_lengths:
1170
+ - 8
1171
+ - 9
1172
+ - 10
1173
+ postal_code: true
1174
+ postcode_regex: /\A\d{5}\z/
1175
+ IE:
1176
+ alpha2: IE
1177
+ name: Ireland
1178
+ country_code: '353'
1179
+ international_prefix: '00'
1180
+ national_destination_code_lengths:
1181
+ - 2
1182
+ national_number_lengths:
1183
+ - 9
1184
+ postal_code: false
1185
+ IM:
1186
+ alpha2: IM
1187
+ name: Isle of Man
1188
+ country_code: '44'
1189
+ international_prefix: ''
1190
+ national_destination_code_lengths: []
1191
+ national_number_lengths: []
1192
+ postal_code: true
1193
+ postcode_regex: /\AIM\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}\z/
1194
+ IL:
1195
+ alpha2: IL
1196
+ name: Israel
1197
+ country_code: '972'
1198
+ international_prefix: '00'
1199
+ national_destination_code_lengths:
1200
+ - 2
1201
+ national_number_lengths:
1202
+ - 7
1203
+ - 8
1204
+ - 9
1205
+ postal_code: true
1206
+ postcode_regex: /\A\d{5}\z/
1207
+ IT:
1208
+ alpha2: IT
1209
+ name: Italy
1210
+ country_code: '39'
1211
+ international_prefix: '00'
1212
+ national_destination_code_lengths:
1213
+ - 3
1214
+ national_number_lengths:
1215
+ - 9
1216
+ postal_code: true
1217
+ postcode_regex: /\A\d{5}\z/
1218
+ JM:
1219
+ alpha2: JM
1220
+ name: Jamaica
1221
+ country_code: '1'
1222
+ international_prefix: '011'
1223
+ national_destination_code_lengths:
1224
+ - 3
1225
+ national_number_lengths:
1226
+ - 10
1227
+ postal_code: false
1228
+ JP:
1229
+ alpha2: JP
1230
+ name: Japan
1231
+ country_code: '81'
1232
+ international_prefix: '010'
1233
+ national_destination_code_lengths:
1234
+ - 2
1235
+ national_number_lengths:
1236
+ - 9
1237
+ - 10
1238
+ postal_code: true
1239
+ postcode_regex: /\A\d{3}-\d{4}\z/
1240
+ JE:
1241
+ alpha2: JE
1242
+ name: Jersey
1243
+ country_code: '44'
1244
+ international_prefix: ''
1245
+ national_destination_code_lengths: []
1246
+ national_number_lengths: []
1247
+ postal_code: true
1248
+ postcode_regex: /\AJE\d[\dA-Z]?[ ]?\d[ABD-HJLN-UW-Z]{2}\z/
1249
+ JO:
1250
+ alpha2: JO
1251
+ name: Jordan
1252
+ country_code: '962'
1253
+ international_prefix: '00'
1254
+ national_destination_code_lengths:
1255
+ - 2
1256
+ national_number_lengths:
1257
+ - 8
1258
+ - 9
1259
+ postal_code: true
1260
+ postcode_regex: /\A\d{5}\z/
1261
+ KZ:
1262
+ alpha2: KZ
1263
+ name: Kazakhstan
1264
+ country_code: '7'
1265
+ international_prefix: '810'
1266
+ national_destination_code_lengths:
1267
+ - 3
1268
+ national_number_lengths:
1269
+ - 10
1270
+ postal_code: true
1271
+ postcode_regex: /\A\d{6}\z/
1272
+ KE:
1273
+ alpha2: KE
1274
+ name: Kenya
1275
+ country_code: '254'
1276
+ international_prefix: '000'
1277
+ national_destination_code_lengths:
1278
+ - 2
1279
+ national_number_lengths:
1280
+ - 9
1281
+ postal_code: false
1282
+ KI:
1283
+ alpha2: KI
1284
+ name: Kiribati
1285
+ country_code: '686'
1286
+ international_prefix: '00'
1287
+ national_destination_code_lengths:
1288
+ - 2
1289
+ national_number_lengths:
1290
+ - 5
1291
+ postal_code: false
1292
+ KP:
1293
+ alpha2: KP
1294
+ name: Korea, Democratic People's Republic Of
1295
+ country_code: '850'
1296
+ international_prefix: '00'
1297
+ national_destination_code_lengths:
1298
+ - 2
1299
+ national_number_lengths:
1300
+ - 8
1301
+ - 9
1302
+ postal_code: false
1303
+ KR:
1304
+ alpha2: KR
1305
+ name: Korea, Republic of
1306
+ country_code: '82'
1307
+ international_prefix: '001'
1308
+ national_destination_code_lengths:
1309
+ - 2
1310
+ national_number_lengths:
1311
+ - 8
1312
+ - 9
1313
+ postal_code: true
1314
+ postcode_regex: /\A\d{3}[\-]\d{3}\z/
1315
+ KW:
1316
+ alpha2: KW
1317
+ name: Kuwait
1318
+ country_code: '965'
1319
+ international_prefix: '00'
1320
+ national_destination_code_lengths:
1321
+ - 2
1322
+ national_number_lengths:
1323
+ - 7
1324
+ postal_code: true
1325
+ postcode_regex: /\A\d{5}\z/
1326
+ KG:
1327
+ alpha2: KG
1328
+ name: Kyrgyzstan
1329
+ country_code: '996'
1330
+ international_prefix: '00'
1331
+ national_destination_code_lengths:
1332
+ - 2
1333
+ national_number_lengths:
1334
+ - 9
1335
+ postal_code: true
1336
+ postcode_regex: /\A\d{6}\z/
1337
+ LA:
1338
+ alpha2: LA
1339
+ name: Lao People's Democratic Republic
1340
+ country_code: '856'
1341
+ international_prefix: '00'
1342
+ national_destination_code_lengths:
1343
+ - 2
1344
+ national_number_lengths:
1345
+ - 8
1346
+ postal_code: true
1347
+ postcode_regex: /\A\d{5}\z/
1348
+ LV:
1349
+ alpha2: LV
1350
+ name: Latvia
1351
+ country_code: '371'
1352
+ international_prefix: '00'
1353
+ national_destination_code_lengths:
1354
+ - 2
1355
+ national_number_lengths:
1356
+ - 8
1357
+ postal_code: true
1358
+ postcode_regex: /\A\d{4}\z/
1359
+ LB:
1360
+ alpha2: LB
1361
+ name: Lebanon
1362
+ country_code: '961'
1363
+ international_prefix: '00'
1364
+ national_destination_code_lengths:
1365
+ - 2
1366
+ national_number_lengths:
1367
+ - 8
1368
+ postal_code: true
1369
+ postcode_regex: /\A(\d{4}([ ]?\d{4})?)?\z/
1370
+ LS:
1371
+ alpha2: LS
1372
+ name: Lesotho
1373
+ country_code: '266'
1374
+ international_prefix: '00'
1375
+ national_destination_code_lengths:
1376
+ - 2
1377
+ national_number_lengths:
1378
+ - 8
1379
+ postal_code: true
1380
+ postcode_regex: /\A\d{3}\z/
1381
+ LR:
1382
+ alpha2: LR
1383
+ name: Liberia
1384
+ country_code: '231'
1385
+ international_prefix: '00'
1386
+ national_destination_code_lengths:
1387
+ - 2
1388
+ national_number_lengths:
1389
+ - 6
1390
+ - 7
1391
+ - 8
1392
+ postal_code: true
1393
+ postcode_regex: /\A\d{4}\z/
1394
+ LY:
1395
+ alpha2: LY
1396
+ name: Libya
1397
+ country_code: '218'
1398
+ international_prefix: '00'
1399
+ national_destination_code_lengths:
1400
+ - 2
1401
+ national_number_lengths:
1402
+ - 8
1403
+ - 9
1404
+ postal_code: true
1405
+ postcode_regex:
1406
+ LI:
1407
+ alpha2: LI
1408
+ name: Liechtenstein
1409
+ country_code: '423'
1410
+ international_prefix: '00'
1411
+ national_destination_code_lengths:
1412
+ - 2
1413
+ national_number_lengths:
1414
+ - 7
1415
+ postal_code: true
1416
+ postcode_regex: /\A(948[5-9])|(949[0-7])\z/
1417
+ LT:
1418
+ alpha2: LT
1419
+ name: Lithuania
1420
+ country_code: '370'
1421
+ international_prefix: '00'
1422
+ national_destination_code_lengths:
1423
+ - 2
1424
+ national_number_lengths:
1425
+ - 8
1426
+ postal_code: true
1427
+ postcode_regex: /\A\d{5}\z/
1428
+ LU:
1429
+ alpha2: LU
1430
+ name: Luxembourg
1431
+ country_code: '352'
1432
+ international_prefix: '00'
1433
+ national_destination_code_lengths:
1434
+ - 2
1435
+ national_number_lengths:
1436
+ - 9
1437
+ postal_code: true
1438
+ postcode_regex: /\A\d{4}\z/
1439
+ MO:
1440
+ alpha2: MO
1441
+ name: Macao
1442
+ country_code: '853'
1443
+ international_prefix: '00'
1444
+ national_destination_code_lengths:
1445
+ - 2
1446
+ national_number_lengths:
1447
+ - 8
1448
+ postal_code: false
1449
+ MK:
1450
+ alpha2: MK
1451
+ name: Macedonia, the Former Yugoslav Republic Of
1452
+ country_code: '389'
1453
+ international_prefix: '00'
1454
+ national_destination_code_lengths:
1455
+ - 2
1456
+ national_number_lengths:
1457
+ - 7
1458
+ - 8
1459
+ postal_code: true
1460
+ postcode_regex: /\A\d{4}\z/
1461
+ MG:
1462
+ alpha2: MG
1463
+ name: Madagascar
1464
+ country_code: '261'
1465
+ international_prefix: '00'
1466
+ national_destination_code_lengths:
1467
+ - 2
1468
+ national_number_lengths:
1469
+ - 9
1470
+ postal_code: true
1471
+ postcode_regex: /\A\d{3}\z/
1472
+ MW:
1473
+ alpha2: MW
1474
+ name: Malawi
1475
+ country_code: '265'
1476
+ international_prefix: '00'
1477
+ national_destination_code_lengths:
1478
+ - 2
1479
+ national_number_lengths:
1480
+ - 8
1481
+ postal_code: false
1482
+ MY:
1483
+ alpha2: MY
1484
+ name: Malaysia
1485
+ country_code: '60'
1486
+ international_prefix: '00'
1487
+ national_destination_code_lengths:
1488
+ - 2
1489
+ national_number_lengths:
1490
+ - 9
1491
+ - 10
1492
+ postal_code: true
1493
+ postcode_regex: /\A\d{5}\z/
1494
+ MV:
1495
+ alpha2: MV
1496
+ name: Maldives
1497
+ country_code: '960'
1498
+ international_prefix: '00'
1499
+ national_destination_code_lengths:
1500
+ - 2
1501
+ national_number_lengths:
1502
+ - 7
1503
+ postal_code: true
1504
+ postcode_regex: /\A\d{5}\z/
1505
+ ML:
1506
+ alpha2: ML
1507
+ name: Mali
1508
+ country_code: '223'
1509
+ international_prefix: '00'
1510
+ national_destination_code_lengths:
1511
+ - 2
1512
+ national_number_lengths:
1513
+ - 8
1514
+ postal_code: false
1515
+ MT:
1516
+ alpha2: MT
1517
+ name: Malta
1518
+ country_code: '356'
1519
+ international_prefix: '00'
1520
+ national_destination_code_lengths:
1521
+ - 2
1522
+ national_number_lengths:
1523
+ - 8
1524
+ postal_code: true
1525
+ postcode_regex: /\A[A-Z]{3}[ ]?\d{2,4}\z/
1526
+ MH:
1527
+ alpha2: MH
1528
+ name: Marshall Islands
1529
+ country_code: '692'
1530
+ international_prefix: '00'
1531
+ national_destination_code_lengths:
1532
+ - 2
1533
+ national_number_lengths:
1534
+ - 7
1535
+ postal_code: true
1536
+ postcode_regex: /\A969[67]\d([ \-]\d{4})?\z/
1537
+ MQ:
1538
+ alpha2: MQ
1539
+ name: Martinique
1540
+ country_code: '596'
1541
+ international_prefix: '00'
1542
+ national_destination_code_lengths:
1543
+ - 3
1544
+ national_number_lengths:
1545
+ - 10
1546
+ postal_code: true
1547
+ postcode_regex: /\A9[78]2\d{2}\z/
1548
+ MR:
1549
+ alpha2: MR
1550
+ name: Mauritania
1551
+ country_code: '222'
1552
+ international_prefix: '00'
1553
+ national_destination_code_lengths:
1554
+ - 2
1555
+ national_number_lengths:
1556
+ - 7
1557
+ postal_code: false
1558
+ MU:
1559
+ alpha2: MU
1560
+ name: Mauritius
1561
+ country_code: '230'
1562
+ international_prefix: '020'
1563
+ national_destination_code_lengths:
1564
+ - 2
1565
+ national_number_lengths:
1566
+ - 7
1567
+ postal_code: false
1568
+ YT:
1569
+ alpha2: YT
1570
+ name: Mayotte
1571
+ country_code: '262'
1572
+ international_prefix: '00'
1573
+ national_destination_code_lengths:
1574
+ - 2
1575
+ national_number_lengths:
1576
+ - 7
1577
+ postal_code: true
1578
+ postcode_regex: /\A976\d{2}\z/
1579
+ MX:
1580
+ alpha2: MX
1581
+ name: Mexico
1582
+ country_code: '52'
1583
+ international_prefix: '00'
1584
+ national_destination_code_lengths:
1585
+ - 2
1586
+ national_number_lengths:
1587
+ - 8
1588
+ - 9
1589
+ - 10
1590
+ postal_code: true
1591
+ postcode_regex: /\A\d{5}\z/
1592
+ FM:
1593
+ alpha2: FM
1594
+ name: Micronesia, Federated States Of
1595
+ country_code: '691'
1596
+ international_prefix: '011'
1597
+ national_destination_code_lengths:
1598
+ - 2
1599
+ national_number_lengths:
1600
+ - 7
1601
+ postal_code: true
1602
+ postcode_regex: /\A(9694[1-4])([ \-]\d{4})?\z/
1603
+ MD:
1604
+ alpha2: MD
1605
+ name: Moldova, Republic of
1606
+ country_code: '373'
1607
+ international_prefix: '00'
1608
+ national_destination_code_lengths:
1609
+ - 2
1610
+ national_number_lengths:
1611
+ - 8
1612
+ postal_code: true
1613
+ postcode_regex: /\A\d{4}\z/
1614
+ MC:
1615
+ alpha2: MC
1616
+ name: Monaco
1617
+ country_code: '377'
1618
+ international_prefix: '00'
1619
+ national_destination_code_lengths:
1620
+ - 2
1621
+ national_number_lengths:
1622
+ - 8
1623
+ - 9
1624
+ postal_code: true
1625
+ postcode_regex: /\A980\d{2}\z/
1626
+ MN:
1627
+ alpha2: MN
1628
+ name: Mongolia
1629
+ country_code: '976'
1630
+ international_prefix: '001'
1631
+ national_destination_code_lengths:
1632
+ - 2
1633
+ national_number_lengths:
1634
+ - 7
1635
+ - 8
1636
+ - 9
1637
+ - 10
1638
+ postal_code: true
1639
+ postcode_regex: /\A\d{6}\z/
1640
+ ME:
1641
+ alpha2: ME
1642
+ name: Montenegro
1643
+ country_code: '382'
1644
+ international_prefix: '99'
1645
+ national_destination_code_lengths:
1646
+ - 2
1647
+ national_number_lengths:
1648
+ - 8
1649
+ postal_code: true
1650
+ postcode_regex: /\A8\d{4}\z/
1651
+ MS:
1652
+ alpha2: MS
1653
+ name: Montserrat
1654
+ country_code: '1'
1655
+ international_prefix: '011'
1656
+ national_destination_code_lengths:
1657
+ - 3
1658
+ national_number_lengths:
1659
+ - 10
1660
+ postal_code: false
1661
+ MA:
1662
+ alpha2: MA
1663
+ name: Morocco
1664
+ country_code: '212'
1665
+ international_prefix: '00'
1666
+ national_destination_code_lengths:
1667
+ - 2
1668
+ national_number_lengths:
1669
+ - 8
1670
+ postal_code: true
1671
+ postcode_regex: /\A\d{5}\z/
1672
+ MZ:
1673
+ alpha2: MZ
1674
+ name: Mozambique
1675
+ country_code: '258'
1676
+ international_prefix: '00'
1677
+ national_destination_code_lengths:
1678
+ - 2
1679
+ national_number_lengths:
1680
+ - 8
1681
+ - 9
1682
+ postal_code: true
1683
+ postcode_regex:
1684
+ MM:
1685
+ alpha2: MM
1686
+ name: Myanmar
1687
+ country_code: '95'
1688
+ international_prefix: '00'
1689
+ national_destination_code_lengths:
1690
+ - 2
1691
+ national_number_lengths:
1692
+ - 7
1693
+ - 8
1694
+ postal_code: true
1695
+ postcode_regex:
1696
+ NA:
1697
+ alpha2: NA
1698
+ name: Namibia
1699
+ country_code: '264'
1700
+ international_prefix: '00'
1701
+ national_destination_code_lengths:
1702
+ - 2
1703
+ national_number_lengths:
1704
+ - 6
1705
+ - 7
1706
+ postal_code: true
1707
+ postcode_regex:
1708
+ NR:
1709
+ alpha2: NR
1710
+ name: Nauru
1711
+ country_code: '674'
1712
+ international_prefix: '00'
1713
+ national_destination_code_lengths:
1714
+ - 2
1715
+ national_number_lengths:
1716
+ - 7
1717
+ postal_code: false
1718
+ NP:
1719
+ alpha2: NP
1720
+ name: Nepal
1721
+ country_code: '977'
1722
+ international_prefix: '00'
1723
+ national_destination_code_lengths:
1724
+ - 2
1725
+ national_number_lengths:
1726
+ - 7
1727
+ - 8
1728
+ postal_code: true
1729
+ postcode_regex: /\A\d{5}\z/
1730
+ NL:
1731
+ alpha2: NL
1732
+ name: Netherlands
1733
+ country_code: '31'
1734
+ international_prefix: '00'
1735
+ national_destination_code_lengths:
1736
+ - 2
1737
+ national_number_lengths:
1738
+ - 9
1739
+ postal_code: true
1740
+ postcode_regex: /\A\d{4}[ ]?[A-Z]{2}\z/
1741
+ AN:
1742
+ alpha2: AN
1743
+ name: Netherlands Antilles
1744
+ country_code: '599'
1745
+ international_prefix: '00'
1746
+ national_destination_code_lengths:
1747
+ - 2
1748
+ national_number_lengths:
1749
+ - 7
1750
+ postal_code: false
1751
+ NC:
1752
+ alpha2: NC
1753
+ name: New Caledonia
1754
+ country_code: '687'
1755
+ international_prefix: '00'
1756
+ national_destination_code_lengths:
1757
+ - 2
1758
+ national_number_lengths:
1759
+ - 6
1760
+ postal_code: true
1761
+ postcode_regex: /\A988\d{2}\z/
1762
+ NZ:
1763
+ alpha2: NZ
1764
+ name: New Zealand
1765
+ country_code: '64'
1766
+ international_prefix: '00'
1767
+ national_destination_code_lengths:
1768
+ - 1
1769
+ national_number_lengths:
1770
+ - 8
1771
+ - 9
1772
+ postal_code: true
1773
+ postcode_regex: /\A\d{4}\z/
1774
+ NI:
1775
+ alpha2: NI
1776
+ name: Nicaragua
1777
+ country_code: '505'
1778
+ international_prefix: '00'
1779
+ national_destination_code_lengths:
1780
+ - 2
1781
+ national_number_lengths:
1782
+ - 8
1783
+ postal_code: true
1784
+ postcode_regex: /\A((\d{4}-)?\d{3}-\d{3}(-\d{1})?)?\z/
1785
+ NE:
1786
+ alpha2: NE
1787
+ name: Niger
1788
+ country_code: '227'
1789
+ international_prefix: '00'
1790
+ national_destination_code_lengths:
1791
+ - 2
1792
+ national_number_lengths:
1793
+ - 8
1794
+ postal_code: true
1795
+ postcode_regex: /\A\d{4}\z/
1796
+ NG:
1797
+ alpha2: NG
1798
+ name: Nigeria
1799
+ country_code: '234'
1800
+ international_prefix: 009
1801
+ national_destination_code_lengths:
1802
+ - 2
1803
+ national_number_lengths:
1804
+ - 7
1805
+ - 8
1806
+ postal_code: true
1807
+ postcode_regex: /\A(\d{6})?\z/
1808
+ NU:
1809
+ alpha2: NU
1810
+ name: Niue
1811
+ country_code: '683'
1812
+ international_prefix: '00'
1813
+ national_destination_code_lengths:
1814
+ - 2
1815
+ national_number_lengths:
1816
+ - 4
1817
+ postal_code: false
1818
+ NF:
1819
+ alpha2: NF
1820
+ name: Norfolk Island
1821
+ country_code: '672'
1822
+ international_prefix: '00'
1823
+ national_destination_code_lengths:
1824
+ - 2
1825
+ national_number_lengths:
1826
+ - 6
1827
+ postal_code: true
1828
+ postcode_regex: /\A2899\z/
1829
+ MP:
1830
+ alpha2: MP
1831
+ name: Northern Mariana Islands
1832
+ country_code: '1'
1833
+ international_prefix: '011'
1834
+ national_destination_code_lengths:
1835
+ - 3
1836
+ national_number_lengths:
1837
+ - 10
1838
+ postal_code: true
1839
+ postcode_regex: /\A9695[012]([ \-]\d{4})?\z/
1840
+ 'NO':
1841
+ alpha2: 'NO'
1842
+ name: Norway
1843
+ country_code: '47'
1844
+ international_prefix: '00'
1845
+ national_destination_code_lengths:
1846
+ - 2
1847
+ national_number_lengths:
1848
+ - 8
1849
+ postal_code: true
1850
+ postcode_regex:
1851
+ OM:
1852
+ alpha2: OM
1853
+ name: Oman
1854
+ country_code: '968'
1855
+ international_prefix: '00'
1856
+ national_destination_code_lengths:
1857
+ - 2
1858
+ national_number_lengths:
1859
+ - 8
1860
+ postal_code: true
1861
+ postcode_regex: /\A(PC )?\d{3}\z/
1862
+ PK:
1863
+ alpha2: PK
1864
+ name: Pakistan
1865
+ country_code: '92'
1866
+ international_prefix: '00'
1867
+ national_destination_code_lengths:
1868
+ - 2
1869
+ national_number_lengths:
1870
+ - 9
1871
+ - 10
1872
+ postal_code: true
1873
+ postcode_regex: /\A\d{5}\z/
1874
+ PW:
1875
+ alpha2: PW
1876
+ name: Palau
1877
+ country_code: '680'
1878
+ international_prefix: '00'
1879
+ national_destination_code_lengths:
1880
+ - 2
1881
+ national_number_lengths:
1882
+ - 7
1883
+ postal_code: true
1884
+ postcode_regex: /\A96940\z/
1885
+ PS:
1886
+ alpha2: PS
1887
+ name: Palestine, State of
1888
+ country_code: '970'
1889
+ international_prefix: '00'
1890
+ national_destination_code_lengths:
1891
+ - 2
1892
+ national_number_lengths:
1893
+ - 8
1894
+ postal_code: true
1895
+ postcode_regex:
1896
+ PA:
1897
+ alpha2: PA
1898
+ name: Panama
1899
+ country_code: '507'
1900
+ international_prefix: '00'
1901
+ national_destination_code_lengths:
1902
+ - 2
1903
+ national_number_lengths:
1904
+ - 7
1905
+ postal_code: false
1906
+ PG:
1907
+ alpha2: PG
1908
+ name: Papua New Guinea
1909
+ country_code: '675'
1910
+ international_prefix: '05'
1911
+ national_destination_code_lengths:
1912
+ - 2
1913
+ national_number_lengths:
1914
+ - 7
1915
+ postal_code: true
1916
+ postcode_regex: /\A\d{3}\z/
1917
+ PY:
1918
+ alpha2: PY
1919
+ name: Paraguay
1920
+ country_code: '595'
1921
+ international_prefix: '002'
1922
+ national_destination_code_lengths:
1923
+ - 2
1924
+ national_number_lengths:
1925
+ - 9
1926
+ postal_code: true
1927
+ postcode_regex: /\A\d{4}\z/
1928
+ PE:
1929
+ alpha2: PE
1930
+ name: Peru
1931
+ country_code: '51'
1932
+ international_prefix: '00'
1933
+ national_destination_code_lengths:
1934
+ - 2
1935
+ national_number_lengths:
1936
+ - 8
1937
+ - 9
1938
+ postal_code: true
1939
+ postcode_regex:
1940
+ PH:
1941
+ alpha2: PH
1942
+ name: Philippines
1943
+ country_code: '63'
1944
+ international_prefix: '00'
1945
+ national_destination_code_lengths:
1946
+ - 2
1947
+ national_number_lengths:
1948
+ - 8
1949
+ - 9
1950
+ - 10
1951
+ postal_code: true
1952
+ postcode_regex: /\A\d{4}\z/
1953
+ PN:
1954
+ alpha2: PN
1955
+ name: Pitcairn
1956
+ country_code: ''
1957
+ international_prefix: '00'
1958
+ national_destination_code_lengths: []
1959
+ national_number_lengths:
1960
+ - 9
1961
+ postal_code: true
1962
+ postcode_regex: /\APCRN 1ZZ\z/
1963
+ PL:
1964
+ alpha2: PL
1965
+ name: Poland
1966
+ country_code: '48'
1967
+ international_prefix: '00'
1968
+ national_destination_code_lengths:
1969
+ - 2
1970
+ national_number_lengths:
1971
+ - 9
1972
+ postal_code: true
1973
+ postcode_regex: /\A\d{2}-\d{3}\z/
1974
+ PT:
1975
+ alpha2: PT
1976
+ name: Portugal
1977
+ country_code: '351'
1978
+ international_prefix: '00'
1979
+ national_destination_code_lengths:
1980
+ - 2
1981
+ national_number_lengths:
1982
+ - 9
1983
+ postal_code: true
1984
+ postcode_regex: /\A\d{4}([\-]\d{3})?\z/
1985
+ PR:
1986
+ alpha2: PR
1987
+ name: Puerto Rico
1988
+ country_code: '1'
1989
+ international_prefix: '011'
1990
+ national_destination_code_lengths:
1991
+ - 3
1992
+ national_number_lengths:
1993
+ - 10
1994
+ postal_code: true
1995
+ postcode_regex: /\A00[679]\d{2}([ \-]\d{4})?\z/
1996
+ QA:
1997
+ alpha2: QA
1998
+ name: Qatar
1999
+ country_code: '974'
2000
+ international_prefix: '00'
2001
+ national_destination_code_lengths:
2002
+ - 2
2003
+ national_number_lengths:
2004
+ - 7
2005
+ postal_code: false
2006
+ RO:
2007
+ alpha2: RO
2008
+ name: Romania
2009
+ country_code: '40'
2010
+ international_prefix: '00'
2011
+ national_destination_code_lengths:
2012
+ - 2
2013
+ national_number_lengths:
2014
+ - 9
2015
+ postal_code: true
2016
+ postcode_regex: /\A\d{6}\z/
2017
+ RU:
2018
+ alpha2: RU
2019
+ name: Russian Federation
2020
+ country_code: '7'
2021
+ international_prefix: '810'
2022
+ national_destination_code_lengths:
2023
+ - 3
2024
+ national_number_lengths:
2025
+ - 10
2026
+ postal_code: true
2027
+ postcode_regex: /\A\d{6}\z/
2028
+ RW:
2029
+ alpha2: RW
2030
+ name: Rwanda
2031
+ country_code: '250'
2032
+ international_prefix: '00'
2033
+ national_destination_code_lengths:
2034
+ - 2
2035
+ national_number_lengths:
2036
+ - 8
2037
+ - 9
2038
+ postal_code: false
2039
+ RE:
2040
+ alpha2: RE
2041
+ name: Réunion
2042
+ country_code: '262'
2043
+ international_prefix: '00'
2044
+ national_destination_code_lengths:
2045
+ - 2
2046
+ national_number_lengths:
2047
+ - 10
2048
+ postal_code: true
2049
+ postcode_regex: /\A9[78]4\d{2}\z/
2050
+ BL:
2051
+ alpha2: BL
2052
+ name: Saint Barthélemy
2053
+ country_code: '590'
2054
+ international_prefix: ''
2055
+ national_destination_code_lengths: []
2056
+ national_number_lengths: []
2057
+ postal_code: true
2058
+ postcode_regex:
2059
+ SH:
2060
+ alpha2: SH
2061
+ name: Saint Helena
2062
+ country_code: '290'
2063
+ international_prefix: '00'
2064
+ national_destination_code_lengths:
2065
+ - 2
2066
+ national_number_lengths:
2067
+ - 4
2068
+ postal_code: true
2069
+ postcode_regex: /\A(ASCN|STHL) 1ZZ\z/
2070
+ KN:
2071
+ alpha2: KN
2072
+ name: Saint Kitts And Nevis
2073
+ country_code: '1'
2074
+ international_prefix: '011'
2075
+ national_destination_code_lengths:
2076
+ - 3
2077
+ national_number_lengths:
2078
+ - 10
2079
+ postal_code: false
2080
+ LC:
2081
+ alpha2: LC
2082
+ name: Saint Lucia
2083
+ country_code: '1'
2084
+ international_prefix: '011'
2085
+ national_destination_code_lengths:
2086
+ - 3
2087
+ national_number_lengths:
2088
+ - 10
2089
+ postal_code: false
2090
+ MF:
2091
+ alpha2: MF
2092
+ name: Saint Martin
2093
+ country_code: '590'
2094
+ international_prefix: ''
2095
+ national_destination_code_lengths: []
2096
+ national_number_lengths: []
2097
+ postal_code: true
2098
+ postcode_regex:
2099
+ PM:
2100
+ alpha2: PM
2101
+ name: Saint Pierre And Miquelon
2102
+ country_code: '508'
2103
+ international_prefix: '00'
2104
+ national_destination_code_lengths:
2105
+ - 2
2106
+ national_number_lengths:
2107
+ - 6
2108
+ postal_code: true
2109
+ postcode_regex: /\A9[78]5\d{2}\z/
2110
+ VC:
2111
+ alpha2: VC
2112
+ name: Saint Vincent And The Grenedines
2113
+ country_code: '1'
2114
+ international_prefix: '011'
2115
+ national_destination_code_lengths:
2116
+ - 3
2117
+ national_number_lengths:
2118
+ - 10
2119
+ postal_code: true
2120
+ postcode_regex:
2121
+ WS:
2122
+ alpha2: WS
2123
+ name: Samoa
2124
+ country_code: '685'
2125
+ international_prefix: '00'
2126
+ national_destination_code_lengths:
2127
+ - 2
2128
+ national_number_lengths:
2129
+ - 6
2130
+ - 7
2131
+ postal_code: true
2132
+ postcode_regex:
2133
+ SM:
2134
+ alpha2: SM
2135
+ name: San Marino
2136
+ country_code: '378'
2137
+ international_prefix: '00'
2138
+ national_destination_code_lengths:
2139
+ - 2
2140
+ national_number_lengths:
2141
+ - 9
2142
+ - 10
2143
+ - 11
2144
+ - 12
2145
+ postal_code: true
2146
+ postcode_regex: /\A4789\d\z/
2147
+ ST:
2148
+ alpha2: ST
2149
+ name: Sao Tome and Principe
2150
+ country_code: '239'
2151
+ international_prefix: '00'
2152
+ national_destination_code_lengths:
2153
+ - 2
2154
+ national_number_lengths:
2155
+ - 6
2156
+ - 7
2157
+ postal_code: false
2158
+ SA:
2159
+ alpha2: SA
2160
+ name: Saudi Arabia
2161
+ country_code: '966'
2162
+ international_prefix: '00'
2163
+ national_destination_code_lengths:
2164
+ - 2
2165
+ national_number_lengths:
2166
+ - 8
2167
+ - 9
2168
+ postal_code: false
2169
+ SN:
2170
+ alpha2: SN
2171
+ name: Senegal
2172
+ country_code: '221'
2173
+ international_prefix: '00'
2174
+ national_destination_code_lengths:
2175
+ - 2
2176
+ national_number_lengths:
2177
+ - 7
2178
+ postal_code: true
2179
+ postcode_regex: /\A\d{5}\z/
2180
+ RS:
2181
+ alpha2: RS
2182
+ name: Serbia
2183
+ country_code: '381'
2184
+ international_prefix: '99'
2185
+ national_destination_code_lengths:
2186
+ - 2
2187
+ national_number_lengths:
2188
+ - 9
2189
+ postal_code: true
2190
+ postcode_regex: /\A\d{6}\z/
2191
+ SC:
2192
+ alpha2: SC
2193
+ name: Seychelles
2194
+ country_code: '248'
2195
+ international_prefix: '00'
2196
+ national_destination_code_lengths:
2197
+ - 2
2198
+ national_number_lengths:
2199
+ - 6
2200
+ postal_code: false
2201
+ SL:
2202
+ alpha2: SL
2203
+ name: Sierra Leone
2204
+ country_code: '232'
2205
+ international_prefix: '00'
2206
+ national_destination_code_lengths:
2207
+ - 2
2208
+ national_number_lengths:
2209
+ - 8
2210
+ postal_code: false
2211
+ SG:
2212
+ alpha2: SG
2213
+ name: Singapore
2214
+ country_code: '65'
2215
+ international_prefix: '001'
2216
+ national_destination_code_lengths:
2217
+ - 2
2218
+ national_number_lengths:
2219
+ - 8
2220
+ - 9
2221
+ postal_code: true
2222
+ postcode_regex: /\A\d{6}\z/
2223
+ SX:
2224
+ alpha2: SX
2225
+ name: Sint Maarten
2226
+ country_code: '1'
2227
+ international_prefix: '011'
2228
+ national_destination_code_lengths:
2229
+ - 3
2230
+ national_number_lengths:
2231
+ - 10
2232
+ postal_code: true
2233
+ postcode_regex:
2234
+ SK:
2235
+ alpha2: SK
2236
+ name: Slovakia
2237
+ country_code: '421'
2238
+ international_prefix: '00'
2239
+ national_destination_code_lengths:
2240
+ - 2
2241
+ national_number_lengths:
2242
+ - 9
2243
+ postal_code: true
2244
+ postcode_regex: /\A\d{3}[ ]?\d{2}\z/
2245
+ SI:
2246
+ alpha2: SI
2247
+ name: Slovenia
2248
+ country_code: '386'
2249
+ international_prefix: '00'
2250
+ national_destination_code_lengths:
2251
+ - 2
2252
+ national_number_lengths:
2253
+ - 8
2254
+ postal_code: true
2255
+ postcode_regex: /\A\d{4}\z/
2256
+ SB:
2257
+ alpha2: SB
2258
+ name: Solomon Islands
2259
+ country_code: '677'
2260
+ international_prefix: '00'
2261
+ national_destination_code_lengths:
2262
+ - 2
2263
+ national_number_lengths:
2264
+ - 5
2265
+ postal_code: false
2266
+ SO:
2267
+ alpha2: SO
2268
+ name: Somalia
2269
+ country_code: '252'
2270
+ international_prefix: '00'
2271
+ national_destination_code_lengths:
2272
+ - 2
2273
+ national_number_lengths:
2274
+ - 7
2275
+ - 8
2276
+ postal_code: false
2277
+ ZA:
2278
+ alpha2: ZA
2279
+ name: South Africa
2280
+ country_code: '27'
2281
+ international_prefix: 09
2282
+ national_destination_code_lengths:
2283
+ - 2
2284
+ national_number_lengths:
2285
+ - 9
2286
+ postal_code: false
2287
+ GS:
2288
+ alpha2: GS
2289
+ name: South Georgia and the South Sandwich Islands
2290
+ country_code: '500'
2291
+ international_prefix: ''
2292
+ national_destination_code_lengths: []
2293
+ national_number_lengths: []
2294
+ postal_code: true
2295
+ postcode_regex: /\ASIQQ 1ZZ\z/
2296
+ SS:
2297
+ alpha2: SS
2298
+ name: South Sudan
2299
+ country_code: '211'
2300
+ international_prefix: '0'
2301
+ national_destination_code_lengths:
2302
+ - 2
2303
+ national_number_lengths:
2304
+ - 9
2305
+ postal_code: true
2306
+ postcode_regex:
2307
+ ES:
2308
+ alpha2: ES
2309
+ name: Spain
2310
+ country_code: '34'
2311
+ international_prefix: '00'
2312
+ national_destination_code_lengths:
2313
+ - 2
2314
+ national_number_lengths:
2315
+ - 9
2316
+ postal_code: true
2317
+ postcode_regex: /\A\d{5}\z/
2318
+ LK:
2319
+ alpha2: LK
2320
+ name: Sri Lanka
2321
+ country_code: '94'
2322
+ international_prefix: '00'
2323
+ national_destination_code_lengths:
2324
+ - 2
2325
+ national_number_lengths:
2326
+ - 10
2327
+ postal_code: true
2328
+ postcode_regex: /\A\d{5}\z/
2329
+ SD:
2330
+ alpha2: SD
2331
+ name: Sudan
2332
+ country_code: '249'
2333
+ international_prefix: '00'
2334
+ national_destination_code_lengths:
2335
+ - 2
2336
+ national_number_lengths:
2337
+ - 9
2338
+ postal_code: true
2339
+ postcode_regex:
2340
+ SR:
2341
+ alpha2: SR
2342
+ name: Suriname
2343
+ country_code: '597'
2344
+ international_prefix: '00'
2345
+ national_destination_code_lengths:
2346
+ - 2
2347
+ national_number_lengths:
2348
+ - 6
2349
+ postal_code: false
2350
+ SJ:
2351
+ alpha2: SJ
2352
+ name: Svalbard And Jan Mayen
2353
+ country_code: '47'
2354
+ international_prefix: '00'
2355
+ national_destination_code_lengths:
2356
+ - 2
2357
+ national_number_lengths:
2358
+ - 8
2359
+ postal_code: true
2360
+ postcode_regex: /\A\d{4}\z/
2361
+ SZ:
2362
+ alpha2: SZ
2363
+ name: Swaziland
2364
+ country_code: '268'
2365
+ international_prefix: '00'
2366
+ national_destination_code_lengths:
2367
+ - 2
2368
+ national_number_lengths:
2369
+ - 7
2370
+ postal_code: true
2371
+ postcode_regex: /\A[HLMS]\d{3}\z/
2372
+ SE:
2373
+ alpha2: SE
2374
+ name: Sweden
2375
+ country_code: '46'
2376
+ international_prefix: '00'
2377
+ national_destination_code_lengths:
2378
+ - 2
2379
+ national_number_lengths:
2380
+ - 9
2381
+ postal_code: true
2382
+ postcode_regex: /\A\d{3}[ ]?\d{2}\z/
2383
+ CH:
2384
+ alpha2: CH
2385
+ name: Switzerland
2386
+ country_code: '41'
2387
+ international_prefix: '00'
2388
+ national_destination_code_lengths:
2389
+ - 2
2390
+ national_number_lengths:
2391
+ - 9
2392
+ - 10
2393
+ postal_code: true
2394
+ postcode_regex: /\A\d{4}\z/
2395
+ SY:
2396
+ alpha2: SY
2397
+ name: Syrian Arab Republic
2398
+ country_code: '963'
2399
+ international_prefix: '00'
2400
+ national_destination_code_lengths:
2401
+ - 2
2402
+ national_number_lengths:
2403
+ - 7
2404
+ - 8
2405
+ postal_code: false
2406
+ TW:
2407
+ alpha2: TW
2408
+ name: Taiwan, Republic Of China
2409
+ country_code: '886'
2410
+ international_prefix: '002'
2411
+ national_destination_code_lengths:
2412
+ - 2
2413
+ national_number_lengths:
2414
+ - 7
2415
+ - 8
2416
+ postal_code: true
2417
+ postcode_regex: /\A\d{3}(\d{2})?\z/
2418
+ TJ:
2419
+ alpha2: TJ
2420
+ name: Tajikistan
2421
+ country_code: '992'
2422
+ international_prefix: '810'
2423
+ national_destination_code_lengths:
2424
+ - 2
2425
+ national_number_lengths:
2426
+ - 9
2427
+ postal_code: true
2428
+ postcode_regex: /\A\d{6}\z/
2429
+ TZ:
2430
+ alpha2: TZ
2431
+ name: Tanzania, United Republic of
2432
+ country_code: '255'
2433
+ international_prefix: '000'
2434
+ national_destination_code_lengths:
2435
+ - 2
2436
+ national_number_lengths:
2437
+ - 9
2438
+ postal_code: false
2439
+ TH:
2440
+ alpha2: TH
2441
+ name: Thailand
2442
+ country_code: '66'
2443
+ international_prefix: '001'
2444
+ national_destination_code_lengths:
2445
+ - 2
2446
+ national_number_lengths:
2447
+ - 9
2448
+ - 10
2449
+ postal_code: true
2450
+ postcode_regex: /\A\d{5}\z/
2451
+ TL:
2452
+ alpha2: TL
2453
+ name: Timor-Leste
2454
+ country_code: '670'
2455
+ international_prefix: None
2456
+ national_destination_code_lengths:
2457
+ - 2
2458
+ national_number_lengths:
2459
+ - 7
2460
+ postal_code: false
2461
+ TG:
2462
+ alpha2: TG
2463
+ name: Togo
2464
+ country_code: '228'
2465
+ international_prefix: '00'
2466
+ national_destination_code_lengths:
2467
+ - 2
2468
+ national_number_lengths:
2469
+ - 7
2470
+ postal_code: true
2471
+ postcode_regex:
2472
+ TK:
2473
+ alpha2: TK
2474
+ name: Tokelau
2475
+ country_code: '690'
2476
+ international_prefix: '00'
2477
+ national_destination_code_lengths:
2478
+ - 2
2479
+ national_number_lengths:
2480
+ - 4
2481
+ postal_code: false
2482
+ TO:
2483
+ alpha2: TO
2484
+ name: Tonga
2485
+ country_code: '676'
2486
+ international_prefix: '00'
2487
+ national_destination_code_lengths:
2488
+ - 2
2489
+ national_number_lengths:
2490
+ - 5
2491
+ - 6
2492
+ - 7
2493
+ postal_code: false
2494
+ TT:
2495
+ alpha2: TT
2496
+ name: Trinidad and Tobago
2497
+ country_code: '1'
2498
+ international_prefix: '011'
2499
+ national_destination_code_lengths:
2500
+ - 3
2501
+ national_number_lengths:
2502
+ - 10
2503
+ postal_code: false
2504
+ TN:
2505
+ alpha2: TN
2506
+ name: Tunisia
2507
+ country_code: '216'
2508
+ international_prefix: '00'
2509
+ national_destination_code_lengths:
2510
+ - 2
2511
+ national_number_lengths:
2512
+ - 8
2513
+ postal_code: true
2514
+ postcode_regex: /\A\d{4}\z/
2515
+ TR:
2516
+ alpha2: TR
2517
+ name: Turkey
2518
+ country_code: '90'
2519
+ international_prefix: '00'
2520
+ national_destination_code_lengths:
2521
+ - 2
2522
+ national_number_lengths:
2523
+ - 10
2524
+ postal_code: true
2525
+ postcode_regex: /\A\d{5}\z/
2526
+ TM:
2527
+ alpha2: TM
2528
+ name: Turkmenistan
2529
+ country_code: '993'
2530
+ international_prefix: '810'
2531
+ national_destination_code_lengths:
2532
+ - 2
2533
+ national_number_lengths:
2534
+ - 8
2535
+ postal_code: true
2536
+ postcode_regex: /\A\d{6}\z/
2537
+ TC:
2538
+ alpha2: TC
2539
+ name: Turks and Caicos Islands
2540
+ country_code: '1'
2541
+ international_prefix: '011'
2542
+ national_destination_code_lengths:
2543
+ - 3
2544
+ national_number_lengths:
2545
+ - 10
2546
+ postal_code: true
2547
+ postcode_regex: /\ATKCA 1ZZ\z/
2548
+ TV:
2549
+ alpha2: TV
2550
+ name: Tuvalu
2551
+ country_code: '688'
2552
+ international_prefix: '00'
2553
+ national_destination_code_lengths:
2554
+ - 2
2555
+ national_number_lengths:
2556
+ - 5
2557
+ postal_code: false
2558
+ UG:
2559
+ alpha2: UG
2560
+ name: Uganda
2561
+ country_code: '256'
2562
+ international_prefix: '000'
2563
+ national_destination_code_lengths:
2564
+ - 2
2565
+ national_number_lengths:
2566
+ - 9
2567
+ postal_code: false
2568
+ UA:
2569
+ alpha2: UA
2570
+ name: Ukraine
2571
+ country_code: '380'
2572
+ international_prefix: '810'
2573
+ national_destination_code_lengths:
2574
+ - 2
2575
+ national_number_lengths:
2576
+ - 8
2577
+ - 9
2578
+ postal_code: true
2579
+ postcode_regex: /\A\d{5}\z/
2580
+ AE:
2581
+ alpha2: AE
2582
+ name: United Arab Emirates
2583
+ country_code: '971'
2584
+ international_prefix: '00'
2585
+ national_destination_code_lengths:
2586
+ - 2
2587
+ national_number_lengths:
2588
+ - 7
2589
+ - 8
2590
+ - 9
2591
+ postal_code: false
2592
+ GB:
2593
+ alpha2: GB
2594
+ name: United Kingdom
2595
+ country_code: '44'
2596
+ international_prefix: '00'
2597
+ national_destination_code_lengths:
2598
+ - 2
2599
+ national_number_lengths:
2600
+ - 10
2601
+ - 11
2602
+ postal_code: true
2603
+ postcode_regex: /\AGIR[ ]?0AA|((AB|AL|B|BA|BB|BD|BH|BL|BN|BR|BS|BT|CA|CB|CF|CH|CM|CO|CR|CT|CV|CW|DA|DD|DE|DG|DH|DL|DN|DT|DY|E|EC|EH|EN|EX|FK|FY|G|GL|GY|GU|HA|HD|HG|HP|HR|HS|HU|HX|IG|IM|IP|IV|JE|KA|KT|KW|KY|L|LA|LD|LE|LL|LN|LS|LU|M|ME|MK|ML|N|NE|NG|NN|NP|NR|NW|OL|OX|PA|PE|PH|PL|PO|PR|RG|RH|RM|S|SA|SE|SG|SK|SL|SM|SN|SO|SP|SR|SS|ST|SW|SY|TA|TD|TF|TN|TQ|TR|TS|TW|UB|W|WA|WC|WD|WF|WN|WR|WS|WV|YO|ZE)(\d[\dA-Z]?[
2604
+ ]?\d[ABD-HJLN-UW-Z]{2}))|BFPO[ ]?\d{1,4}\z/
2605
+ US:
2606
+ alpha2: US
2607
+ name: United States
2608
+ country_code: '1'
2609
+ international_prefix: '011'
2610
+ national_destination_code_lengths:
2611
+ - 3
2612
+ national_number_lengths:
2613
+ - 10
2614
+ postal_code: true
2615
+ postcode_regex: /\A\d{5}([ \-]\d{4})?\z/
2616
+ UM:
2617
+ alpha2: UM
2618
+ name: United States Minor Outlying Islands
2619
+ country_code: ''
2620
+ international_prefix: ''
2621
+ national_destination_code_lengths: []
2622
+ national_number_lengths: []
2623
+ postal_code: true
2624
+ postcode_regex:
2625
+ UY:
2626
+ alpha2: UY
2627
+ name: Uruguay
2628
+ country_code: '598'
2629
+ international_prefix: '00'
2630
+ national_destination_code_lengths:
2631
+ - 2
2632
+ national_number_lengths:
2633
+ - 7
2634
+ - 8
2635
+ postal_code: true
2636
+ postcode_regex: /\A\d{5}\z/
2637
+ UZ:
2638
+ alpha2: UZ
2639
+ name: Uzbekistan
2640
+ country_code: '998'
2641
+ international_prefix: '810'
2642
+ national_destination_code_lengths:
2643
+ - 2
2644
+ national_number_lengths:
2645
+ - 9
2646
+ postal_code: true
2647
+ postcode_regex: /\A\d{6}\z/
2648
+ VU:
2649
+ alpha2: VU
2650
+ name: Vanuatu
2651
+ country_code: '678'
2652
+ international_prefix: '00'
2653
+ national_destination_code_lengths:
2654
+ - 2
2655
+ national_number_lengths:
2656
+ - 5
2657
+ - 6
2658
+ - 7
2659
+ postal_code: false
2660
+ VE:
2661
+ alpha2: VE
2662
+ name: Venezuela, Bolivarian Republic of
2663
+ country_code: '58'
2664
+ international_prefix: '00'
2665
+ national_destination_code_lengths:
2666
+ - 2
2667
+ national_number_lengths:
2668
+ - 10
2669
+ postal_code: true
2670
+ postcode_regex: /\A\d{4}\z/
2671
+ VN:
2672
+ alpha2: VN
2673
+ name: Vietnam
2674
+ country_code: '84'
2675
+ international_prefix: '00'
2676
+ national_destination_code_lengths:
2677
+ - 2
2678
+ national_number_lengths:
2679
+ - 7
2680
+ - 8
2681
+ - 9
2682
+ - 10
2683
+ postal_code: true
2684
+ postcode_regex:
2685
+ VG:
2686
+ alpha2: VG
2687
+ name: Virgin Islands, British
2688
+ country_code: '1'
2689
+ international_prefix: '011'
2690
+ national_destination_code_lengths:
2691
+ - 3
2692
+ national_number_lengths:
2693
+ - 10
2694
+ postal_code: true
2695
+ postcode_regex:
2696
+ VI:
2697
+ alpha2: VI
2698
+ name: Virgin Islands, U.S.
2699
+ country_code: '1'
2700
+ international_prefix: '011'
2701
+ national_destination_code_lengths:
2702
+ - 3
2703
+ national_number_lengths:
2704
+ - 10
2705
+ postal_code: true
2706
+ postcode_regex: /\A008(([0-4]\d)|(5[01]))([ \-]\d{4})?\z/
2707
+ WF:
2708
+ alpha2: WF
2709
+ name: Wallis and Futuna
2710
+ country_code: '681'
2711
+ international_prefix: '19'
2712
+ national_destination_code_lengths:
2713
+ - 2
2714
+ national_number_lengths:
2715
+ - 6
2716
+ postal_code: true
2717
+ postcode_regex: /\A986\d{2}\z/
2718
+ EH:
2719
+ alpha2: EH
2720
+ name: Western Sahara
2721
+ country_code: '212'
2722
+ international_prefix: ''
2723
+ national_destination_code_lengths: []
2724
+ national_number_lengths: []
2725
+ postal_code: true
2726
+ postcode_regex:
2727
+ YE:
2728
+ alpha2: YE
2729
+ name: Yemen
2730
+ country_code: '967'
2731
+ international_prefix: '00'
2732
+ national_destination_code_lengths:
2733
+ - 2
2734
+ national_number_lengths:
2735
+ - 7
2736
+ - 8
2737
+ - 9
2738
+ postal_code: false
2739
+ ZM:
2740
+ alpha2: ZM
2741
+ name: Zambia
2742
+ country_code: '260'
2743
+ international_prefix: '00'
2744
+ national_destination_code_lengths:
2745
+ - 2
2746
+ national_number_lengths:
2747
+ - 9
2748
+ postal_code: true
2749
+ postcode_regex: /\A\d{5}\z/
2750
+ ZW:
2751
+ alpha2: ZW
2752
+ name: Zimbabwe
2753
+ country_code: '263'
2754
+ international_prefix: '00'
2755
+ national_destination_code_lengths:
2756
+ - 2
2757
+ national_number_lengths:
2758
+ - 8
2759
+ - 9
2760
+ - 10
2761
+ - 11
2762
+ postal_code: false