<xsd:simpleType name="EmailAddressType">
<xsd:annotation>
<xsd:documentation>Used for an email address. The User ID portion of the email address allows: A-Z, a-z, 0-9, underscore, hyphen, ampersand, !, #, $, %, `, *, +, /, =, ?, ^, ', {, |, }, ~, and period though not at the start or end.</xsd:documentation>
</xsd:annotation>
<xsd:restriction base="xsd:string">
<xsd:maxLength value="75" />
<!-- UserID@IPv4 Address, e.g. john.doe@200.200.200.200 -->
<xsd:pattern value="[A-Za-z0-9_\-!#$%&`*+/=?^'{|}~](\.?([A-Za-z0-9_\-!#$%&`*+/=?^'{|}~])+)*@(([0-9]|[1-9][0-9]|[2][0-4][0-9]|[2][5][0-5])\.){3}([0-9]|[1-9][0-9]|[2][0-4][0-9]|[2][5][0-5])">
<xsd:annotation>
<xsd:documentation>IPv4 Email Address.</xsd:documentation>
</xsd:annotation>
</xsd:pattern>
<!-- UserID@IPv6 Address, e.g. john.doe@FEDC:BA98:7654:3210:FEDC:BA98:7654:3210 -->
<xsd:pattern value="[A-Za-z0-9_\-!#$%&`*+/=?^'{|}~](\.?([A-Za-z0-9_\-!#$%&`*+/=?^'{|}~])+)*@([A-Fa-f0-9]{1,4}:){7}[A-Fa-f0-9]{1,4}">
<xsd:annotation>
<xsd:documentation>IPv6 Email Address</xsd:documentation>
</xsd:annotation>
</xsd:pattern>
<!-- UserID@Domain Name Address, e.g. john.doe@irs.gov -->
<xsd:pattern value="[A-Za-z0-9_\-!#$%&`*+/=?^'{|}~](\.?([A-Za-z0-9_\-!#$%&`*+/=?^'{|}~])+)*@([A-Za-z](-?[A-Za-z0-9])*\.)+(([A-Za-z]){2,16})">
<xsd:annotation>
<xsd:documentation>Domain Name Email Address</xsd:documentation>
</xsd:annotation>
</xsd:pattern>
</xsd:restriction>
</xsd:simpleType>
|