File

Uses the Component:FileType

Describes the meta data for a file.

Fields and Components

Table 6.6. Fields and Components

Name Description Occurrence Type Data Type User Notes
Filename

The name of a file that is to be created, stored, or retrieved

1..1Field udt:TextType  
MIMECode

The MIME application code that indicates the type of content or file being sent. This must conform to the MIME standard format.

1..1Field udt:CodeType  
FileSizeMeasure

The numeric value used to indicate a file size according to the unit code.

0..1Field sqdt:ComputerStorageMeasureType  
MD5HashCode

The MD5 checksum that is used to verify the integrity of a file.

0..1Field udt:CodeType  
URI

0..1Field qdt:URIType  

Sample XML

The XML Sample provided here is an approximation of the generated XML for this component. Not all of the fields are required for implementation.

Example 6.6. File

<File>
     <Filename>......</Filename>     [1..1]
     <MIMECode>......</MIMECode>     [1..1]
     <FileSizeMeasure>......</FileSizeMeasure>     [0..1]
     <MD5HashCode>......</MD5HashCode>     [0..1]
     <URI>......</URI>     [0..1]
</File>