getBO function
Phone Number JSON data for BO
Implementation
Map<String, Object?> getBO() {
return {
"generalDesc": {
"nationalNumberPattern": "8001\\d{5}|(?:[2-467]\\d|50)\\d{6}",
"possibleLength": [8, 9],
"possibleLengthLocalOnly": [7]
},
"fixedLine": {
"nationalNumberPattern":
"(?:2(?:2\\d\\d|5(?:11|[258]\\d|9[67])|6(?:12|2\\d|9[34])|8(?:2[34]|39|62))|3(?:3\\d\\d|4(?:6\\d|8[24])|8(?:25|42|5[257]|86|9[25])|9(?:[27]\\d|3[2-4]|4[248]|5[24]|6[2-6]))|4(?:4\\d\\d|6(?:11|[24689]\\d|72)))\\d{4}",
"exampleNumber": "22123456",
"possibleLength": [8],
"possibleLengthLocalOnly": [7]
},
"mobile": {
"nationalNumberPattern": "[67]\\d{7}",
"exampleNumber": "71234567",
"possibleLength": [8],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"nationalNumberPattern": "8001[07]\\d{4}",
"exampleNumber": "800171234",
"possibleLength": [9],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"nationalNumberPattern": "50\\d{6}",
"exampleNumber": "50123456",
"possibleLength": [8],
"possibleLengthLocalOnly": [7]
},
"id": "BO",
"countryCode": 591,
"internationalPrefix": "00(?:1\\d)?",
"nationalPrefix": "0",
"nationalPrefixForParsing": "0(1\\d)?",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d)(\\d{7})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[235]|4[46]"],
"domesticCarrierCodeFormattingRule": "0\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{8})",
"format": "\$1",
"leadingDigitsPattern": ["[67]"],
"domesticCarrierCodeFormattingRule": "0\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{2})(\\d{4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["8"],
"domesticCarrierCodeFormattingRule": "0\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d)(\\d{7})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[235]|4[46]"],
"domesticCarrierCodeFormattingRule": "0\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{8})",
"format": "\$1",
"leadingDigitsPattern": ["[67]"],
"domesticCarrierCodeFormattingRule": "0\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{2})(\\d{4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["8"],
"domesticCarrierCodeFormattingRule": "0\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
}
],
"pager": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"mainCountryForCode": false,
"noInternationalDialling": {
"nationalNumberPattern": "8001[07]\\d{4}",
"possibleLength": [9],
"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]
}
};
}