getMN function
Phone Number JSON data for MN
Implementation
Map<String, Object?> getMN() {
return {
"generalDesc": {
"nationalNumberPattern": "[12]\\d{7,9}|[5-9]\\d{7}",
"possibleLength": [8, 9, 10],
"possibleLengthLocalOnly": [4, 5, 6]
},
"fixedLine": {
"nationalNumberPattern":
"[12]2[1-3]\\d{5,6}|(?:(?:[12](?:1|27)|5[368])\\d\\d|7(?:0(?:[0-5]\\d|7[078]|80)|128))\\d{4}|[12](?:3[2-8]|4[2-68]|5[1-4689])\\d{6,7}",
"exampleNumber": "53123456",
"possibleLength": [8, 9, 10],
"possibleLengthLocalOnly": [4, 5, 6]
},
"mobile": {
"nationalNumberPattern":
"(?:83[01]|92[039])\\d{5}|(?:5[05]|6[069]|72|8[015689]|9[013-9])\\d{6}",
"exampleNumber": "88123456",
"possibleLength": [8],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"nationalNumberPattern": "712[0-79]\\d{4}|7(?:1[013-9]|[5-9]\\d)\\d{5}",
"exampleNumber": "75123456",
"possibleLength": [8],
"possibleLengthLocalOnly": [-1]
},
"id": "MN",
"countryCode": 976,
"internationalPrefix": "001",
"nationalPrefix": "0",
"nationalPrefixForParsing": "0",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{2})(\\d{2})(\\d{4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["[12]1"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{4})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[5-9]"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{5,6})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[12]2[1-3]"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{4})(\\d{5,6})",
"format": "\$1 \$2",
"leadingDigitsPattern": [
"[12](?:27|3[2-8]|4[2-68]|5[1-4689])",
"[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"
],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{5})(\\d{4,5})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[12]"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d{2})(\\d{2})(\\d{4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["[12]1"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{4})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[5-9]"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{5,6})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[12]2[1-3]"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{4})(\\d{5,6})",
"format": "\$1 \$2",
"leadingDigitsPattern": [
"[12](?:27|3[2-8]|4[2-68]|5[1-4689])",
"[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"
],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{5})(\\d{4,5})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[12]"],
"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]
}
};
}