getLR function
Phone Number JSON data for LR
Implementation
Map<String, Object?> getLR() {
return {
"generalDesc": {
"nationalNumberPattern":
"(?:[245]\\d|33|77|88)\\d{7}|(?:2\\d|[4-6])\\d{6}",
"possibleLength": [7, 8, 9]
},
"fixedLine": {
"nationalNumberPattern": "2\\d{7}",
"exampleNumber": "21234567",
"possibleLength": [8],
"possibleLengthLocalOnly": [-1]
},
"mobile": {
"nationalNumberPattern":
"(?:(?:(?:22|33)0|555|(?:77|88)\\d)\\d|4(?:240|[67]))\\d{5}|[56]\\d{6}",
"exampleNumber": "770123456",
"possibleLength": [7, 9],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"nationalNumberPattern": "332(?:02|[34]\\d)\\d{4}",
"exampleNumber": "332021234",
"possibleLength": [9],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"id": "LR",
"countryCode": 231,
"internationalPrefix": "00",
"nationalPrefix": "0",
"nationalPrefixForParsing": "0",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d)(\\d{3})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["4[67]|[56]"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{3})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["2"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{3})(\\d{4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["[2-578]"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d)(\\d{3})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["4[67]|[56]"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{3})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["2"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{3})(\\d{4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["[2-578]"],
"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]
}
};
}