<xs:complexType name="ExternalDocument">
<xs:annotation>
<xs:documentation xml:lang="en">Represents any kind of external resources to be linked to the hull condition information of the ship such us photographs, text documents, drawings, etc.</xs:documentation>
</xs:annotation>
<xs:attribute name="id" type="globalId" use="required">
<xs:annotation>
<xs:documentation>Unique identifier within the XML document.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="path" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>Specifies the location of the external document in form of an URI.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="contentType">
<xs:annotation>
<xs:documentation xml:lang="en">
<p>The content type denotes the type of content of the external document as defined by MIME standard. MIME (Multipurpose Internet Mail Extensions) is an Internet standard for describes message
content types.</p>
<p>MIME messages can contain text, images, audio, video, and other application-specific data.</p>
<p>Official MIME info is provided by the Internet Engineering Task Force (IETF) in the following documents:
<ul><li>RFC-822 Standard for ARPA Internet text messages</li>
<li>RFC-2045 MIME Part 1: Format of Internet Message Bodies</li>
<li>RFC-2046 MIME Part 2: Media Types</li>
<li>RFC-2047 MIME Part 3: Header Extensions for Non-ASCII Text</li>
<li>RFC-2048 MIME Part 4: Registration Procedures</li>
<li>RFC-2049 MIME Part 5: Conformance Criteria and Examples</li>
</ul>
</p>
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="\w+/\w+" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="title" type="xs:string" />
<xs:attribute name="description" type="xs:string">
<xs:annotation>
<xs:documentation>A descriptive text to provide additional information about the referenced document.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
|