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

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

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name:  HST_INSTRUMENTS.SDDL -->
<!-- -->
<!--  Purpose:      This SDDL file defines the HST_INSTRUMENTS relation.-->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date       PR      Who                       Reason-->
<!--  - - - -    - - - -   - -    - - - - - - - - - - - - - - - - - - - - - -->
<!--  11/16/99   39941     Baum   Original implementation-->
<lm>  07/03/03   48821     CTB   Converted to XML format </lm> <!-- last mod -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
 

    <record name="HST_INSTRUMENTS_TYPE"> 
 
        <description>This relation is used to define the set of instruments
                   that are in place at the time of a status buffer
                   message. The names of instruments used in the telemetry
                   for status buffer messages are sometimes cryptic, like SI1.
                   This table can be used to interpret such values. The
                   names used here have the same values as the name in the
                   oms_status+message table. </description>





            <field name="start_date">
                    <type>C8</type>
                    <description>The installation day for the instrument. Format is
                         YYYY.DDD. </description>
            </field>

            <field name="bin_number">
                    <type>I4</type>
                    <description>The HST instrument bin number in the range 1 to 5. </description>
            </field>
	
            <field name="name">
                    <type>C6</type>
                    <description>This one of the SI names used for the table
                         oms_status_message. The allowed values are FOC, FOS,
                         HRS, HSP, WFPC, COSTAR, WFPC2, NICMOS, STIS, ACS,
                         COS, and WFPC3. </description>
            </field>

    </record>
 
  
 
    <relation name="hst_instruments">
 
        <type>HST_INSTRUMENTS_TYPE</type>

        <description>HST Instrument Configuration Relation</description>

        <subsystem_using>OMS</subsystem_using>

        <index name="hst_instruments_1">
            <type>unique clustered</type>
            <field name="start_date"/>
            <field name="bin_number"/>
            <field name="name"/>
        </index>

    </relation>
</sddl>
