getLU function
Phone Number JSON data for LU
Implementation
Map<String, Object?> getLU() {
return {
"generalDesc": {
"nationalNumberPattern":
"35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}",
"possibleLength": [4, 5, 6, 7, 8, 9, 10, 11]
},
"fixedLine": {
"nationalNumberPattern":
"(?:35[013-9]|80[2-9]|90[89])\\d{1,8}|(?:2[2-9]|3[0-46-9]|[457]\\d|8[13-9]|9[2-579])\\d{2,9}",
"exampleNumber": "27123456",
"possibleLength": [4, 5, 6, 7, 8, 9, 10, 11],
"possibleLengthLocalOnly": [-1]
},
"mobile": {
"nationalNumberPattern": "6(?:[269][18]|5[1568]|7[189]|81)\\d{6}",
"exampleNumber": "628123456",
"possibleLength": [9],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"nationalNumberPattern": "800\\d{5}",
"exampleNumber": "80012345",
"possibleLength": [8],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"nationalNumberPattern": "90[015]\\d{5}",
"exampleNumber": "90012345",
"possibleLength": [8],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"nationalNumberPattern": "801\\d{5}",
"exampleNumber": "80112345",
"possibleLength": [8],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"nationalNumberPattern": "20(?:1\\d{5}|[2-689]\\d{1,7})",
"exampleNumber": "20201234",
"possibleLength": [4, 5, 6, 7, 8, 9, 10],
"possibleLengthLocalOnly": [-1]
},
"id": "LU",
"countryCode": 352,
"internationalPrefix": "00",
"nationalPrefixForParsing":
"(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{2})(\\d{3})",
"format": "\$1 \$2",
"leadingDigitsPattern": [
"2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"
],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": [
"2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"
],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["20[2-689]"],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["2(?:[0367]|4[3-8])"],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{2})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["80[01]|90[015]"],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})(\\d{3})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["20"],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{3})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["6"],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})",
"format": "\$1 \$2 \$3 \$4 \$5",
"leadingDigitsPattern": ["2(?:[0367]|4[3-8])"],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": [
"[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"
],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d{2})(\\d{3})",
"format": "\$1 \$2",
"leadingDigitsPattern": [
"2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"
],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": [
"2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"
],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["20[2-689]"],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["2(?:[0367]|4[3-8])"],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{2})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["80[01]|90[015]"],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})(\\d{3})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["20"],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{3})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["6"],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})",
"format": "\$1 \$2 \$3 \$4 \$5",
"leadingDigitsPattern": ["2(?:[0367]|4[3-8])"],
"domesticCarrierCodeFormattingRule": "\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": [
"[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"
],
"domesticCarrierCodeFormattingRule": "\$CC \$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": true,
"smsServices": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
}
};
}