Blame view

config/xsd/request/instantPlot.xsd 3.88 KB
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:include schemaLocation="plot.xsd" />  
    
    <xs:element name="ParameterInstantDrawElement" abstract="true" />
    
    <xs:element name="instantPlot" substitutionGroup="PlotElement">
      <xs:complexType>
      	<xs:sequence>
      		<xs:element name="legends" type="PlotLegendType"
      			minOccurs="0" maxOccurs="1" />
      		<xs:element name="params" minOccurs="0" maxOccurs="1">
      			<xs:complexType>
      				<xs:annotation>
      					<xs:documentation>
      						Parameter serie definition
      					</xs:documentation>
      				</xs:annotation>
      				<xs:sequence>
ece33d6f   Benjamin Renard   Draw the panel of...
21
      					<xs:element name="param" minOccurs="0"
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
      						maxOccurs="1">
      						<xs:complexType>
      							<xs:sequence>
      								<xs:element ref="ParameterInstantDrawElement" maxOccurs="1" minOccurs="1"/>
      							</xs:sequence>
      							<xs:attribute name="id"
      								type="xs:string" />
      						</xs:complexType>
      					</xs:element>
      				</xs:sequence>
      			</xs:complexType>
      		</xs:element>
      		<xs:element name="axes" minOccurs="1" maxOccurs="1">
      			<xs:complexType>
      				<xs:sequence>
      					<xs:element name="xAxis">
      						<xs:complexType>
      							<xs:sequence minOccurs="1"
      								maxOccurs="1">
      								<xs:element name="digitalAxis"
      									type="DigitalAxis" />
      							</xs:sequence>
      						</xs:complexType>
      					</xs:element>
      					<xs:element name="yAxis">
      						<xs:complexType>
      							<xs:sequence minOccurs="1"
      								maxOccurs="1">
      								<xs:element name="digitalAxis"
      									type="DigitalAxis" />
      							</xs:sequence>
      						</xs:complexType>
      					</xs:element>
      					<xs:element name="zAxis" minOccurs="0"
        					maxOccurs="1">
        					<xs:complexType>
        						<xs:sequence minOccurs="1"
        							maxOccurs="1">
        							<xs:element name="colorAxis"
        								type="ColorAxis" />
        						</xs:sequence>
        					</xs:complexType>
        				</xs:element>
      				</xs:sequence>
      			</xs:complexType>
      		</xs:element>
      		<xs:element name="fills" type="FillsType" minOccurs="0" maxOccurs="unbounded"></xs:element>
      	</xs:sequence>
      	<xs:attribute name="time" type="xs:string"></xs:attribute>
      </xs:complexType>
    </xs:element>      

    <xs:complexType name="ParameterInstantSeriePropertiesType">
    	<xs:sequence>
    		<xs:element name="line" type="LineType"></xs:element>
    		<xs:element name="symbol" type="SymbolType"></xs:element>
    	</xs:sequence>
    	<xs:attribute name="xAxis" type="xs:string"></xs:attribute>
    	<xs:attribute name="yAxis" type="xs:string"></xs:attribute>
    	<xs:attribute name="tableOnXAxis" type="xs:boolean"></xs:attribute>
    	<xs:attribute name="id" type="xs:int"></xs:attribute>
    </xs:complexType>
    
    <xs:complexType name="ParameterInstantSpectroPropertiesType">
    	<xs:attribute name="xAxis" type="xs:string"></xs:attribute>
    	<xs:attribute name="yAxis" type="xs:string"></xs:attribute>
    	<xs:attribute name="dimOnXAxis" type="xs:integer"></xs:attribute>
    </xs:complexType>
    
    <xs:element name="iserie" type="ParameterInstantSeriePropertiesType" substitutionGroup="ParameterInstantDrawElement">
    	<xs:annotation>
        	<xs:documentation>
        		define drawing properties for one
        		instant serie
             </xs:documentation>
         </xs:annotation>
    </xs:element>

	<xs:element name="ispectro" type="ParameterInstantSpectroPropertiesType" substitutionGroup="ParameterInstantDrawElement">
    	<xs:annotation>
        	<xs:documentation>
        		define drawing properties for one
        		instant spectro
             </xs:documentation>
         </xs:annotation>
    </xs:element>

</xs:schema>