Blame view

config/xsd/request/dataMining.xsd 1.54 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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?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="dataMining" 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="OutputStructureType"/>
				<xs:element name="fileName" minOccurs="0" maxOccurs="1"/>
				<xs:element name="param" minOccurs="0" maxOccurs="1">
					<xs:complexType>
						<xs:attribute name="id" type="xs:string"  use="required"/>
					</xs:complexType>
				</xs:element>
				<xs:element ref="PostProcessingElement" minOccurs="0" maxOccurs="1"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	
	<xs:simpleType name="TimeFormatType">
       <xs:restriction base="xs:string">
          <xs:enumeration value="ISO" />
       </xs:restriction>
    </xs:simpleType>
    
    <xs:simpleType name="FileFormatType">
       <xs:restriction base="xs:string">
          <xs:enumeration value="ASCII" />
          <xs:enumeration value="XML" />
          <xs:enumeration value="VOT" />
       </xs:restriction>
    </xs:simpleType>
    
    <xs:simpleType name="OutputStructureType">
       <xs:restriction base="xs:string">
          <xs:enumeration value="one-file" />
          <xs:enumeration value="one-file-per-interval" />
       </xs:restriction>
    </xs:simpleType>
	
</xs:schema>