ScheduleComplexType

<P>This is the primary element which identifies which <Observation>'s are to be performed. All of the scheduling constraint elements within a <Schedule> are applied to all <Observations> at lower levels. Child <Schedule> elements can be used to make subset-constraints. A complete Schedule can be put on hold using status="inactive", or individual <Observations> can be put on hold using the same method.</P>
<P>Only a Schedule either
  <UL>
    <LI>with no status attribute and some <Observation>'s with status="active" or</LI>
    <LI>with an status="active" and <Observation>'s with status="active" can be carried out.</LI>
  </UL>
</P>

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
id xs:ID optional
rdf xs:anyURI optional
ref xs:IDREF optional
status StatusTypes optional
type restriction of xs:string optional
uref UniqueNamesSimpleType optional

Used By

Source

<xs:complexType name="ScheduleComplexType">
  <xs:annotation>
    <xs:documentation>
      <P>This is the primary element which identifies which <Observation>'s are to be performed. All of the scheduling constraint elements within a <Schedule> are applied to all <Observations> at lower levels. Child <Schedule> elements can be used to make subset-constraints. A complete Schedule can be put on hold using status="inactive", or individual <Observations> can be put on hold using the same method.</P>
      <P>Only a Schedule either
        <UL>
          <LI>with no status attribute and some <Observation>'s with status="active" or</LI>
          <LI>with an status="active" and <Observation>'s with status="active" can be carried out.</LI>
        </UL>
      </P>
    </xs:documentation>
  </xs:annotation>
  <xs:choice minOccurs="0" maxOccurs="unbounded">
    <xs:element name="AirmassConstraint" type="AirmassConstraintComplexType"/>
    <xs:element name="ApertureConstraint" type="ApertureConstraintComplexType"/>
    <xs:element name="CatalogueConstraint" type="CatalogueConstraintComplexType"/>
    <xs:element name="DateTimeConstraint" type="DateTimeConstraintComplexType"/>
    <xs:element name="ExposureConstraint" type="ExposureConstraintComplexType"/>
    <xs:element name="ExtinctionConstraint" type="ExtinctionConstraintComplexType"/>
    <xs:element name="FieldOfViewConstraint" type="FieldOfViewConstraintComplexType"/>
    <xs:element name="MedianCountsConstraint" type="MedianCountsConstraintComplexType"/>
    <xs:element name="MoonConstraint" type="MoonConstraintComplexType"/>
    <xs:element name="PhaseConstraint" type="PhaseConstraintComplexType"/>
    <xs:element name="PositionConstraint" type="PositionConstraintComplexType"/>
    <xs:element name="SeeingConstraint" type="SeeingConstraintComplexType"/>
    <xs:element name="SeriesConstraint" type="SeriesConstraintComplexType"/>
    <xs:element name="SimultaneityConstraint" type="SimultaneityConstraintComplexType"/>
    <xs:element name="SkyConstraint" type="SkyConstraintComplexType"/>
    <xs:element name="WaitConstraint" type="WaitConstraintComplexType"/>
    <xs:element name="WeatherConstraint" type="WeatherReportOrConstraintComplexType"/>
    <xs:element name="Calibration" type="CalibrationComplexType"/>
    <xs:element name="CalibrationObservation" type="CalibrationObservationComplexType"/>
    <xs:element name="Camera" type="CameraComplexType"/>
    <xs:element name="Catalogue" type="CatalogueComplexType"/>
    <xs:element name="Description" type="DescriptionComplexType"/>
    <xs:element name="Detector" type="DetectorComplexType"/>
    <xs:element name="Device" type="DeviceComplexType"/>
    <xs:element name="Exposure" type="ExposureComplexType"/>
    <xs:element name="FilterWheel" type="FilterWheelComplexType"/>
    <xs:element name="Observation" type="ObservationComplexType"/>
    <xs:element name="Observatory" type="ObservatoryComplexType"/>
    <xs:element name="Pipeline" type="PipelineComplexType"/>
    <xs:element name="Priority" type="PriorityComplexType"/>
    <xs:element name="Schedule" type="ScheduleComplexType"/>
    <xs:element name="Setup" type="SetupComplexType"/>
    <xs:element name="Scoring" maxOccurs="1" type="ScoringComplexType"/>
    <xs:element name="Spectrograph" type="SpectrographComplexType"/>
    <xs:element name="Target" type="TargetComplexType" minOccurs="0"/>
    <xs:element name="Telescope" type="TelescopeComplexType" minOccurs="0"/>
    <xs:element name="Username" type="UsernameComplexType"/>
    <xs:any namespace="##other" processContents="strict" minOccurs="0" maxOccurs="unbounded"/>
  </xs:choice>
  <xs:attributeGroup ref="RTMLAttributes"/>
  <xs:attribute name="status" type="StatusTypes"/>
  <xs:attribute name="type">
    <xs:simpleType>
      <xs:restriction base="xs:string">
        <xs:enumeration value="requested"/>
        <xs:enumeration value="triggered"/>
      </xs:restriction>
    </xs:simpleType>
  </xs:attribute>
</xs:complexType>