-
Notifications
You must be signed in to change notification settings - Fork 4
/
output.xsd
37 lines (28 loc) · 1.06 KB
/
output.xsd
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
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<xs:schema version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="output" type="output"/>
<xs:element name="parameter" type="parameter"/>
<xs:complexType name="output">
<xs:sequence>
<xs:element name="param" type="parameter" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="inputID" type="xs:int" use="required"/>
</xs:complexType>
<xs:complexType name="parameter">
<xs:choice>
<xs:element name="string" type="parameterString"/>
<xs:element name="double" type="parameterDouble"/>
<xs:element name="long" type="parameterLong"/>
</xs:choice>
<xs:attribute name="variableName" type="xs:string" use="required"/>
</xs:complexType>
<xs:simpleType name="parameterString">
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:simpleType name="parameterDouble">
<xs:restriction base="xs:double"/>
</xs:simpleType>
<xs:simpleType name="parameterLong">
<xs:restriction base="xs:long"/>
</xs:simpleType>
</xs:schema>