getIS function
Phone Number JSON data for IS
Implementation
Map<String, Object?> getIS() {
return {
"generalDesc": {
"nationalNumberPattern": "(?:38\\d|[4-9])\\d{6}",
"possibleLength": [7, 9]
},
"fixedLine": {
"nationalNumberPattern":
"(?:4(?:1[0-24-69]|2[0-7]|[37][0-8]|4[0-24589]|5[0-68]|6\\d|8[0-36-8])|5(?:05|[156]\\d|2[02578]|3[0-579]|4[03-7]|7[0-2578]|8[0-35-9]|9[013-689])|872)\\d{4}",
"exampleNumber": "4101234",
"possibleLength": [7],
"possibleLengthLocalOnly": [-1]
},
"mobile": {
"nationalNumberPattern":
"(?:38[589]\\d\\d|6(?:1[1-8]|2[0-6]|3[026-9]|4[014679]|5[0159]|6[0-69]|70|8[06-8]|9\\d)|7(?:5[057]|[6-9]\\d)|8(?:2[0-59]|[3-69]\\d|8[238]))\\d{4}",
"exampleNumber": "6111234",
"possibleLength": [7, 9],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"nationalNumberPattern": "80[0-8]\\d{4}",
"exampleNumber": "8001234",
"possibleLength": [7],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"nationalNumberPattern":
"90(?:0\\d|1[5-79]|2[015-79]|3[135-79]|4[125-7]|5[25-79]|7[1-37]|8[0-35-7])\\d{3}",
"exampleNumber": "9001234",
"possibleLength": [7],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"nationalNumberPattern": "49[0-24-79]\\d{4}",
"exampleNumber": "4921234",
"possibleLength": [7],
"possibleLengthLocalOnly": [-1]
},
"id": "IS",
"countryCode": 354,
"internationalPrefix": "00|1(?:0(?:01|[12]0)|100)",
"preferredInternationalPrefix": "00",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{3})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[4-9]"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{3})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["3"],
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d{3})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[4-9]"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{3})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["3"],
"nationalPrefixOptionalWhenFormatting": false
}
],
"pager": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"mainCountryForCode": false,
"noInternationalDialling": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"uan": {
"nationalNumberPattern": "809\\d{4}",
"exampleNumber": "8091234",
"possibleLength": [7],
"possibleLengthLocalOnly": [-1]
},
"emergency": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voicemail": {
"nationalNumberPattern": "(?:689|8(?:7[18]|80)|95[48])\\d{4}",
"exampleNumber": "6891234",
"possibleLength": [7],
"possibleLengthLocalOnly": [-1]
},
"shortCode": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"standardRate": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"carrierSpecific": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"mobileNumberPortableRegion": true,
"smsServices": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
}
};
}