<?xml version="1.0" encoding="UTF-8"?>

<!-- <!DOCTYPE sddlschema SYSTEM "sddlschema.xsd">-->

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name:    FILE_TIMES.SDDL          -->
<!-- -->
<!--  Purpose:      This SDDL file defines relation FILE_TIMES          -->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date       OPR      Who                    Reason-->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!--  19-JAN-96             PHyde          Original Implementaton-->
<!--  22-JAN-96             Ken Steuerman  Add descriptions-->
<!--  31-JUL-96    31905    MARose         Fix syntax so SDDLCOMP will work-->
<!--  29-DEC-99    39733    Ken S.         Add replan_time-->
<!--  20-JUN-00    39733.4  Ken S.         Modify length of time fields.-->
<!--  07/03/03     48821    CTB            Converted to XML format       -->
<!--  11/11/03     49797    MSwam          Add unique index for replication -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->


    <record name="FILTIM_TYPE">

           <description>Records observation start and end times
                               for ENG, MTL, MSC, SMS, and SUB, archive
                               classes</description>
 

           <field name="dataset_name">
                   <type>C*23</type>
                   <description>The name given to describe a group of files.</description>

           </field>

           <field name="archclass">
                   <type>C*3</type>
                   <description>The classification used to archive the data.</description>
           </field>

           <field name="archdate">
                   <type>C*20</type>
                   <description>The latest file date associated with the
                               dataset.</description>
           </field>

           <field name="window_start">
                   <type>C*13</type>
                   <description>Corrected spacecraft time for first
                               minor frame in the file.  (UTC rounded
                               to the nearest second, in the format
                               YYYYDDDHHMMSS).</description>
           </field>

           <field name="window_stop">
                   <type>C*13</type>
                   <description>Corrected spacecraft time for last
                               minor frame in the file.  (UTC rounded
                               to the nearest second, in the format
                               YYYYDDDHHMMSS).</description>
           </field>

           <field name="tm_generated">
                   <type>C*13</type>
                   <description>Time file generated at PASS.</description>
           </field>

           <field name="pdb_version">
                   <type>C*8</type>
                   <description>PDB tape ID number.</description>
           </field>

           <field name="environment">
                   <type>C*8</type>
                   <description>AEDP environment tape name.</description>
           </field>

           <field name="replan_time">
                   <type>C*13</type>
                   <description>Replan start time (UTC rounded
                               to the nearest second, in the format
                               YYYYDDDHHMMSS).</description>
           </field>

    </record>


    <relation name="file_times">

        <type>FILTIM_TYPE</type>

        <description></description>
        <subsystem_using>OPUS</subsystem_using>

        <index name="file_times_1">
            <type>unique clustered</type>
            <field name="dataset_name"/>
            <field name="archclass"/>
            <field name="archdate"/>
            <field name="window_stop"/>
            <field name="tm_generated"/>
        </index>

    </relation>

    <instance  name="file_times" scope="global" type="FILTIM_TYPE" />

</sddl>
