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

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

<sddl>

<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!-- -->
<!--  SDDL Name:    COSTAR_DEPLOYED.SDDL     -->
<!-- -->
<!--  Purpose:      This SDDL file defines relation COSTAR_DEPLOYED     -->
<!-- -->
<!--  Modification History:-->
<!-- -->
<!--    Date       OPR      Who                    Reason-->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
<!--  19-JAN-96             PHyde          Original Implementaton-->
<!--  23-JAN-96             Rose           Add descriptions-->
<!--  31-JUL-96    31905    MARose         Fix syntax so SDDLCOMP will work-->
<lm>  07/03/03   48821     CTB   Converted to XML format </lm> <!-- last mod -->
<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->


    <record name="COSDEP_TYPE">
           <description>This SDDL file defines relation COSTAR_DEPLOYED. The function
                 of CGACOS.FOR is to get the COSTAR deployment status for the
                 FOC, FOS, and HRS arms from the costar_flags relation in the
                 SOGS database.  If these status fields are TRUE, then the
                 routine CGACST will report the position of the arms.  If the
                 field is false, or if the date of the observation is prior
                 to the use_after date, the COSTAR keywords in the .SHH file
                 will have default values.</description>
  

           <field name="instrument">
                   <type>C*3</type>
                   <description>The name of the science instrument</description>
                   <discrete>FOS</discrete>
            <discrete>FOC</discrete>
            <discrete>HRS</discrete>
           </field>

           <field name="use_after">
                   <type>C*23</type>
                   <description>whether the COSTAR mirror has been deployed</description>
                   <discrete>Y</discrete>
            <discrete>N</discrete>
           </field>

           <field name="deploy">
                   <type>C*1</type>
                   <description>whether the COSTAR mirror has been deployed</description>
                   <discrete>Y</discrete>
            <discrete>N</discrete>
           </field>

    </record>


    <relation name="costar_deployed">

        <type>COSDEP_TYPE</type>

        <description>Flags for HRS, FOC, FOS telling history of COSTAR
                 deployment onboard the spacecraft</description>

        <subsystem_using>OPUS</subsystem_using>

    </relation>


    <instance  name="costar_deployed" scope="global" type="COSDEP_TYPE" />

</sddl>
