getRS function

Map<String, Object?> getRS()

Phone Number JSON data for RS

Implementation

Map<String, Object?> getRS() {
  return {
    "generalDesc": {
      "nationalNumberPattern":
          "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}",
      "possibleLength": [6, 7, 8, 9, 10, 11, 12],
      "possibleLengthLocalOnly": [4, 5, 6]
    },
    "fixedLine": {
      "nationalNumberPattern":
          "(?:11[1-9]\\d|(?:2[389]|39)(?:0[2-9]|[2-9]\\d))\\d{3,8}|(?:1[02-9]|2[0-24-7]|3[0-8])[2-9]\\d{4,9}",
      "exampleNumber": "10234567",
      "possibleLength": [7, 8, 9, 10, 11, 12],
      "possibleLengthLocalOnly": [4, 5, 6]
    },
    "mobile": {
      "nationalNumberPattern": "6(?:[0-689]|7\\d)\\d{6,7}",
      "exampleNumber": "601234567",
      "possibleLength": [8, 9, 10],
      "possibleLengthLocalOnly": [-1]
    },
    "tollFree": {
      "nationalNumberPattern": "800\\d{3,9}",
      "exampleNumber": "80012345",
      "possibleLength": [6, 7, 8, 9, 10, 11, 12],
      "possibleLengthLocalOnly": [-1]
    },
    "premiumRate": {
      "nationalNumberPattern": "(?:78\\d|90[0169])\\d{3,7}",
      "exampleNumber": "90012345",
      "possibleLength": [6, 7, 8, 9, 10],
      "possibleLengthLocalOnly": [-1]
    },
    "sharedCost": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "personalNumber": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "voip": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "id": "RS",
    "countryCode": 381,
    "internationalPrefix": "00",
    "nationalPrefix": "0",
    "nationalPrefixForParsing": "0",
    "sameMobileAndFixedLinePattern": false,
    "numberFormat": [
      {
        "pattern": "(\\d{3})(\\d{3,9})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["(?:2[389]|39)0|[7-9]"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{2})(\\d{5,10})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["[1-36]"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      }
    ],
    "intlNumberFormat": [
      {
        "pattern": "(\\d{3})(\\d{3,9})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["(?:2[389]|39)0|[7-9]"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{2})(\\d{5,10})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["[1-36]"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      }
    ],
    "pager": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "mainCountryForCode": false,
    "noInternationalDialling": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "uan": {
      "nationalNumberPattern": "7[06]\\d{4,10}",
      "exampleNumber": "700123456",
      "possibleLength": [6, 7, 8, 9, 10, 11, 12],
      "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": true,
    "smsServices": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    }
  };
}