statusPlot.xsd 2.57 KB
<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:include schemaLocation="plot.xsd" />  
  
    <xs:complexType name="StatusPlotParams">
      <xs:annotation>
      <xs:documentation>Parameter serie definition for status plot</xs:documentation>
      </xs:annotation>
      <xs:sequence>
      <xs:element name="param" minOccurs="0" maxOccurs="unbounded">
        <xs:complexType>
        <xs:sequence>
          <xs:element name="serie" maxOccurs="unbounded" minOccurs="0">
          <xs:annotation>
            <xs:documentation>
            define serie index for vector componant
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:attribute name="color" type="xs:string" use="optional"></xs:attribute>
            <xs:attribute name="index" type="xs:string"/>       
            <xs:attribute name="resolution" type="xs:integer"/>      
          </xs:complexType>
          </xs:element>          
        </xs:sequence>
        <xs:attribute name="id" type="xs:string"/> <!-- parameter name -->      
        </xs:complexType>      
      </xs:element>
      </xs:sequence>
    </xs:complexType>
  
  <xs:element name="statusPlot" substitutionGroup="PlotElement">
    <xs:complexType >
      <xs:annotation>
        <xs:documentation>
    This plot is a standalone plot, it has its own time axis.
        </xs:documentation>
      </xs:annotation>
      <xs:sequence>
        <xs:element name="params" type="StatusPlotParams" minOccurs="0" maxOccurs="1"/>
        <xs:element name="axes" minOccurs="1" maxOccurs="1">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="xAxis">
                <xs:complexType>
                  <xs:sequence minOccurs="0" maxOccurs="1">
                    <xs:element name="timeAxis" type="TimeAxis"/>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="colorMapIndex" type="xs:integer" use="optional">
        <xs:annotation>
          <xs:documentation>color map index to use</xs:documentation>
        </xs:annotation>
      </xs:attribute>
      <xs:attribute name="position" use="optional">
        <xs:simpleType>
          <xs:restriction base="xs:string">
            <xs:enumeration value="top" />
            <xs:enumeration value="bottom" />
          </xs:restriction>
        </xs:simpleType> 
      </xs:attribute>
    </xs:complexType>
  </xs:element>   
   
</xs:schema>