header

A group of properties providing information about the exchange.

Element Information

Model

sent , (catalogRef | catalog) , sender{0,1} , transmitId{0,1} , priority{0,1} , origin{0,1} , (timestamp | destination | channel | signal | headerExtProperty) , ANY element from ANY namespace OTHER than 'http://iptc.org/std/nar/2006-10-01/'

Attributes

QName Type Fixed Default Use Inheritable Annotation
creator QCodeType optional
If the attribute is empty, specifies which entity (person, organisation or system) will edit the property - expressed by a QCode. If the attribute is non-empty, specifies which entity (person, organisation or system) has edited the property.
creatoruri IRIType optional
If the attribute is empty, specifies which entity (person, organisation or system) will edit the property - expressed by a URI. If the attribute is non-empty, specifies which entity (person, organisation or system) has edited the property.
custom xs:boolean optional
If set to true the corresponding property was added to the G2 Item for a specific customer or group of customers only. The default value of this property is false which applies when this attribute is not used with the property.
how QCodeType optional
Indicates by which means the value was extracted from the content - expressed by a QCode
howuri IRIType optional
Indicates by which means the value was extracted from the content - expressed by a URI
id xs:ID optional
The local identifier of the property.
modified DateOptTimeType optional
The date (and, optionally, the time) when the property was last modified. The initial value is the date (and, optionally, the time) of creation of the property.
pubconstraint QCodeListType optional
One or many constraints that apply to publishing the value of the property - expressed by a QCode. Each constraint applies to all descendant elements.
pubconstrainturi IRIListType optional
One or many constraints that apply to publishing the value of the property - expressed by a URI. Each constraint applies to all descendant elements.
why QCodeType optional
Why the metadata has been included - expressed by a QCode
whyuri IRIType optional
Why the metadata has been included - expressed by a URI
Wildcard: ANY attribute from ANY namespace OTHER than 'http://iptc.org/std/nar/2006-10-01/'

Source

<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:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="catalogRef">
          <xs:annotation>
            <xs:documentation>A reference to a remote catalog. A hyperlink to a set of scheme alias declarations.</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <xs:element ref="title" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                  <xs:documentation>A short natural language name for the catalog.</xs:documentation>
                </xs:annotation>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="href" type="IRIType" use="required">
              <xs:annotation>
                <xs:documentation>A hyperlink to a remote Catalog.</xs:documentation>
              </xs:annotation>
            </xs:attribute>
            <xs:attributeGroup ref="commonPowerAttributes"/>
            <xs:anyAttribute namespace="##other" processContents="lax">
              <xs:annotation>
                <xs:documentation>Any other attributes from other namespaces.</xs:documentation>
              </xs:annotation>
            </xs:anyAttribute>
          </xs:complexType>
        </xs:element>
        <xs:element ref="catalog"/>
      </xs:choice>
      <xs:element name="sender" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The sender of the items, which may be an organisation or a person</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="StringType">
              <xs:attributeGroup ref="qualifyingAttributes"/>
            </xs:extension>
          </xs:complexContent>
        </xs:complexType>
      </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:attributeGroup ref="commonPowerAttributes"/>
              <xs:anyAttribute namespace="##other" processContents="lax"/>
            </xs:extension>
          </xs:simpleContent>
        </xs:complexType>
      </xs:element>
      <xs:element name="origin" minOccurs="0">
        <xs:annotation>
          <xs:documentation>The point of origin of the transmission of this message</xs:documentation>
        </xs:annotation>
        <xs:complexType>
          <xs:complexContent>
            <xs:extension base="StringType">
              <xs:attributeGroup ref="qualifyingAttributes"/>
            </xs:extension>
          </xs:complexContent>
        </xs:complexType>
      </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" use="optional">
                  <xs:annotation>
                    <xs:documentation>A refinement of the semantics of the property. The string value may take a QCode. That the string should be interpreted as a QCode has to be defined outside of the G2 specification by the creator of the News Message.</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">
          <xs:annotation>
            <xs:documentation>A point of destination for this message.</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:complexContent>
              <xs:extension base="StringType">
                <xs:attributeGroup ref="qualifyingAttributes"/>
              </xs:extension>
            </xs:complexContent>
          </xs:complexType>
        </xs:element>
        <xs:element name="channel">
          <xs:annotation>
            <xs:documentation>A transmission channel used by the message</xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:complexContent>
              <xs:extension base="StringType">
                <xs:attributeGroup ref="qualifyingAttributes"/>
                <xs:attribute name="g2flag" type="xs:string" use="optional" fixed="NMSG">
                  <xs:annotation>
                    <xs:documentation>DO NOT USE this attribute, for G2 internal maintenance purposes only.</xs:documentation>
                  </xs:annotation>
                </xs:attribute>
              </xs:extension>
            </xs:complexContent>
          </xs:complexType>
        </xs:element>
        <xs:element ref="signal"/>
        <xs:element name="headerExtProperty" type="Flex2ExtPropType">
          <xs:annotation>
            <xs:documentation>Extension Property; the semantics are defined by the concept referenced by the rel attribute. The semantics of the Extension Property must have the same scope as the parent property.</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:attributeGroup ref="commonPowerAttributes"/>
    <xs:anyAttribute namespace="##other" processContents="lax"/>
  </xs:complexType>
</xs:element>

Sample