/
portals.xsd
793 lines (777 loc) · 36.6 KB
/
portals.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
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="https://purl.dataone.org/portals-1.1.0"
targetNamespace="https://purl.dataone.org/portals-1.1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:doc="https://eml.ecoinformatics.org/documentation-2.2.0"
xmlns:txt="https://eml.ecoinformatics.org/text-2.2.0"
xmlns:par="https://eml.ecoinformatics.org/party-2.2.0"
xmlns:proj="https://eml.ecoinformatics.org/project-2.2.0"
xmlns:cit="https://eml.ecoinformatics.org/literature-2.2.0"
xmlns:col="https://purl.dataone.org/collections-1.1.0">
<xs:import namespace="https://eml.ecoinformatics.org/documentation-2.2.0"
schemaLocation="https://eml.ecoinformatics.org/eml-2.2.0/eml-documentation.xsd"/>
<xs:import namespace="https://eml.ecoinformatics.org/text-2.2.0"
schemaLocation="https://eml.ecoinformatics.org/eml-2.2.0/eml-text.xsd"/>
<xs:import namespace="https://eml.ecoinformatics.org/party-2.2.0"
schemaLocation="https://eml.ecoinformatics.org/eml-2.2.0/eml-party.xsd"/>
<xs:import namespace="https://eml.ecoinformatics.org/project-2.2.0"
schemaLocation="https://eml.ecoinformatics.org/eml-2.2.0/eml-project.xsd"/>
<xs:import namespace="https://eml.ecoinformatics.org/literature-2.2.0"
schemaLocation="https://eml.ecoinformatics.org/eml-2.2.0/eml-literature.xsd"/>
<xs:import namespace="https://purl.dataone.org/collections-1.1.0" schemaLocation="collections.xsd"/>
<xs:element name="portal">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Portal</doc:tooltip>
<doc:summary>A collection of datasets and metadata about the collection.</doc:summary>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="col:CollectionType">
<xs:sequence>
<xs:element name="logo" type="ImageType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Logo image identifier</doc:tooltip>
<doc:summary>A logo image that represents the portal.</doc:summary>
<doc:description>The identifier of the logo image for this portal. May be
restrictied to certain proportions or size.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="section" type="ContentSectionType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Content section</doc:tooltip>
<doc:summary>A section of multimedia content for display.</doc:summary>
<doc:description>These content sections can be used for any informational content
about this portal, such as an overview or abstract, a description of the results
with links to images and datasets, etc.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="associatedParty" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Associated party</doc:tooltip>
<doc:description>Contact and role information for people involved with this
dataset collection.</doc:description>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:complexContent>
<xs:extension base="par:ResponsibleParty">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element name="role" type="par:RoleType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Role</doc:tooltip>
<doc:summary>Role information for people involved in this
portal.</doc:summary>
<doc:description>The role field contains information about role a person
plays in a dataset portal. There are a number of suggested roles,
however, it is possible to add a role if the suggested roles are not
adequate.</doc:description>
<doc:example>author</doc:example>
<doc:example>contentProvider</doc:example>
<doc:example>custodianSteward</doc:example>
<doc:example>distributor</doc:example>
<doc:example>editor</doc:example>
<doc:example>metadataProvider</doc:example>
<doc:example>originator</doc:example>
<doc:example>owner</doc:example>
<doc:example>pointOfContact</doc:example>
<doc:example>principalInvestigator</doc:example>
<doc:example>processor</doc:example>
<doc:example>publisher</doc:example>
<doc:example>user</doc:example>
<doc:example>fieldStationManager</doc:example>
<doc:example>informationManager</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="image" type="ImageType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Image</doc:tooltip>
<doc:summary>An image of the associated person or logo of the associated
organization</doc:summary>
<doc:description>An optional image to display in the user interface to
represent this person or organization</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="option" type="OptionType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Additional party option</doc:tooltip>
<doc:summary>The OptionType allows specification of any custom,
unstructured configuration, setting, or information. Use these to
include any information or display options related to the associated
party and not available in the EML ResponsibleParty type
element.</doc:summary>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:element name="acknowledgments" type="txt:TextType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Portal acknowledgements</doc:tooltip>
<doc:summary>An acknowledgement of individuals and groups that contributed to this
portal or its datasets.</doc:summary>
<doc:description>The acknowledgement field is used to provide acknowledgements to
any individuals or groups that may have assisted with this portal or its
datasets, but are not directly related to funding or an award.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="acknowledgmentsLogo" type="ImageType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Acknowledgements Logo</doc:tooltip>
<doc:summary>A logo image for an acknowledged group.</doc:summary>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="award" type="PortalAwardType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Award</doc:tooltip>
<doc:description>Specific information about the awards that funded the creation of
this dataset collection.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="literatureCited" type="cit:CitationListType" minOccurs="0"
maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Literature Cited</doc:tooltip>
<doc:description>Literature cited in any of the content sections</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="filterGroup" type="UIFilterGroupType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Filter group</doc:tooltip>
<doc:summary>Filter group to display in the user interface to further subset the
datasets in this portal.</doc:summary>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="option" type="OptionType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Additional option</doc:tooltip>
<doc:summary>The OptionType allows portals to specify any custom, unstructured
configuration or setting. These options may be used by user interfaces to pass
on display options.</doc:summary>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:element>
<xs:complexType name="PortalAwardType">
<xs:complexContent>
<xs:extension base="proj:AwardType">
<xs:sequence>
<xs:element name="funderLogo" type="ImageType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Logo image identifier</doc:tooltip>
<doc:summary>A logo image of the funding agency.</doc:summary>
<doc:description>The identifier of the logo image for this funding agency. May be
restrictied to certain proportions or size.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ContentSectionType">
<xs:sequence>
<xs:element name="label" type="col:NonEmptyStringType" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Section label</doc:tooltip>
<doc:summary>A short label for this content section.</doc:summary>
<doc:description>A short label to describe the content in this section. It may be used
in interfaces in navigation menus or a table of contents.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="title" type="col:NonEmptyStringType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Title</doc:tooltip>
<doc:description>A brief title to describe this section.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="introduction" type="col:NonEmptyStringType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Introduction</doc:tooltip>
<doc:description>A paragraph of text to use as an overview, introduction, or teaser for
this section.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="image" type="ImageType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Display image</doc:tooltip>
<doc:summary>A high quality image for this content section.</doc:summary>
<doc:description>An identifier or URL for a high-quality display image for this section.
This image should be visually appealing and eye-catching. Maps, charts, and other
informational graphics should be used in the text content.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="content" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Content</doc:tooltip>
<doc:description>The multimedia content to display in this section. These content
sections can be used for any informational content about this portal, such as an
overview or abstract, a description of the results with links to images and datasets,
etc.</doc:description>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:any processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="option" type="OptionType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Additional option</doc:tooltip>
<doc:summary>Any additional custom options for this section. These options can further
instruct a UI how to display this section in the portal. E.g. the order in which to
display this section, further color or branding options, etc.</doc:summary>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="UIFilterGroupType">
<xs:sequence>
<xs:element name="label" type="col:NonEmptyStringType" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Label</doc:tooltip>
<doc:description>A short label to display in the user interface for this filter
group.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="description" type="col:NonEmptyStringType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Description</doc:tooltip>
<doc:description>A brief description of this filter group that will be displayed in the
user interface as help text.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="icon" type="col:NonEmptyStringType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Icon name</doc:tooltip>
<doc:description>An icon name, chosen from a library of supported icon
fonts.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="1" maxOccurs="unbounded">
<xs:element name="filter" type="UIFilterType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Text filter</doc:tooltip>
<doc:summary>A text-based filter to display in a user interface that allows the user
to further subset the datasets in this collection.</doc:summary>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="dateFilter" type="UIDateFilterType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Date filter</doc:tooltip>
<doc:summary>A date filter to display in a user interface that allows the user to
further subset the datasets in this collection.</doc:summary>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="numericFilter" type="UINumericFilterType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Numeric filter</doc:tooltip>
<doc:summary>A numberic filter to display in a user interface that allows the user to
further subset the datasets in this collection.</doc:summary>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="booleanFilter" type="UIBooleanFilterType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Boolean filter</doc:tooltip>
<doc:summary>A boolean filter to display in a user interface that allows the user to
further subset the datasets in this collection.</doc:summary>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="toggleFilter" type="UIToggleFilterType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Toggle filter</doc:tooltip>
<doc:summary>A toggle filter to display in a user interface that allows the user to
further subset the datasets in this collection.</doc:summary>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="choiceFilter" type="UIChoiceFilterType" minOccurs="0"
maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Choice filter</doc:tooltip>
<doc:summary>A filter to display in a user interface that allows the user to further
subset the datasets from a pre-defined list of options.</doc:summary>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element name="option" type="OptionType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Additional option</doc:tooltip>
<doc:summary>Any additional option to instruct user interfaces how to display this
filter group in the portal.</doc:summary>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="UIFilterType">
<xs:complexContent>
<xs:extension base="col:FilterType">
<xs:sequence>
<xs:element name="matchSubstring" type="xs:boolean" minOccurs="0" maxOccurs="1"
default="true">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Match substring</doc:tooltip>
<doc:description>If true, this filter's value will be wrapped in wildcard characters
so that substrings are matched.</doc:description>
<doc:example>true</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="value" type="col:NonEmptyStringType" minOccurs="0" maxOccurs="1"
default="true">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Value</doc:tooltip>
<doc:description>Specify a value that should automatically be set on the
filter.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="filterOptions" type="UIOptionsType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Filter UI options</doc:tooltip>
<doc:summary>Options for displaying this filter in a UI</doc:summary>
<doc:description>These options provide further customization of this filter tool in
the UI.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="UIDateFilterType">
<xs:complexContent>
<xs:extension base="col:DateFilterType">
<xs:sequence>
<xs:element name="rangeMin" type="xs:dateTime" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Minimum range limit</doc:tooltip>
<doc:description>The minimum limit to display in the user interface date range
tool.</doc:description>
<doc:example>1.5</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="rangeMax" type="xs:dateTime" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Maximum range limit</doc:tooltip>
<doc:description>The maximum number to display in the user interface date range
tool.</doc:description>
<doc:example>100</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="filterOptions" type="UIOptionsType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Filter UI options</doc:tooltip>
<doc:summary>Options for displaying this filter in a UI</doc:summary>
<doc:description>These options provide further customization of this filter tool in
the UI.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="UINumericFilterType">
<xs:complexContent>
<xs:extension base="col:NumericFilterType">
<xs:sequence>
<xs:element name="rangeMin" type="xs:float" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Minimum range limit</doc:tooltip>
<doc:description>The minimum limit to display in the user interface number range
tool.</doc:description>
<doc:example>1.5</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="rangeMax" type="xs:float" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Maximum range limit</doc:tooltip>
<doc:description>The maximum number to display in the user interface number range
tool.</doc:description>
<doc:example>100</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="step" type="xs:float" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Step</doc:tooltip>
<doc:description>When the numeric filter tool is increased or decreased by one unit,
increase or decrease the filter value by this number. For example, if the numeric
filter is increased by one unit by clicking an up arrow or sliding a range, the
numeric filter will be increased by this number. This is particularly helpful when
the filter should be restricted to whole numbers or allow decimals. </doc:description>
<doc:example>1</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="filterOptions" type="UIOptionsType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Filter UI options</doc:tooltip>
<doc:summary>Options for displaying this filter in a UI</doc:summary>
<doc:description>These options provide further customization of this filter tool in
the UI.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="UIBooleanFilterType">
<xs:complexContent>
<xs:extension base="col:BooleanFilterType">
<xs:sequence>
<xs:element name="filterOptions" type="UIOptionsType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Filter UI options</doc:tooltip>
<doc:summary>Options for displaying this filter in a UI</doc:summary>
<doc:description>These options provide further customization of this filter tool in
the UI.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="UIToggleFilterType">
<xs:complexContent>
<xs:extension base="UIFilterType">
<xs:sequence>
<xs:element name="trueValue" type="col:NonEmptyStringType" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>True value</doc:tooltip>
<doc:description>The value to use in the query when the toggle is
on.</doc:description>
<doc:example>f</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="trueLabel" type="col:NonEmptyStringType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>True label</doc:tooltip>
<doc:description>A label to display in a toggle in the on
position.</doc:description>
<doc:example>Female</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="falseValue" type="col:NonEmptyStringType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>False value</doc:tooltip>
<doc:description>The value to use in the query when the toggle is off. If a
falseValue is not specified, then this filter will not be included in the
query.</doc:description>
<doc:example>m</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="falseLabel" type="col:NonEmptyStringType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>False label</doc:tooltip>
<doc:description>A label to display in a toggle in the off
position.</doc:description>
<doc:example>Male</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="trueOptions" type="UIOptionsType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>True UI options</doc:tooltip>
<doc:summary>Options for displaying along with the true choice in a UI</doc:summary>
<doc:description>These options provide further customization of this choice element
in the UI, such as adding an image, icon, or description to the
choice.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="falseOptions" type="UIOptionsType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>False UI options</doc:tooltip>
<doc:summary>Options for displaying along with the false choice in a
UI</doc:summary>
<doc:description>These options provide further customization of this choice element
in the UI, such as adding an image, icon, or description to the
choice.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="UIChoiceFilterType">
<xs:complexContent>
<xs:extension base="UIFilterType">
<xs:sequence>
<xs:element name="choice" type="ChoiceType" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Choice</doc:tooltip>
<doc:description>One of many options to display in the interface as a filter value
choice.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="chooseMultiple" type="xs:boolean" minOccurs="0" maxOccurs="1"
default="true">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Choose multiple options</doc:tooltip>
<doc:description>If set to true, the user is able to select multiple filter choices
at once.</doc:description>
<doc:example>true</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="ChoiceType">
<xs:sequence>
<xs:element name="label" type="col:NonEmptyStringType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Label</doc:tooltip>
<doc:description>A short label to display in the user interface for this filter
value. If not provided, the value or list of values will be used instead.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="value" type="col:NonEmptyStringType" minOccurs="1" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Value</doc:tooltip>
<doc:description>The value to use in the query when this choice is
selected.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="choiceOptions" type="UIOptionsType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Choice UI options</doc:tooltip>
<doc:summary>Options for displaying this choice in a UI</doc:summary>
<doc:description>These options provide further customization of this choice element in
the UI, such as adding an image, icon, or description to the choice.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="UIOptionsType">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>UI Filter Options</doc:tooltip>
<doc:summary>Additional options for customizing filter tools in a UI display.</doc:summary>
</xs:appinfo>
</xs:annotation>
<xs:sequence>
<xs:element name="placeholder" type="col:NonEmptyStringType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Placeholder</doc:tooltip>
<doc:summary>A short placeholder string</doc:summary>
<doc:description>A short placeholder string to display for this filter. For example, the
placeholder text to show in an HTML text input.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="icon" type="col:NonEmptyStringType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Icon</doc:tooltip>
<doc:summary>An icon name</doc:summary>
<doc:description>An icon name, chosen from a library of supported icon
fonts.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="description" type="col:NonEmptyStringType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Description</doc:tooltip>
<doc:summary>A brief description of this filter.</doc:summary>
<doc:description>A brief description of this filter that will be displayed in the user
interface as help text.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="option" type="OptionType" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Additional option</doc:tooltip>
<doc:summary>Any additional option to instruct user interfaces how to display this
filter in the portal.</doc:summary>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="image" type="ImageType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Image</doc:tooltip>
<doc:summary>An image that represents the value</doc:summary>
<doc:description>An optional image to display in the user interface to represent this
filter or choice.</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="OptionType">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Additional option</doc:tooltip>
<doc:summary>The OptionType allows portals to specify any custom, unstructured configuration
or setting. These options may be used by user interfaces to pass on display
options.</doc:summary>
</xs:appinfo>
</xs:annotation>
<xs:sequence>
<xs:element name="optionName" type="col:NonEmptyStringType" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Option name</doc:tooltip>
<doc:description>The name of this optional configuration</doc:description>
<doc:example>primaryColor</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="optionValue" type="col:NonEmptyStringType" minOccurs="1"
maxOccurs="unbounded">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Option value</doc:tooltip>
<doc:description>The value of this optional configuration</doc:description>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ImageType">
<xs:sequence>
<xs:element name="identifier" type="col:NoWhitespaceStringType" minOccurs="1" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Image identifier</doc:tooltip>
<doc:summary>An identifier or URL for the image.</doc:summary>
<doc:example>https://knb.ecoinformatics.org/knb/d1/mn/v2/object/image.1.1</doc:example>
<doc:example>urn:uuid:4c06a320-3087-4828-926b-123f06c51cf3</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="label" type="col:NonEmptyStringType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Image label</doc:tooltip>
<doc:description>A short image label to use in displays. This label may be used in the
UI in areas such as in a tooltip when the image is hovered over.</doc:description>
<doc:example>National Center for Ecological Analysis and Synthesis</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
<xs:element name="associatedURL" type="col:NoWhitespaceStringType" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:appinfo>
<doc:tooltip>Image URL</doc:tooltip>
<doc:description>A web location associated with this image, but not necessarily the
location of the image itself. This URL may be used in a portal UI to direct the user
to more information about the content of this image, such as an organization's website
for a logo.</doc:description>
<doc:example>https://www.nceas.ucsb.edu</doc:example>
</xs:appinfo>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:schema>