Showing:

Annotations
Diagrams
Facets
Source
Used by
Simple Type diggs:PhoneNumberStringType
Namespace http://diggsml.org/schemas/3
Annotations
Pattern-constrained string for phone numbers. Enforces basic phone number
format validation.
Diagram
Diagram
Type restriction of string
Facets
pattern (\+[0-9]( )?)?([0-9]( |-|\.|)){6,14}[0-9]|(\([0-9]{3}\)[-. ]?|[0-9]{3}[-. ])[0-9]{3}[-. ]?[0-9]{4}
Used by
Complex Type diggs:PhoneType
Source
<simpleType name="PhoneNumberStringType">
  <annotation>
    <documentation>Pattern-constrained string for phone numbers. Enforces basic phone number format validation.</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>