forked from OfficeDev/Outlook-Add-in-SSO
-
Notifications
You must be signed in to change notification settings - Fork 0
/
MailAppVersionOverridesV1_1.xsd
949 lines (894 loc) · 38.7 KB
/
MailAppVersionOverridesV1_1.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
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="MailAppVersionOverridesV1_1" elementFormDefault="qualified" version="1.0"
targetNamespace="http://schemas.microsoft.com/office/mailappversionoverrides/1.1"
xmlns="http://schemas.microsoft.com/office/mailappversionoverrides/1.1"
xmlns:bt="http://schemas.microsoft.com/office/officeappbasictypes/1.0"
xmlns:odoc="http://schemas.microsoft.com/internal/obd"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="OfficeAppBasicTypesV1_0.xsd" namespace="http://schemas.microsoft.com/office/officeappbasictypes/1.0" />
<xs:simpleType name="EventFunctionExecutionType">
<xs:annotation>
<xs:documentation>Defines acceptable values for the FunctionExecution attribute for event extension points.</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="synchronous">
<xs:annotation>
<xs:documentation>
This setting will block the user action that raised the event and execute the function. Developer's code can decide whether the user action should proceed or be cancelled.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="asynchronous">
<xs:annotation>
<xs:documentation>
This setting will not block the action that raised the event and the function will be executed asynchronously.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="synchronousUserDismissable" odoc:omit="true">
<xs:annotation>
<xs:documentation>
This setting will block the user action that raised the event and execute the function. Developer's code can decide whether the user action should proceed or be cancelled.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="Event">
<xs:annotation>
<xs:documentation>
Specifies an event for which the app wishes to receive callbacks.
</xs:documentation>
</xs:annotation>
<xs:attribute name="Type" type="bt:ShortString" use="required">
<xs:annotation>
<xs:documentation>
Specifies the event type to register a callback for. The event type MessageSend is not valid for Office Marketplace apps, but can be used in apps provided through alternate app catalogs such as an administrator managed Exchange App Catalog.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="FunctionExecution" type="EventFunctionExecutionType" use="required" />
<xs:attribute name="FunctionName" type="bt:LongString" use="required" />
</xs:complexType>
<xs:complexType name="ShowTaskpane">
<xs:annotation>
<xs:documentation>
Specifies a taskpane extension URL to display when a user interface extension point is invoked by the user.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Action">
<xs:sequence>
<xs:element name="SourceLocation" type="bt:URLResourceReference" minOccurs="1" maxOccurs="1" />
<xs:element name="SupportsPinning" type="xs:boolean" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ExecuteFunction">
<xs:annotation>
<xs:documentation>
Specifies a callback to execute when a user interface extension point is invoked by the user.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Action">
<xs:sequence>
<xs:element name="FunctionName" type="bt:LongString" minOccurs="1" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Action" abstract="true">
<xs:annotation>
<xs:documentation>
Specifies an action to perform when a user interface extension point is invoked by the user.
</xs:documentation>
</xs:annotation>
</xs:complexType>
<xs:complexType name="Supertip">
<xs:annotation>
<xs:documentation>
Specifies the super tip for this control.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Title" type="bt:ShortResourceReference" minOccurs="1" maxOccurs="1" />
<xs:element name="Description" type="bt:LongResourceReference" minOccurs="1" maxOccurs="1" />
</xs:sequence>
</xs:complexType>
<!-- CustomPane/DetectedEntity rules definition -->
<xs:complexType name="Rule" abstract="true">
<xs:annotation>
<xs:documentation>
An abstract type that specifies the conditions for the host application to activate this mail app.
</xs:documentation>
</xs:annotation>
<xs:attribute name="Highlight" type="bt:ShortString" use="optional" default="All">
<xs:annotation>
<xs:documentation>
Specifies highlighting for the matches of this rule.
This attribute is only acknowledged if the rule type is ItemHasRegularExpressionMatch or ItemHasKnownEntity, and
the rule is under a DetectedEntity extension point. In other words, this attribute is ignored for other rule types,
or all rules (regardless of type) under a CustomPane extension point or legacy rules (rules that are immediate children of the OfficeApp element).
Currently supported values for this attribute are : "None", "All".
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="ItemIs">
<xs:annotation>
<xs:documentation>
Defines a rule that evaluates to true if the selected item is of the specified type.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Rule">
<xs:attribute name="ItemType" type="bt:NonEmptyString" use="required">
<xs:annotation>
<xs:documentation>Specifies the item type to match. Currently supported values are: "Message" and "AppointmentAttendee".</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="ItemClass" type="bt:NonEmptyString" use="optional">
<xs:annotation>
<xs:documentation>Specifies the item message class to match.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IncludeSubClasses" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>Specifies whether the rule should evaluate to true if the item is of a subclass of the specified message class; the default is false.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ItemHasKnownEntity">
<xs:annotation>
<xs:documentation>
Defines a rule that evaluates to true if the item contains text of the specified entity type in its subject or body.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Rule">
<xs:attribute name="EntityType" type="bt:ShortString" use="required">
<xs:annotation>
<xs:documentation>Specifies the type of entity that must be found for the rule to evaluate to true. Currently supported values are: "MeetingSuggestion", "TaskSuggestion", "Address", "Url", "PhoneNumber", "EmailAddress", and "Contact"</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RegExFilter" type="bt:NonEmptyString" use="optional">
<xs:annotation>
<xs:documentation>Specifies a regular expression to run against this entity for activation.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="FilterName" type="bt:NonEmptyString" use="optional">
<xs:annotation>
<xs:documentation>Specifies the name of the regular expression filter, so that it is subsequently possible to refer to it by code.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IgnoreCase" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Specifies to ignore case when running the regular expression specified by the "RegExFilter" attribute.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="PropertyName">
<xs:annotation>
<xs:documentation>
Defines property names that can be used with the "ItemHasRegularExpressionMatch" rule.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="Subject">
<xs:annotation>
<xs:documentation>
Evaluates the regular expression against the item subject.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="BodyAsPlaintext">
<xs:annotation>
<xs:documentation>
Evaluates the regular expression against the item body in plain text.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="BodyAsHTML">
<xs:annotation>
<xs:documentation>
Evaluates the regular expression against the item body if the body is available in HTML.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="SenderSMTPAddress">
<xs:annotation>
<xs:documentation>
Evaluates the regular expression against the SMTP address of the item sender.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="ItemHasRegularExpressionMatch">
<xs:annotation>
<xs:documentation>
Defines a rule that evaluates to true if a match for the specified regular expression can be found in the specified property of the item.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Rule">
<xs:attribute name="RegExName" type="bt:NonEmptyString" use="required">
<xs:annotation>
<xs:documentation>Specifies the name of the regular expression, so that it is subsequently possible to refer to it by code.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="RegExValue" type="bt:NonEmptyString" use="required">
<xs:annotation>
<xs:documentation>Specifies the regular expression to match.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="PropertyName" type="PropertyName" use="required">
<xs:annotation>
<xs:documentation>Specifies the name of the property in which to look for matches.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="IgnoreCase" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>Specifies to ignore the case when executing the regular expression.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ItemHasAttachment">
<xs:annotation>
<xs:documentation>
Defines a rule that evaluates to true if the item contains an attachment.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Rule">
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="LogicalOperator">
<xs:annotation>
<xs:documentation>
Defines logical operators that allow combining multiple rules into a rule collection.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="And">
<xs:annotation>
<xs:documentation>
The binary logical operator that returns true if both operands are true, and returns false otherwise.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Or">
<xs:annotation>
<xs:documentation>
The binary logical operator that returns true if one or both operands are true, and returns false otherwise.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="RuleCollection">
<xs:annotation>
<xs:documentation>
Defines a collection of rules and the logical operator to use when evaluating them.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Rule">
<xs:sequence>
<xs:element name="Rule" type="Rule" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies the list of rules that this collection contains.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="Mode" type="LogicalOperator" use="required">
<xs:annotation>
<xs:documentation>Specifies the logical operator to use when evaluating this rule collection.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- End custom pane rules definition -->
<!-- Controls -->
<xs:complexType name="UIControl" abstract="true">
<xs:annotation>
<xs:documentation>
Specifies a user interface extension point of various kinds.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Label" type="bt:ShortResourceReference" minOccurs="1" maxOccurs="1" />
<xs:element name="Tooltip" type="bt:ShortResourceReference" minOccurs="0" maxOccurs="1" odoc:omit="true"/>
<xs:element name="Supertip" type="Supertip" minOccurs="1" maxOccurs="1" />
</xs:sequence>
<xs:attribute name="id" type="bt:ShortString" use="required">
<xs:annotation>
<xs:documentation>
The unique identifier of this control within the form factor.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="MobileUIControl" abstract="true" odoc:omit="true">
<xs:annotation>
<xs:documentation>
Specifies a user interface extension point of various kinds on a mobile device.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Label" type="bt:ShortResourceReference" minOccurs="1" maxOccurs="1" />
</xs:sequence>
<xs:attribute name="id" type="bt:ShortString" use="required">
<xs:annotation>
<xs:documentation>
The unique identifier of this control within the form factor.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="UIControlWithIcon" abstract="true">
<xs:annotation>
<xs:documentation>
Specifies a user interface extension point of various kinds that contain an icon.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="UIControl">
<xs:sequence>
<xs:element name="Icon" type="bt:IconList" minOccurs="1" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MobileUIControlWithIcon" abstract="true" odoc:omit="true">
<xs:annotation>
<xs:documentation>
Specifies a user interface extension point of various kinds that contain an icon.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="MobileUIControl">
<xs:sequence>
<xs:element name="Icon" type="bt:MobileIconList" minOccurs="1" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="UIControlWithOptionalIcon" abstract="true">
<xs:annotation>
<xs:documentation>
Specifies a user interface extension point of various kinds that may or may not contain an icon.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="UIControl">
<xs:sequence>
<xs:element name="Icon" type="bt:IconList" minOccurs="0" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Button">
<xs:annotation>
<xs:documentation>
Specifies a user interface extension point that displays as a standard button.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="UIControlWithIcon">
<xs:sequence>
<xs:element name="Action" type="Action" minOccurs="1" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MobileButton" odoc:omit="true">
<xs:annotation>
<xs:documentation>
Specifies a user interface extension point that displays as a button for mobile.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="MobileUIControlWithIcon">
<xs:sequence>
<xs:element name="Action" type="Action" minOccurs="1" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MenuItem">
<xs:annotation>
<xs:documentation>
Specifies a user interface extension point that displays as an item in a menu control.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="UIControlWithOptionalIcon">
<xs:sequence>
<xs:element name="Action" type="Action" minOccurs="1" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MenuItems">
<xs:annotation>
<xs:documentation>
Specifies a list of menu actions.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Item" type="MenuItem" minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="Menu">
<xs:annotation>
<xs:documentation>
Specifies a user interface extension point that displays as a menu of actions.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="UIControlWithIcon">
<xs:sequence>
<xs:element name="Items" type="MenuItems" minOccurs="1" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- End controls -->
<!-- Ribbon -->
<xs:complexType name="Group">
<xs:annotation>
<xs:documentation>
Specifies a specific group of user interface extension points in a tab in the host.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Label" type="bt:ShortResourceReference" minOccurs="1" maxOccurs="1" />
<xs:element name="Tooltip" type="bt:ShortResourceReference" minOccurs="0" maxOccurs="1" odoc:omit="true"/>
<xs:element name="Control" type="UIControl" minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="id" type="bt:ShortString" use="required">
<xs:annotation>
<xs:documentation>
The unique identifier of this group within the form factor.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="Tab" abstract="true">
<xs:annotation>
<xs:documentation>
Specifies a specific tab in the host where an app will customize the user interface.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Group" type="Group" minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="id" type="bt:ShortString" use="required">
<xs:annotation>
<xs:documentation>
Specifies the identifier of the tab to which the child groups belong. If this tab is a CustomTab element, it is the identifier of the new tab. If it is an OfficeTab, it is the identifier of the preexisting Office UI tab in which to insert content.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="OfficeTab">
<xs:annotation>
<xs:documentation>
Specifies an extension to a pre-existing tab in the host where an app will customize the user interface. Currently supported Tab id values for this element are "TabDefault".
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Tab" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="CustomTab">
<xs:annotation>
<xs:documentation>
Specifies an app defined tab in the host where an app will customize the user interface.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Tab">
<xs:sequence>
<xs:element name="Label" type="bt:ShortResourceReference" minOccurs="1" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- End ribbon -->
<!-- Extension points -->
<xs:complexType name="ExtensionPoint" abstract="true">
<xs:annotation>
<xs:documentation>
Specifies a location in a host where the app exposes functionality.
</xs:documentation>
</xs:annotation>
</xs:complexType>
<xs:complexType name="CommandSurfaceExtensionPoint" abstract="true">
<xs:annotation>
<xs:documentation>
Specifies locations in a host's user interface where the app exposes functionality.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ExtensionPoint">
<xs:sequence>
<xs:element name="OfficeTab" type="OfficeTab" minOccurs="0" maxOccurs="unbounded" />
<xs:element name="CustomTab" type="CustomTab" minOccurs="0" maxOccurs="unbounded" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MobileGroup" odoc:omit="true">
<xs:annotation>
<xs:documentation>
Specifies a specific group of user interface extension points in the mobile host.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Label" type="bt:ShortResourceReference" minOccurs="1" maxOccurs="1" />
<xs:element name="Control" type="MobileButton" minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
<xs:attribute name="id" type="bt:ShortString" use="required">
<xs:annotation>
<xs:documentation>
The unique identifier of this group within the form factor.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="MobileCommandSurfaceExtensionPoint" abstract="true" odoc:omit="true">
<xs:annotation>
<xs:documentation>
Specifies locations in a host's mobile user interface where the app exposes functionality.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ExtensionPoint">
<xs:sequence>
<xs:element name="Group" type="MobileGroup" minOccurs="1" maxOccurs="1"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MessageReadCommandSurface">
<xs:annotation>
<xs:documentation>
Specifies the ways the app exposes functionality through the user interface of a mail item's reading view.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="CommandSurfaceExtensionPoint" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MobileMessageReadCommandSurface" odoc:omit="true">
<xs:annotation>
<xs:documentation>
Specifies the ways the app exposes functionality through the user interface of a mail item's mobile reading view.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="MobileCommandSurfaceExtensionPoint" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MessageComposeCommandSurface">
<xs:annotation>
<xs:documentation>
Specifies the ways the app exposes functionality through the user interface of a mail item's compose view.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="CommandSurfaceExtensionPoint" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MobileMessageComposeCommandSurface" odoc:omit="true">
<xs:annotation>
<xs:documentation>
Specifies the ways the app exposes functionality through the user interface of a mail item's mobile compose view.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="MobileCommandSurfaceExtensionPoint" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AppointmentOrganizerCommandSurface">
<xs:annotation>
<xs:documentation>
Specifies the ways the app exposes functionality through the user interface of an appointment item where the user is the organizer.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="CommandSurfaceExtensionPoint" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MobileAppointmentOrganizerCommandSurface" odoc:omit="true">
<xs:annotation>
<xs:documentation>
Specifies the ways the app exposes functionality through the user interface of an mobile appointment item where the user is the organizer.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="MobileCommandSurfaceExtensionPoint" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AppointmentAttendeeCommandSurface">
<xs:annotation>
<xs:documentation>
Specifies the ways the app exposes functionality through the user interface of an appointment item where the user is an attendee.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="CommandSurfaceExtensionPoint" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="MobileAppointmentAttendeeCommandSurface" odoc:omit="true">
<xs:annotation>
<xs:documentation>
Specifies the ways the app exposes functionality through the user interface of an mobile appointment item where the user is an attendee.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="MobileCommandSurfaceExtensionPoint" />
</xs:complexContent>
</xs:complexType>
<xs:complexType name="CustomPane">
<xs:annotation>
<xs:documentation>
Displays a tab in the app bar that can appear in message read or appointment attendee views via declaration of rules.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ExtensionPoint">
<xs:sequence>
<xs:element name="RequestedHeight" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies the desired height, in pixels, of this mail app when running on a desktop computer, which is a value between 32 and 450.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="32" />
<xs:maxInclusive value="450" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SourceLocation" type="bt:URLResourceReference" minOccurs="1" maxOccurs="1" />
<xs:element name="Rule" type="Rule" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies the activation rule that should be evaluated for this extension point.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DisableEntityHighlighting" type="xs:boolean" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies whether entity highlighting should be turned off for this mail app.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="CommandSurface">
<xs:annotation>
<xs:documentation>Specifies the ways the app exposes functionality through the user interface of a Module Extension Point.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="CustomTab" type="CustomTab" minOccurs="1" maxOccurs="unbounded" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="Module">
<xs:annotation>
<xs:documentation>The app exposes functionality in the Add-ins Module to show a large HTML source with CommandSurfaces.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ExtensionPoint">
<xs:sequence>
<xs:element name="SourceLocation" type="bt:URLResourceReference" minOccurs="1" maxOccurs="1" />
<xs:element name="Label" type="bt:ShortResourceReference" minOccurs="1" maxOccurs="1" />
<xs:element name="CommandSurface" type="CommandSurface" minOccurs="1" maxOccurs="1" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="DetectedEntity">
<xs:annotation>
<xs:documentation>
Displays a tab in the app bar of a contextual card that can appear in message read or appointment attendee views via declaration of rules.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="ExtensionPoint">
<xs:sequence>
<xs:element name="Label" type="bt:ShortResourceReference" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies a short name for the app in the contextual card.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RequestedHeight" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Specifies the desired height, in pixels on 72dpi displays, of this mail app when running on a desktop computer, which is a value between 140 and 450.
The default value for this attribute is 350.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:integer">
<xs:minInclusive value="140" />
<xs:maxInclusive value="450" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="SourceLocation" type="bt:URLResourceReference" minOccurs="1" maxOccurs="1" />
<xs:element name="Rule" type="Rule" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies the activation rule that should be evaluated for this extension point.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- End extension points-->
<!-- Hosts and form factors -->
<xs:complexType name="FormFactor">
<xs:annotation>
<xs:documentation>
Specifies the list of settings for the app when activated for a given form factor of the host.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FunctionFile" type="bt:URLResourceReference" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies the source code file for the app, containing operations it exposes via its extension points, to use when loaded in this form factor.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExtensionPoint" type="ExtensionPoint" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Specifies a location in the host where the app registers itself to perform operations.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Host" abstract="true">
<xs:annotation>
<xs:documentation>
Generic type for specifying Host node types under the Hosts element list
</xs:documentation>
</xs:annotation>
</xs:complexType>
<xs:complexType name="MailHost">
<xs:annotation>
<xs:documentation>
Defines a headless MailApp host details, its supported form factors, and settings for each.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="Host">
<xs:sequence>
<xs:element name="DesktopFormFactor" type="FormFactor" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies the settings of the app when running in a desktop version of the host.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MobileFormFactor" type="FormFactor" minOccurs="0" maxOccurs="1" odoc:omit="true">
<xs:annotation>
<xs:documentation>Specifies the behavior of the app when running in a mobile version of the host.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="Hosts">
<xs:annotation>
<xs:documentation>
Specifies the Office client Host type where an app for Office will be activated.
</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:element name="Host" type="Host">
<xs:annotation>
<xs:documentation>
Specifies the Office client applications where an app for Office will be activated and its settings.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- End hosts and form factors -->
<xs:complexType name="WebApplicationScopes" odoc:omit="true">
<xs:annotation>
<xs:documentation>
Specifies the scope strings for any permissions that your application needs to external resources.
</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:element name="Scope" type="bt:LongString">
<xs:annotation>
<xs:documentation>
Specifies the scope string for one permission that your application needs to external resources.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="WebApplicationInfo" odoc:omit="true">
<xs:annotation>
<xs:documentation>
Specifies the web application info for SSO.
</xs:documentation>
</xs:annotation>
<xs:sequence minOccurs="1" maxOccurs="unbounded">
<xs:element name="Id" type="bt:ShortString" minOccurs="0" maxOccurs="1" odoc:omit="true">
<xs:annotation>
<xs:documentation>Specifies the client id of your multi-tenant application as registered with Microsoft.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Resource" type="bt:LongString" minOccurs="0" maxOccurs="1" odoc:omit="true">
<xs:annotation>
<xs:documentation>Specifies the resource for your application's Web API.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Scopes" type="WebApplicationScopes" minOccurs="0" maxOccurs="1" odoc:omit="true">
<xs:annotation>
<xs:documentation>Specifies the scope strings for any permissions that your application needs to external resources.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="VersionOverridesV1_1">
<xs:annotation>
<xs:documentation>
Contains elements for the version 1.1 overrides of the MailApp office app manifest.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Description" type="bt:LongResourceReference" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies a more verbose description of the app. If present this value overrides the Description element in any parent portion of the manifest.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Requirements" type="bt:Requirements" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies the minimum set of Office.js requirements that the app for Office needs to activate. If present this value overrides the Description element in any parent portion of the manifest</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Hosts" type="Hosts" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies a collection of host types and their settings. Overrides the Hosts element in any parent portion of the manifest.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Resources" type="bt:Resources" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>Specifies a collection of resources referenced by other elements of the manifest where resource references are supported. If present this value overrides the specific Resources element in any parent portion of the manifest and merges with the rest</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WebApplicationInfo" type="WebApplicationInfo" minOccurs="0" maxOccurs="1" odoc:omit="true">
<xs:annotation>
<xs:documentation>Specifies the client id of your multi-tenant application as registered with Microsoft.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:any id="VersionOverrides" minOccurs="0" maxOccurs="1" namespace="http://schemas.microsoft.com/office/mailappversionoverrides/1.2" processContents="lax">
<xs:annotation>
<xs:documentation>Contains elements for use in future versions of the app platform as they release. These elements may be overrides to previously defined elements or new elements.</xs:documentation>
</xs:annotation>
</xs:any>
</xs:sequence>
</xs:complexType>
<xs:element name="VersionOverrides" type="VersionOverridesV1_1">
<xs:annotation>
<xs:documentation>Specifies a collection of host types and their settings. Data defined in this element overrides or supplements the same data present in any parent portion of this manifest for hosts that support this extended manifest content.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>