getHN function
Phone Number JSON data for HN
Implementation
Map<String, Object?> getHN() {
return {
"generalDesc": {
"nationalNumberPattern": "8\\d{10}|[237-9]\\d{7}",
"possibleLength": [8, 11]
},
"fixedLine": {
"nationalNumberPattern":
"2(?:2(?:0[0-59]|1[1-9]|[23]\\d|4[02-6]|5[57]|6[245]|7[0135689]|8[01346-9]|9[0-2])|4(?:0[578]|2[3-59]|3[13-9]|4[0-68]|5[1-3589])|5(?:0[2357-9]|1[1-356]|4[03-5]|5\\d|6[014-69]|7[04]|80)|6(?:[056]\\d|17|2[067]|3[047]|4[0-378]|[78][0-8]|9[01])|7(?:0[5-79]|6[46-9]|7[02-9]|8[034]|91)|8(?:79|8[0-357-9]|9[1-57-9]))\\d{4}",
"exampleNumber": "22123456",
"possibleLength": [8],
"possibleLengthLocalOnly": [-1]
},
"mobile": {
"nationalNumberPattern": "[37-9]\\d{7}",
"exampleNumber": "91234567",
"possibleLength": [8],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"nationalNumberPattern": "8002\\d{7}",
"exampleNumber": "80021234567",
"possibleLength": [11],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"id": "HN",
"countryCode": 504,
"internationalPrefix": "00",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{4})(\\d{4})",
"format": "\$1-\$2",
"leadingDigitsPattern": ["[237-9]"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{4})(\\d{4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["8"],
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d{4})(\\d{4})",
"format": "\$1-\$2",
"leadingDigitsPattern": ["[237-9]"],
"nationalPrefixOptionalWhenFormatting": false
}
],
"pager": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"mainCountryForCode": false,
"noInternationalDialling": {
"nationalNumberPattern": "8002\\d{7}",
"possibleLength": [11],
"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]
}
};
}