statistic.xsd
2.1 KB
1
2
3
4
5
6
7
8
9
10
11
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
<?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="statistic" substitutionGroup="OutputElement" >
<xs:complexType>
<xs:sequence>
<xs:element name="timeFormat" minOccurs="1" maxOccurs="1" type="TimeFormatType"/>
<xs:element name="fileFormat" minOccurs="1" maxOccurs="1" type="FileFormatType"/>
<xs:element name="outputStructure" minOccurs="0" maxOccurs="1" type="StatisticOutputStructureType"/>
<xs:element name="fileName" minOccurs="0" maxOccurs="1"/>
<xs:element name="params" type="StatisticParams" minOccurs="1" maxOccurs="1" />
<xs:element ref="PostProcessingElement" minOccurs="0" maxOccurs="1"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="StatisticParams">
<xs:annotation>
<xs:documentation>Parameters list with statistic functions to apply</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="param" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence>
<xs:element name="function" maxOccurs="unbounded" minOccurs="1">
<xs:complexType>
<xs:sequence>
<xs:element name="argument" maxOccurs="unbounded" minOccurs="0">
<xs:complexType>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="value" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="id" type="xs:string"/> <!-- parameter id -->
<xs:attribute name="index" type="xs:int"/> <!-- parameter index -->
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="StatisticOutputStructureType">
<xs:restriction base="xs:string">
<xs:enumeration value="one-file" />
<xs:enumeration value="one-file-per-parameter" />
</xs:restriction>
</xs:simpleType>
</xs:schema>