Blame view

config/xsd/request/plot.xsd 57.9 KB
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:include schemaLocation="request.xsd" />    
    
    <xs:element name="PlotElement" abstract="true"/>
        
    <xs:complexType name="FontType">
e1e55413   Hacene SI HADJ MOHAND   us ok
9
10
11
12
        <xs:attribute name="name" type="xs:string" />
        <xs:attribute name="size" type="xs:integer" />
        <xs:attribute name="style" type="xs:string" use="optional"></xs:attribute>
        <xs:attribute name="weight" type="xs:string" use="optional"></xs:attribute>
fbe3c2bb   Benjamin Renard   First commit
13
14
15
    </xs:complexType>

    <xs:attributeGroup name="ColorGroup">
e1e55413   Hacene SI HADJ MOHAND   us ok
16
17
        <xs:attribute name="color" type="xs:string" />
        <xs:attribute name="colorMapIndex" type="xs:integer" />
fbe3c2bb   Benjamin Renard   First commit
18
19
20
    </xs:attributeGroup>
        
    <xs:complexType name="TitleType">
e1e55413   Hacene SI HADJ MOHAND   us ok
21
22
23
24
25
        <xs:simpleContent>
            <xs:extension base="xs:string">
                <xs:attributeGroup ref="titleGroup"/>
            </xs:extension>
        </xs:simpleContent>
fbe3c2bb   Benjamin Renard   First commit
26
27
28
    </xs:complexType>
    
    <xs:attributeGroup name="titleGroup">
e1e55413   Hacene SI HADJ MOHAND   us ok
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
        <xs:attribute name="position">
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="top" />
                    <xs:enumeration value="bottom" />
                </xs:restriction>
            </xs:simpleType>  
        </xs:attribute> 
        <xs:attribute name="align">
            <xs:simpleType  >
                <xs:restriction base="xs:string">
                    <xs:enumeration value="center" />
                    <xs:enumeration value="left" />
                    <xs:enumeration value="right" />
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attributeGroup ref="labelGroup"/>
fbe3c2bb   Benjamin Renard   First commit
47
48
49
    </xs:attributeGroup>
    
    <xs:attributeGroup name="axisGroup">
e1e55413   Hacene SI HADJ MOHAND   us ok
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
        <xs:attribute name="origin">
            <xs:simpleType>
                <xs:restriction base="xs:float">
                    <xs:enumeration value="0.0" />
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="position">
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="top" />
                    <xs:enumeration value="bottom" />
                    <xs:enumeration value="left" />
                    <xs:enumeration value="right" />
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="thickness" type="xs:integer" />
        <xs:attributeGroup ref="ColorGroup" />
        <xs:attribute name="reverse" type="xs:boolean" />
        <xs:attribute name="visible" type="xs:boolean" />
        <xs:attribute name="scale">
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="linear" />
                    <xs:enumeration value="logarithmic" />
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="showLegend" type="xs:boolean"></xs:attribute>
        <xs:attribute name="showTickMark" type="xs:boolean"></xs:attribute>
fbe3c2bb   Benjamin Renard   First commit
81
82
83
84
85
    </xs:attributeGroup>

    <xs:attributeGroup name="labelGroup">        
        <xs:attribute name="fontName" type="xs:string"/>                    
        <xs:attribute name="fontSize" type="xs:integer"/>
5b379402   Benjamin Renard   Define fontStyle ...
86
        <xs:attribute name="fontStyle" type="xs:string"/>
e1e55413   Hacene SI HADJ MOHAND   us ok
87
        <xs:attribute name="fontWeight" type="xs:string"/>
fbe3c2bb   Benjamin Renard   First commit
88
89
90
91
        <xs:attributeGroup ref="ColorGroup"/>
    </xs:attributeGroup>
    
    <xs:attributeGroup name="legendGroup">
e1e55413   Hacene SI HADJ MOHAND   us ok
92
93
        <xs:attribute name="text" type="xs:string"/>
        <xs:attributeGroup ref="labelGroup"/>
fbe3c2bb   Benjamin Renard   First commit
94
95
96
97
98
99
100
    </xs:attributeGroup>
    
    <!-- Define configuration for parameter -->
    <xs:element name="ParameterDrawElement" abstract="true" />
    
    <xs:complexType name="ParametersType">
        <xs:annotation>
e1e55413   Hacene SI HADJ MOHAND   us ok
101
            <xs:documentation>Parameter identifier</xs:documentation>
fbe3c2bb   Benjamin Renard   First commit
102
103
        </xs:annotation>
        <xs:sequence>
2d40f7de   Benjamin Renard   Fix bug with pane...
104
            <xs:element name="param" minOccurs="0" maxOccurs="unbounded">
fbe3c2bb   Benjamin Renard   First commit
105
                <xs:complexType>
e1e55413   Hacene SI HADJ MOHAND   us ok
106
107
108
109
110
111
112
113
                    <xs:sequence>
                        <xs:element name="default"
                                            type="ParameterDefaultPropertiesType" minOccurs="0"
                                            maxOccurs="1">
                        </xs:element>
                        <xs:element ref="ParameterDrawElement" maxOccurs="unbounded" minOccurs="0"/>
                    </xs:sequence>
                    <xs:attribute name="id" type="xs:string" use="required"/>                	
fbe3c2bb   Benjamin Renard   First commit
114
115
116
117
                </xs:complexType>
            </xs:element>        
        </xs:sequence>
    </xs:complexType>
ac0e4b16   Erdogan Furkan   Some modifications
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139

    <xs:complexType name="TextLegendType">
        <xs:sequence>
            <xs:element name="font" type="FontType"
                                        minOccurs="0" maxOccurs="1">
            </xs:element>
        </xs:sequence>
        <xs:attribute name="text" type="xs:string">
        </xs:attribute>
        <xs:attribute name="position">
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="right" />
                    <xs:enumeration value="left" />
                    <xs:enumeration value="top" />
                    <xs:enumeration value="bottom" />
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="color" type="xs:string">
        </xs:attribute>
    </xs:complexType>
fbe3c2bb   Benjamin Renard   First commit
140
141
142
    
    <xs:complexType name="PlotLegendType">
        <xs:annotation>
e1e55413   Hacene SI HADJ MOHAND   us ok
143
            <xs:documentation>Additional legends for plot</xs:documentation>
fbe3c2bb   Benjamin Renard   First commit
144
145
        </xs:annotation>
        <xs:sequence>
e1e55413   Hacene SI HADJ MOHAND   us ok
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
            <xs:element name="paramsLegend" minOccurs="0"
                            maxOccurs="1">
                <xs:complexType>
                    <xs:sequence>
                        <xs:element name="font" type="FontType"
                                                    minOccurs="0" maxOccurs="1" />
                    </xs:sequence>
                    <xs:attribute name="type">
                        <xs:simpleType>
                            <xs:restriction base="xs:string">
                                <xs:enumeration value="text-line-symbol" />
                                <xs:enumeration value="text-only" />
                            </xs:restriction>
                        </xs:simpleType>
                    </xs:attribute>
                    <xs:attribute name="showParamInfo" type="xs:boolean"/>
                    <xs:attribute name="showIntervalInfo" type="xs:boolean"/>
                    <xs:attribute name="intervalInfoType">
                        <xs:simpleType>
                            <xs:restriction base="xs:string">
                                <xs:enumeration value="index" />
                                <xs:enumeration value="start-stop" />
                            </xs:restriction>
                        </xs:simpleType>
                    </xs:attribute>
                    <xs:attribute name="position">
                        <xs:simpleType>
                            <xs:restriction base="xs:string">
                                <xs:enumeration value="inside" />
                                <xs:enumeration value="outside" />
                            </xs:restriction>
                        </xs:simpleType>
                    </xs:attribute>
                    <xs:attribute name="defaultTextColor"
                                              type="xs:string" />
                    <xs:attribute name="borderVisible"
                                              type="xs:boolean" />
                    <xs:attribute name="borderColor" type="xs:string" />
                </xs:complexType>
            </xs:element>
ac0e4b16   Erdogan Furkan   Some modifications
186
            <xs:element name="textLegend" type="TextLegendType" minOccurs="0" maxOccurs="unbounded"/>
fbe3c2bb   Benjamin Renard   First commit
187
188
189
190
        </xs:sequence>
    </xs:complexType>
        
    <xs:element name="serie" type="ParameterYPropertiesType" substitutionGroup="ParameterDrawElement">
e1e55413   Hacene SI HADJ MOHAND   us ok
191
192
193
194
195
        <xs:annotation>
            <xs:documentation>
                define drawing properties for one
                serie associated to that parameter.
                At least one serie should be
fbe3c2bb   Benjamin Renard   First commit
196
197
198
199
                attached to a parameter, but more
                can be associated when related
                parameter is not a simple type (a
                vector for instance).
e1e55413   Hacene SI HADJ MOHAND   us ok
200
201
            </xs:documentation>
        </xs:annotation>
fbe3c2bb   Benjamin Renard   First commit
202
203
204
    </xs:element>
    
    <xs:element name="spectro" type="ParameterSpectroPropertiesType" substitutionGroup="ParameterDrawElement">
e1e55413   Hacene SI HADJ MOHAND   us ok
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
        <xs:annotation>
            <xs:documentation>
                define drawing properties for one
                spectrogram associated to that parameter.
            </xs:documentation>
        </xs:annotation>
    </xs:element>
    
    <xs:element name="sauvaud" type="ParameterSauvaudPropertiesType" substitutionGroup="ParameterDrawElement">
        <xs:annotation>
            <xs:documentation>
                define drawing properties for one
                spectrogram associated to that parameter.
            </xs:documentation>
        </xs:annotation>
fbe3c2bb   Benjamin Renard   First commit
220
221
222
    </xs:element>
        
    <xs:element name="colorserie" type="ParameterColorSeriePropertiesType" substitutionGroup="ParameterDrawElement">
e1e55413   Hacene SI HADJ MOHAND   us ok
223
224
225
226
227
228
        <xs:annotation>
            <xs:documentation>
                define drawing properties for a
                colored serie.
            </xs:documentation>
        </xs:annotation>
fbe3c2bb   Benjamin Renard   First commit
229
    </xs:element>
e257cfb9   Benjamin Renard   First implementat...
230
231

    <xs:element name="intervals" type="ParameterIntervalsPropertiesType" substitutionGroup="ParameterDrawElement">
e1e55413   Hacene SI HADJ MOHAND   us ok
232
233
234
235
236
237
        <xs:annotation>
            <xs:documentation>
                define drawing properties for a
                intervals serie.
            </xs:documentation>
        </xs:annotation>
e257cfb9   Benjamin Renard   First implementat...
238
    </xs:element>    
fbe3c2bb   Benjamin Renard   First commit
239
240
241
242
        
    <!-- Define additional plot objects  -->
    <xs:complexType name="AdditionalObjetctsType">
        <xs:annotation>
e1e55413   Hacene SI HADJ MOHAND   us ok
243
            <xs:documentation>Additional object such as textPlot...</xs:documentation>
fbe3c2bb   Benjamin Renard   First commit
244
245
        </xs:annotation>
        <xs:sequence>
e1e55413   Hacene SI HADJ MOHAND   us ok
246
247
248
249
250
251
252
253
254
255
256
257
258
259
            <xs:element name="textPlot" type="TextPlotPropertiesType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>
                        define drawing properties for a plot box 
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="curvePlot"  type="CurvePlotPropertiesType" minOccurs="0" maxOccurs="unbounded">
                <xs:annotation>
                    <xs:documentation>
                        define drawing properties for a curve 
                    </xs:documentation>
                </xs:annotation>
            </xs:element>
fbe3c2bb   Benjamin Renard   First commit
260
261
262
263
264
265
        </xs:sequence>
    </xs:complexType>

    <!-- Define base axis -->
    <xs:complexType name="AxisElement">
        <xs:sequence>
e1e55413   Hacene SI HADJ MOHAND   us ok
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
            <xs:element name="range" minOccurs="0" maxOccurs="1">
                <xs:complexType>
                    <xs:attribute name="min" type="xs:float" />
                    <xs:attribute name="max" type="xs:float" />
                    <xs:attribute name="extend" type="xs:boolean" />
                </xs:complexType>
            </xs:element>
            <xs:element name="tick" minOccurs="0" maxOccurs="1">
                <xs:complexType>
                    <xs:simpleContent>
                        <xs:extension base="xs:string">
                            <xs:attribute name="majorNumber"
                                                              type="xs:integer" />
                            <xs:attribute name="minorNumber"
                                                              type="xs:integer" />
                            <xs:attribute name="majorSpace"
                                                              type="xs:float" />
                            <xs:attribute name="minorSpace"
                                                              type="xs:float" />
                            <xs:attribute name="position">
                                <xs:simpleType>
                                    <xs:restriction base="xs:string">
                                        <xs:enumeration value="inwards" />
                                        <xs:enumeration
                                            value="outwards" />
                                    </xs:restriction>
                                </xs:simpleType>
                            </xs:attribute>
                            <xs:attribute name="lengthFactor"
                                                              type="xs:float" />
                            <xs:attribute name="minorGrid"
                                                              type="xs:boolean" />
                            <xs:attribute name="majorGrid"
                                                              type="xs:boolean" />
                        </xs:extension>
                    </xs:simpleContent>
                </xs:complexType>
            </xs:element>
            <xs:element name="legend" minOccurs="0" maxOccurs="1">
                <xs:complexType>
                    <xs:attributeGroup ref="legendGroup" />
                </xs:complexType>
            </xs:element>
            <xs:element name="constantLine" maxOccurs="unbounded" minOccurs="0">
                <xs:complexType>
                    <xs:attribute name="color" type="xs:string">
                    </xs:attribute>
                    <xs:attribute name="style">
                        <xs:annotation>
                            <xs:documentation>
                                Line Style. Can be one of the following
                                values : - plain : plain line style -
                                dot : line with short dashes and gaps -
                                long-spaced-dot : line with long dashes
                                and long gaps. - long-short-dot : line
                                with long dashes and short gaps.
                            </xs:documentation>
                        </xs:annotation>
                        <xs:simpleType>
                            <xs:restriction base="xs:string">
                                <xs:enumeration value="plain"></xs:enumeration>
                                <xs:enumeration value="dot"></xs:enumeration>
                                <xs:enumeration
                                    value="long-spaced-dot">
                                </xs:enumeration>
                                <xs:enumeration
                                    value="long-short-dot">
                                </xs:enumeration>
                            </xs:restriction>
                        </xs:simpleType>
                    </xs:attribute>
                    <xs:attribute name="width" type="xs:integer">
                    </xs:attribute>
                    <xs:attribute name="value" type="xs:string">
                    </xs:attribute>
                    <xs:attribute name="id"
                                              type="xs:integer">
                    </xs:attribute>
                </xs:complexType>
            </xs:element>
fbe3c2bb   Benjamin Renard   First commit
346
347
348
349
350
351
352
353
354
355
356
357
        </xs:sequence>
        <xs:attributeGroup ref="axisGroup"/>
    </xs:complexType>
    
    
    <!-- Define axis that can only be used in X axis -->
    
    <!-- Time axis base -->
    <xs:complexType name="TimeAxis">
        <xs:complexContent>
            <xs:extension base="AxisElement">
                <xs:attribute name="format" type="xs:string"/>
07bf1e7c   Menouard AZIB   EveryThing works ...
358
                <xs:attribute name="id" type="xs:string"/>
fbe3c2bb   Benjamin Renard   First commit
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>    
        
    <!-- Epoch axis base -->
    <xs:complexType name="EpochAxis">
        <xs:complexContent>
            <xs:extension base="AxisElement">
                <xs:attribute name="normalized" type="xs:boolean"/>
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>    
    
    <!-- Digital axis base -->
    <xs:complexType name="DigitalAxis">
        <xs:complexContent>
            <xs:extension base="AxisElement">
                <xs:attribute name="id" use="required"/>   
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>
    
    <!-- Color axis base -->
    <xs:complexType name="ColorAxis">
        <xs:complexContent>
            <xs:extension base="AxisElement">
e1e55413   Hacene SI HADJ MOHAND   us ok
385
386
                <xs:attribute name="minValColor" type="xs:string"/>
                <xs:attribute name="maxValColor" type="xs:string"/>
fbe3c2bb   Benjamin Renard   First commit
387
388
389
390
391
392
393
            </xs:extension>
        </xs:complexContent>
    </xs:complexType>

    <xs:element name="plot" substitutionGroup="OutputElement" >
        <xs:complexType>
            <xs:sequence>
e1e55413   Hacene SI HADJ MOHAND   us ok
394
395
                <xs:element name="outputStructure" minOccurs="0" maxOccurs="1">
                    <xs:simpleType  >
fbe3c2bb   Benjamin Renard   First commit
396
397
398
399
400
                        <xs:restriction base="xs:string">
                            <xs:enumeration value="one-file" />
                            <xs:enumeration value="one-file-per-interval" />
                        </xs:restriction>
                    </xs:simpleType>
e1e55413   Hacene SI HADJ MOHAND   us ok
401
402
                </xs:element>
                <xs:element name="filePrefix" type="xs:string" minOccurs="0" maxOccurs="1"/>
8d19d171   Benjamin Renard   Fix bug with rela...
403
                <xs:element name="page" minOccurs="0" maxOccurs="1">
fbe3c2bb   Benjamin Renard   First commit
404
                    <xs:complexType>
e1e55413   Hacene SI HADJ MOHAND   us ok
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
                        <xs:sequence>
                            <xs:element name="title" type="TitleType"
                                            minOccurs="0" maxOccurs="1" />
                            <xs:element name="margin" minOccurs="0"
                                            maxOccurs="1">
                                <xs:complexType>
                                    <xs:attribute name="x"
                                                              type="xs:decimal" />
                                    <xs:attribute name="y"
                                                              type="xs:decimal" />
                                </xs:complexType>
                            </xs:element>
                            <xs:element name="font" type="FontType"
                                            minOccurs="0" maxOccurs="1" />
                            <xs:element name="layout" minOccurs="0"
                                            maxOccurs="1">
                                <xs:complexType>
                                    <xs:sequence></xs:sequence>
                                    <xs:attribute name="type">
                                        <xs:simpleType>
                                            <xs:restriction
                                                base="xs:string">
                                                <xs:enumeration
                                                    value="manual">
                                                </xs:enumeration>
                                                <xs:enumeration
                                                    value="auto">
                                                </xs:enumeration>
                                                <xs:enumeration
                                                    value="vertical">
                                                </xs:enumeration>
                                            </xs:restriction>
                                        </xs:simpleType>
                                    </xs:attribute>
                                    <xs:attribute name="panelHeight"
                                                              type="xs:double">
                                    </xs:attribute>
                                    <xs:attribute name="panelSpacing"
                                                              type="xs:double">
                                    </xs:attribute>
                                    <xs:attribute
                                        name="firstPanelHeightFactor"
                                        type="xs:double">
                                    </xs:attribute>
                                    <xs:attribute name="expand"
                                                              type="xs:boolean">
                                    </xs:attribute>
                                    <xs:attribute name="onlyLowerTimeAxesLegend"
                                                              type="xs:boolean">
12353568   Benjamin Renard   Add layout proper...
454

e1e55413   Hacene SI HADJ MOHAND   us ok
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
                                    </xs:attribute>
                                </xs:complexType>
                            </xs:element>
                            <xs:element name="panelDefaults"
                                            minOccurs="0" maxOccurs="1">
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element name="font"
                                                                    type="FontType" minOccurs="0" maxOccurs="1" />
                                    </xs:sequence>
                                    <xs:attribute name="resolution"
                                                              type="xs:integer" />
                                    <!-- default series max resolution -->
                                    <xs:attribute name="backgroundColor"
                                                              type="xs:string" />
                                    <xs:attribute name="colorMapIndex"
                                                              type="xs:integer" />
                                    <xs:attribute name="charSizeUnits"
                                                              type="xs:integer" />
                                </xs:complexType>
                            </xs:element>
                            <xs:element name="panel" minOccurs="0"
                                            maxOccurs="unbounded">
                                <xs:complexType>
                                    <xs:sequence>
                                        <xs:element name="bounds"
                                                                    minOccurs="0" maxOccurs="1">
                                            <xs:complexType>
                                                <xs:attribute name="x"
                                                                                      type="xs:decimal" />
                                                <xs:attribute name="y"
                                                                                      type="xs:decimal" />
                                                <xs:attribute
                                                    name="width" type="xs:decimal" />
                                                <xs:attribute
                                                    name="height" type="xs:decimal" />
                                            </xs:complexType>
                                        </xs:element>
                                        <xs:element name="font"
                                                                    type="FontType" minOccurs="0" maxOccurs="1" />
                                        <xs:element name="title"
                                                                    type="TitleType" minOccurs="0" maxOccurs="1" />
                                        <xs:element ref="PlotElement"
                                                                    minOccurs="1" maxOccurs="1" />
                                        <xs:element name="tickPlot"
                                                                    minOccurs="0" maxOccurs="1">
                                            <xs:complexType>
                                                <xs:annotation>
                                                    <xs:documentation>
                                                        This enable to
                                                        add decoration
                                                        for time plot.
                                                    </xs:documentation>
                                                </xs:annotation>
                                                <xs:sequence>
                                                    <xs:element
                                                        name="params" type="TickPlotParams"
                                                        minOccurs="0" maxOccurs="1" />
                                                </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:element name="statusPlot"
                                                                    minOccurs="0" maxOccurs="1">
                                            <xs:complexType>
                                                <xs:annotation>
                                                    <xs:documentation>
                                                        This enable to
                                                        add decoration
                                                        for time plot.
                                                    </xs:documentation>
                                                </xs:annotation>
                                                <xs:sequence>
                                                    <xs:element
                                                        name="params" type="StatusPlotParams"
                                                        minOccurs="0" maxOccurs="1" />
                                                </xs:sequence>
                                                <xs:attribute
                                                    name="colorMapIndex" type="xs:integer"
                                                    use="optional">
                                                    <xs:annotation>
                                                        <xs:documentation>
                                                            color map
                                                            index.
                                                        </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:sequence>
                                    <xs:attribute name="backgroundColor"
                                                              type="xs:string" />
337411e4   Erdogan Furkan   #5390 - Kernel pa...
574
                                    <xs:attribute name="plotAreaBackgroundColor" type="xs:string"/>
e1e55413   Hacene SI HADJ MOHAND   us ok
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
                                    <xs:attribute name="colorMapIndex"
                                                              type="xs:integer" />
                                    <xs:attribute name="preferedWidth"
                                                              type="xs:double">
                                    </xs:attribute>
                                    <xs:attribute name="preferedHeight"
                                                              type="xs:double">
                                    </xs:attribute>
                                    <xs:attribute name="xMargin"
                                                              type="xs:string">
                                    </xs:attribute>
                                    <xs:attribute name="yMargin"
                                                              type="xs:string">
                                    </xs:attribute>
                                    <xs:attribute name="id" type="xs:integer"></xs:attribute>
                                    <xs:attribute name="index" type="xs:integer"></xs:attribute>
                                </xs:complexType>
                            </xs:element>
                        </xs:sequence>
                        <xs:attribute name="format" use="required">
                            <xs:simpleType>
                                <xs:restriction base="xs:string">
                                    <xs:enumeration value="png" />
                                    <xs:enumeration value="pdf" />
                                    <xs:enumeration value="ps" />
                                    <xs:enumeration value="svg" />
                                </xs:restriction>
                            </xs:simpleType>
                        </xs:attribute>
                        <xs:attribute name="dimension">
                            <xs:simpleType>
                                <xs:restriction base="xs:string">
                                    <xs:enumeration value="ISO A4" />
                                    <xs:enumeration value="US letter" />
                                </xs:restriction>
                            </xs:simpleType>
                        </xs:attribute>
                        <xs:attribute name="orientation">
                            <xs:simpleType>
                                <xs:restriction base="xs:string">
                                    <xs:enumeration value="landscape" />
                                    <xs:enumeration value="portrait" />
                                </xs:restriction>
                            </xs:simpleType>
                        </xs:attribute>
                        <xs:attribute name="mode">
                            <xs:simpleType>
                                <xs:restriction base="xs:string">
                                    <xs:enumeration value="color" />
                                    <xs:enumeration value="grayscale" />
                                </xs:restriction>
                            </xs:simpleType>
                        </xs:attribute>
                        <xs:attribute name="defaultTimePlotWidth"
                                      type="xs:double">
                        </xs:attribute>
                        <xs:attribute name="defaultTimePlotHeight"
                                      type="xs:double">
                        </xs:attribute>
                        <xs:attribute name="defaultTimePlotXMargin"
                                      type="xs:string">
                        </xs:attribute>
                        <xs:attribute name="defaultTimePlotYMargin"
                                      type="xs:string">
                        </xs:attribute>
                        <xs:attribute name="defaultXYPlotWidth"
                                      type="xs:double">
                        </xs:attribute>
                        <xs:attribute name="defaultXYPlotHeight"
                                      type="xs:double">
                        </xs:attribute>
                        <xs:attribute name="defaultXYPlotXMargin"
                                      type="xs:string">
                        </xs:attribute>
                        <xs:attribute name="defaultXYPlotYMargin"
                                      type="xs:string">
                        </xs:attribute>
                        <xs:attribute name="superposeMode"
                                      type="xs:boolean">
                        </xs:attribute>
fbe3c2bb   Benjamin Renard   First commit
655
656
657
658
                    </xs:complexType>
                </xs:element>
                <xs:element ref="PostProcessingElement" minOccurs="0" maxOccurs="1"/>
            </xs:sequence>
8d19d171   Benjamin Renard   Fix bug with rela...
659
            <xs:attribute name="writeContextFile" type="xs:boolean"/>
b98ec061   Menouard AZIB   Add 'writeDataFil...
660
            <xs:attribute name="writeDataFile" type="xs:boolean"/>
fbe3c2bb   Benjamin Renard   First commit
661
662
663
        </xs:complexType>
    </xs:element>

e1e55413   Hacene SI HADJ MOHAND   us ok
664
665
666
667
    <xs:complexType name="ResamplingType">
        <xs:annotation>
            <xs:documentation>Resampling specifications. Define resampling to use to draw the object.
            </xs:documentation>
fbe3c2bb   Benjamin Renard   First commit
668
669
670
        </xs:annotation>
        <xs:attribute name="type">
            <xs:annotation>
e1e55413   Hacene SI HADJ MOHAND   us ok
671
672
673
674
675
                <xs:documentation>Resampling type. Can be one of :
                    auto : determine automatically the resampling to use. The effect depends to the object to draw, but generally the natural parameter sampling will be used
                    xparam: use the xparam as reference to resample the yparam
                    yparam: use the yparam as reference to resample the xparam
                    manual: define a sampling time to apply to parameter for drawing</xs:documentation>
fbe3c2bb   Benjamin Renard   First commit
676
677
            </xs:annotation>
            <xs:simpleType>
e1e55413   Hacene SI HADJ MOHAND   us ok
678
679
680
681
682
683
                <xs:restriction base="xs:string">
                    <xs:enumeration value="auto"></xs:enumeration>
                    <xs:enumeration value="xparam"></xs:enumeration>
                    <xs:enumeration value="yparam"></xs:enumeration>
                    <xs:enumeration value="manual"></xs:enumeration>
                </xs:restriction>
fbe3c2bb   Benjamin Renard   First commit
684
685
686
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="value" type="xs:double" default="0.">
e1e55413   Hacene SI HADJ MOHAND   us ok
687
688
689
690
691
            <xs:annotation>
                <xs:documentation>Value to use for resampling. Only used when resampling type is 'manual'</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
fbe3c2bb   Benjamin Renard   First commit
692

5953671a   Erdogan Furkan   For now
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
    <xs:complexType name="BinsType">
        <xs:annotation>
            <xs:documentation>Bins specifications. Define bins to use to draw the 2D object.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="manual" type="Histo2dManualType"
                                    maxOccurs="1" minOccurs="0">
            </xs:element>
        </xs:sequence>
    </xs:complexType>

    <xs:complexType name="HistoType">
        <xs:annotation>
            <xs:documentation>HistoType specifications. Define bins to use to draw the 2D object.
            </xs:documentation>
        </xs:annotation>
34c311b3   Erdogan Furkan   Smooting works
710
711
712
713
714
        <xs:attribute name="smoothfactor" type="xs:double" default="1.0">
            <xs:annotation>
                <xs:documentation>Value to use for smoothing. Only used in case of density map, = 1 means no smoothing</xs:documentation>
            </xs:annotation>
        </xs:attribute>
4a5cc373   Erdogan Furkan   Added Mean and Ma...
715
716
717
        <xs:attribute name="type" type="xs:string"/>
        <xs:attribute name="paramId" type="xs:string"></xs:attribute>
        <xs:attribute name="index" type="xs:string"></xs:attribute>  
5953671a   Erdogan Furkan   For now
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
    </xs:complexType>

    <xs:complexType name="Histo2dManualType">
        <xs:annotation>
            <xs:documentation>Manual specification for 2DHISTO.
            </xs:documentation>
        </xs:annotation>
        <xs:attribute name="xbinnumber" type="xs:int" default="10">
            <xs:annotation>
                <xs:documentation>Value to use for xbinning. Only used when bins type is 'manual'</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="ybinnumber" type="xs:int" default="10">
            <xs:annotation>
                <xs:documentation>Value to use for ybinning. Only used when bins type is 'manual'</xs:documentation>
            </xs:annotation>
        </xs:attribute>
    </xs:complexType>
e1e55413   Hacene SI HADJ MOHAND   us ok
736
    <xs:attributeGroup name="CurveGroup">
fbe3c2bb   Benjamin Renard   First commit
737
        <xs:annotation>
e1e55413   Hacene SI HADJ MOHAND   us ok
738
739
            <xs:documentation>Curve specifications. Define properties for a curve.
            </xs:documentation>
fbe3c2bb   Benjamin Renard   First commit
740
        </xs:annotation>
e1e55413   Hacene SI HADJ MOHAND   us ok
741
        <xs:attribute name="style">
fbe3c2bb   Benjamin Renard   First commit
742
            <xs:annotation>
e1e55413   Hacene SI HADJ MOHAND   us ok
743
744
745
746
747
748
                <xs:documentation>Curve Style. Can be one of the following values :
                    - plain : plain Curve style
                    - dot : Curve with short dashes and gaps
                    - long-spaced-dot : Curve with long dashes and long gaps.
                    - long-short-dot : Curve with long dashes and short gaps.
                </xs:documentation>
fbe3c2bb   Benjamin Renard   First commit
749
750
            </xs:annotation>
            <xs:simpleType>
e1e55413   Hacene SI HADJ MOHAND   us ok
751
752
753
754
755
756
                <xs:restriction base="xs:string">
                    <xs:enumeration value="plain"></xs:enumeration>
                    <xs:enumeration value="dot"></xs:enumeration>
                    <xs:enumeration value="long-spaced-dot"></xs:enumeration>
                    <xs:enumeration value="long-short-dot"></xs:enumeration>
                </xs:restriction>
fbe3c2bb   Benjamin Renard   First commit
757
            </xs:simpleType>
e1e55413   Hacene SI HADJ MOHAND   us ok
758
759
760
761
762
763
764
        </xs:attribute>
        <xs:attribute name="width" type="xs:int" default="1">
            <xs:annotation>
                <xs:documentation>Curve width in mm. Default is 1mm</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attributeGroup ref="ColorGroup"/>
fbe3c2bb   Benjamin Renard   First commit
765
766
767
768
    </xs:attributeGroup>

    <xs:complexType name="LineType">
        <xs:annotation>
e1e55413   Hacene SI HADJ MOHAND   us ok
769
770
            <xs:documentation>Line specifications. Define properties for a line attached to a parameter.
                Properties set there will override default value or general properties that could have been set in tag's parent</xs:documentation>
fbe3c2bb   Benjamin Renard   First commit
771
772
773
        </xs:annotation>
        <xs:attribute name="type">
            <xs:annotation>
e1e55413   Hacene SI HADJ MOHAND   us ok
774
775
776
777
                <xs:documentation>Line type. Can be one of :
                    no : no line is drawn
                    line: a line is drawn between each points
                    histo: an histogram is drawn for each point
fbe3c2bb   Benjamin Renard   First commit
778

e1e55413   Hacene SI HADJ MOHAND   us ok
779
780
                    Note : This attribute may be unecessary since kind of line may be deduce from Plot Type [TBC]
                </xs:documentation>
fbe3c2bb   Benjamin Renard   First commit
781
782
            </xs:annotation>
            <xs:simpleType>
e1e55413   Hacene SI HADJ MOHAND   us ok
783
784
785
786
787
                <xs:restriction base="xs:string">
                    <xs:enumeration value="no"></xs:enumeration>
                    <xs:enumeration value="line"></xs:enumeration>
                    <xs:enumeration value="histo"></xs:enumeration>
                </xs:restriction>
fbe3c2bb   Benjamin Renard   First commit
788
789
790
791
792
793
794
            </xs:simpleType>
        </xs:attribute>
        <xs:attributeGroup ref="CurveGroup"/>
    </xs:complexType>

    <xs:complexType name="SymbolType">
        <xs:annotation>
e1e55413   Hacene SI HADJ MOHAND   us ok
795
            <xs:documentation>Symbol displayed for each points. By default, no symbol is drawn if a line is defined. A 'point' symbol is used othrewise</xs:documentation>
fbe3c2bb   Benjamin Renard   First commit
796
797
        </xs:annotation>
        <xs:attribute name="type">
e1e55413   Hacene SI HADJ MOHAND   us ok
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
            <xs:annotation>
                <xs:documentation>Symbol type.</xs:documentation>
            </xs:annotation>
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="no"></xs:enumeration>
                    <xs:enumeration value="dot"></xs:enumeration>
                    <xs:enumeration value="plus"></xs:enumeration>
                    <xs:enumeration value="wildcard"></xs:enumeration>
                    <xs:enumeration value="circle"></xs:enumeration>
                    <xs:enumeration value="crux"></xs:enumeration>
                    <xs:enumeration value="square"></xs:enumeration>
                    <xs:enumeration value="triangle"></xs:enumeration>
                    <xs:enumeration value="crux-in-circle"></xs:enumeration>
                    <xs:enumeration value="dot-in-circle"></xs:enumeration>
                    <!-- <xs:enumeration value="square-2"></xs:enumeration>  -->
                    <xs:enumeration value="diamond"></xs:enumeration>
                    <xs:enumeration value="star"></xs:enumeration>
                    <!-- <xs:enumeration value="christian-crux"></xs:enumeration> -->
                    <xs:enumeration value="david-star"></xs:enumeration>
                    <xs:enumeration value="full-square"></xs:enumeration>
                    <xs:enumeration value="full-circle"></xs:enumeration>
                    <xs:enumeration value="full-star"></xs:enumeration>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="size" type="xs:int" default="4">
            <xs:annotation>
                <xs:documentation>
                    symbol size in mm. Default is 4mm
                </xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attributeGroup ref="ColorGroup"/>
fbe3c2bb   Benjamin Renard   First commit
832
833
834
    </xs:complexType>
    

c46af5a8   Benjamin Renard   Implements multi ...
835
    <xs:complexType name="ParameterXPropertiesType">
e1e55413   Hacene SI HADJ MOHAND   us ok
836
837
838
839
840
841
842
843
844
        <xs:attribute name="index" type="xs:string">
            <xs:annotation>
                <xs:documentation>
                    Index of serie to put on x axis (in case Parameter is not a
                    scalar type).
                </xs:documentation>
            </xs:annotation>
        </xs:attribute>    	
        <xs:attribute name="min" type="xs:double" use="optional"></xs:attribute>
c46af5a8   Benjamin Renard   Implements multi ...
845
846
        <xs:attribute name="max" type="xs:double" use="optional"></xs:attribute>
        <xs:attribute name="id" type="xs:integer" use="required"></xs:attribute>
fbe3c2bb   Benjamin Renard   First commit
847
848
    </xs:complexType>

e1e55413   Hacene SI HADJ MOHAND   us ok
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
    <xs:complexType name="ParameterYPropertiesType">
        <xs:sequence>
            <xs:element name="resampling" type="ResamplingType"
                                    maxOccurs="1" minOccurs="0">
            </xs:element>
            <xs:element name="line" type="LineType" maxOccurs="1"
                                    minOccurs="0">
            </xs:element>
            <xs:element name="symbol" type="SymbolType" maxOccurs="1"
                                    minOccurs="0">
            </xs:element>
            <xs:element name="timeTick" type="TimeTickType"
                                    minOccurs="0" maxOccurs="1">
            </xs:element>
            <xs:element name="intervalTick" type="IntervalTickType"
                                    minOccurs="0" maxOccurs="1">
            </xs:element>
            <xs:element name="errorBar" type="errorBarType" maxOccurs="1" minOccurs="0"></xs:element>
        </xs:sequence>
        <xs:attribute name="index" type="xs:string">
            <xs:annotation>
                <xs:documentation>
                    Index of serie to plot (in case Parameter is not a
                    scalar type). Default to 1 if Parameter is a simple
                    type.
                </xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="yAxis" type="xs:string"></xs:attribute>
        <xs:attribute name="xAxis" type="xs:string"></xs:attribute>
        <xs:attribute name="xId" type="xs:integer"></xs:attribute>
        <xs:attribute name="resolution" type="xs:integer" />
        <xs:attribute name="min" type="xs:double" use="optional"></xs:attribute>
        <xs:attribute name="max" type="xs:double" use="optional"></xs:attribute>
        <xs:attribute name="id" type="xs:integer"></xs:attribute>
        <xs:attribute name="colorSerieId" type="xs:integer"></xs:attribute>
    </xs:complexType>

5953671a   Erdogan Furkan   For now
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
    <xs:complexType name="Parameter2dhistogramPropertiesType">
        <xs:sequence>
            <xs:element name="resampling" type="ResamplingType"
                                    maxOccurs="1" minOccurs="0">
            </xs:element>
            <xs:element name="bins" type="BinsType"
                                    maxOccurs="1" minOccurs="0">
            </xs:element>
            <xs:element name="histotype" type="HistoType"
                                    maxOccurs="1" minOccurs="0">
            </xs:element>
        </xs:sequence>
        <xs:attribute name="index" type="xs:string">
            <xs:annotation>
                <xs:documentation>
                    Index of serie to plot (in case Parameter is not a
                    scalar type). Default to 1 if Parameter is a simple
                    type.
                </xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="yAxis" type="xs:string"></xs:attribute>
        <xs:attribute name="xAxis" type="xs:string"></xs:attribute>
        <xs:attribute name="xId" type="xs:integer"></xs:attribute>
        <xs:attribute name="id" type="xs:integer"></xs:attribute>
    </xs:complexType>

e1e55413   Hacene SI HADJ MOHAND   us ok
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
    <xs:complexType name="ParameterOrbitPropertiesType">
        <xs:sequence>
            <xs:element name="line" type="LineType" maxOccurs="1"
                                    minOccurs="0">
            </xs:element>
            <xs:element name="symbol" type="SymbolType" maxOccurs="1"
                                    minOccurs="0">
            </xs:element>
            <xs:element name="timeTick" type="TimeTickType"
                                    minOccurs="0" maxOccurs="1">
            </xs:element>
            <xs:element name="intervalTick" type="IntervalTickType"
                                    minOccurs="0" maxOccurs="1">
            </xs:element>
        </xs:sequence>
        <xs:attribute name="projection">
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="XY"></xs:enumeration>
                    <xs:enumeration value="XZ"></xs:enumeration>
                    <xs:enumeration value="YZ"></xs:enumeration>
                    <xs:enumeration value="XR"></xs:enumeration>
                    <xs:enumeration value="YR"></xs:enumeration>
                    <xs:enumeration value="ZR"></xs:enumeration>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
        <xs:attribute name="yAxis" type="xs:string"></xs:attribute>
        <xs:attribute name="xAxis" type="xs:string"></xs:attribute>
        <xs:attribute name="resolution" type="xs:integer" />
        <xs:attribute name="id" type="xs:integer"></xs:attribute>
        <xs:attribute name="colorSerieId" type="xs:integer"></xs:attribute>
    </xs:complexType>
fbe3c2bb   Benjamin Renard   First commit
947

e1e55413   Hacene SI HADJ MOHAND   us ok
948
    <xs:complexType name="ParameterIntervalsPropertiesType">
ac0e4b16   Erdogan Furkan   Some modifications
949
950
951
952
        <xs:sequence>
            <xs:element name="textLegend" type="TextLegendType" minOccurs="0" maxOccurs="1"/>
        </xs:sequence>
        <xs:attribute name="color" type="xs:string" use="optional"></xs:attribute> 
e1e55413   Hacene SI HADJ MOHAND   us ok
953
        <xs:attribute name="index" type="xs:string" use="optional"></xs:attribute>
e1e55413   Hacene SI HADJ MOHAND   us ok
954
    </xs:complexType>
fbe3c2bb   Benjamin Renard   First commit
955

e1e55413   Hacene SI HADJ MOHAND   us ok
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
    <xs:complexType name="ParameterSpectroPropertiesType">
        <xs:attribute name="yAxis" type="xs:string" />
        <xs:attribute name="index" type="xs:string" use="optional"></xs:attribute>
        <xs:attribute name="resolution" type="xs:integer" use="optional"></xs:attribute>
        <xs:attribute name="min" type="xs:double" use="optional"></xs:attribute>
        <xs:attribute name="max" type="xs:double" use="optional"></xs:attribute>
        <xs:attribute name="uselog0asmin" type="xs:boolean" use="optional"></xs:attribute>
        
        <xs:attribute name="normalization">
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="none"></xs:enumeration>
                    <xs:enumeration value="log"></xs:enumeration>
                    <xs:enumeration value="linear"></xs:enumeration>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
e257cfb9   Benjamin Renard   First implementat...
973

e1e55413   Hacene SI HADJ MOHAND   us ok
974
975
976
977
978
979
980
981
982
        <xs:attribute name="background_sub_type" type="xs:string"/>
        <xs:attribute name="background_sub_value" type="xs:string"/>
        <xs:attribute name="background_sub_dim" type="xs:integer"/>
        
    </xs:complexType>
    
    <xs:complexType name="ParameterSauvaudPropertiesType">
        <xs:attribute name="yAxis" type="xs:string" />
        <xs:attribute name="index" type="xs:string" use="optional"></xs:attribute>
724e3c7a   Benjamin Renard   Give the possibil...
983
        <xs:attribute name="resolution" type="xs:integer" use="optional"></xs:attribute>
e1e55413   Hacene SI HADJ MOHAND   us ok
984
985
        <xs:attribute name="min" type="xs:double" use="optional"></xs:attribute>
        <xs:attribute name="max" type="xs:double" use="optional"></xs:attribute>
1003dcf4   Benjamin Renard   Add option to sho...
986
        <xs:attribute name="uselog0asmin" type="xs:boolean" use="optional"></xs:attribute>
e1e55413   Hacene SI HADJ MOHAND   us ok
987
        <xs:attribute name="right_dim" type="xs:integer" use="optional"></xs:attribute>
addb730c   Hacene SI HADJ MOHAND   plot.xsd
988
989
        
        <xs:attribute name="normalization">
e1e55413   Hacene SI HADJ MOHAND   us ok
990
991
992
993
994
995
996
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="none"></xs:enumeration>
                    <xs:enumeration value="log"></xs:enumeration>
                    <xs:enumeration value="linear"></xs:enumeration>
                </xs:restriction>
            </xs:simpleType>
addb730c   Hacene SI HADJ MOHAND   plot.xsd
997
        </xs:attribute>
fe6b6521   Menouard AZIB   J'ai ajouté le tr...
998

e1e55413   Hacene SI HADJ MOHAND   us ok
999
1000
1001
        <xs:attribute name="background_sub_type" type="xs:string"/>
        <xs:attribute name="background_sub_value" type="xs:string"/>
        <xs:attribute name="background_sub_dim" type="xs:integer"/>
addb730c   Hacene SI HADJ MOHAND   plot.xsd
1002
        
fbe3c2bb   Benjamin Renard   First commit
1003
1004
    </xs:complexType>

e1e55413   Hacene SI HADJ MOHAND   us ok
1005
1006
1007
    <xs:complexType name="ParameterColorSeriePropertiesType">
        <xs:attribute name="index" type="xs:string"></xs:attribute>
        <xs:attribute name="id" type="xs:integer"></xs:attribute>
fbe3c2bb   Benjamin Renard   First commit
1008
1009
1010
    </xs:complexType>

    <xs:complexType name="ParameterDefaultPropertiesType">
e1e55413   Hacene SI HADJ MOHAND   us ok
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
        <xs:annotation>
            <xs:documentation>
                Default values for all series. Can be overriden in
                each series element.
            </xs:documentation>
        </xs:annotation>
        <xs:sequence>
            <xs:element name="line" type="LineType" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                    <xs:documentation>Default line properties</xs:documentation>
                </xs:annotation>
            </xs:element>
            <xs:element name="symbol" type="SymbolType" minOccurs="0" maxOccurs="1">
                <xs:annotation>
                    <xs:documentation>Default symbol properties</xs:documentation>
                </xs:annotation>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="yAxis" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>Default yAxis value</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attribute name="xAxis" type="xs:string" use="optional">
            <xs:annotation>
                <xs:documentation>Default xAxis value</xs:documentation>
            </xs:annotation>
        </xs:attribute>
        <xs:attributeGroup ref="ColorGroup"/>
fbe3c2bb   Benjamin Renard   First commit
1040
1041
1042
    </xs:complexType>

    <xs:complexType name="TextPlotPropertiesType">
e1e55413   Hacene SI HADJ MOHAND   us ok
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
        <xs:sequence>
            <xs:element name="font" type="FontType" minOccurs="0"
                            maxOccurs="1">
            </xs:element>
        </xs:sequence>
        <xs:attribute name="text" type="xs:string" use="required"></xs:attribute>
        <xs:attribute name="xAxis" type="xs:string" use="optional"></xs:attribute>
        <xs:attribute name="yAxis" type="xs:string" use="required"></xs:attribute>
        <xs:attribute name="x" type="xs:string" use="optional"></xs:attribute>
        <xs:attribute name="y" type="xs:string"></xs:attribute>
        <xs:attribute name="angle" type="xs:string"></xs:attribute>
        <xs:attribute name="color" type="xs:string"></xs:attribute>
        <xs:attribute name="align" use="optional">
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="left"></xs:enumeration>
                    <xs:enumeration value="center"></xs:enumeration>
                    <xs:enumeration value="right"></xs:enumeration>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
fbe3c2bb   Benjamin Renard   First commit
1064
1065
    </xs:complexType>

e1e55413   Hacene SI HADJ MOHAND   us ok
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
    <xs:complexType name="CurvePlotPropertiesType">
        <xs:sequence>
            <xs:element name="function" minOccurs="0" maxOccurs="1">
                <xs:complexType>
                    <xs:annotation>
                        <xs:documentation>Curve function definition</xs:documentation>
                    </xs:annotation>
                    <xs:sequence>
                        <xs:element name="attributes" minOccurs="0" maxOccurs="1">
                            <xs:complexType>
                                <xs:sequence>
                                    <xs:element name="attribute" minOccurs="0" maxOccurs="unbounded">
                                        <xs:complexType>
                                            <xs:attribute name="name" type="xs:string"/>
                                            <xs:attribute name="value" type="xs:decimal"/>
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                            </xs:complexType>
                        </xs:element>
                    </xs:sequence>
                    <xs:attribute name="name" type="xs:string" use="required"/>
                </xs:complexType>
            </xs:element>
        </xs:sequence>
        <xs:attribute name="serieId" type="xs:string" use="required"/>
        <xs:attributeGroup ref="CurveGroup"/>
    </xs:complexType>
fbe3c2bb   Benjamin Renard   First commit
1094
1095

    <xs:complexType name="TimeTickType">
e1e55413   Hacene SI HADJ MOHAND   us ok
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
        <xs:all>
            <xs:element name="symbol" type="SymbolType" minOccurs="0"
                            maxOccurs="1">
            </xs:element>
            <xs:element name="firstSymbol" type="SymbolType"
                            minOccurs="0" maxOccurs="1">
            </xs:element>
            <xs:element name="font" type="FontType" minOccurs="0"
                            maxOccurs="1">
            </xs:element>
        </xs:all>
        <xs:attribute name="step" type="xs:string" use="optional"></xs:attribute>
        <xs:attribute name="number" type="xs:int" use="optional"></xs:attribute>
        <xs:attribute name="minor" type="xs:int" use="optional"></xs:attribute>
        <xs:attribute name="color" type="xs:string" use="optional"></xs:attribute>
fbe3c2bb   Benjamin Renard   First commit
1111
1112
1113
    </xs:complexType>
    
    <xs:complexType name="IntervalTickType">
e1e55413   Hacene SI HADJ MOHAND   us ok
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
        <xs:all>
            <xs:element name="symbol" type="SymbolType" minOccurs="0"
                            maxOccurs="1">
            </xs:element>
            <xs:element name="font" type="FontType" minOccurs="0"
                            maxOccurs="1">
            </xs:element>
        </xs:all>
        <xs:attribute name="color" type="xs:string" use="optional"></xs:attribute>
        <xs:attribute name="mode" use="optional">
            <xs:simpleType>
                <xs:restriction base="xs:string">
                    <xs:enumeration value="symbol-only"></xs:enumeration>
                    <xs:enumeration value="interval-index"></xs:enumeration>
                    <xs:enumeration value="start-time"></xs:enumeration>
                    <xs:enumeration value="start-stop-time"></xs:enumeration>
                </xs:restriction>
            </xs:simpleType>
        </xs:attribute>
fbe3c2bb   Benjamin Renard   First commit
1133
1134
1135
1136
1137
    </xs:complexType>

    <!-- Define Fills types -->
    
    <xs:complexType name="FillsType">
e1e55413   Hacene SI HADJ MOHAND   us ok
1138
1139
1140
1141
1142
1143
        <xs:sequence>
            <xs:element name="fillSerieConstant"
                            type="FillSerieConstantType" minOccurs="0" maxOccurs="unbounded">
            </xs:element>
            <xs:element name="fillSerieSerie" type="FillSerieSerieType" minOccurs="0" maxOccurs="unbounded"></xs:element>
        </xs:sequence>
fbe3c2bb   Benjamin Renard   First commit
1144
1145
1146
    </xs:complexType>

    <xs:complexType name="FillSerieConstantType">
e1e55413   Hacene SI HADJ MOHAND   us ok
1147
1148
1149
1150
        <xs:attribute name="serieId" type="xs:int"></xs:attribute>
        <xs:attribute name="constantId" type="xs:int"></xs:attribute>
        <xs:attribute name="colorGreater" type="xs:string"></xs:attribute>
        <xs:attribute name="colorLess" type="xs:string"></xs:attribute>
fbe3c2bb   Benjamin Renard   First commit
1151
1152
1153
    </xs:complexType>

    <xs:complexType name="FillSerieSerieType">
e1e55413   Hacene SI HADJ MOHAND   us ok
1154
1155
1156
1157
        <xs:attribute name="firstSerieId" type="xs:int"></xs:attribute>
        <xs:attribute name="secondSerieId" type="xs:int"></xs:attribute>
        <xs:attribute name="colorGreater" type="xs:string"></xs:attribute>
        <xs:attribute name="colorLess" type="xs:string"></xs:attribute>
fbe3c2bb   Benjamin Renard   First commit
1158
1159
1160
    </xs:complexType>

    <xs:complexType name="errorBarType">
e1e55413   Hacene SI HADJ MOHAND   us ok
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
        <xs:sequence>
            <xs:element name="line" type="LineType" maxOccurs="1"
                            minOccurs="0">
            </xs:element>
            <xs:element name="errorMinMax" type="errorMinMaxType"
                            maxOccurs="1" minOccurs="0">
            </xs:element>
            <xs:element name="errorDelta" type="errorDeltaType"
                            maxOccurs="1" minOccurs="0">
            </xs:element>
        </xs:sequence>
fbe3c2bb   Benjamin Renard   First commit
1172
1173
1174
    </xs:complexType>

    <xs:complexType name="errorMinMaxType">
e1e55413   Hacene SI HADJ MOHAND   us ok
1175
        <xs:attribute name="paramMin" type="xs:string" use="required"></xs:attribute>
e1e55413   Hacene SI HADJ MOHAND   us ok
1176
        <xs:attribute name="paramMax" type="xs:string" use="required"></xs:attribute>
fbe3c2bb   Benjamin Renard   First commit
1177
1178
1179
    </xs:complexType>

    <xs:complexType name="errorDeltaType">
e1e55413   Hacene SI HADJ MOHAND   us ok
1180
        <xs:attribute name="param" type="xs:string" use="required"></xs:attribute>
fbe3c2bb   Benjamin Renard   First commit
1181
1182
    </xs:complexType>
</xs:schema>