getNC function
Phone Number JSON data for NC
Implementation
Map<String, Object?> getNC() {
return {
"generalDesc": {
"nationalNumberPattern": "(?:050|[2-57-9]\\d\\d)\\d{3}",
"possibleLength": [6]
},
"fixedLine": {
"nationalNumberPattern": "(?:2[03-9]|3[0-5]|4[1-7]|88)\\d{4}",
"exampleNumber": "201234",
"possibleLength": [6],
"possibleLengthLocalOnly": [-1]
},
"mobile": {
"nationalNumberPattern": "(?:5[0-4]|[79]\\d|8[0-79])\\d{4}",
"exampleNumber": "751234",
"possibleLength": [6],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"nationalNumberPattern": "050\\d{3}",
"exampleNumber": "050012",
"possibleLength": [6],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"nationalNumberPattern": "36\\d{4}",
"exampleNumber": "366711",
"possibleLength": [6],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"id": "NC",
"countryCode": 687,
"internationalPrefix": "00",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{3})",
"format": "\$1",
"leadingDigitsPattern": ["5[6-8]"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1.\$2.\$3",
"leadingDigitsPattern": ["[02-57-9]"],
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1.\$2.\$3",
"leadingDigitsPattern": ["[02-57-9]"],
"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]
}
};
}