getZW function
Phone Number JSON data for ZW
Implementation
Map<String, Object?> getZW() {
return {
"generalDesc": {
"nationalNumberPattern": "8\\d{6}(?:\\d{3})?|[235-8]\\d{8}",
"possibleLength": [7, 9, 10],
"possibleLengthLocalOnly": [6, 7]
},
"fixedLine": {
"nationalNumberPattern":
"(?:2(?:02[014]|(?:42|9\\d)\\d|[56]20|72[03])|3(?:123|92\\d)|5(?:42\\d|525)|6(?:[16-8]21|52[013])|8(?:[1349]28|523))\\d{5}",
"exampleNumber": "202012345",
"possibleLength": [9],
"possibleLengthLocalOnly": [6, 7]
},
"mobile": {
"nationalNumberPattern": "7(?:[1278]\\d|3[1-9]|51|9[01])\\d{6}",
"exampleNumber": "712345678",
"possibleLength": [9],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"nationalNumberPattern": "80(?:[01]\\d|20|8[0-8])\\d{3}",
"exampleNumber": "8001234",
"possibleLength": [7],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"nationalNumberPattern": "86(?:1[12]|22|30|44|55|77|8[368])\\d{6}",
"exampleNumber": "8686123456",
"possibleLength": [10],
"possibleLengthLocalOnly": [-1]
},
"id": "ZW",
"countryCode": 263,
"internationalPrefix": "00",
"nationalPrefix": "0",
"nationalPrefixForParsing": "0",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{3})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["80"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{3})(\\d{3,4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["29[013-9]"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{7})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[256]|39|8[13-59]"],
"nationalPrefixFormattingRule": "(0\$1)",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{3})(\\d{4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["7"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{3})(\\d{3,4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["3"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{4})(\\d{6})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["8"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d{3})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["80"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{3})(\\d{3,4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["29[013-9]"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{7})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[256]|39|8[13-59]"],
"nationalPrefixFormattingRule": "(0\$1)",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{3})(\\d{4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["7"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{3})(\\d{3,4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["3"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{4})(\\d{6})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["8"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
}
],
"pager": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"mainCountryForCode": false,
"noInternationalDialling": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"uan": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"emergency": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voicemail": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"shortCode": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"standardRate": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"carrierSpecific": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"mobileNumberPortableRegion": false,
"smsServices": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
}
};
}