Skip to content

Commit 8c5bc07

Browse files
committed
Merge metadata changes from upstream 8.9.9
Includes changes in resources/ up to and including upstream commit 720c5bfe2965: "[maven-release-plugin] prepare release v8.9.9"
1 parent 00f3ec9 commit 8c5bc07

7 files changed

Lines changed: 277 additions & 1389 deletions

File tree

resources/PhoneNumberMetadata.xml

Lines changed: 44 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14240,7 +14240,7 @@
1424014240
<availableFormats>
1424114241
<numberFormat pattern="(\d{3})(\d{3})(\d{3})">
1424214242
<leadingDigits>
14243-
[25-7]|
14243+
[25-79]|
1424414244
31[25]
1424514245
</leadingDigits>
1424614246
<format>$1 $2 $3</format>
@@ -14260,7 +14260,7 @@
1426014260
</numberFormat>
1426114261
</availableFormats>
1426214262
<generalDesc>
14263-
<nationalNumberPattern>[235-8]\d{8,9}</nationalNumberPattern>
14263+
<nationalNumberPattern>[235-9]\d{8,9}</nationalNumberPattern>
1426414264
</generalDesc>
1426514265
<fixedLine>
1426614266
<possibleLengths national="9" localOnly="5,6"/>
@@ -14329,7 +14329,8 @@
1432914329
7(?:
1433014330
[07]\d|
1433114331
55
14332-
)
14332+
)|
14333+
99[69]
1433314334
)\d{6}
1433414335
</nationalNumberPattern>
1433514336
</mobile>
@@ -20662,20 +20663,25 @@
2066220663
<sourceUrl>http://www.itu.int/oth/T02020000EC/en</sourceUrl>
2066320664
<sourceUrl>http://en.wikipedia.org/wiki/Telephone_numbers_in_Niue</sourceUrl>
2066420665
</references>
20665-
<!-- Numbers are always formatted as a block. -->
20666+
<availableFormats>
20667+
<numberFormat pattern="(\d{3})(\d{4})">
20668+
<leadingDigits>888</leadingDigits>
20669+
<format>$1 $2</format>
20670+
</numberFormat>
20671+
</availableFormats>
20672+
<!-- All other numbers are always formatted as a block. -->
2066620673
<generalDesc>
20667-
<nationalNumberPattern>[1-5]\d{3}</nationalNumberPattern>
20674+
<nationalNumberPattern>[478]\d{3,7}</nationalNumberPattern>
2066820675
</generalDesc>
2066920676
<fixedLine>
2067020677
<possibleLengths national="4"/>
20671-
<exampleNumber>4002</exampleNumber>
20672-
<!-- Putting FWT (fixed-wireless-terminals) numbers here too. -->
20673-
<nationalNumberPattern>[34]\d{3}</nationalNumberPattern>
20678+
<exampleNumber>7012</exampleNumber>
20679+
<nationalNumberPattern>[47]\d{3}</nationalNumberPattern>
2067420680
</fixedLine>
2067520681
<mobile>
20676-
<possibleLengths national="4"/>
20677-
<exampleNumber>1234</exampleNumber>
20678-
<nationalNumberPattern>[125]\d{3}</nationalNumberPattern>
20682+
<possibleLengths national="7"/>
20683+
<exampleNumber>8884012</exampleNumber>
20684+
<nationalNumberPattern>888[4-9]\d{3}</nationalNumberPattern>
2067920685
</mobile>
2068020686
</territory>
2068120687

@@ -23090,6 +23096,17 @@
2309023096
<availableFormats>
2309123097
<!-- Formatting patterns are from the numbering plan and from the Swedish yellow pages
2309223098
http://gulasidorna.eniro.se -->
23099+
<numberFormat pattern="([1-469]\d)(\d{3})(\d{2})">
23100+
<leadingDigits>
23101+
[12][136]|
23102+
3[356]|
23103+
4[0246]|
23104+
6[03]|
23105+
90[1-9]
23106+
</leadingDigits>
23107+
<format>$1-$2 $3</format>
23108+
<intlFormat>$1 $2 $3</intlFormat>
23109+
</numberFormat>
2309323110
<numberFormat pattern="(9[034]\d)(\d{4})">
2309423111
<leadingDigits>
2309523112
9(?:
@@ -23114,22 +23131,11 @@
2311423131
4[0246]|
2311523132
54|
2311623133
6[03]|
23117-
90[1-9]
23134+
90
2311823135
</leadingDigits>
2311923136
<format>$1-$2 $3 $4</format>
2312023137
<intlFormat>$1 $2 $3 $4</intlFormat>
2312123138
</numberFormat>
23122-
<numberFormat pattern="([1-469]\d)(\d{3})(\d{2})">
23123-
<leadingDigits>
23124-
[12][136]|
23125-
3[356]|
23126-
4[0246]|
23127-
6[03]|
23128-
90[1-9]
23129-
</leadingDigits>
23130-
<format>$1-$2 $3</format>
23131-
<intlFormat>$1 $2 $3</intlFormat>
23132-
</numberFormat>
2313323139
<numberFormat pattern="(\d{3})(\d{2})(\d{2})(\d{2})">
2313423140
<leadingDigits>
2313523141
1[2457]|
@@ -27193,18 +27199,21 @@
2719327199
unable to receive SMS so for now supporting in both Mobile and Fixed-line -->
2719427200
<nationalNumberPattern>
2719527201
(?:
27196-
9\d|
27202+
9(?:
27203+
[0-8]\d|
27204+
9[013-9]
27205+
)|
2719727206
1(?:
2719827207
2\d|
2719927208
6[2-9]|
2720027209
8[68]|
2720127210
99
27211+
)\d|
27212+
8(?:
27213+
6[689]|
27214+
8\d|
27215+
9[89]
2720227216
)
27203-
)\d{7}|
27204-
8(?:
27205-
6[689]|
27206-
8\d|
27207-
9[89]
2720827217
)\d{6}
2720927218
</nationalNumberPattern>
2721027219
</mobile>
@@ -27218,6 +27227,12 @@
2721827227
<exampleNumber>1900123456</exampleNumber>
2721927228
<nationalNumberPattern>1900\d{4,6}</nationalNumberPattern>
2722027229
</premiumRate>
27230+
<!-- 992 is a VSAT numbering range as per ITU doc. -->
27231+
<voip>
27232+
<possibleLengths national="9"/>
27233+
<exampleNumber>992012345</exampleNumber>
27234+
<nationalNumberPattern>992\d{6}</nationalNumberPattern>
27235+
</voip>
2722127236
<uan>
2722227237
<possibleLengths national="7,8"/>
2722327238
<exampleNumber>1992000</exampleNumber>

resources/ShortNumberMetadata.xml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@
279279
)|
280280
5\d{4}
281281
</nationalNumberPattern>
282-
<possibleLengths national="3,5,6"/>
282+
<possibleLengths national="[3-6]"/>
283283
<exampleNumber>129</exampleNumber>
284284
</shortCode>
285285
<tollFree>
@@ -430,7 +430,7 @@
430430
<carrierSpecific>
431431
<!-- https://support.twitter.com/articles/20170024 -->
432432
<nationalNumberPattern>89338</nationalNumberPattern>
433-
<possibleLengths national="3,5"/>
433+
<possibleLengths national="5"/>
434434
<exampleNumber>89338</exampleNumber>
435435
</carrierSpecific>
436436
<emergency>
@@ -3318,7 +3318,7 @@
33183318
[12]|
33193319
4[24]|
33203320
54
3321-
)
3321+
)|
33223322
55[12457]
33233323
)|
33243324
3(?:
@@ -3481,7 +3481,7 @@
34813481
<smsServices>
34823482
<nationalNumberPattern>
34833483
1(?:
3484-
18[1258]
3484+
18[1258]|
34853485
2(?:
34863486
0(?:
34873487
1[036]|
@@ -4207,7 +4207,7 @@
42074207
36665|
42084208
[4-8]\d{4}
42094209
</nationalNumberPattern>
4210-
<possibleLengths national="5,6"/>
4210+
<possibleLengths national="5"/>
42114211
<exampleNumber>42000</exampleNumber>
42124212
</premiumRate>
42134213
<carrierSpecific>
@@ -8738,13 +8738,22 @@
87388738
<!-- http://en.wikipedia.org/wiki/Telephone_numbers_in_Niue -->
87398739
<territory id="NU">
87408740
<generalDesc>
8741-
<nationalNumberPattern>9\d{2}</nationalNumberPattern>
8741+
<nationalNumberPattern>[019]\d{2}</nationalNumberPattern>
87428742
</generalDesc>
87438743
<shortCode>
8744-
<nationalNumberPattern>999</nationalNumberPattern>
8744+
<nationalNumberPattern>
8745+
01[05]|
8746+
101|
8747+
999
8748+
</nationalNumberPattern>
87458749
<possibleLengths national="3"/>
87468750
<exampleNumber>999</exampleNumber>
87478751
</shortCode>
8752+
<carrierSpecific>
8753+
<nationalNumberPattern>010</nationalNumberPattern>
8754+
<possibleLengths national="3"/>
8755+
<exampleNumber>010</exampleNumber>
8756+
</carrierSpecific>
87488757
<emergency>
87498758
<nationalNumberPattern>999</nationalNumberPattern>
87508759
<possibleLengths national="3"/>
@@ -11876,6 +11885,7 @@
1187611885
<shortCode>
1187711886
<nationalNumberPattern>
1187811887
11[2469]|
11888+
3\d{4}|
1187911889
9(?:
1188011890
5[023]|
1188111891
6[0-25]|

resources/carrier/en/58.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,5 @@
1515
58412|Digitel GSM
1616
58414|movistar
1717
58416|Movilnet
18+
58424|movistar
1819
58426|Movilnet

resources/carrier/en/996.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,5 @@
2323
99670|Nur Telecom
2424
996755|ALFA Telecom
2525
99677|Sky mobile
26+
996996|Sky mobile
27+
996999|Sky mobile

resources/geocoding/en/996.txt

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
# Copyright (C) 2018 The Libphonenumber Authors
2+
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
# Generated from: https://www.itu.int/oth/T0202000074/en
16+
17+
996312|Bishkek, Chuy region
18+
9963131|Belovodskoe, Chuy region
19+
9963132|Kant, Chuy region
20+
9963133|Kara-Balta, Chuy region
21+
9963134|Sokuluk, Chuy region
22+
9963135|Kemin, Chuy region
23+
9963137|Kayndy, Chuy region
24+
9963138|Tokmok, Chuy region
25+
9963139|Lebedinovka, Chuy region
26+
9963222|Osh
27+
9963230|Eski-Nookat, Osh region
28+
9963231|Aravan, Osh region
29+
9963232|Kara-Suu, Osh region
30+
9963233|Uzgen, Osh region
31+
9963234|Gulcha, Osh region
32+
9963237|Daroot-Korgon, Osh region
33+
9963239|Kara-Kulja, Osh region
34+
9963422|Talas
35+
9963456|Kyzyl-Adyr, Talas region
36+
9963457|Bakay-Ata, Talas region
37+
9963458|Kokoy, Talas region
38+
9963459|Pokrovka, Talas region
39+
9963522|Naryn
40+
9963534|At-Bashy, Naryn region
41+
9963535|Kochkor, Naryn region
42+
9963536|Chaek/Minkush, Naryn region
43+
9963537|Baetov, Naryn region
44+
9963622|Batken, Naryn region
45+
9963653|Sulukta, Naryn region
46+
9963655|Pulgon, Naryn region
47+
9963656|Isfana, Naryn region
48+
9963657|Kyzylkia, Naryn region
49+
9963722|Jalal-Abat
50+
9963734|Massy/Kochkor-Ata, Jalal-Abat region
51+
9963736|Bazarkorgon, Jalal-Abat region
52+
9963738|Kazarman, Jalal-Abat region
53+
9963741|Ala-Buka, Jalal-Abat region
54+
9963742|Kerben, Jalal-Abat region
55+
9963744|Mailuu-Suu, Jalal-Abat region
56+
9963745|Tash-Kumyr, Jalal-Abat region
57+
9963746|Kara-Kul, Jalal-Abat region
58+
9963747|Toktogul, Jalal-Abat region
59+
9963748|Kok-Jangak/Suzak, Jalal-Abat region
60+
9963749|Kanysh-Kya (Chatkal), Jalal-Abat region
61+
9963922|Karakol, Issyk-Ko region
62+
9963942|Ananyevo, Issyk-Ko region
63+
9963943|Cholpon-Ata, Issyk-Ko region
64+
9963944|Balykchy, Issyk-Ko region
65+
9963945|Tup, Issyk-Ko region
66+
9963946|Kyzyl-Suu, Issyk-Ko region
67+
9963947|Bokombaevo/Kadji-Say, Issyk-Ko region
68+
9963948|Ak-Suu, Issyk-Ko region

resources/geocoding/es/52.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@
190190
52496|Zacatecas
191191
52498|Zacatecas
192192
52499|Jalisco/Zacatecas
193-
5255|Cuidad de México, CDMX
193+
5255|Ciudad de México, CDMX
194194
52586|Tlalmanalco, MEX
195195
52587|Amecameca, MEX
196196
52588|Estado de Mexico

0 commit comments

Comments
 (0)