getFR function
Phone Number JSON data for FR
Implementation
Map<String, Object?> getFR() {
return {
"generalDesc": {
"nationalNumberPattern": "[1-9]\\d{8}",
"possibleLength": [9]
},
"fixedLine": {
"nationalNumberPattern":
"(?:26[013-9]|59[1-35-9])\\d{6}|(?:[13]\\d|2[0-57-9]|4[1-9]|5[0-8])\\d{7}",
"exampleNumber": "123456789",
"possibleLength": [9],
"possibleLengthLocalOnly": [-1]
},
"mobile": {
"nationalNumberPattern":
"(?:6(?:[0-24-8]\\d|3[0-8]|9[589])|7[3-9]\\d)\\d{6}",
"exampleNumber": "612345678",
"possibleLength": [9],
"possibleLengthLocalOnly": [-1]
},
"tollFree": {
"nationalNumberPattern": "80[0-5]\\d{6}",
"exampleNumber": "801234567",
"possibleLength": [9],
"possibleLengthLocalOnly": [-1]
},
"premiumRate": {
"nationalNumberPattern":
"836(?:0[0-36-9]|[1-9]\\d)\\d{4}|8(?:1[2-9]|2[2-47-9]|3[0-57-9]|[569]\\d|8[0-35-9])\\d{6}",
"exampleNumber": "891123456",
"possibleLength": [9],
"possibleLengthLocalOnly": [-1]
},
"sharedCost": {
"nationalNumberPattern": "8(?:1[01]|2[0156]|4[024]|84)\\d{6}",
"exampleNumber": "884012345",
"possibleLength": [9],
"possibleLengthLocalOnly": [-1]
},
"personalNumber": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"voip": {
"nationalNumberPattern": "9\\d{8}",
"exampleNumber": "912345678",
"possibleLength": [9],
"possibleLengthLocalOnly": [-1]
},
"id": "FR",
"countryCode": 33,
"internationalPrefix": "00",
"nationalPrefix": "0",
"nationalPrefixForParsing": "0",
"sameMobileAndFixedLinePattern": false,
"numberFormat": [
{
"pattern": "(\\d{4})",
"format": "\$1",
"leadingDigitsPattern": ["10"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{3})",
"format": "\$1 \$2",
"leadingDigitsPattern": ["1"],
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d{3})(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["8"],
"nationalPrefixFormattingRule": "0 \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1 \$2 \$3 \$4 \$5",
"leadingDigitsPattern": ["[1-79]"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
}
],
"intlNumberFormat": [
{
"pattern": "(\\d{3})(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1 \$2 \$3 \$4",
"leadingDigitsPattern": ["8"],
"nationalPrefixFormattingRule": "0 \$1",
"nationalPrefixOptionalWhenFormatting": false
},
{
"pattern": "(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})",
"format": "\$1 \$2 \$3 \$4 \$5",
"leadingDigitsPattern": ["[1-79]"],
"nationalPrefixFormattingRule": "0\$1",
"nationalPrefixOptionalWhenFormatting": false
}
],
"pager": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"mainCountryForCode": false,
"noInternationalDialling": {
"possibleLength": [-1],
"possibleLengthLocalOnly": [-1]
},
"uan": {
"nationalNumberPattern": "80[6-9]\\d{6}",
"exampleNumber": "806123456",
"possibleLength": [9],
"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]
}
};
}