Definition Type: Element
Name: newsMessage
Namespace: http://iptc.org/std/nar/2006-10-01/
Containing Schema: NAR_1.3-spec-NewsMessage-Power.xsd
Abstract
Documentation:
A container to exchange one or more items
Collapse XSD Schema Diagram:
Drilldown into itemSet in schema nar_1_3-spec-newsmessage-power_xsd Drilldown into header in schema nar_1_3-spec-newsmessage-power_xsdXSD Diagram of newsMessage in schema nar_1_3-spec-newsmessage-power_xsd (EventsML - News Exchange Format)
Collapse XSD Schema Code:
<xs:element name="newsMessage">
    <xs:annotation>
        <xs:documentation>A container to exchange one or more items</xs:documentation>
    </xs:annotation>
    <xs:complexType>
        <xs:sequence>
            <xs:element name="header">
                <xs:annotation>
                    <xs:documentation>A group of properties providing information about the exchange.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="sent" type="DateTimePropType">
                            <xs:annotation>
                                <xs:documentation>The date-and-time of transmission of the message</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="sender" type="StringType" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>The sender of the items, which may be an organisation or a person</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="transmitId" type="StringType" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>The transmission identifier associated with the message</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:element name="priority" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>The priority of this message in the overall transmission process. A value of 1 corresponds to the highest priority, a value of 9 to the lowest.</xs:documentation>
                            </xs:annotation>
                            <xs:complexType>
                                <xs:simpleContent>
                                    <xs:extension base="Int1to9Type">
                                        <xs:anyAttribute namespace="##other" processContents="lax" />
                                    </xs:extension>
                                </xs:simpleContent>
                            </xs:complexType>
                        </xs:element>
                        <xs:element name="origin" type="StringType" minOccurs="0">
                            <xs:annotation>
                                <xs:documentation>The point of origin of the transmission of this message</xs:documentation>
                            </xs:annotation>
                        </xs:element>
                        <xs:choice minOccurs="0" maxOccurs="unbounded">
                            <xs:element name="timestamp">
                                <xs:annotation>
                                    <xs:documentation>A date-and-time associated with the message, other than the date-and-time the message
was sent</xs:documentation>
                                </xs:annotation>
                                <xs:complexType>
                                    <xs:simpleContent>
                                        <xs:extension base="DateTimePropType">
                                            <xs:attribute name="role" type="xs:string">
                                                <xs:annotation>
                                                    <xs:documentation>A refinement of the semantics of the property</xs:documentation>
                                                </xs:annotation>
                                            </xs:attribute>
                                        </xs:extension>
                                    </xs:simpleContent>
                                    <!-- NAR 1.2 erratum 1 correction: on timestamp, complexContent replaced by simpleContent -->
                                </xs:complexType>
                            </xs:element>
                            <xs:element name="destination" type="StringType">
                                <xs:annotation>
                                    <xs:documentation>A point of destination for this message.</xs:documentation>
                                </xs:annotation>
                            </xs:element>
                            <xs:element name="channel" type="StringType">
                                <xs:annotation>
                                    <xs:documentation>A transmission channel used by the message</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 any provider specific properties</xs:documentation>
                            </xs:annotation>
                        </xs:any>
                    </xs:sequence>
                    <xs:anyAttribute namespace="##other" processContents="lax" />
                </xs:complexType>
            </xs:element>
            <xs:element name="itemSet">
                <xs:annotation>
                    <xs:documentation>The set of items to be exchanged.</xs:documentation>
                </xs:annotation>
                <xs:complexType>
                    <xs:sequence>
                        <xs:any namespace="http://iptc.org/std/nar/2006-10-01/" processContents="lax" maxOccurs="unbounded">
                            <xs:annotation>
                                <xs:documentation>Any item from the IPTC News Architecture namespace</xs:documentation>
                            </xs:annotation>
                        </xs:any>
                    </xs:sequence>
                    <xs:anyAttribute namespace="##other" processContents="lax" />
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:anyAttribute namespace="##other" processContents="lax" />
    </xs:complexType>
</xs:element>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
header nsA:header (1) (1)
itemSet nsA:itemSet (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
<anyAttribute> Allowed namespace: '##other'
Collapse Comments:
blog comments powered by Disqus