getBM function
Phone Number JSON data for BM
Implementation
Map<String, Object?> getBM() {
return {
"generalDesc": {
"nationalNumberPattern": "(?:441|[58]\\d\\d|900)\\d{7}",
"possibleLength": [10],
"possibleLengthLocalOnly": [7]
},
"fixedLine": {
"nationalNumberPattern": "441(?:[46]\\d\\d|5(?:4\\d|60|89))\\d{4}",
"exampleNumber": "4414123456",
"possibleLength": [10],
"possibleLengthLocalOnly": [7]
},
"mobile": {
"nationalNumberPattern": "441(?:[2378]\\d|5[0-39]|9[02])\\d{5}",
"exampleNumber": "4413701234",
"possibleLength": [10],
"possibleLengthLocalOnly": [7]
},
"tollFree": {
"nationalNumberPattern": "8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",
"exampleNumber": "8002123456",
"possibleLength": [10],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"nationalNumberPattern": "900[2-9]\\d{6}",
"exampleNumber": "9002123456",
"possibleLength": [10],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"nationalNumberPattern":
"52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|33|44|66|77|88)[2-9]\\d{6}",
"exampleNumber": "5002345678",
"possibleLength": [10],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"id": "BM",
"countryCode": 1,
"internationalPrefix": "011",
"nationalPrefix": "1",
"nationalPrefixForParsing": "([2-9]\\d{6})\$|1",
"nationalPrefixTransformRule": "441\$1",
"sameMobileAndFixedLinePattern": false,
"pager": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"mainCountryForCode": false,
"leadingDigits": "441",
"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]
}
};
}