Definition Type: ComplexType
Name: Attachment
Namespace: http://www.openapplications.org/oagis
Containing Schema: Components.xsd
Abstract
Documentation:
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
Collapse XSD Schema Diagram:
Drilldown into UserArea in schema meta_xsd Drilldown into Title in schema components_xsd Drilldown into Note in schema components_xsd Drilldown into FileSize in schema components_xsd Drilldown into FileType in schema components_xsd Drilldown into Description in schema components_xsd Drilldown into DocumentDate in schema components_xsd Drilldown into ISBN in schema components_xsd Drilldown into FileName in schema components_xsd Drilldown into URI in schema components_xsd Drilldown into EmbeddedData in schema components_xsd Drilldown into inline in schema components_xsdXSD Diagram of Attachment in schema components_xsd (Open Applications Group (OAGIS))
Collapse XSD Schema Code:
<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>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
EmbeddedData oa:EmbeddedData 0 (1)
URI oa:URI 0 (1)
FileName oa:FileName 0 (1)
ISBN oa:ISBN 0 (1)
DocumentDate oa:DocumentDate 0 (1)
Description oa:Description 0 unbounded
FileType oa:FileType 0 (1)
FileSize oa:FileSize 0 (1)
Note oa:Note 0 unbounded
Title oa:Title 0 unbounded
UserArea oa:UserArea 0 (1)
Collapse Child Attributes:
Name Type Default Value Use
inline oa:inline false Optional
Collapse Derivation Tree:
Collapse References:
oa:Attachment, oa:DataSheetAttachment, oa:DrawingAttachment, oa:FileAttachment, oa:InstructionsAttachment, oa:PictureAttachment