<?xml version="1.0"?>
<!-- $Header$ -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" version="0.1" elementFormDefault="unqualified">

  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <!-- OBSERVATION INFO SETUP RELATED TAGS -->
  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->

  
  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <!-- IMAGETYP Type             -->
  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <xs:simpleType name="IMAGETYP_Type"> 
    <xs:annotation>
      <xs:appinfo>Image type</xs:appinfo>
      <xs:documentation xml:lang="en">
        Description here.  
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string"/>
  </xs:simpleType>

  <!-- <!-\- ~~~~~~~~~~~~~~~~~~~~~~~~~ -\-> -->
  <!-- <!-\- ORIGFILE Type             -\-> -->
  <!-- <!-\- ~~~~~~~~~~~~~~~~~~~~~~~~~ -\-> -->
  <!-- <xs:simpleType name="ORIGFILE_Type">  -->
  <!--   <xs:annotation> -->
  <!--     <xs:appinfo>Orig File</xs:appinfo> -->
  <!--     <xs:documentation xml:lang="en"> -->
  <!--       Orig file description.  -->
  <!--     </xs:documentation> -->
  <!--   </xs:annotation> -->
  <!--   <xs:restriction base="xs:string"/> -->
  <!-- </xs:simpleType> -->
  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  
  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <!-- OBJECT Type               -->
  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <xs:simpleType name="OBJECT_Type">
    <xs:annotation>
      <xs:appinfo>OBJECT Title</xs:appinfo>
      <xs:documentation xml:lang="en">
        Observation title given by the observer.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string"/>
  </xs:simpleType>


  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <!-- COMMENT Type              -->
  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <xs:simpleType name="COMMENT_Type">
    <xs:annotation>
      <xs:appinfo>COMMENT</xs:appinfo>
      <xs:documentation xml:lang="en">
        Observer comments.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string"/>
  </xs:simpleType>


  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <!-- PARTNER Type              -->
  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <xs:simpleType name="PARTNER_Type">
    <xs:annotation>
      <xs:appinfo>Partner s name</xs:appinfo>
      <xs:documentation xml:lang="en">
      Name of the institute observing.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string"/>
  </xs:simpleType>


  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <!-- OBSERVER Type             -->
  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <xs:simpleType name="OBSERVER_Type">
    <xs:annotation>
      <xs:appinfo>Observer name</xs:appinfo>
      <xs:documentation xml:lang="en">
        Observer name.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string"/>
  </xs:simpleType>


  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <!-- PI-COI Type               -->
  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <xs:simpleType name="PI_COI_Type">
    <xs:annotation>
      <xs:appinfo>PI COI</xs:appinfo>
      <xs:documentation xml:lang="en">
        Name of proposal PI.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string"/>
  </xs:simpleType>


  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <!-- PROPID Type               -->
  <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~ -->
  <xs:simpleType name="PROPID_Type">
    <xs:annotation>
      <xs:appinfo>PROP ID</xs:appinfo>
      <xs:documentation xml:lang="en">
        Proposal Identification.
      </xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string"/>
  </xs:simpleType>



  <!-- ~~~~~~~~~~~~~~~~~ -->
  <!-- Info Setup        -->
  <!-- ~~~~~~~~~~~~~~~~~ -->
  <xs:complexType name="InfoSetup_Type" mixed="false">
    <xs:all>
      <xs:element name="IMAGETYP"         type="IMAGETYP_Type"         minOccurs="0" maxOccurs="1"/>
      <!-- <xs:element name="ORIGFILE"         type="ORIGFILE_Type"         minOccurs="0" maxOccurs="1"/> -->
      <xs:element name="OBJECT"           type="OBJECT_Type"           minOccurs="0" maxOccurs="1"/>
      <xs:element name="COMMENT"          type="COMMENT_Type"          minOccurs="0" maxOccurs="1"/>
      <xs:element name="PARTNER"          type="PARTNER_Type"          minOccurs="0" maxOccurs="1"/>
      <xs:element name="OBSERVER"         type="OBSERVER_Type"         minOccurs="0" maxOccurs="1"/>
      <xs:element name="PI_COI"           type="PI_COI_Type"           minOccurs="0" maxOccurs="1"/>
      <xs:element name="PROPID"           type="PROPID_Type"           minOccurs="0" maxOccurs="1"/>
    </xs:all>
  </xs:complexType>
</xs:schema>
