<xs:complexType name="AddressType">
<xs:annotation>
<xs:documentation xml:lang="en">Provides address information.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="StreetNmbr" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">May contain the street number and optionally the street name.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="StreetNmbrType">
<xs:attribute name="StreetNmbrSuffix" type="StringLength1to8" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Usually a letter right after the street number (A in 66-A, B in 123-B etc).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="StreetDirection" type="StringLength1to8" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Street direction of an address (e.g., N, E, S, NW, SW).
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RuralRouteNmbr" type="NumericStringLength1to5" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Numerical equivalent of a rural township as defined within a given area (e.g., 12, 99).</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="BldgRoom" minOccurs="0" maxOccurs="2">
<xs:annotation>
<xs:documentation xml:lang="en">Building name, room, apartment, or suite number.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:simpleContent>
<xs:extension base="StringLength0to64">
<xs:attribute name="BldgNameIndicator" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">When true, the information is a building name.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="AddressLine" type="StringLength1to255" minOccurs="0" maxOccurs="5">
<xs:annotation>
<xs:documentation xml:lang="en">When the address is unformatted (FormattedInd="false") these lines will contain free form address details. When the address is formatted and street number and street name must be sent independently, the street number will be sent using StreetNmbr, and the street name will be sent in the first AddressLine occurrence.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CityName" type="StringLength1to64" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">City (e.g., Dublin), town, or postal station (i.e., a postal service territory, often used in a military address).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PostalCode" type="StringLength1to16" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Post Office Code number.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="County" type="StringLength1to32" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">County or Region Name (e.g., Fairfax).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StateProv" type="StateProvType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">State or Province name (e.g., Texas).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CountryName" type="CountryNameType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Country name (e.g., Ireland).</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="FormattedInd">
<xs:annotation>
<xs:documentation xml:lang="en">Specifies if the associated data is formatted or not. When true, then it is formatted; when false, then not formatted.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
<xs:attributeGroup ref="PrivacyGroup">
<xs:annotation>
<xs:documentation xml:lang="en">Allows for control of the sharing of address information between parties.</xs:documentation>
</xs:annotation>
</xs:attributeGroup>
<xs:attribute name="Type" type="OTA_CodeType" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">Defines the type of address (e.g. home, business, other). Refer to OTA Code List Communication Location Type (CLT).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Remark" type="StringLength1to128" use="optional">
<xs:annotation>
<xs:documentation xml:lang="en">A remark associated with this address.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
|