AnyItemType

An abstract class. All G2 items are inherited from this class.

Complex Type Information

Model

ANY element from namespace(s) 'http://www.w3.org/2000/09/xmldsig#' , (catalogRef | catalog) , hopHistory{0,1} , rightsInfo* , itemMeta

Attributes

QName Type Fixed Default Use Inheritable Annotation
conformance xs:string core optional
The conformance level with which the Item is conformant.
dir restriction of xs:NMTOKEN optional
The directionality of textual content (enumeration: ltr, rtl)
guid xs:string required
The persistent, universally unique identifier common for all versions of the Item.
standard xs:string required
The IPTC standard with which the Item is conformant.
standardversion restriction of xs:string required
The major-minor version of the IPTC standard with which the Item is conformant.
version xs:positiveInteger 1 optional
The version of the Item.
xml:lang union of(xs:language, restriction of xs:string) optional
Attempting to install the relevant ISO 2- and 3-letter
         codes as the enumerated possible values is probably never
         going to be a realistic possibility.  See
         RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry
         at http://www.iana.org/assignments/lang-tag-apps.htm for
         further information.

         The union allows for the 'un-declaration' of xml:lang with
         the empty string.
Wildcard: ANY attribute from ANY namespace OTHER than 'http://iptc.org/std/nar/2006-10-01/'

Used By

Source

<xs:complexType name="AnyItemType" abstract="true" block="restriction">
  <xs:annotation>
    <xs:documentation>An abstract class. All G2 items are inherited from this class.</xs:documentation>
  </xs:annotation>
  <xs:sequence>
    <xs:any namespace="http://www.w3.org/2000/09/xmldsig#" processContents="lax" minOccurs="0">
      <xs:annotation>
        <xs:documentation>W3C's XML Digital Signature</xs:documentation>
      </xs:annotation>
    </xs:any>
    <xs:choice maxOccurs="unbounded">
      <xs:element ref="catalogRef"/>
      <xs:element ref="catalog"/>
    </xs:choice>
    <xs:element ref="hopHistory" minOccurs="0"/>
    <xs:element ref="rightsInfo" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element ref="itemMeta"/>
  </xs:sequence>
  <xs:attribute name="standard" type="xs:string" use="required">
    <xs:annotation>
      <xs:documentation>The IPTC standard with which the Item is conformant.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="standardversion" use="required">
    <xs:annotation>
      <xs:documentation>The major-minor version of the IPTC standard with which the Item is conformant.</xs:documentation>
    </xs:annotation>
    <xs:simpleType>
      <xs:restriction base="xs:string">
        <xs:pattern value="[0-9]+\.[0-9]+"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:attribute>
  <xs:attribute name="conformance" type="xs:string" use="optional" default="core">
    <xs:annotation>
      <xs:documentation>The conformance level with which the Item is conformant.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="guid" type="xs:string" use="required">
    <xs:annotation>
      <xs:documentation>The persistent, universally unique identifier common for all versions of the Item.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attribute name="version" type="xs:positiveInteger" use="optional" default="1">
    <xs:annotation>
      <xs:documentation>The version of the Item.</xs:documentation>
    </xs:annotation>
  </xs:attribute>
  <xs:attributeGroup ref="i18nAttributes"/>
  <xs:anyAttribute namespace="##other" processContents="lax"/>
  <!-- rev3 : schema renamed standardversion -->
</xs:complexType>