<simpleType name="PhoneNumberStringType">
<annotation>
<documentation>A string value pattern restricted to accept US or International phone numbers with some flexibility in formatting, such as: +1 555 123 4567 +442071234567 (555) 123-4567 555.123.4567 5551234567 +33 1 23 45 67 89</documentation>
</annotation>
<restriction base="string">
<pattern value="(\+[0-9]( )?)?([0-9]( |-|\.|)){6,14}[0-9]|(\([0-9]{3}\)[-. ]?|[0-9]{3}[-. ])[0-9]{3}[-. ]?[0-9]{4} "/>
</restriction>
</simpleType>
|