Blame view

config/xsd/parameter/parameter.xsd 2.12 KB
fbe3c2bb   Benjamin Renard   First commit
1
2
3
4
5
6
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">

	<xs:complexType name="GetterType">
		<xs:attribute name="name" type="xs:string" />
	</xs:complexType>
e8fa18b6   Benjamin Renard   Add the possibili...
7
8
9
10
11
12
13
	
	<xs:complexType name="clbManualType">
		<xs:sequence>
			<xs:element name="value" type="xs:string" minOccurs="1" maxOccurs="unbounded"/>
		</xs:sequence>
		<xs:attribute name="name" type="xs:string" />
	</xs:complexType>
fbe3c2bb   Benjamin Renard   First commit
14
15
16
17
18
19
20
21
22
23
24

	<xs:element name="Getter" type="GetterType" abstract="true" />

	<xs:element name="param">
		<xs:complexType>
			<xs:sequence>
                <xs:element name="info" type="infoType" minOccurs="0" maxOccurs="1"></xs:element>
                <xs:element name="time_resolution" type="xs:integer"
					minOccurs="0" maxOccurs="1" />
				<xs:element name="gap_threshold" type="xs:integer"
					minOccurs="0" maxOccurs="1" />
e8fa18b6   Benjamin Renard   Add the possibili...
25
				<xs:element name="clbManual" type="clbManualType" minOccurs="0" maxOccurs="unbounded"></xs:element>
fbe3c2bb   Benjamin Renard   First commit
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
				<xs:element name="get">
					<xs:complexType>
						<xs:sequence>
							<xs:element ref="Getter" minOccurs="1"
								maxOccurs="unbounded" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				<xs:element name="clbProcess" type="xs:string"
					minOccurs="0" maxOccurs="unbounded" />
				<xs:element name="process">
					<xs:complexType>
						<xs:simpleContent>
						 	<xs:extension base="xs:string">
								<xs:attribute name="description" type="xs:string"/>
							</xs:extension>
						</xs:simpleContent>
					</xs:complexType>
				</xs:element>
				<xs:element name="output">
					<xs:complexType>
						<xs:sequence>
							<xs:any minOccurs="0" maxOccurs="unbounded"
								processContents="skip" />
						</xs:sequence>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<!--xs:attribute name="xml:id" type="xs:ID" use="required"/ -->
			<xs:attribute name="id" type="xs:ID" use="required" />
			<!--xs:attribute ref="xml:id" use="required" /-->
		</xs:complexType>
	</xs:element>

    <xs:complexType name="infoType">
    	<xs:sequence>
    		<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip"></xs:any>
    	</xs:sequence></xs:complexType>
</xs:schema>