-
Notifications
You must be signed in to change notification settings - Fork 7
/
categories.xsd
87 lines (87 loc) · 2.74 KB
/
categories.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
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" targetNamespace="http://www.egi.com/categories_mff" xmlns:c="http://www.egi.com/categories_mff">
<xs:element name="categories">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:cat"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="cat">
<xs:complexType>
<xs:sequence>
<xs:element ref="c:name"/>
<xs:element ref="c:segments"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="name" type="xs:string"/>
<xs:element name="segments">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:seg"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="seg">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" ref="c:name"/>
<xs:element minOccurs="0" ref="c:faults"/>
<xs:element ref="c:beginTime"/>
<xs:element ref="c:endTime"/>
<xs:element ref="c:evtBegin"/>
<xs:element ref="c:evtEnd"/>
<xs:element ref="c:channelStatus"/>
<xs:element ref="c:keys"/>
</xs:sequence>
<xs:attribute name="status" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="faults">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:fault"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="fault" type="xs:string"/>
<xs:element name="beginTime" type="xs:integer"/>
<xs:element name="endTime" type="xs:integer"/>
<xs:element name="evtBegin" type="xs:integer"/>
<xs:element name="evtEnd" type="xs:integer"/>
<xs:element name="channelStatus">
<xs:complexType>
<xs:sequence>
<xs:element ref="c:channels"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="channels">
<xs:complexType mixed="true">
<xs:attribute name="exclusion"/>
<xs:attribute name="signalBin" use="required"/>
</xs:complexType>
</xs:element>
<xs:element name="keys">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="c:key"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="key">
<xs:complexType>
<xs:sequence>
<xs:element ref="c:keyCode"/>
<xs:element ref="c:data"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="keyCode" type="xs:string"/>
<xs:element name="data">
<xs:complexType mixed="true">
<xs:attribute name="dataType" use="required"/>
</xs:complexType>
</xs:element>
</xs:schema>