getVA function
Phone Number JSON data for VA
Implementation
Map<String, Object?> getVA() {
return {
"generalDesc": {
"nationalNumberPattern":
"0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}",
"possibleLength": [6, 7, 8, 9, 10, 11, 12]
},
"fixedLine": {
"nationalNumberPattern": "06698\\d{1,6}",
"exampleNumber": "0669812345",
"possibleLength": [6, 7, 8, 9, 10, 11],
"possibleLengthLocalOnly": [-1]
},
"mobile": {
"nationalNumberPattern": "3[1-9]\\d{8}|3[2-9]\\d{7}",
"exampleNumber": "3123456789",
"possibleLength": [9, 10],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"nationalNumberPattern": "80(?:0\\d{3}|3)\\d{3}",
"exampleNumber": "800123456",
"possibleLength": [6, 9],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"nationalNumberPattern":
"(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}",
"exampleNumber": "899123456",
"possibleLength": [6, 8, 9, 10],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"nationalNumberPattern": "84(?:[08]\\d{3}|[17])\\d{3}",
"exampleNumber": "848123456",
"possibleLength": [6, 9],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"nationalNumberPattern": "1(?:78\\d|99)\\d{6}",
"exampleNumber": "1781234567",
"possibleLength": [9, 10],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"nationalNumberPattern": "55\\d{8}",
"exampleNumber": "5512345678",
"possibleLength": [10],
"possibleLengthLocalOnly": [-1]
},
"id": "VA",
"countryCode": 39,
"internationalPrefix": "00",
"sameMobileAndFixedLinePattern": false,
"pager": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"mainCountryForCode": false,
"leadingDigits": "06698",
"noInternationalDialling": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"uan": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"emergency": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voicemail": {
"nationalNumberPattern": "3[2-8]\\d{9,10}",
"exampleNumber": "33101234501",
"possibleLength": [11, 12],
"possibleLengthLocalOnly": [-1]
},
"shortCode": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"standardRate": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"carrierSpecific": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"mobileNumberPortableRegion": true,
"smsServices": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
}
};
}