build fix
[LibreOffice.git] / sfx2 / classification / baf.xsd
blob778cfbec6036681127acccc136d65eb2d14d28ea
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xal="urn:oasis:names:tc:ciq:xal:3" xmlns:xnl="urn:oasis:names:tc:ciq:xnl:3" xmlns="urn:tscp:names:baf:1.1" targetNamespace="urn:tscp:names:baf:1.1">
3 <xs:import namespace="urn:oasis:names:tc:ciq:xal:3" schemaLocation="xAL.xsd"/>
4 <xs:import namespace="urn:oasis:names:tc:ciq:xnl:3" schemaLocation="xNL.xsd"/>
5 <!--
6 Business Authorization
7 -->
8 <xs:complexType name="BusinessAuthorization">
9 <xs:sequence>
10 <xs:element ref="PolicyAuthorityName"/>
11 <xs:element ref="PolicyName"/>
12 <xs:element ref="AdministrativeData"/>
13 <xs:element ref="Scope" minOccurs="0" maxOccurs="1"/>
14 <xs:element ref="Included"/>
15 <xs:element ref="Excluded" minOccurs="0" maxOccurs="1"/>
16 </xs:sequence>
17 </xs:complexType>
18 <xs:element name="AdministrativeData">
19 <xs:complexType>
20 <xs:sequence>
21 <xs:element ref="ProgramID"/>
22 <xs:element ref="LicenseID" minOccurs="0" maxOccurs="1"/>
23 <xs:element ref="StartValidityDate" minOccurs="0" maxOccurs="1"/>
24 <xs:element ref="StopValidityDate" minOccurs="0" maxOccurs="1"/>
25 <xs:element ref="Applicant" minOccurs="0" maxOccurs="1"/>
26 <xs:element ref="Signatories" minOccurs="0" maxOccurs="1"/>
27 </xs:sequence>
28 </xs:complexType>
29 </xs:element>
30 <xs:element name="Included">
31 <xs:complexType>
32 <xs:sequence>
33 <xs:element ref="BusinessAuthorizationCategory" maxOccurs="unbounded"/>
34 </xs:sequence>
35 </xs:complexType>
36 </xs:element>
37 <xs:element name="Excluded">
38 <xs:complexType>
39 <xs:sequence>
40 <xs:element ref="BusinessAuthorizationCategory" minOccurs="0" maxOccurs="unbounded"/>
41 </xs:sequence>
42 </xs:complexType>
43 </xs:element>
44 <xs:element name="StopValidityDate">
45 <xs:simpleType>
46 <xs:restriction base="xs:date"/>
47 </xs:simpleType>
48 </xs:element>
49 <xs:element name="StartValidityDate">
50 <xs:simpleType>
51 <xs:restriction base="xs:date"/>
52 </xs:simpleType>
53 </xs:element>
54 <!--
55 Business Authorization Category
56 -->
57 <xs:element name="BusinessAuthorizationCategory">
58 <xs:complexType>
59 <xs:sequence>
60 <xs:element ref="AccessRules" minOccurs="0" maxOccurs="1"/>
61 <xs:element ref="HandlingRules" minOccurs="0" maxOccurs="1"/>
62 <xs:element ref="LabelingRules"/>
63 <xs:element ref="ImpactLevel"/>
64 </xs:sequence>
65 <xs:attribute name="Identifier" type="xs:anyURI" use="required"/>
66 <xs:attribute name="Name" type="xs:string" use="optional"/>
67 </xs:complexType>
68 </xs:element>
69 <!--
70 Impact Level
71 -->
72 <xs:element name="ImpactLevel">
73 <xs:complexType>
74 <xs:sequence>
75 <xs:element ref="Scale"/>
76 <xs:element ref="ConfidentalityValue" minOccurs="0" maxOccurs="1"/>
77 <xs:element ref="IntegrityValue" minOccurs="0" maxOccurs="1"/>
78 <xs:element ref="AvailabilityValue" minOccurs="0" maxOccurs="1"/>
79 </xs:sequence>
80 </xs:complexType>
81 </xs:element>
82 <xs:element name="Scale" type="xs:string"/>
83 <xs:element name="ConfidentalityValue" type="xs:string"/>
84 <xs:element name="IntegrityValue" type="xs:string"/>
85 <xs:element name="AvailabilityValue" type="xs:string"/>
86 <!--
87 Handling Rule
88 -->
89 <xs:complexType name="HandlingRule" abstract="true"/>
90 <xs:complexType name="SecureWEBTransmission">
91 <xs:complexContent>
92 <xs:extension base="HandlingRule"/>
93 </xs:complexContent>
94 </xs:complexType>
95 <xs:complexType name="StorageRule">
96 <xs:complexContent>
97 <xs:extension base="HandlingRule"/>
98 </xs:complexContent>
99 </xs:complexType>
100 <xs:complexType name="SecureWEBStorage">
101 <xs:complexContent>
102 <xs:extension base="StorageRule"/>
103 </xs:complexContent>
104 </xs:complexType>
105 <xs:complexType name="SecureFileTransferTransmission">
106 <xs:complexContent>
107 <xs:extension base="HandlingRule"/>
108 </xs:complexContent>
109 </xs:complexType>
110 <xs:complexType name="SecureEmailTransmission">
111 <xs:complexContent>
112 <xs:extension base="HandlingRule"/>
113 </xs:complexContent>
114 </xs:complexType>
115 <xs:complexType name="MediumAuthentication">
116 <xs:complexContent>
117 <xs:extension base="HandlingRule"/>
118 </xs:complexContent>
119 </xs:complexType>
120 <xs:complexType name="FileDeletion">
121 <xs:complexContent>
122 <xs:extension base="HandlingRule"/>
123 </xs:complexContent>
124 </xs:complexType>
125 <xs:complexType name="DesktopStorage">
126 <xs:complexContent>
127 <xs:extension base="HandlingRule"/>
128 </xs:complexContent>
129 </xs:complexType>
130 <!--
131 Labeling Rule
133 <xs:element name="VisualMarkingPart">
134 <xs:complexType>
135 <xs:sequence>
136 <xs:element ref="Identifier"/>
137 <xs:element ref="Value"/>
138 </xs:sequence>
139 <xs:attribute name="type" type="xs:anyURI" use="optional"/>
140 </xs:complexType>
141 </xs:element>
142 <xs:element name="Identifier"/>
143 <xs:element name="Value"/>
144 <!--
145 Others
147 <xs:element name="WorkEffortsScope">
148 <xs:complexType>
149 <xs:sequence>
150 <xs:element ref="WorkEfforts"/>
151 </xs:sequence>
152 </xs:complexType>
153 </xs:element>
154 <xs:element name="WorkEfforts">
155 <xs:complexType>
156 <xs:sequence>
157 <xs:element ref="WorkEffort" maxOccurs="unbounded"/>
158 </xs:sequence>
159 </xs:complexType>
160 </xs:element>
161 <xs:element name="WorkEffort">
162 <xs:complexType>
163 <xs:sequence>
164 <xs:element ref="Name"/>
165 </xs:sequence>
166 <xs:attribute name="id" type="xs:string" use="required"/>
167 </xs:complexType>
168 </xs:element>
169 <xs:element name="Signatories">
170 <xs:complexType/>
171 </xs:element>
172 <xs:element name="Scope">
173 <xs:complexType>
174 <xs:sequence>
175 <xs:element ref="OrganizationsScope"/>
176 <xs:element ref="WorkEffortsScope"/>
177 <xs:element ref="ActionsScope"/>
178 </xs:sequence>
179 </xs:complexType>
180 </xs:element>
181 <xs:element name="Rules">
182 <xs:complexType>
183 <xs:sequence>
184 <xs:element ref="HandlingRules"/>
185 <xs:element ref="LabelingRules"/>
186 </xs:sequence>
187 </xs:complexType>
188 </xs:element>
189 <xs:element name="PolicyAuthorityName" type="xs:string"/>
190 <xs:element name="PolicyName" type="xs:string"/>
191 <xs:element name="ProgramID" type="xs:string"/>
192 <xs:element name="OrganizationsScope">
193 <xs:complexType>
194 <xs:sequence>
195 <xs:element ref="Organizations"/>
196 </xs:sequence>
197 </xs:complexType>
198 </xs:element>
199 <xs:element name="Organizations">
200 <xs:complexType>
201 <xs:sequence>
202 <xs:element ref="Organization" maxOccurs="unbounded"/>
203 </xs:sequence>
204 </xs:complexType>
205 </xs:element>
206 <xs:element name="Organization">
207 <xs:complexType>
208 <xs:sequence>
209 <xs:element ref="xnl:PartyName"/>
210 <xs:element ref="xal:Address"/>
211 </xs:sequence>
212 <xs:attribute name="id" use="required" type="xs:string"/>
213 </xs:complexType>
214 </xs:element>
215 <xs:element name="Name" type="xs:string"/>
216 <xs:element name="LicenseID" type="xs:anyURI"/>
217 <xs:element name="Level">
218 <xs:simpleType>
219 <xs:restriction base="xs:string">
220 <xs:enumeration value="Moderate"/>
221 </xs:restriction>
222 </xs:simpleType>
223 </xs:element>
224 <xs:element name="LabelingRules">
225 <xs:complexType>
226 <xs:sequence>
227 <xs:element ref="VisualMarkingPart" minOccurs="0" maxOccurs="unbounded"/>
228 </xs:sequence>
229 </xs:complexType>
230 </xs:element>
231 <xs:element name="InformationScope">
232 <xs:complexType>
233 <xs:sequence>
234 <xs:element ref="ImpactLevel"/>
235 <xs:element ref="ClassificationNumbers"/>
236 </xs:sequence>
237 </xs:complexType>
238 </xs:element>
239 <xs:element name="HandlingRules">
240 <xs:complexType>
241 <xs:sequence>
242 <xs:element ref="HandlingRule" minOccurs="0" maxOccurs="unbounded"/>
243 </xs:sequence>
244 </xs:complexType>
245 </xs:element>
246 <xs:element name="HandlingRule" type="HandlingRule"/>
247 <xs:element name="Countries">
248 <xs:complexType/>
249 </xs:element>
250 <xs:element name="ClassificationNumbers">
251 <xs:complexType/>
252 </xs:element>
253 <xs:element name="BusinessAuthorization" type="BusinessAuthorization"/>
254 <xs:element name="Applicant">
255 <xs:complexType>
256 <xs:sequence>
257 <xs:element ref="xnl:PartyName"/>
258 <xs:element ref="xal:Address"/>
259 </xs:sequence>
260 <xs:attribute name="id" use="required" type="xs:string"/>
261 </xs:complexType>
262 </xs:element>
263 <xs:element name="ActionsScope">
264 <xs:complexType>
265 <xs:sequence>
266 <xs:element ref="Actions"/>
267 </xs:sequence>
268 </xs:complexType>
269 </xs:element>
270 <xs:element name="Actions">
271 <xs:complexType>
272 <xs:sequence>
273 <xs:element ref="Action" maxOccurs="unbounded"/>
274 </xs:sequence>
275 </xs:complexType>
276 </xs:element>
277 <xs:element name="Action">
278 <xs:complexType>
279 <xs:sequence>
280 <xs:element ref="Name"/>
281 </xs:sequence>
282 <xs:attribute name="id" use="required" type="xs:string"/>
283 </xs:complexType>
284 </xs:element>
285 <xs:element name="AccessRules">
286 <xs:complexType>
287 <xs:sequence>
288 <xs:element ref="AccessRule" maxOccurs="unbounded"/>
289 </xs:sequence>
290 </xs:complexType>
291 </xs:element>
292 <xs:element name="AccessRule">
293 <xs:complexType>
294 <xs:sequence>
295 <xs:element ref="Organization"/>
296 <xs:element ref="Countries"/>
297 <xs:element ref="WorkEffort"/>
298 <xs:element ref="Actions"/>
299 </xs:sequence>
300 </xs:complexType>
301 </xs:element>
302 </xs:schema>