getBS function
Phone Number JSON data for BS
Implementation
Map<String, Object?> getBS() {
return {
"generalDesc": {
"nationalNumberPattern": "(?:242|[58]\\d\\d|900)\\d{7}",
"possibleLength": [10],
"possibleLengthLocalOnly": [7]
},
"fixedLine": {
"nationalNumberPattern":
"242(?:3(?:02|[236][1-9]|4[0-24-9]|5[0-68]|7[347]|8[0-4]|9[2-467])|461|502|6(?:0[1-5]|12|2[013]|[45]0|7[67]|8[78]|9[89])|7(?:02|88))\\d{4}",
"exampleNumber": "2423456789",
"possibleLength": [10],
"possibleLengthLocalOnly": [7]
},
"mobile": {
"nationalNumberPattern":
"242(?:3(?:5[79]|7[56]|95)|4(?:[23][1-9]|4[1-35-9]|5[1-8]|6[2-8]|7\\d|81)|5(?:2[45]|3[35]|44|5[1-46-9]|65|77)|6[34]6|7(?:27|38)|8(?:0[1-9]|1[02-9]|2\\d|3[0-4]|[89]9))\\d{4}",
"exampleNumber": "2423591234",
"possibleLength": [10],
"possibleLengthLocalOnly": [7]
},
"tollFree": {
"nationalNumberPattern":
"242300\\d{4}|8(?:00|33|44|55|66|77|88)[2-9]\\d{6}",
"exampleNumber": "8002123456",
"possibleLength": [10],
"possibleLengthLocalOnly": [7]
},
"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": "BS",
"countryCode": 1,
"internationalPrefix": "011",
"nationalPrefix": "1",
"nationalPrefixForParsing": "([3-8]\\d{6})\$|1",
"nationalPrefixTransformRule": "242\$1",
"sameMobileAndFixedLinePattern": false,
"pager": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"mainCountryForCode": false,
"leadingDigits": "242",
"noInternationalDialling": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"uan": {
"nationalNumberPattern": "242225\\d{4}",
"exampleNumber": "2422250123",
"possibleLength": [10],
"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]
}
};
}