Definition Type: ComplexType
Name: AddressType
Containing Schema: OTA_CommonTypes.xsd
Abstract
Documentation:
Provides address information.
Collapse XSD Schema Diagram:
Drilldown into CountryName in schema ota_commontypes_xsd Drilldown into StateProv in schema ota_commontypes_xsd Drilldown into County in schema ota_commontypes_xsd Drilldown into PostalCode in schema ota_commontypes_xsd Drilldown into CityName in schema ota_commontypes_xsd Drilldown into AddressLine in schema ota_commontypes_xsd Drilldown into BldgRoom in schema ota_commontypes_xsd Drilldown into StreetNmbr in schema ota_commontypes_xsd Drilldown into Remark in schema ota_commontypes_xsd1 Drilldown into Type in schema ota_commontypes_xsd1 Drilldown into ShareMarketInd in schema ota_commontypes_xsd1 Drilldown into ShareSynchInd in schema ota_commontypes_xsd1 Drilldown into PrivacyGroup in schema ota_commontypes_xsd Drilldown into FormattedInd in schema ota_commontypes_xsd1 Drilldown into FormattedInd in schema ota_commontypes_xsdXSD Diagram of AddressType in schema ota_commontypes_xsd1 (Open Travel (OTA))
Collapse XSD Schema Code:
<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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
StreetNmbr StreetNmbr 0 (1)
BldgRoom BldgRoom 0 2
AddressLine AddressLine 0 5
CityName CityName 0 (1)
PostalCode PostalCode 0 (1)
County County 0 (1)
StateProv StateProv 0 (1)
CountryName CountryName 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
FormattedInd FormattedInd false Optional
ShareSynchInd ShareSynchInd Optional
ShareMarketInd ShareMarketInd Optional
Type Type Optional
Remark Remark Optional
Collapse Derivation Tree:
  • AddressType
    • AddressInfoType
      • Unresolved link to address20
      • Unresolved link to address22
      • Unresolved link to address25
      • Unresolved link to address27
      • Unresolved link to address29
      • Unresolved link to address31
      • Unresolved link to addressinfo2
      • Unresolved link to address36
      • Unresolved link to address38
    • Unresolved link to address17
    • Unresolved link to address19
    • Unresolved link to payeeaddress
    • Unresolved link to destination
    • Unresolved link to businesslocale
    • Unresolved link to deliveryaddress2
    • Unresolved link to deliveryaddress4
    • Unresolved link to address33
    • Unresolved link to address34
Collapse References:
nsA:Address, Address, Address, Unresolved link to address17, Unresolved link to address19, Address, Unresolved link to address33, Unresolved link to address34AddressInfoType, Unresolved link to businesslocale, DeliveryAddress, Unresolved link to deliveryaddress2, Unresolved link to deliveryaddress4, Unresolved link to destination, Unresolved link to payeeaddress,