If you add, remove, or rename fields, or change their semantics, check if you
should change the excludable field sets or the behavior in MetadataFilter.
The source from which the country_code is derived. This is not set in the
general parsing method, but in the method that parses and keeps raw_input.
New fields could be added upon request.
If you add, remove, or rename fields, or change their semantics, check if you
should change the excludable field sets or the behavior in MetadataFilter.
international and national formats are consistent with the definition in ITU-T Recommendation
E.123. However we follow local conventions such as using '-' instead of whitespace as
separators. For example, the number of the Google Switzerland office will be written as
'+41 44 668 1800' in international format, and as '044 668 1800' in national format. e164
format is as per international format but with no formatting applied, e.g. '+41446681800'.
rfc3966 is as per international format, but with all spaces and other separating symbols
replaced with a hyphen, and with any phone number extension appended with ';ext='. It also
will have a prefix of 'tel:' added, e.g. 'tel:+41-44-668-1800'.
Small helper interface such that the number groups can be checked according to different
criteria, both for our default way of performing formatting and for any alternate formats we
may want to check.