getGN function
Phone Number JSON data for GN
Implementation
Map<String, Object?> getGN() {
return {
"generalDesc": {
"nationalNumberPattern": "722\\d{6}|(?:3|6\\d)\\d{7}",
"possibleLength": [8, 9]
},
"fixedLine": {
"nationalNumberPattern":
"3(?:0(?:24|3[12]|4[1-35-7]|5[13]|6[189]|[78]1|9[1478])|1\\d\\d)\\d{4}",
"exampleNumber": "30241234",
"possibleLength": [8],
"possibleLengthLocalOnly": [-1]
},
"mobile": {
"nationalNumberPattern": "6[0-356]\\d{7}",
"exampleNumber": "601123456",
"possibleLength": [9],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"nationalNumberPattern": "722\\d{6}",
"exampleNumber": "722123456",
"possibleLength": [9],
"possibleLengthLocalOnly": [-1]
},
"id": "GN",
"countryCode": 224,
"internationalPrefix": "00",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["3"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["[67]"],
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["3"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["[67]"],
"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": false,
"smsServices": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
}
};
}