<xs:complexType name="MediaItemType">
<xs:sequence>
<xs:element name="MediaItemKey" type="commons:resource-key" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>
This the is the keyfield for the resource.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="preference-order" type="commons:preferenceOrderType">
<xs:annotation>
<xs:documentation>
Indicates the preference order within all the media items.
Highest preference is 0.
</xs:documentation>
<xs:appinfo>
<retsid>
</retsid>
<example>0</example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="mime-preference-order" type="commons:preferenceOrderType">
<xs:annotation>
<xs:documentation>
Indicates the preference order within all the media items
of the same mime type.
Highest preference is 0.
</xs:documentation>
<xs:appinfo>
<retsid>
</retsid>
<example>0</example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="Content" type="media:MediaContent" minOccurs="0">
<xs:annotation>
<xs:documentation>
</xs:documentation>
<xs:appinfo>
<retsid>
</retsid>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:choice>
<xs:element name="MediaItemUri" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:anyURI">
<xs:attribute name="systemId" type="commons:system-id" use="required">
<xs:annotation>
<xs:documentation>
Optional multiple URI location for
the resource
</xs:documentation>
<xs:appinfo>
<retsid>
</retsid>
</xs:appinfo>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="Binary" type="xs:base64Binary" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Optional in-line binary
</xs:documentation>
<xs:appinfo>
<retsid>
</retsid>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="ModificationTimestamp" type="commons:ModificationTimestamp" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>
</xs:documentation>
<xs:appinfo>
<retsid>
</retsid>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="MLSKeyId" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>
There is also a MediaItemKey element.
This may now be obsolete.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="systemId" type="commons:system-id" use="required">
<xs:annotation>
<xs:documentation>
An identifier of the system that a media
item 'belongs' to when the event involves
more than one system.
</xs:documentation>
<xs:appinfo>
<retsid>
</retsid>
</xs:appinfo>
</xs:annotation>
</xs:attribute>
</xs:complexType>
|