getUY function
Phone Number JSON data for UY
Implementation
Map<String, Object?> getUY() {
return {
"generalDesc": {
"nationalNumberPattern": "0004\\d{2,9}|[1249]\\d{7}|(?:[49]\\d|80)\\d{5}",
"possibleLength": [6, 7, 8, 9, 10, 11, 12, 13],
"possibleLengthLocalOnly": [7]
},
"fixedLine": {
"nationalNumberPattern":
"(?:1(?:770|9(?:20|[89]7))|(?:2\\d|4[2-7])\\d\\d)\\d{4}",
"exampleNumber": "21231234",
"possibleLength": [8],
"possibleLengthLocalOnly": [7]
},
"mobile": {
"nationalNumberPattern": "9[1-9]\\d{6}",
"exampleNumber": "94231234",
"possibleLength": [8],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"nationalNumberPattern": "0004\\d{2,9}|(?:405|80[05])\\d{4}",
"exampleNumber": "8001234",
"possibleLength": [6, 7, 8, 9, 10, 11, 12, 13],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"nationalNumberPattern": "90[0-8]\\d{4}",
"exampleNumber": "9001234",
"possibleLength": [7],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"id": "UY",
"countryCode": 598,
"internationalPrefix": "0(?:0|1[3-9]\\d)",
"nationalPrefix": "0",
"preferredExtnPrefix": " int. ",
"nationalPrefixForParsing": "0",
"preferredInternationalPrefix": "00",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{3})(\\d{3,4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["0"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[49]0|8"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{3})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["9"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{4})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[124]"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{3})(\\d{2,4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["0"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["0"],
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d{3})(\\d{3,4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["0"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[49]0|8"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{2})(\\d{3})(\\d{3})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["9"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{4})(\\d{4})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["[124]"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{3})(\\d{2,4})",
"format": "\$1 \$2 \$3",
"leadingDigitsPattern": ["0"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["0"],
"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]
}
};
}