-
Notifications
You must be signed in to change notification settings - Fork 3
/
phoebus_alarm_server.xsd
91 lines (91 loc) · 3.7 KB
/
phoebus_alarm_server.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
88
89
90
91
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xi="http://www.w3.org/2001/XInclude" elementFormDefault="qualified">
<xs:import namespace="http://www.w3.org/2001/XInclude" schemaLocation="http://www.w3.org/2001/xinclude.xsd"/>
<xs:element name="config">
<xs:complexType>
<xs:choice>
<xs:element maxOccurs="unbounded" ref="component" />
<xs:element minOccurs="0" maxOccurs="unbounded" ref="xi:include"/>
</xs:choice>
<xs:attribute name="name" use="required" type="xs:NCName" />
</xs:complexType>
</xs:element>
<xs:element name="component">
<xs:complexType>
<xs:choice>
<xs:choice>
<xs:element maxOccurs="unbounded" ref="guidance" />
<xs:element maxOccurs="unbounded" ref="display" />
<xs:element maxOccurs="unbounded" ref="command" />
<xs:element maxOccurs="unbounded" ref="automated_action" />
</xs:choice>
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element ref="component" />
<xs:element ref="pv" />
<xs:element ref="xi:include"/>
</xs:choice>
</xs:choice>
<xs:attribute name="name" use="required" type="xs:NCName" />
</xs:complexType>
</xs:element>
<xs:element name="pv">
<xs:complexType>
<xs:choice>
<xs:element maxOccurs="1" ref="enabled" />
<xs:element maxOccurs="1" ref="latching" />
<xs:element minOccurs="0" maxOccurs="1" ref="description" />
<xs:element minOccurs="0" maxOccurs="1" ref="delay" />
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="command" />
<xs:element ref="display" />
<xs:element ref="guidance" />
<xs:element ref="count" />
<xs:element ref="filter" />
<xs:element ref="automated_action"/>
</xs:choice>
</xs:choice>
<xs:attribute name="name" use="required" type="xs:NCName" />
</xs:complexType>
</xs:element>
<xs:element name="enabled" type="xs:boolean" />
<xs:element name="latching" type="xs:boolean" />
<xs:element name="description" type="xs:string" />
<xs:element name="count" type="xs:integer" />
<xs:element name="filter" type="xs:string" />
<xs:element name="guidance">
<xs:complexType>
<xs:sequence>
<xs:element ref="title" />
<xs:element ref="detail" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="display">
<xs:complexType>
<xs:sequence>
<xs:element ref="title" />
<xs:element ref="detail" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="command">
<xs:complexType>
<xs:sequence>
<xs:element ref="title" />
<xs:element ref="detail" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="automated_action">
<xs:complexType>
<xs:sequence>
<xs:element ref="title" />
<xs:element ref="detail" />
<xs:element ref="delay" />
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="delay" type="xs:integer" />
<xs:element name="title" type="xs:string" />
<xs:element name="detail" type="xs:string" />
</xs:schema>