getFI function

Map<String, Object?> getFI()

Phone Number JSON data for FI

Implementation

Map<String, Object?> getFI() {
  return {
    "generalDesc": {
      "nationalNumberPattern":
          "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",
      "possibleLength": [5, 6, 7, 8, 9, 10, 11, 12]
    },
    "fixedLine": {
      "nationalNumberPattern":
          "1[35-7][1-8]\\d{3,6}|(?:1[49][1-8]|[23568][1-8]\\d|9(?:00|[1-8]\\d))\\d{2,6}",
      "exampleNumber": "131234567",
      "possibleLength": [5, 6, 7, 8, 9],
      "possibleLengthLocalOnly": [-1]
    },
    "mobile": {
      "nationalNumberPattern": "4946\\d{2,6}|(?:4[0-8]|50)\\d{4,8}",
      "exampleNumber": "412345678",
      "possibleLength": [6, 7, 8, 9, 10],
      "possibleLengthLocalOnly": [-1]
    },
    "tollFree": {
      "nationalNumberPattern": "800\\d{4,6}",
      "exampleNumber": "800123456",
      "possibleLength": [7, 8, 9],
      "possibleLengthLocalOnly": [-1]
    },
    "premiumRate": {
      "nationalNumberPattern": "[67]00\\d{5,6}",
      "exampleNumber": "600123456",
      "possibleLength": [8, 9],
      "possibleLengthLocalOnly": [-1]
    },
    "sharedCost": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "personalNumber": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "voip": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "id": "FI",
    "countryCode": 358,
    "internationalPrefix":
        "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))",
    "nationalPrefix": "0",
    "nationalPrefixForParsing": "0",
    "preferredInternationalPrefix": "00",
    "sameMobileAndFixedLinePattern": false,
    "numberFormat": [
      {
        "pattern": "(\\d{5})",
        "format": "\$1",
        "leadingDigitsPattern": ["75[12]"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{5})",
        "format": "\$1",
        "leadingDigitsPattern": ["20[2-59]"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{6})",
        "format": "\$1",
        "leadingDigitsPattern": ["11"],
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{3})(\\d{3,7})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["(?:[1-3]0|[68])0|70[07-9]"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{2})(\\d{4,8})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["[14]|2[09]|50|7[135]"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{2})(\\d{6,10})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["7"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d)(\\d{4,9})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      }
    ],
    "intlNumberFormat": [
      {
        "pattern": "(\\d{5})",
        "format": "\$1",
        "leadingDigitsPattern": ["20[2-59]"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{3})(\\d{3,7})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["(?:[1-3]0|[68])0|70[07-9]"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{2})(\\d{4,8})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["[14]|2[09]|50|7[135]"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{2})(\\d{6,10})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["7"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d)(\\d{4,9})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["(?:1[49]|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"],
        "nationalPrefixFormattingRule": "0\$1",
        "nationalPrefixOptionalWhenFormatting": false
      }
    ],
    "pager": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "mainCountryForCode": true,
    "leadingDigits": "1[03-79]|[2-9]",
    "noInternationalDialling": {
      "nationalNumberPattern":
          "20(?:2[023]|9[89])\\d{1,6}|(?:60[12]\\d|7099)\\d{4,5}|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:[1-3]00|7(?:0[1-5]\\d\\d|5[03-9]))\\d{3,7}",
      "possibleLength": [5, 6, 7, 8, 9, 10, 11, 12],
      "possibleLengthLocalOnly": [-1]
    },
    "uan": {
      "nationalNumberPattern":
          "20\\d{4,8}|60[12]\\d{5,6}|7(?:099\\d{4,5}|5[03-9]\\d{3,7})|20[2-59]\\d\\d|(?:606|7(?:0[78]|1|3\\d))\\d{7}|(?:10|29|3[09]|70[1-5]\\d)\\d{4,8}",
      "exampleNumber": "10112345",
      "possibleLength": [5, 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]
    }
  };
}