-
Notifications
You must be signed in to change notification settings - Fork 7
/
appconfig.xsd
1067 lines (1023 loc) · 50.5 KB
/
appconfig.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" standalone="no"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="managedAppConfiguration">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="1" maxOccurs="1" ref="version"/>
<xs:element minOccurs="1" maxOccurs="1" ref="bundleId"/>
<xs:element minOccurs="1" maxOccurs="1" ref="dict"/>
<xs:element minOccurs="0" maxOccurs="1" ref="presentation"/>
</xs:sequence>
</xs:complexType>
<xs:key name="keyDictKeyName">
<xs:selector xpath="dict/string|dict/stringArray|dict/integer|dict/integerArray|dict/float|dict/floatArray|dict/date|dict/boolean"/>
<xs:field xpath="@keyName"/>
</xs:key>
<xs:keyref name="refFieldKeyName" refer="keyDictKeyName">
<xs:selector xpath="presentation/fieldGroup/field|presentation/field"/>
<xs:field xpath="@keyName"/>
</xs:keyref>
</xs:element>
<xs:element name="version">
<xs:annotation>
<xs:documentation>
The 'version' element specifies the version of the configuration settings.
The version value should be an integer which increments for each revision
you make to the configuration settings.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1"/>
<xs:totalDigits value="5"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="bundleId">
<xs:annotation>
<xs:documentation>
The 'bundleId' element specifies the bundle identifier of the app.
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="([a-zA-Z0-9]+\.)+([a-zA-Z0-9])+"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<!-- ~~~~~~~~~~~~~ -->
<!-- DICT -->
<!-- ~~~~~~~~~~~~~ -->
<xs:element name="dict">
<xs:annotation>
<xs:documentation>
The 'dict' element is the root element for the individual keys which
make up the app's configuration settings. Each direct child element
defines a configuration setting (key) that you require the EMM
(Enterprise Mobility Management) service to send to the app.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element ref="string"/>
<xs:element ref="stringArray"/>
<xs:element ref="integer"/>
<xs:element ref="integerArray"/>
<xs:element ref="float"/>
<xs:element ref="floatArray"/>
<xs:element ref="date"/>
<xs:element ref="boolean"/>
</xs:choice>
</xs:complexType>
</xs:element>
<xs:element name="string">
<xs:annotation>
<xs:documentation>
The 'string' element defines a key that you require the EMM service to send
to the app in a key-value pair. The value must be a string.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="stringValueType">
<xs:annotation>
<xs:documentation>
The optional 'defaultValue' element specifies the default value for the
EMM service to:
- display in the user interface control for the configuration setting.
- send to the app as the value in a key-value pair if the enterprise
administrator makes no change to the user interface control
It contains one of the child elements 'value', 'userVariable',
or 'deviceVariable'.
Setting a default value is recommended to make the app ready to use the
enterprise administrator or device user doing any work.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="constraint" type="stringConstraintType">
<xs:annotation>
<xs:documentation>
The 'constraint' element defines the validation rules for the value
of the configuration setting. The EMM service uses these rules to make
sure values that the enterprise administrator enters on the admin console
are valid.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="keyName" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
The attribute 'keyName' is the name of the key in the key-value pair
that the EMM service sends to the app. It must be globally unique.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="stringArray">
<xs:annotation>
<xs:documentation>
The 'stringArray' element defines a key that you require the EMM service to send
to the app in a key-value pair. The value must be a string array.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="stringArrayValueType">
<xs:annotation>
<xs:documentation>
The optional 'defaultValue' element specifies the default value for the
EMM service to:
- display in the user interface control for the configuration setting.
- send to the app as the value in a key-value pair if the enterprise
administrator makes no change to the user interface control
It contains one or more of the child elements 'value', 'userVariable',
or 'deviceVariable'.
Setting a default value is recommended to make the app ready to use the
enterprise administrator or device user doing any work.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="constraint" type="stringConstraintType">
<xs:annotation>
<xs:documentation>
The 'constraint' element defines the validation rules for the value
of the configuration setting. The EMM service uses these rules to make
sure values that the enterprise administrator enters on the admin console
are valid.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="keyName" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
The attribute 'keyName' is the name of the key in the key-value pair
that the EMM service sends to the app. It must be globally unique.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="integer">
<xs:annotation>
<xs:documentation>
The 'integer' element defines a key that you require the EMM service to send
to the app in a key-value pair. The value must be an integer.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="integerValueType">
<xs:annotation>
<xs:documentation>
The optional 'defaultValue' element specifies the default value for the
EMM service to:
- display in the user interface control for the configuration setting.
- send to the app as the value in a key-value pair if the enterprise
administrator makes no change to the user interface control
It contains a child 'value' element.
Setting a default value is recommended to make the app ready to use the
enterprise administrator or device user doing any work.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="constraint" type="integerConstraintType">
<xs:annotation>
<xs:documentation>
The 'constraint' element defines the validation rules for the value
of the configuration setting. The EMM service uses these rules to make
sure values that the enterprise administrator enters on the admin console
are valid.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="keyName" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
The attribute 'keyName' is the name of the key in the key-value pair
that the EMM service sends to the app. It must be globally unique.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="integerArray">
<xs:annotation>
<xs:documentation>
The 'integerArray' element defines a key that you require the EMM service to send
to the app in a key-value pair. The value must be an integer array.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="integerArrayValueType">
<xs:annotation>
<xs:documentation>
The optional 'defaultValue' element specifies the default value for the
EMM service to:
- display in the user interface control for the configuration setting.
- send to the app as the value in a key-value pair if the enterprise
administrator makes no change to the user interface control
It contains one or more child 'value' elements.
Setting a default value is recommended to make the app ready to use the
enterprise administrator or device user doing any work.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="constraint" type="integerConstraintType">
<xs:annotation>
<xs:documentation>
The 'constraint' element defines the validation rules for the value
of the configuration setting. The EMM service uses these rules to make
sure values that the enterprise administrator enters on the admin console
are valid.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="keyName" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
The attribute 'keyName' is the name of the key in the key-value pair
that the EMM service sends to the app. It must be globally unique.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="float">
<xs:annotation>
<xs:documentation>
The 'float' element defines a key that you require the EMM service to send
to the app in a key-value pair. The value must be a float.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="floatValueType">
<xs:annotation>
<xs:documentation>
The optional 'defaultValue' element specifies the default value for the
EMM service to:
- display in the user interface control for the configuration setting.
- send to the app as the value in a key-value pair if the enterprise
administrator makes no change to the user interface control
It contains a child 'value' element.
Setting a default value is recommended to make the app ready to use the
enterprise administrator or device user doing any work.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="constraint" type="floatConstraintType">
<xs:annotation>
<xs:documentation>
The 'constraint' element defines the validation rules for the value
of the configuration setting. The EMM service uses these rules to make
sure values that the enterprise administrator enters on the admin console
are valid.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="keyName" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
The attribute 'keyName' is the name of the key in the key-value pair
that the EMM service sends to the app. It must be globally unique.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="floatArray">
<xs:annotation>
<xs:documentation>
The 'floatArray' element defines a key that you require the EMM service to send
to the app in a key-value pair. The value must be a float array.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="floatArrayValueType">
<xs:annotation>
<xs:documentation>
The optional 'defaultValue' element specifies the default value for the
EMM service to:
- display in the user interface control for the configuration setting.
- send to the app as the value in a key-value pair if the enterprise
administrator makes no change to the user interface control
It contains one or more child 'value' elements.
Setting a default value is recommended to make the app ready to use the
enterprise administrator or device user doing any work.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="constraint" type="floatArrayConstraintType">
<xs:annotation>
<xs:documentation>
The 'constraint' element defines the validation rules for the value
of the configuration setting. The EMM service uses these rules to make
sure values that the enterprise administrator enters on the admin console
are valid.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="keyName" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
The attribute 'keyName' is the name of the key in the key-value pair
that the EMM service sends to the app. It must be globally unique.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="date">
<xs:annotation>
<xs:documentation>
The 'date' element defines a key that you require the EMM service to send
to the app in a key-value pair. The value must be a date in ISO-8601 format.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="dateValueType">
<xs:annotation>
<xs:documentation>
The optional 'defaultValue' element specifies the default value for the
EMM service to:
- display in the user interface control for the configuration setting.
- send to the app as the value in a key-value pair if the enterprise
administrator makes no change to the user interface control
It contains a child 'value' element.
Setting a default value is recommended to make the app ready to use the
enterprise administrator or device user doing any work.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="constraint" type="dateConstraintType">
<xs:annotation>
<xs:documentation>
The 'constraint' element defines the validation rules for the value
of the configuration setting. The EMM service uses these rules to make
sure values that the enterprise administrator enters on the admin console
are valid.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="keyName" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
The attribute 'keyName' is the name of the key in the key-value pair
that the EMM service sends to the app. It must be globally unique.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="boolean">
<xs:annotation>
<xs:documentation>
The 'boolean' element defines a key that you require the EMM service to send
to the app in a key-value pair. The value must be a boolean.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="defaultValue" type="booleanValueType">
<xs:annotation>
<xs:documentation>
The optional 'defaultValue' element specifies the default value for the
EMM service to:
- display in the user interface control for the configuration setting.
- send to the app as the value in a key-value pair if the enterprise
administrator makes no change to the user interface control
It contains a child 'value' element.
Setting a default value is recommended to make the app ready to use the
enterprise administrator or device user doing any work.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" name="constraint" type="booleanConstraintType">
<xs:annotation>
<xs:documentation>
The 'constraint' element defines the validation rules for the value
of the configuration setting. The EMM service uses these rules to make
sure values that the enterprise administrator enters on the admin console
are valid.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="keyName" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
The attribute 'keyName' is the name of the key in the key-value pair
that the EMM service sends to the app. It must be globally unique.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="userVariable">
<xs:annotation>
<xs:documentation>
The 'userVariable' element specifies the name of an EMM service user variable.
The EMM service's admin console displays its name for the variable in the field
for the configuration setting. When the EMM service delivers the key-value pair
to your app, it delivers the variable's value for the device's user.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="value" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<!-- Common Name (CN) attribute extracted from the distinguished name. -->
<xs:enumeration value="cn"/>
<!-- The user's display name. -->
<xs:enumeration value="displayName"/>
<!-- Distinguished Name (DN). -->
<xs:enumeration value="dn"/>
<!-- The user's email address. -->
<xs:enumeration value="emailAddress"/>
<!-- The domain part of the email address (part after '@'). -->
<xs:enumeration value="emailAddressDomain"/>
<!-- The local part of the email address (part before '@').-->
<xs:enumeration value="emailAddressLocalPart"/>
<!-- The user's first name. -->
<xs:enumeration value="firstName"/>
<!-- The user's last name. -->
<xs:enumeration value="lastName"/>
<!-- The locale for the user (en-US). -->
<xs:enumeration value="locale"/>
<!-- Organizational Unit (OU) attribute extracted from the distinguished name. -->
<xs:enumeration value="ou"/>
<!-- The Microsoft sAMAccountName attribute. -->
<xs:enumeration value="sAMAccountName"/>
<!-- Login username ID. -->
<xs:enumeration value="username"/>
<!-- The Microsoft userPrincipalName attribute. -->
<xs:enumeration value="upn"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="deviceVariable">
<xs:annotation>
<xs:documentation>
The 'deviceVariable' element specifies the name of an EMM service device variable.
The EMM service's admin console displays its name for the variable in the field
for the configuration setting. When the EMM service delivers the key-value pair
to your app, it delivers the variable's value for the device.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:attribute name="value" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<!-- Integrated Circuit Card Identifier. -->
<xs:enumeration value="iccid"/>
<!-- International Mobile Equipment Identity. -->
<xs:enumeration value="imei"/>
<!-- International Mobile Subscriber Identity. -->
<xs:enumeration value="imsi"/>
<!-- Mobile Equipment Identifier. -->
<xs:enumeration value="meid"/>
<!-- The device model. -->
<xs:enumeration value="model"/>
<!-- The phone number.-->
<xs:enumeration value="phoneNumber"/>
<!-- The device serial number. -->
<xs:enumeration value="serialNumber"/>
<!-- iOS UDID. -->
<xs:enumeration value="udid"/>
<!-- WIFI Mac Address. -->
<xs:enumeration value="wifiMacAddress"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:complexType name="stringConstraintType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="values">
<xs:annotation>
<xs:documentation>
The 'values' element contains a set of 'value' elements, which define
the set of valid values for a string or string array configuration setting.
Use a 'values' element when you want to give the enterprise administrator
a list of valid values to choose from.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="value" minOccurs="1" maxOccurs="unbounded" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="max" type="xs:int">
<xs:annotation>
<xs:documentation>
Use the 'max' attribute to specify the upper bound for the value of a
'string' or 'stringArray' configuration setting.
'string' - The maximum number of characters in the string.
'stringArray' - The maximum number of elements in the string array.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="min" type="xs:int">
<xs:annotation>
<xs:documentation>
Use the 'min' attribute to specify the lower bound for the value of a
'string' or 'stringArray' configuration setting.
'string' - The minimum number of characters in the string.
'stringArray' - The minimum number of elements in the string array.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="nullable" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Set 'nullable' to true if you want to allow the value in the key-value pair
to be null. The value of 'nullable' defaults to false.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="pattern">
<xs:annotation>
<xs:documentation>
The attribute 'pattern' specifies the regular experession to use to
validate a string value of a key. If the 'pattern' attribute is
specified, the 'min' and 'max' attributes are ignored.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="integerConstraintType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="values">
<xs:annotation>
<xs:documentation>
The 'values' element contains a set of 'value' elements, which define
the set of valid values for an integer or integer array configuration setting.
Use a 'values' element when you want to give the enterprise administrator
a list of valid values to choose from.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="value" maxOccurs="unbounded" type="xs:int"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="max" type="xs:int">
<xs:annotation>
<xs:documentation>
Use the 'max' attribute to specify the upper bound for the value of an
'integer' or 'integerArray' configuration setting.
'integer' - The maximum integer value.
'integerArray' - The maximum number of elements in the integer array.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="min" type="xs:int">
<xs:annotation>
<xs:documentation>
Use the 'min' attribute to specify the lower bound for the value of an
'integer' or 'integerArray' configuration setting.
'integer' - The minimum integer value.
'integerArray' - The minimum number of elements in the integer array.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="nullable" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Set 'nullable' to true if you want to allow the value in the key-value pair
to be null. The value of 'nullable' defaults to false.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="floatConstraintType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="values">
<xs:annotation>
<xs:documentation>
The 'values' element contains a set of 'value' elements, which define
the set of valid values for a float configuration setting.
Use a 'values' element when you want to give the enterprise administrator
a list of valid values to choose from.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="value" maxOccurs="unbounded" type="xs:float"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="max" type="xs:float">
<xs:annotation>
<xs:documentation>
Use the 'max' attribute to specify the maximum value of a
'float' configuration setting.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="min" type="xs:float">
<xs:annotation>
<xs:documentation>
Use the 'min' attribute to specify the minimum value of a
'float' configuration setting.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="nullable" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Set 'nullable' to true if you want to allow the value in the key-value pair
to be null. The value of 'nullable' defaults to false.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="floatArrayConstraintType">
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" name="values">
<xs:annotation>
<xs:documentation>
The 'values' element contains a set of 'value' elements, which define
the set of valid values for a float array configuration setting.
Use a 'values' element when you want to give the enterprise administrator
a list of valid values to choose from.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="value" maxOccurs="unbounded" type="xs:float"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="max" type="xs:int">
<xs:annotation>
<xs:documentation>
Use the 'max' attribute to specify the maximum number of elements
in the float array.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="min" type="xs:int">
<xs:annotation>
<xs:documentation>
Use the 'min' attribute to specify the minimum number of elements
in the float array.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="nullable" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Set 'nullable' to true if you want to allow the value in the key-value pair
to be null. The value of 'nullable' defaults to false.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="dateConstraintType">
<xs:attribute name="max" type="xs:dateTime">
<xs:annotation>
<xs:documentation>
Use the 'max' attribute to specify the maximum date for the value of a
'date' configuration setting.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="min" type="xs:dateTime">
<xs:annotation>
<xs:documentation>
Use the 'min' attribute to specify the minimum date for the value of a
'date' configuration setting.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="nullable" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Set 'nullable' to true if you want to allow the value in the key-value pair
to be null. The value of 'nullable' defaults to false.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="booleanConstraintType">
<xs:attribute name="nullable" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Set 'nullable' to true if you want to allow the value in the key-value pair
to be null. The value of 'nullable' defaults to false.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="stringValueType">
<xs:choice>
<xs:element name="value" minOccurs="0" maxOccurs="1" type="xs:string">
<xs:annotation>
<xs:documentation>
The 'value' element can contain a simple static default string value.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="userVariable" minOccurs="0" maxOccurs="1"/>
<xs:element ref="deviceVariable" minOccurs="0" maxOccurs="1"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="stringArrayValueType">
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="value" minOccurs="0" maxOccurs="unbounded" type="xs:string">
<xs:annotation>
<xs:documentation>
The 'value' element can contain a simple static default string value.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="userVariable" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="deviceVariable" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="integerValueType">
<xs:choice>
<xs:element name="value" minOccurs="0" maxOccurs="1" type="xs:int">
<xs:annotation>
<xs:documentation>
The 'value' element can contain a simple static default integer value.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:complexType name="integerArrayValueType">
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="value" minOccurs="0" maxOccurs="unbounded" type="xs:int">
<xs:annotation>
<xs:documentation>
The 'value' element can contain a simple static default integer value.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:complexType name="floatValueType">
<xs:choice>
<xs:element name="value" minOccurs="0" maxOccurs="1" type="xs:float">
<xs:annotation>
<xs:documentation>
The 'value' element can contain a simple static default float value.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:complexType name="floatArrayValueType">
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="value" minOccurs="0" maxOccurs="unbounded" type="xs:float">
<xs:annotation>
<xs:documentation>
The 'value' element can contain a simple static default float value.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:complexType name="dateValueType">
<xs:choice>
<xs:element name="value" minOccurs="0" maxOccurs="1" type="xs:dateTime">
<xs:annotation>
<xs:documentation>
The 'value' element can contain a simple static default date value.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:complexType name="booleanValueType">
<xs:choice>
<xs:element name="value" minOccurs="0" maxOccurs="1" type="xs:boolean">
<xs:annotation>
<xs:documentation>
The 'value' element can contain a simple static default boolean value.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<!-- ~~~~~~~~~~~~~ -->
<!-- PRESENTATION -->
<!-- ~~~~~~~~~~~~~ -->
<xs:element name="presentation">
<xs:annotation>
<xs:documentation>
The 'presentation' element defines how you want the EMM service to display the
configuration settings on the EMM service admin console.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice maxOccurs="unbounded">
<xs:element ref="fieldGroup" maxOccurs="unbounded"/>
<xs:element ref="field" maxOccurs="unbounded"/>
</xs:choice>
<xs:attribute name="defaultLocale" use="required" type="xs:language">
<xs:annotation>
<xs:documentation>
The 'defaultLocale' attribute specifies which 'language' element to use for
localization if the 'label', 'description', 'option', or 'name' element does
not contain a 'language' element for the primary language of the admin console.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
<xs:element name="fieldGroup">
<xs:annotation>
<xs:documentation>
The 'fieldGroup' element defines a group of configuration settings (key elements such
as 'string', 'stringArray', 'integer', and so on) that are to be related on the admin
console. The admin console displays a group box control for the user interface fields
corresponding to the specified key elements.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="name">
<xs:annotation>
<xs:documentation>
The heading for the group of 'field' elements.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" ref="language"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="unbounded" ref="field"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="field">
<xs:annotation>
<xs:documentation>
The 'field' element defines the admin console UI control for a configuration setting
(key element such as 'string', 'stringArray', 'integer', and so on).
An attribute 'keyname' specifies the corresponding key element.
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="1" ref="label">
<xs:annotation>
<xs:documentation>
The display name on the EMM service admin console of the UI control
for the configuration setting.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="1" ref="description"/>
<xs:element minOccurs="0" maxOccurs="1" ref="options"/>
</xs:sequence>
<xs:attribute name="keyName" use="required" type="xs:string">
<xs:annotation>
<xs:documentation>
The 'keyName' attribute must refer to a 'keyName' attribute of
of a key element (such as 'string', 'stringArray', 'integer', and so on)
in the 'dict' element.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="type" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="input">
<xs:annotation>
<xs:documentation>
HTML input element.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="select">
<xs:annotation>
<xs:documentation>
HTML select element.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="multiselect">
<xs:annotation>
<xs:documentation>
Control for selecting multiple items from a list.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="checkbox">
<xs:annotation>
<xs:documentation>
HTML input element, type checkbox.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="hidden">
<xs:annotation>
<xs:documentation>
HTML input element, type hidden.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="datetime">
<xs:annotation>
<xs:documentation>
HTML input element, type datetime.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="list">
<xs:annotation>
<xs:documentation>
Control for entering an array of values.
</xs:documentation>