-
Notifications
You must be signed in to change notification settings - Fork 73
/
fenix.xsd
178 lines (152 loc) · 7.71 KB
/
fenix.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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.w3school.com.cn"
xmlns="http://www.w3school.com.cn"
elementFormDefault="qualified">
<xs:element name="fenixs">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="fenix"/>
</xs:choice>
<xs:attribute name="namespace" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:group name="mainGroup">
<xs:choice>
<xs:element name="in" type="normal"/>
<xs:element name="andIn" type="normal"/>
<xs:element name="orIn" type="normal"/>
<xs:element name="notIn" type="normal"/>
<xs:element name="andNotIn" type="normal"/>
<xs:element name="orNotIn" type="normal"/>
<xs:element name="notEqual" type="normal"/>
<xs:element name="equal" type="normal"/>
<xs:element name="andEqual" type="normal"/>
<xs:element name="orEqual" type="normal"/>
<xs:element name="andNotEqual" type="normal"/>
<xs:element name="orNotEqual" type="normal"/>
<xs:element name="greaterThan" type="normal"/>
<xs:element name="andGreaterThan" type="normal"/>
<xs:element name="orGreaterThan" type="normal"/>
<xs:element name="lessThan" type="normal"/>
<xs:element name="andLessThan" type="normal"/>
<xs:element name="orLessThan" type="normal"/>
<xs:element name="greaterThanEqual" type="normal"/>
<xs:element name="andGreaterThanEqual" type="normal"/>
<xs:element name="orGreaterThanEqual" type="normal"/>
<xs:element name="lessThanEqual" type="normal"/>
<xs:element name="andLessThanEqual" type="normal"/>
<xs:element name="orLessThanEqual" type="normal"/>
<xs:element name="startsWith" type="normal"/>
<xs:element name="andStartsWith" type="normal"/>
<xs:element name="orStartsWith" type="normal"/>
<xs:element name="notStartsWith" type="normal"/>
<xs:element name="andNotStartsWith" type="normal"/>
<xs:element name="orNotStartsWith" type="normal"/>
<xs:element name="endsWith" type="normal"/>
<xs:element name="andEndsWith" type="normal"/>
<xs:element name="orEndsWith" type="normal"/>
<xs:element name="notEndsWith" type="normal"/>
<xs:element name="andNotEndsWith" type="normal"/>
<xs:element name="orNotEndsWith" type="normal"/>
<xs:element name="like" type="like"/>
<xs:element name="andLike" type="like"/>
<xs:element name="orLike" type="like"/>
<xs:element name="notLike" type="like"/>
<xs:element name="andNotLike" type="like"/>
<xs:element name="orNotLike" type="like"/>
<xs:element name="between" type="between"/>
<xs:element name="andBetween" type="between"/>
<xs:element name="orBetween" type="between"/>
<xs:element name="isNull" type="null"/>
<xs:element name="andIsNull" type="null"/>
<xs:element name="orIsNull" type="null"/>
<xs:element name="isNotNull" type="null"/>
<xs:element name="andIsNotNull" type="null"/>
<xs:element name="orIsNotNull" type="null"/>
<xs:element name="text" type="text"/>
<xs:element name="import">
<xs:complexType>
<xs:attribute name="namespace" type="xs:string"/>
<xs:attribute name="fenixId" type="xs:string" use="required"/>
<xs:attribute name="value" type="xs:string"/>
<xs:attribute name="match" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="choose">
<xs:complexType>
<xs:attribute name="when" type="xs:string"/>
<xs:attribute name="when1" type="xs:string"/>
<xs:attribute name="when2" type="xs:string"/>
<xs:attribute name="then" type="xs:string"/>
<xs:attribute name="then1" type="xs:string"/>
<xs:attribute name="then2" type="xs:string"/>
<xs:attribute name="else" type="xs:string"/>
<xs:anyAttribute processContents="skip"/>
</xs:complexType>
</xs:element>
<xs:element name="set">
<xs:complexType>
<xs:attribute name="field" type="xs:string"/>
<xs:attribute name="field1" type="xs:string"/>
<xs:attribute name="field2" type="xs:string"/>
<xs:attribute name="value" type="xs:string"/>
<xs:attribute name="value1" type="xs:string"/>
<xs:attribute name="value2" type="xs:string"/>
<xs:attribute name="match" type="xs:string"/>
<xs:attribute name="match1" type="xs:string"/>
<xs:attribute name="match2" type="xs:string"/>
<xs:anyAttribute processContents="skip"/>
</xs:complexType>
</xs:element>
<xs:any processContents="skip"/>
</xs:choice>
</xs:group>
<xs:element name="fenix">
<xs:complexType mixed="true">
<xs:choice>
<xs:group ref="mainGroup" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="where" minOccurs="0" maxOccurs="1"/>
</xs:choice>
<xs:attribute name="id" type="xs:string" use="required"/>
<xs:attribute name="resultType" type="xs:string"/>
<xs:attribute name="removeIfExist" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:complexType name="normal">
<xs:attribute name="field" type="xs:string" use="required"/>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="value" type="xs:string" use="required"/>
<xs:attribute name="match" type="xs:string"/>
</xs:complexType>
<xs:complexType name="like">
<xs:attribute name="field" type="xs:string" use="required"/>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="value" type="xs:string"/>
<xs:attribute name="pattern" type="xs:string"/>
<xs:attribute name="match" type="xs:string"/>
</xs:complexType>
<xs:complexType name="between">
<xs:attribute name="field" type="xs:string" use="required"/>
<xs:attribute name="startName" type="xs:string"/>
<xs:attribute name="start" type="xs:string" use="required"/>
<xs:attribute name="endName" type="xs:string"/>
<xs:attribute name="end" type="xs:string" use="required"/>
<xs:attribute name="match" type="xs:string"/>
</xs:complexType>
<xs:complexType name="null">
<xs:attribute name="field" type="xs:string" use="required"/>
<xs:attribute name="match" type="xs:string"/>
</xs:complexType>
<xs:complexType name="text" mixed="true">
<xs:attribute name="value" type="xs:string"/>
<xs:attribute name="match" type="xs:string"/>
</xs:complexType>
<xs:element name="where">
<xs:complexType mixed="true">
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:group ref="mainGroup"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:schema>