Definition Type: ComplexType
Name: AddressType
Namespace: http://iptc.org/std/nar/2006-10-01/
Containing Schema: NewsML-G2_2.23-spec-All-Core.xsd
Abstract
Collapse XSD Schema Diagram:
Drilldown into worldRegion in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into postalCode in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into country in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into area in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into locality in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into line in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into roleuri in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into role in schema newsml-g2_2_23-spec-all-core_xsdXSD Diagram of AddressType in schema newsml-g2_2_23-spec-all-core_xsd (News Markup Language (NewsML) - Core)
Collapse XSD Schema Code:
<xs:complexType name="AddressType">
    <xs:sequence>
        <xs:element name="line" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation>A line of address information, in the format expected by a recipient postal service. City, country area, country and postal code are expressed separately.</xs:documentation>
            </xs:annotation>
            <xs:complexType>
                <xs:complexContent>
                    <xs:extension base="IntlStringType">
                        <xs:attribute name="role" type="QCodeType">
                            <xs:annotation>
                                <xs:documentation>Refines the semantics of line - expressed by a QCode</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                        <xs:attribute name="roleuri" type="IRIType">
                            <xs:annotation>
                                <xs:documentation>Refines the semantics of line - expressed by a URI</xs:documentation>
                            </xs:annotation>
                        </xs:attribute>
                    </xs:extension>
                </xs:complexContent>
            </xs:complexType>
        </xs:element>
        <xs:element name="locality" type="FlexPropType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation>A city/town/village etc. part of the address.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="area" type="FlexPropType" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation>A subdivision of a country part of the address.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="country" type="FlexPropType" minOccurs="0">
            <xs:annotation>
                <xs:documentation>A country part of the address.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="postalCode" type="IntlStringType" minOccurs="0">
            <xs:annotation>
                <xs:documentation>A postal code part of the address.</xs:documentation>
            </xs:annotation>
        </xs:element>
        <xs:element name="worldRegion" type="FlexPropType" minOccurs="0">
            <xs:annotation>
                <xs:documentation>A concept or name only defining the world region part of an address.</xs:documentation>
            </xs:annotation>
        </xs:element>
    </xs:sequence>
    <xs:attribute name="role" type="QCodeType">
        <xs:annotation>
            <xs:documentation>A refinement of the semantics of the postal address - expressed by a QCode</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="roleuri" type="IRIType">
        <xs:annotation>
            <xs:documentation>A refinement of the semantics of the postal address - expressed by a URI</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:anyAttribute namespace="##other" processContents="lax" />
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
line nsB:line 0 unbounded
locality nsB:locality 0 unbounded
area nsB:area 0 unbounded
country nsB:country 0 (1)
postalCode nsB:postalCode 0 (1)
worldRegion nsB:worldRegion 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
role nsB:role (Optional)
roleuri nsB:roleuri (Optional)
<anyAttribute> Allowed namespace: '##other'
Collapse Derivation Tree:
Collapse References:
nsB:address, nsB:address