-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathevent-logging-v3-client-v3.4.2-WIP.xsd
2967 lines (2940 loc) · 166 KB
/
event-logging-v3-client-v3.4.2-WIP.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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright 2016 - 2018 Crown Copyright
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<xs:schema xmlns:evt="event-logging:3" xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="event-logging:3" elementFormDefault="qualified"
attributeFormDefault="unqualified" version="3.4.2" id="event-logging-v3.4.2-client">
<xs:annotation>
<xs:documentation>This schema describes the allowed element structure for event logging. Please refer to the documentation and examples for a description of how to use this schema in addition to the descriptions given for each element within this schema.</xs:documentation>
</xs:annotation>
<xs:element name="Event">
<xs:annotation>
<xs:documentation>A single event that has occurred and been recorded.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Meta" type="evt:AnyContentComplexType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>This element can be used to supply any meta data relating to the event as long as it conforms to an allowed format/specification (defined outside of this XML Schema).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Classification" type="evt:ClassificationComplexType" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The classification for the event.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EventTime" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>This element contains information about the time the event was created.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="TimeCreated" type="evt:DateTimeSimpleType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>This element contains information about the time the event was created.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TimeSource" type="evt:DeviceComplexType" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>This is an optional element to be used to indicate the time source that the event creation time has been synchronised with. In most circumstances it is assumed that the event time has been synchronised with the corporate time service where the generating device resides so the inclusion of this element is not required.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EventSource" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>This element details where the event came from, i.e. what generator created the event and on what device.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="System" type="evt:SystemComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The system that generated the event. This is not the same as the generator as the generator is merely the application or component that created the event, e.g. auditd. The system describes the higher level project/service or capability that uses the generator as a component, e.g. 'Payroll System'.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Generator" type="xs:string" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>The thing that generated the event. This could be the name of an application, service or OS entity. Multiple devices may host the same generator, e.g. many copies of the same OS. The event type within the event description will describe an event that is unique to the generator, i.e. the generator is treated as a namespace for event type ids.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Device" type="evt:DeviceComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>A description of the device that the event generator is hosted upon.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Client" type="evt:DeviceComplexType" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>In situations where an event has been created as a result of an interaction with a client device, the client should be recorded. This will be the case for web applications that are responding to input from users with active sessions. All authentication events that originate from a connected client should populate this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Server" type="evt:DeviceComplexType" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>In situations where an event has been created as a result of an interaction with a server device, the server should be recorded.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Door" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Physical access events are generated by doors. This element describes the type of door that created the event.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Name" type="xs:string" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The site-wide name/identifier for the door.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="xs:string" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>A user readable description of the door.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Location" type="evt:LocationComplexType"
minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the geographic location of the device.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SingleEntry" type="xs:boolean" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>It is assumed that doors only allow for a single authenticated person to enter at a time, e.g. in the case of turnstiles. Where single entry is true this element can be omitted as this is expected by default.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RemoveAll" type="xs:boolean" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>This element is used to tell us to remove all access zones from the list of currently accesible zones for a user before adding a new one. This is the case whenever a user moves from one zone to another and loses all possible access to the zones they were previously in, i.e. they would need to re-authenticate to regain access rather than just pass back through the door. If not specified this element is considered to be true as most movement through a door removes access to previously accessible zones.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AddAccess" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>A list of access zones that have been added by this event assuming it is successful.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="AccessZone" type="xs:string"
minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>An area within a building that is accessible only via an authenticated access method, e.g. a turnstile or door with an access control system.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:choice>
<xs:element name="User" type="evt:UserComplexType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Where events are created as a result of a user action or within the context of a user account, the user should be recorded. To achieve this it may be necessary to map the user identifier in an application to a common user identifier when populating this element. Where an identifier exists that is unique across the organisation, such as a distinguished name (User DN) from a certificate authority or directory service, then this should be used in the <Id> element in preference to any other user identifier.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RunAs" type="evt:UserComplexType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>In some cases an account may switch to another account in order to run a process or perform a privileged action, e.g. use of sudo. Where this happens the <User> element should still refer to the real user and this element should indicate what the temporary user was when the event was created, e.g. root. This is also often used when a system user (processing account) executes scheduled jobs on behalf of the real user that scheduled the job. Where an identifier exists that is unique across the organisation, such as a distinguished name (User DN) from a certificate authority or directory service, then this should be used in the <Id> element in preference to any other user identifier.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Interactive" type="xs:boolean" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Indicates whether the event was produced as a result of direct interaction, i.e. user was directly responsible for the event being created and was present at the time it was created. This element will be false where an event may have been created after the user was present, e.g. where scheduled processing is performed or an action has been queued for execution later, as is the case when some form of asynchronous processing is used. All interactive events must provide the Id for the user. Can be omitted if true as this is the default.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Data" type="evt:DataComplexType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EventDetail" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>This element describes the details of the event, i.e. what happened.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="TypeId" type="xs:string" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>A name/code/ID to uniquely identify the logical event type within the service providing the events. E.g a Windows eventId (i.e representing 'Failed logon', 'Chane password attempt', etc.) or for application logging: SaveRecord, ViewUserRecord, ViewSearchResults, etc. The granularity will depend on the application. Typically the number of unique TypeIds will be in the 10s. Note, the values of the TypeId are not meant to be globally consistent, they will only be relevant within that service providing the events.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Some human readable descriptive text for the event type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Classification" type="evt:ClassificationComplexType"
minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>[DEPRECATED: This element will be removed in a future version. Event/Classification element should be used instead.]</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Purpose" type="evt:PurposeComplexType" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The purpose/justification assigned to this event for user actions that are required to be justified for reasons of corporate policy, e.g. transferring data to removable media, viewing personnel records or making a high value payment.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element name="Authenticate" type="evt:AuthenticateComplexType"
minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Used to record authentication events such as logon and logoff. All authentication events that originate from a client device should record details of the client device in the event source.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Authorise" type="evt:AuthoriseComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to account management such as adding and removing user and system accounts.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Search" type="evt:SearchComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Any events related to searching for data should use this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Copy" type="evt:CopyComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to copying data should use this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Move" type="evt:MoveComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to moving data should use this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Create" type="evt:CreateComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to creating data should use this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="View" type="evt:ViewComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to viewing data should use this element. Note that viewing data is subtly different from reading data. This event is to be used when data is displayed to an end user and not for data read by an application.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Import" type="evt:ImportComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to importing data should use this element. An import could include any batch insert of data from an external source or uploading a file.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Export" type="evt:ExportComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to exporting data should use this element. An export could include activities such as downloading data from an application or generating a report.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Update" minOccurs="1" maxOccurs="1"
type="evt:UpdateComplexType">
<xs:annotation>
<xs:documentation>All events related to updating data should use this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Delete" type="evt:DeleteComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>All events related to deleting data should use this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Process" minOccurs="1" maxOccurs="1"
type="evt:ProcessComplexType">
<xs:annotation>
<xs:documentation>Whenever processes such as applications or services are started, stopped etc, this should be recorded in this element. It also covers the running of batch processes or jobs.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Print" minOccurs="1" maxOccurs="1" type="evt:PrintComplexType">
<xs:annotation>
<xs:documentation>All events related to printing should use this element.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Install" type="evt:InstallComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Details about installation of either hardware or software.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Uninstall" type="evt:UninstallComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Details about removal of either hardware or software.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Network" minOccurs="1" maxOccurs="1"
type="evt:NetworkEventActionComplexType">
<xs:annotation>
<xs:documentation>Any events related to network traffic, filtering or access should be recorded using this element.</xs:documentation>
</xs:annotation>
</xs:element>
<!--<xs:element name="AntiMalware" minOccurs="1" maxOccurs="1"-->
<!--type="evt:AntiMalwareActionComplexType">-->
<!--<xs:annotation>-->
<!--<xs:documentation>[DEPRECATED: This element will be removed in a future version. The Process element should be used instead.] Used for all anti-malware related events.</xs:documentation>-->
<!--</xs:annotation>-->
<!--</xs:element>-->
<xs:element name="Alert" minOccurs="1" maxOccurs="1" type="evt:AlertComplexType">
<xs:annotation>
<xs:documentation>An alert event according to the system producing the event, e.g. an event raised when an anti-malware system finds malware.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Send" minOccurs="1" maxOccurs="1" type="evt:SendComplexType">
<xs:annotation>
<xs:documentation>Used for send events that are at a higher level than a network/send event, e.g. sending an email</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Receive" minOccurs="1" maxOccurs="1" type="evt:ReceiveComplexType">
<xs:annotation>
<xs:documentation>Used for receive events that are at a higher level than a network/receive event, e.g. receiving an email</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Approval" type="evt:ApprovalComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Any events relating to the action of approving/accepting or rejecting something, e.g. an approval step in a workflow, accepting a license agreement, or acceptable use policy. The event may relate to one user approving the work/action of another user or a single user accepting something.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Unknown" minOccurs="1" maxOccurs="1">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Data" type="evt:DataComplexType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="EventChain" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>This element can be used to create relationships between different events. One or more events can belong to an activity and the activity can be related to a parent activity and other siblings.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Activity" type="evt:ActivityComplexType" minOccurs="1"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The activity that this event is related to.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Data" type="evt:DataComplexType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit. Can also be used for appending data about the event after it has been received or processed, e.g. for recording details relating to the processing of the event such as the feed name.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Events">
<xs:annotation>
<xs:documentation>The root element that contains multiple Event elements.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element ref="evt:Event" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="Version" type="evt:VersionSimpleType" use="required"/>
</xs:complexType>
</xs:element>
<xs:group name="AdvancedQueryOperatorGroup">
<xs:choice>
<xs:element name="Term" type="evt:TermComplexType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>A list of fields to be AND together.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="And" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>All of the enclosed fields are to be treated as being AND together.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="evt:BaseAdvancedQueryOperatorComplexType"/>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="Or" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>All of the enclosed fields are to be treated as being OR together.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="evt:BaseAdvancedQueryOperatorComplexType"/>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="Not" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The enclosed structure operators and terms are negated.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="evt:BaseAdvancedQueryOperatorComplexType"/>
</xs:complexContent>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:group>
<xs:group name="BaseObjectGroup">
<xs:sequence>
<xs:element name="Meta" type="evt:AnyContentComplexType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>This element can be used to supply any meta data relating to an object as long as it conforms to an allowed format/specification (defined outside of this XML Schema).</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Type" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Id" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Name" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Classification" type="evt:ClassificationComplexType" minOccurs="0"
maxOccurs="1"/>
<xs:element name="State" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Groups" type="evt:GroupsComplexType" minOccurs="0" maxOccurs="1"/>
<xs:element name="Permissions" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Permission" minOccurs="1" maxOccurs="unbounded">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:choice minOccurs="1" maxOccurs="1">
<xs:element name="User" type="evt:UserComplexType" minOccurs="1"
maxOccurs="1"/>
<xs:element name="Group" type="evt:GroupComplexType" minOccurs="1"
maxOccurs="1"/>
</xs:choice>
<xs:element name="Allow" type="evt:PermissionAttributeSimpleType"
minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Deny" type="evt:PermissionAttributeSimpleType"
minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Tags" minOccurs="0" maxOccurs="1" type="evt:MetaDataTagsComplexType">
<xs:annotation>
<xs:documentation>Metadata tags that can be used for additional object tagging or categorisation. Object tagging allows for the labelling (or filtering) of objects using words that label, categorise or group similar items, using a taxonomy defined outside this schema. For example, an email could be tagged with tags like 'internal', 'spam', 'external', 'rich-content', etc.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:group name="CriteriaExtensionGroup">
<xs:sequence>
<xs:element name="DataSources" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="DataSource" type="xs:string" minOccurs="1" maxOccurs="unbounded"
/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Query" type="evt:QueryComplexType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Structure used to describe the query associated with a search event.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResultPage" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Details of the page (or sub-set) of results actually displayed/returned to the user, if known at query time.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="TotalPages" type="xs:nonNegativeInteger" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The number of pages/sets that make up the complete result set.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PerPage" type="xs:nonNegativeInteger" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The maximum number of results that will be displayed per page. E.g. 10 results per page.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PageNumber" type="xs:nonNegativeInteger" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The number of the page/set of results displayed/returned to the user, e.g. 3 out of 24 pages.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="From" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The index of the first result in the page out of the full result set (inclusive), e.g. 11 (in the case of showing results 11-20 of 453)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="To" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The index of the last result in the page out of the full result set (inclusive), e.g. 20 (in the case of showing results 11-20 of 453)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="TotalResults" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The total number or results returned by the query, if known at query time. In situations where only a sub-set of results are displayed/returned to the user then this element represents the count of ALL results and ResultPage should be used to provide details of which results are actually viewed/returned by the user.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Results" type="evt:MultiObjectComplexType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the results returned by the search if they are know at the time of the Search event (a synchronous search). If the results are not know at execution time (an asynchronous search) and will be viewed as part of a separate event then View/SearchResults can be used to model that event.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:group>
<xs:complexType name="AccessControlGroupsComplexType">
<xs:annotation>
<xs:documentation>Describes a set of groups used to control access to protectively marked items.</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="AccessControlGroup" type="xs:string" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The name of an access control group that is used to control access to protectively marked items. E.g. 'HR', 'Auditors', 'Management', etc.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ActivityComplexType">
<xs:annotation>
<xs:documentation>Type that describes an activity used to create relationships between events.</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Id" type="xs:string" minOccurs="1" maxOccurs="1"/>
<xs:element name="Name" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>A descriptive name for the activity.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Parent" type="evt:ActivityComplexType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The parent activity if there is one.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!--<xs:complexType name="AntiMalwareComplexType">-->
<!--<xs:complexContent>-->
<!--<xs:extension base="evt:BaseAntiMalwareComplexType"/>-->
<!--</xs:complexContent>-->
<!--</xs:complexType>-->
<xs:complexType name="AntiMalwareThreatComplexType">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Product" type="evt:SoftwareComplexType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the anti-malware product used.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Signature" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the anti-malware signature used.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Version" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The version of the signature.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Updated" type="evt:DateTimeSimpleType" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>When the signature was last updated.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Threat" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the threat if one has been found.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Category" type="evt:ThreatCategorySimpleType"
minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>The category of the threat, e.g. Worm, Virus, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Name" type="xs:string" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>The name of the threat, e.g. a virus name.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Infected" type="evt:MultiObjectComplexType" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>Describes the infected item if one has been found.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AnyContentComplexType" mixed="true">
<xs:annotation>
<xs:documentation>This type is used to contain any content conforming to an agreed format/specification that is defined outside of this XML Schema.</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:any minOccurs="0" processContents="lax"/>
</xs:sequence>
<xs:attribute name="ContentType" type="xs:string">
<xs:annotation>
<xs:documentation>String to describe the format type and specification of the content, e.g. JSON or XML. The valid values are defined outside of this XML Schema.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="Version" type="xs:string">
<xs:annotation>
<xs:documentation>Defines the version of data structure specification.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ApprovalComplexType">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Action" type="evt:ApprovalActionSimpleType" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>The action that the approval event is capturing, e.g. Approve, Reject, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Id" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>An identifier associated with the approval step/process.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Subject" type="evt:MultiObjectComplexType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The object that this approval step (or request for approval) relates to, e.g. the document being approved.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Requestors" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The user(s) that requested the approval, e.g. jbloggs requesting approval from a manager for his finance report.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Requestor" type="evt:UserComplexType" minOccurs="1"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A user that requested the approval, e.g. jbloggs requesting approval from a manager for his finance report.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Approvers" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The user(s) that are providing the approval, e.g. a user requesting approval from manager fsmith for his finance report.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Approver" type="evt:UserComplexType" minOccurs="1"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>The user that is providing the approval, e.g. a user requesting approval from manager fsmith for his finance report.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Reason" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The reason for the approval/rejection/request, e.g. why the approval was rejected.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Outcome" type="evt:OutcomeComplexType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Used to determine if the action was successful. If omitted it is assumed that the event was successful and was permitted.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Data" type="evt:DataComplexType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AssociationComplexType">
<xs:complexContent>
<xs:extension base="evt:BaseObjectComplexType">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Objects" type="evt:MultiObjectComplexType" minOccurs="1"
maxOccurs="1"/>
<xs:element name="Data" type="evt:DataComplexType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AuthenticateOutcomeComplexType">
<xs:complexContent>
<xs:extension base="evt:BaseOutcomeComplexType">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Reason" type="evt:AuthenticateOutcomeReasonSimpleType"
minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>An enumeration used to describe the reason why authentication failed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Data" type="evt:DataComplexType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="BannerComplexType">
<xs:annotation>
<xs:documentation>Structure used to describe a banner presented to a user. Typically it displays legal information relating to the system.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="evt:BaseObjectComplexType">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Version" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Message" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Data" type="evt:DataComplexType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!--<xs:complexType name="BaseAdvancedQueryItemComplexType" abstract="true"/>-->
<xs:complexType name="BaseAdvancedQueryOperatorComplexType" abstract="true">
<!--<xs:complexContent>-->
<!--<xs:extension base="evt:BaseAdvancedQueryItemComplexType">-->
<xs:group ref="evt:AdvancedQueryOperatorGroup" minOccurs="0" maxOccurs="unbounded"/>
<!--</xs:extension>-->
<!--</xs:complexContent>-->
</xs:complexType>
<!--<xs:complexType name="BaseAntiMalwareComplexType" abstract="true">-->
<!--<xs:sequence minOccurs="1" maxOccurs="1">-->
<!--<xs:element name="Product" type="evt:SoftwareComplexType" minOccurs="0" maxOccurs="1">-->
<!--<xs:annotation>-->
<!--<xs:documentation>Describes the anti-malware product used.</xs:documentation>-->
<!--</xs:annotation>-->
<!--</xs:element>-->
<!--<xs:element name="Signature" minOccurs="0" maxOccurs="1">-->
<!--<xs:annotation>-->
<!--<xs:documentation>Describes the anti-malware signature used.</xs:documentation>-->
<!--</xs:annotation>-->
<!--<xs:complexType>-->
<!--<xs:sequence minOccurs="1" maxOccurs="1">-->
<!--<xs:element name="Version" type="xs:string" minOccurs="0" maxOccurs="1">-->
<!--<xs:annotation>-->
<!--<xs:documentation>The version of the signature.</xs:documentation>-->
<!--</xs:annotation>-->
<!--</xs:element>-->
<!--<xs:element name="Updated" type="evt:DateTimeSimpleType" minOccurs="0"-->
<!--maxOccurs="1">-->
<!--<xs:annotation>-->
<!--<xs:documentation>When the signature was last updated.</xs:documentation>-->
<!--</xs:annotation>-->
<!--</xs:element>-->
<!--</xs:sequence>-->
<!--</xs:complexType>-->
<!--</xs:element>-->
<!--</xs:sequence>-->
<!--</xs:complexType>-->
<xs:complexType name="BaseChatComplexType" abstract="true">
<xs:complexContent>
<xs:extension base="evt:BaseObjectComplexType">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="SessionId" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Room" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="From" type="evt:UserComplexType" minOccurs="0" maxOccurs="1"/>
<xs:element name="To" type="evt:UserComplexType" minOccurs="0" maxOccurs="unbounded"/>
<xs:element name="Content" type="xs:string" minOccurs="0" maxOccurs="1"/>
<xs:element name="Data" type="evt:DataComplexType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="BaseFileComplexType" abstract="true">
<xs:complexContent>
<xs:extension base="evt:BaseObjectComplexType">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Path" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The full system file path.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Created" type="evt:DateTimeSimpleType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The creation time of the file.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Modified" type="evt:DateTimeSimpleType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The modification time of the file.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Accessed" type="evt:DateTimeSimpleType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The last access time of the file.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Size" type="xs:nonNegativeInteger" minOccurs="0" maxOccurs="1"/>
<xs:element name="Media" type="evt:MediaComplexType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Optional description of the media that the file exists on or that the file is being written to.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Hash" minOccurs="0" maxOccurs="1">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:annotation>
<xs:documentation>The value obtained from applying a hash function (e.g. MD5, SHA-256, etc.) to the contents of the file.</xs:documentation>
</xs:annotation>
<xs:attribute name="Type" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>The type of hashing algorithm used, e.g. MD5, SHA-256, etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>
<xs:element name="Data" type="evt:DataComplexType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Any other event data that does not fit into a schema element but may be useful for the purpose of audit.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="BaseNetworkComplexType" abstract="true">
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Source" type="evt:NetworkLocationComplexType" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>The source device that is attempting the network action.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Destination" type="evt:NetworkLocationComplexType" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The destination device for the network action.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProcessName" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The name of the process responsible for the network action.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Payload" type="evt:MultiObjectComplexType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>If the network action is related to message transfer from one place to another then this element describes the message.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Rule" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The network boundary filter rule that was fired to generate this event.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BaseObjectComplexType" abstract="true">
<xs:group ref="evt:BaseObjectGroup" minOccurs="1" maxOccurs="1"/>
</xs:complexType>
<xs:complexType name="BaseOutcomeComplexType" abstract="true">
<xs:annotation>
<xs:documentation>Describes the outcome of an event whether it is successful and whether it was permitted.</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Success" type="xs:boolean" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>If the outcome of an event was successful then 'true', 'false' otherwise. Can be omitted if true as this is the default. The main exception to this default would be if there were many varied Descriptions for the success criteria and such Descriptions could provide additional context to the event.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Permitted" type="xs:boolean" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>If an action was permitted then 'true', 'false' otherwise. Can be omitted if true as this is the default. The main exception to this default would be if there were many varied Descriptions for the success criteria and such Descriptions could provide additional context to the event.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AuthService" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>A description of the authorisation service that was used to decide if the action was permitted.</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Id" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>An identitfier for the authorisation service, usually a URI string.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CacheTimeout" type="xs:positiveInteger" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The number of seconds a system is allowed to cache this authorisation before it needs to be checked again.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="Description" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Human readable text that describes the outcome.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ChatComplexType">
<xs:complexContent>
<xs:extension base="evt:BaseChatComplexType"/>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ClassificationComplexType">
<xs:annotation>
<xs:documentation>Describes the classification and access controls for an item such as a document, record, file, etc.</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Text" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Optional full human readable text of the protective marking that can combine the various elements in this Classification structure, e.g 'Commerical in Confidence'.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Originator" type="evt:OrganisationComplexType" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The originator or creator of the protectively marked item. The originator is described by an Organisation and optionally qualified by the organisation's Country.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Custodian" type="evt:OrganisationComplexType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The custodian or owner of the protectively marked item. The custodian is responsible for the lifecycle of the marked item. The custodian is described by an Organisation and optionally qualified by the organisation's Country.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Classification" type="xs:string" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>The classification of the protectively marked item. E.g. 'OFFICIAL', 'COMMERCIAL IN CONFIDENCE', 'CONFIDENTIAL', 'INTERNAL' etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Descriptors" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Additional descriptors or keywords to further qualify the Classification e.g. 'PERSONAL'</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence minOccurs="1" maxOccurs="1">
<xs:element name="Descriptor" type="xs:string" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Descriptor or keyword to further qualify the Classification e.g. 'PERSONAL'</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="OrGroups" type="evt:AccessControlGroupsComplexType" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The groups that a person must belong to AT LEAST ONE OF in order to be permitted to access the protectively marked item. E.g. 'HR' OR 'Auditors'.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AndGroups" type="evt:AccessControlGroupsComplexType" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:documentation>The groups that a person must belong to ALL OF in order to be permitted to access the protectively marked item. E.g. 'Sales' AND 'Management'.</xs:documentation>
</xs:annotation>
</xs:element>