Blame view

config/xsd/parameter/getconstant.xsd 896 Bytes
e2a2b009   Benjamin Renard   Define constant P...
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
<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:include schemaLocation="parameter.xsd" />

	<xs:complexType name="constantParamType">
		<xs:attribute name="sampling" type="xs:decimal" use="required" />
		<xs:attribute name="type" type="xs:string" use="required" />
		<xs:attribute name="value" type="xs:decimal" use="required" />
		<xs:attribute name="dim1" type="xs:integer" />
		<xs:attribute name="dim2" type="xs:integer" />
	</xs:complexType>

	<xs:complexType name="constant-vi-type">
		<xs:complexContent>
			<xs:extension base="GetterType">
				<xs:sequence>
					<xs:element name="param" type="constantParamType"
						minOccurs="1" maxOccurs="unbounded" />
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>

	<xs:element name="constant" substitutionGroup="Getter" type="constant-vi-type" />
</xs:schema>