Blame view

config/xsd/request/statusPlot.xsd 2.57 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="StatusPlotParams">
      <xs:annotation>
      <xs:documentation>Parameter serie definition for status 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
        <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>
e803aecf   Erdogan Furkan   7616 - Adding mod...
21
            <xs:attribute name="color" type="xs:string" use="optional"></xs:attribute>
fbe3c2bb   Benjamin Renard   First commit
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
65
66
67
68
69
70
71
72
            <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>