Definition Type: ComplexType
Name: ContactInfoType
Namespace: http://iptc.org/std/nar/2006-10-01/
Containing Schema: NewsML-G2_2.23-spec-All-Core.xsd
Abstract
Documentation:
The type for information to get in contact with a party (Type defined in this XML Schema only)
Collapse XSD Schema Diagram:
Drilldown into note in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into address in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into web in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into fax in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into phone in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into im in schema newsml-g2_2_23-spec-all-core_xsd Drilldown into email 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 ContactInfoType in schema newsml-g2_2_23-spec-all-core_xsd (News Markup Language (NewsML) - Core)
Collapse XSD Schema Code:
<xs:complexType name="ContactInfoType">
    <xs:annotation>
        <xs:documentation>The type for information to get in contact with a party (Type defined in this XML Schema only)</xs:documentation>
    </xs:annotation>
    <xs:sequence>
        <xs:choice minOccurs="0" maxOccurs="unbounded">
            <xs:element name="email" type="ElectronicAddressType">
                <xs:annotation>
                    <xs:documentation>An email address.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="im" type="ElectronicAddressType">
                <xs:annotation>
                    <xs:documentation>An instant messaging address.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="phone" type="ElectronicAddressType">
                <xs:annotation>
                    <xs:documentation>A phone number, preferred in an international format.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="fax" type="ElectronicAddressType">
                <xs:annotation>
                    <xs:documentation>A fax number, preferred in an international format.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="web">
                <xs:annotation>
                    <xs:documentation>A web address.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="IRIType">
                            <xs:attribute name="role" type="QCodeType">
                                <xs:annotation>
                                    <xs:documentation>A refinement of the semantics of the web 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 web address - expressed by a URI</xs:documentation>
                                </xs:annotation>
                            </xs:attribute>
                            <xs:anyAttribute namespace="##other" processContents="lax" />
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="address" type="AddressType">
                <xs:annotation>
                    <xs:documentation>A postal address.</xs:documentation>
                </xs:annotation>
            </xs:element>
            <!-- EV-NAR-1.3.1: Add note to contactInfo-->
            <xs:element ref="note">
                <xs:annotation>
                    <xs:documentation>Additional natural language information.</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:choice>
        <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded">
            <xs:annotation>
                <xs:documentation>Extension point for provider-defined properties from other namespaces</xs:documentation>
            </xs:annotation>
        </xs:any>
    </xs:sequence>
    <xs:attribute name="role" type="QCodeType" use="optional">
        <xs:annotation>
            <xs:documentation>A refinement of the semantics of a contact information - expressed by a QCode</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:attribute name="roleuri" type="IRIType" use="optional">
        <xs:annotation>
            <xs:documentation>A refinement of the semantics of a contact information - expressed by a URI</xs:documentation>
        </xs:annotation>
    </xs:attribute>
    <xs:anyAttribute namespace="##other" processContents="lax" />
    <!-- version 2: flag power deleted on role-->
</xs:complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
email nsB:email (1) (1)
im nsB:im (1) (1)
phone nsB:phone (1) (1)
fax nsB:fax (1) (1)
web nsB:web (1) (1)
address nsB:address (1) (1)
note nsB:note (1) (1)
<xs:any> Allowed namespace: '##other' 0 unbounded
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:contactInfo, nsB:contactInfo, nsB:contactInfo, nsB:contactInfo