simpleType "ZIP"
Namespace:
Defined:
Used:
Simple Content Model
xs:string
Simple Content Restrictions:
Pattern:
[0-9]{5}|[0-9]{5}-[0-9]{4}|[0-9]{5}-[0-9]{5}|[A-Z][0-9][A-Z] [0-9][A-Z][0-9]

All Direct / Indirect Based Elements (6):
Known Usage Locations
Annotation
ZIP code
Type Definition Detail
Type Derivation Tree
xs:string (restriction)
  ZIP
Derivation:
restriction of xs:string
Facets:
pattern:
[0-9]{5}|[0-9]{5}-[0-9]{4}|[0-9]{5}-[0-9]{5}|[A-Z][0-9][A-Z] [0-9][A-Z][0-9]
XML Source (w/o annotations (1); see within schema source)
<xs:simpleType name="ZIP">
<xs:restriction base="xs:string">
<xs:pattern value="[0-9]{5}|[0-9]{5}-[0-9]{4}|[0-9]{5}-[0-9]{5}|[A-Z][0-9][A-Z] [0-9][A-Z][0-9]"/>
</xs:restriction>
</xs:simpleType>