getCR function

Map<String, Object?> getCR()

Phone Number JSON data for CR

Implementation

Map<String, Object?> getCR() {
  return {
    "generalDesc": {
      "nationalNumberPattern": "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",
      "possibleLength": [8, 10]
    },
    "fixedLine": {
      "nationalNumberPattern": "210[7-9]\\d{4}|2(?:[024-7]\\d|1[1-9])\\d{5}",
      "exampleNumber": "22123456",
      "possibleLength": [8],
      "possibleLengthLocalOnly": [-1]
    },
    "mobile": {
      "nationalNumberPattern":
          "(?:3005\\d|6500[01])\\d{3}|(?:5[07]|6[0-4]|7[0-3]|8[3-9])\\d{6}",
      "exampleNumber": "83123456",
      "possibleLength": [8],
      "possibleLengthLocalOnly": [-1]
    },
    "tollFree": {
      "nationalNumberPattern": "800\\d{7}",
      "exampleNumber": "8001234567",
      "possibleLength": [10],
      "possibleLengthLocalOnly": [-1]
    },
    "premiumRate": {
      "nationalNumberPattern": "90[059]\\d{7}",
      "exampleNumber": "9001234567",
      "possibleLength": [10],
      "possibleLengthLocalOnly": [-1]
    },
    "sharedCost": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "personalNumber": {
      "possibleLength": [-1],
      "possibleLengthLocalOnly": [-1]
    },
    "voip": {
      "nationalNumberPattern": "(?:210[0-6]|4\\d{3}|5100)\\d{4}",
      "exampleNumber": "40001234",
      "possibleLength": [8],
      "possibleLengthLocalOnly": [-1]
    },
    "id": "CR",
    "countryCode": 506,
    "internationalPrefix": "00",
    "nationalPrefixForParsing": "(19(?:0[0-2468]|1[09]|20|66|77|99))",
    "sameMobileAndFixedLinePattern": false,
    "numberFormat": [
      {
        "pattern": "(\\d{4})(\\d{4})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["[2-7]|8[3-9]"],
        "domesticCarrierCodeFormattingRule": "\$CC \$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{3})(\\d{3})(\\d{4})",
        "format": "\$1-\$2-\$3",
        "leadingDigitsPattern": ["[89]"],
        "domesticCarrierCodeFormattingRule": "\$CC \$1",
        "nationalPrefixOptionalWhenFormatting": false
      }
    ],
    "intlNumberFormat": [
      {
        "pattern": "(\\d{4})(\\d{4})",
        "format": "\$1 \$2",
        "leadingDigitsPattern": ["[2-7]|8[3-9]"],
        "domesticCarrierCodeFormattingRule": "\$CC \$1",
        "nationalPrefixOptionalWhenFormatting": false
      },
      {
        "pattern": "(\\d{3})(\\d{3})(\\d{4})",
        "format": "\$1-\$2-\$3",
        "leadingDigitsPattern": ["[89]"],
        "domesticCarrierCodeFormattingRule": "\$CC \$1",
        "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]
    }
  };
}