getCO function
Phone Number JSON data for CO
Implementation
Map<String, Object?> getCO() {
return {
"generalDesc": {
"nationalNumberPattern": "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}",
"possibleLength": [8, 10, 11],
"possibleLengthLocalOnly": [4, 7]
},
"fixedLine": {
"nationalNumberPattern":
"601055(?:[0-4]\\d|50)\\d\\d|6010(?:[0-4]\\d|5[0-4])\\d{4}|(?:46|60(?:[124-7][2-9]|8[1-9]))\\d{6}",
"exampleNumber": "6012345678",
"possibleLength": [8, 10],
"possibleLengthLocalOnly": [4, 7]
},
"mobile": {
"nationalNumberPattern":
"333301[0-5]\\d{3}|3333(?:00|2[5-9]|[3-9]\\d)\\d{4}|(?:3(?:24[1-9]|3(?:00|3[0-24-9]))|9101)\\d{6}|3(?:0[0-5]|1\\d|2[0-3]|5[01]|70)\\d{7}",
"exampleNumber": "3211234567",
"possibleLength": [10],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"nationalNumberPattern": "1800\\d{7}",
"exampleNumber": "18001234567",
"possibleLength": [11],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"nationalNumberPattern": "(?:19(?:0[01]|4[78])|901)\\d{7}",
"exampleNumber": "19001234567",
"possibleLength": [10, 11],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"id": "CO",
"countryCode": 57,
"internationalPrefix": "00(?:4(?:[14]4|56)|[579])",
"nationalPrefix": "0",
"nationalPrefixForParsing": "0([3579]|4(?:[14]4|56))?",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{4})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["46"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{7})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["6|90"],
"nationalPrefixFormattingRule": "(\$1)",
"domesticCarrierCodeFormattingRule": "0\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{7})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["3[0-357]|91"],
"domesticCarrierCodeFormattingRule": "0\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d)(\\d{3})(\\d{7})",
"format": "\$1-\$2-\$3",
"leadingDigitsPattern": ["1"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d{4})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["46"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{7})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["6|90"],
"nationalPrefixFormattingRule": "(\$1)",
"domesticCarrierCodeFormattingRule": "0\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{7})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["3[0-357]|91"],
"domesticCarrierCodeFormattingRule": "0\$CC \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d)(\\d{3})(\\d{7})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["1"],
"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": true,
"smsServices": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
}
};
}