<xs:complexType name="Attachment">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Attachment allows supporting documents to be attached to the BOD. This is for reference and management of binary/non-XML documents such as spreadsheets, CAD files, graphics, etc.
Defines information about the attachement which may be inline, a MIME part or an external URI
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:element name="EmbeddedData" type="EmbeddedData" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Allows the data to be embedded directly into the BOD instance.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="URI" type="xs:anyURI" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Allows the Attachment to reference any URI.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FileName" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Indicates the name of the File being referenced.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ISBN" type="ISBN" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Allows a reference to an ISBN.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="DocumentDate" type="DateTimeAny" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Indicates the creation date and time of the document being referenced.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="Description" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Description of the Attachment.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FileType" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Identifies the type of the file type of the attachment.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FileSize" type="xs:decimal" minOccurs="0">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Specifies how big the file is.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Note" type="Note" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">A note that can be associated with the attachment.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Title" type="LingualString" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation source="http://www.openapplications.org/oagis">Indicates the Title of the attachment.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="UserArea" minOccurs="0" />
</xs:sequence>
<xs:attribute name="inline" type="xs:boolean" use="optional" default="false" />
</xs:complexType>
|