Blame view

config/xsd/request/tickPlot.xsd 2.29 KB
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
<?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="TickPlotParams">
      <xs:annotation>
      <xs:documentation>Parameter serie definition for tick plot</xs:documentation>
      </xs:annotation>
      <xs:sequence>
5547a326   Benjamin Renard   Give the possibil...
11
      <xs:element name="param" minOccurs="0" maxOccurs="unbounded">
fbe3c2bb   Benjamin Renard   First commit
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
        <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="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="tickPlot" 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="TickPlotParams" 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="format" type="xs:string" use="optional">
        <xs:annotation>
          <xs:documentation>tickmarks format. Uses printf format specification. 
(resulting string will be limited to 40 chars, due to plplot limitation)</xs:documentation>
        </xs:annotation>
      </xs:attribute>
    </xs:complexType>
  </xs:element>   
   
</xs:schema>