Definition Type: ComplexType
Name: PostalAddressType
Namespace: http://ns.hr-xml.org/2007-04-15
Containing Schema: PostalAddress.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into Recipient in schema postaladdress_xsd Drilldown into DeliveryAddress in schema postaladdress_xsd Drilldown into Municipality in schema postaladdress_xsd Drilldown into Region in schema postaladdress_xsd Drilldown into PostalCode in schema postaladdress_xsd Drilldown into CountryCode in schema postaladdress_xsd Drilldown into type in schema postaladdress_xsdXSD Diagram of PostalAddressType in schema postaladdress_xsd (HR-XML - Human Resources XML)
Collapse XSD Schema Code:
<xsd:complexType name="PostalAddressType">
    <xsd:sequence>
        <xsd:element name="CountryCode">
            <xsd:simpleType>
                <xsd:restriction base="xsd:string">
                    <xsd:pattern value="[A-Z]{2}" />
                </xsd:restriction>
            </xsd:simpleType>
        </xsd:element>
        <xsd:element name="PostalCode" type="xsd:string" minOccurs="0" />
        <xsd:element name="Region" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
        <xsd:element name="Municipality" type="xsd:string" minOccurs="0" />
        <xsd:element name="DeliveryAddress" minOccurs="0">
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element name="AddressLine" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
                    <xsd:element name="StreetName" type="xsd:string" minOccurs="0" />
                    <xsd:element name="BuildingNumber" type="xsd:string" minOccurs="0" />
                    <xsd:element name="Unit" type="xsd:string" minOccurs="0" />
                    <xsd:element name="PostOfficeBox" type="xsd:string" minOccurs="0" />
                </xsd:sequence>
            </xsd:complexType>
        </xsd:element>
        <xsd:element name="Recipient" minOccurs="0" maxOccurs="unbounded">
            <xsd:complexType>
                <xsd:sequence>
                    <xsd:element name="PersonName" type="PersonNameType" minOccurs="0" />
                    <xsd:element name="AdditionalText" type="xsd:string" minOccurs="0" maxOccurs="unbounded" />
                    <xsd:element name="Organization" type="xsd:string" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>Deprecated in favor of OrganizationName element.</xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="OrganizationName" type="xsd:string" minOccurs="0" />
                </xsd:sequence>
            </xsd:complexType>
        </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="type">
        <xsd:simpleType>
            <xsd:restriction base="xsd:string">
                <xsd:enumeration value="postOfficeBoxAddress" />
                <xsd:enumeration value="streetAddress" />
                <xsd:enumeration value="militaryAddress" />
                <xsd:enumeration value="undefined" />
            </xsd:restriction>
        </xsd:simpleType>
    </xsd:attribute>
</xsd:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
CountryCode hr:CountryCode (1) (1)
PostalCode hr:PostalCode 0 (1)
Region hr:Region 0 unbounded
Municipality hr:Municipality 0 (1)
DeliveryAddress hr:DeliveryAddress 0 (1)
Recipient hr:Recipient 0 unbounded
Collapse Child Attributes:
Name Type Default Value Use
type hr:type (Optional)
Collapse Derivation Tree:
Collapse References:
hr:CreditPostalAddressType, hr:PositionLocation, hr:PostalAddress, hr:PostalAddress, hr:PostalAddress, hr:PostalAddresshr:PostalAddress, hr:PostalAddress, hr:PostalAddress, hr:ScreeningPostalAddressType,