relation

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
actuate restriction of xs:token optional
altrender xs:token optional
arcrole xs:anyURI optional
audience restriction of xs:token optional
encodinganalog xs:token optional
href xs:token optional
id xs:ID optional
lang xs:NMTOKEN optional
lastdatetimeverified union of(restriction of xs:date, restriction of xs:gYear, restriction of xs:gYearMonth, restriction of xs:dateTime) optional
linkrole xs:anyURI optional
linktitle xs:token optional
otherrelationtype xs:token optional
relationtype restriction of xs:token required
script xs:NMTOKEN optional
show restriction of xs:token optional

Used By

Source

<xs:complexType name="relation">
  <xs:sequence>
    <xs:element name="relationentry" type="relationentry" minOccurs="0" maxOccurs="unbounded"/>
    <xs:element name="objectxmlwrap" type="objectxmlwrap" minOccurs="0"/>
    <xs:choice minOccurs="0">
      <xs:element name="datesingle" type="datesingle"/>
      <xs:element name="daterange" type="daterange"/>
      <xs:element name="dateset" type="dateset"/>
    </xs:choice>
    <xs:element name="geogname" type="geogname" minOccurs="0"/>
    <xs:element name="descriptivenote" type="descriptivenote" minOccurs="0"/>
  </xs:sequence>
  <xs:attributeGroup ref="am.common"/>
  <xs:attribute name="encodinganalog" type="xs:token"/>
  <xs:attribute name="relationtype" use="required">
    <xs:simpleType>
      <xs:restriction base="xs:token">
        <xs:enumeration value="cpfrelation"/>
        <xs:enumeration value="resourcerelation"/>
        <xs:enumeration value="functionrelation"/>
        <xs:enumeration value="otherrelationtype"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:attribute>
  <xs:attribute name="otherrelationtype" type="xs:token"/>
  <xs:attribute name="lastdatetimeverified">
    <xs:simpleType>
      <xs:union>
        <xs:simpleType>
          <xs:restriction base="xs:date">
            <xs:maxInclusive value="2099-12-31"/>
          </xs:restriction>
        </xs:simpleType>
        <xs:simpleType>
          <xs:restriction base="xs:gYear">
            <xs:maxInclusive value="2099"/>
          </xs:restriction>
        </xs:simpleType>
        <xs:simpleType>
          <xs:restriction base="xs:gYearMonth">
            <xs:maxInclusive value="2099-12"/>
          </xs:restriction>
        </xs:simpleType>
        <xs:simpleType>
          <xs:restriction base="xs:dateTime">
            <xs:maxInclusive value="2099-12-31T23:59:59"/>
          </xs:restriction>
        </xs:simpleType>
      </xs:union>
    </xs:simpleType>
  </xs:attribute>
  <xs:attributeGroup ref="am.simplelink"/>
</xs:complexType>