-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgroup.xsd
1455 lines (1444 loc) · 83.6 KB
/
group.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2014 DDI Alliance, DDI 3.2 release, 2014-02-05
This file is part of DDI 3.2 XML Schema.
DDI 3.2 XML Schema is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option) any later version.
DDI 3.2 XML Schema is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
for more details.
You should have received a copy of the GNU Lesser General Public License along
with DDI 3.2 XML Schema. If not, see <http://www.gnu.org/licenses/>.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="ddi:group:3_2" xmlns:r="ddi:reusable:3_2" xmlns:a="ddi:archive:3_2" xmlns:c="ddi:conceptualcomponent:3_2" xmlns:cm="ddi:comparative:3_2" xmlns:d="ddi:datacollection:3_2"
xmlns:l="ddi:logicalproduct:3_2" xmlns:p="ddi:physicaldataproduct:3_2" xmlns:pi="ddi:physicalinstance:3_2" xmlns:m1="ddi:physicaldataproduct_ncube_normal:3_2" xmlns:m2="ddi:physicaldataproduct_ncube_tabular:3_2"
xmlns:m3="ddi:physicaldataproduct_ncube_inline:3_2" xmlns:s="ddi:studyunit:3_2" xmlns:pr="ddi:ddiprofile:3_2" targetNamespace="ddi:group:3_2" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="ddi:reusable:3_2" schemaLocation="reusable.xsd"/>
<xs:import namespace="ddi:archive:3_2" schemaLocation="archive.xsd"/>
<xs:import namespace="ddi:comparative:3_2" schemaLocation="comparative.xsd"/>
<xs:import namespace="ddi:conceptualcomponent:3_2" schemaLocation="conceptualcomponent.xsd"/>
<xs:import namespace="ddi:datacollection:3_2" schemaLocation="datacollection.xsd"/>
<xs:import namespace="ddi:logicalproduct:3_2" schemaLocation="logicalproduct.xsd"/>
<xs:import namespace="ddi:physicaldataproduct:3_2" schemaLocation="physicaldataproduct.xsd"/>
<xs:import namespace="ddi:physicalinstance:3_2" schemaLocation="physicalinstance.xsd"/>
<xs:import namespace="ddi:studyunit:3_2" schemaLocation="studyunit.xsd"/>
<xs:import namespace="ddi:ddiprofile:3_2" schemaLocation="ddiprofile.xsd"/>
<xs:element name="Group" type="GroupType">
<xs:annotation>
<xs:documentation>A primary packaging and publication module within DDI containing a Group of StudyUnits. The Group structure allows metadata regarding multiple study units to be published as a structured entity. Studies may be grouped "by design" such as a repeated study with intended areas of commonality between each study, or "ad hoc" where studies are grouped for applied or administrative reasons.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResourcePackage" type="ResourcePackageType">
<xs:annotation>
<xs:documentation>The Resource Package is a specialized structure which is intended to hold reusable metadata outside of the structures of a single StudyUnit or Group. This may be common methodological approaches bound in a DataCollection module, DataRelationship information bound in a LogicalProduct, or any maintainable scheme. The ResourcePackage is often used to manage and publish metadata that is used by StudyUnits or Groups by reference. Any maintainable object with the exception of a Group, StudyUnit or LocalHoldingPackage may be published in a Resource Package.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LocalHoldingPackage" type="LocalHoldingPackageType">
<xs:annotation>
<xs:documentation>Allows a depository to hold the contents of a DDI StudyUnit, Group, or ResourcePackage as received while providing locally created value added material and processing information without having to alter the maintenance agency or version of the original material. Contains the depository object by reference plus local added content including the objects added and a link to the location of the addition or change in the deposited object.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ResourcePackageType">
<xs:annotation>
<xs:documentation>The Resource Package is a specialized structure which is intended to hold reusable metadata outside of the structures of a single StudyUnit or Group. For example this may be common methodological approaches bound in a DataCollection module, DataRelationship information bound in a LogicalProduct, or any maintainable scheme. The ResourcePackage is often used to manage and publish metadata that is used by StudyUnits or Groups by reference. Any maintainable object with the exception of a Group, StudyUnit or LocalHoldingPackage may be published in a Resource Package. Each maintainable object may be entered as either an in-line representation or by reference. Within each maintainable type the ordering of in-line or referenced content may be mixed. In addition the ResourcePackage contains self identifying information including: a citation, abstract, authorization source, a universe reference, series statement, references to applicable quality statements, funding and budget information, purpose, coverage, other material, embargo, and the resource package archive (as opposed to an Archive module intended as the part of the published reusable content).</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element ref="r:Citation" minOccurs="0">
<xs:annotation>
<xs:documentation>The citation for the ResourcePackage. DDI strongly recommends that at minimum a Title be provided.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="TypeOfResourcePackage" minOccurs="0">
<xs:annotation>
<xs:documentation>A brief description of the resource package type. Supports the use of a controlled vocabulary.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Abstract" minOccurs="0">
<xs:annotation>
<xs:documentation>An abstract of the ResourcePackage unit describing the nature and scope of the data collection, special characteristics of its content. Note that detailed information on the purpose of the ResourcePackage and structured coverage information are to be entered in Purpose and Coverage. Abstract supports multiple language versions of the same content as well as optional formatting of the content.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:AuthorizationSource" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Identifies the authorizing agency for the ResourcePackage and allows for the full text of the authorization (law, regulation, or other form of authorization). May be used to list authorizations from oversight committees and other regulatory agencies.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:UniverseReference" minOccurs="0">
<xs:annotation>
<xs:documentation>Reference to the universe statement from the universe scheme, describing the ResourcePackage of persons or other elements that are the object of research and to which any analytic results refer. Age, nationality, and residence commonly help to delineate a given universe, but any of a number of factors may be involved, such as sex, race, income, veteran status, criminal convictions, etc. The universe may consist of elements other than persons, such as housing units, court cases, deaths, countries, etc. In general, it should be possible to tell from the description of the universe whether a given individual or element (hypothetical or real) is a member of the population under ResourcePackage. A universe may be described as "inclusive" or "exclusive". This ResourcePackage level reference is normally to the top level of the UniverseScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:SeriesStatement" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A ResourcePackage, particularly one in a series, may be the result of two series merging into a single ResourcePackage. The new ResourcePackage belongs to both series. For example, Niger now fields the UNICEF Multiple Indicators Cluster Survey (MICS) and the Demographic and Health Survey as a single merged instrument.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:QualityStatementReference" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A reference to a QualityStatementScheme containing statements of quality related to the quality of the ResourcePackage methodology, metadata, or data. Quality statements may be related to external quality standards.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:FundingInformation" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Contains details of the ResourcePackage unit's funding, including information about grants, agencies, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ProjectBudget" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>This describes the overall budget of the ResourcePackage. It can be repeated for distinct budget activities. It contains a structured description and one or more budget documents described by an OtherMaterial type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Purpose" minOccurs="0">
<xs:annotation>
<xs:documentation>The purpose of the ResourcePackage, why the ResourcePackage took place. This should include detailed information on the investigator's primary ResourcePackage questions or hypotheses as well as information on any legal basis for the data collection, such as laws requiring the collection of census data for apportionment purposes. Legal or other authorization should be provided in detail within AuthorizationSource. Purpose supports multiple language versions of the same content as well as optional formatting of the content.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Coverage" minOccurs="0">
<xs:annotation>
<xs:documentation>Describes the coverage of the ResourcePackage unit. Detailed information on Topical, Temporal, and Spatial Coverage is contained here. Note that Coverage at this level should be inclusive all lower level modules or section. Lower level descriptions serve to constrain coverage within the scope described here.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:OtherMaterial" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Contains references to other materials relevant to the ResourcePackage unit, whether in DDI form or external. Links can be made from items in this section to any identifiable element in the instance. Best practice is to include OtherMaterial inside the maintainable containing the objects that are related to the OtherMaterial.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Embargo" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Embargo information about the ResourcePackage unit. References to embargo information in this section can be made from individual variables.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ResourcePackageArchive" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>This is archive information specific to the creation, maintenance, and archiving of the ResourcePackage provided either in-line or by reference. This packaging element differentiates this "Archive" from one being published as a product within a ResourcePackage.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="c:ConceptualComponent">
<xs:annotation>
<xs:documentation>Allows for in-line entry of an ConceptualComponent.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ConceptualComponentReference">
<xs:annotation>
<xs:documentation>Allows for inclusion of an ConceptualComponent by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="d:DataCollection">
<xs:annotation>
<xs:documentation>Allows for in-line entry of an DataCollection.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:DataCollectionReference">
<xs:annotation>
<xs:documentation>Allows for inclusion of an DataCollection by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="l:BaseLogicalProduct">
<xs:annotation>
<xs:documentation>Allows for in-line entry of any LogicalProduct. l:BaseLogicalProduct is a substitution group base.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:LogicalProductReference">
<xs:annotation>
<xs:documentation>Allows for inclusion of an LogicalProduct by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="p:PhysicalDataProduct">
<xs:annotation>
<xs:documentation>Allows for in-line entry of an PhysicalDataProduct.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:PhysicalDataProductReference">
<xs:annotation>
<xs:documentation>Allows for inclusion of an PhysicalDataProduct by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="pi:PhysicalInstance">
<xs:annotation>
<xs:documentation>Allows for in-line entry of an PhysicalInstance.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:PhysicalInstanceReference">
<xs:annotation>
<xs:documentation>Allows for inclusion of an PhysicalInstance by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="a:Archive">
<xs:annotation>
<xs:documentation>Allows for in-line entry of an Archive.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ArchiveReference">
<xs:annotation>
<xs:documentation>Allows for inclusion of an Archive by reference</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="pr:DDIProfile">
<xs:annotation>
<xs:documentation>Allows for in-line entry of an DDIProfile.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:DDIProfileReference">
<xs:annotation>
<xs:documentation>Allows for inclusion of an DDIProfile by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="cm:Comparison">
<xs:annotation>
<xs:documentation>Allows for in-line entry of an Comparison.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ComparisonReference">
<xs:annotation>
<xs:documentation>Allows for inclusion of an Comparison by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<!-- INDIVIDUAL SCHEMES -->
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="a:OrganizationScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a OrganizationScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:OrganizationSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a OrganizationScheme by reference. TypeOfObject should be set to OrganizationScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="c:ConceptScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a ConceptScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ConceptSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a ConceptScheme by reference. TypeOfObject should be set to ConceptScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="c:UniverseScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a UniverseScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:UniverseSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a UniverseScheme by reference. TypeOfObject should be set to UniverseScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="c:ConceptualVariableScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a ConceptualVariableScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ConceptualVariableSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a ConceptualVariableScheme by reference. TypeOfObject should be set to ConceptualVariableScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="l:RepresentedVariableScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a RepresentedVariableScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:RepresentedVariableSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a RepresentedVariableScheme by reference. TypeOfObject should be set to RepresentedVariableScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="c:GeographicStructureScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a GeographicStructureScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:GeographicStructureSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a GeographicStructureScheme by reference. TypeOfObject should be set to GeographicStructureScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="c:GeographicLocationScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a GeographicLocationScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:GeographicLocationSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a GeographicLocationScheme by reference. TypeOfObject should be set to GeographicLocationScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="d:InterviewerInstructionScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a InterviewerInstructionScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:InterviewerInstructionSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a InterviewerInstructionScheme by reference. TypeOfObject should be set to InterviewerInstructionScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="d:ControlConstructScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a ControlConstructScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ControlConstructSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a ControlConstructScheme by reference. TypeOfObject should be set to ControlConstructScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="d:QuestionScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a QuestionScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:QuestionSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a QuestionScheme by reference. TypeOfObject should be set to QuestionScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="l:CategoryScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a CategoryScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:CategorySchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a CategoryScheme by reference. TypeOfObject should be set to CategoryScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="l:CodeListScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a CodeListScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:CodeListSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a CodeListScheme by reference. TypeOfObject should be set to CodeListScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="l:NCubeScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a NCubeScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:NCubeSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a NCubeScheme by reference. TypeOfObject should be set to NCubeScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="l:VariableScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a VariableScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:VariableSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a VariableScheme by reference. TypeOfObject should be set to VariableScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="p:PhysicalStructureScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a PhysicalStructureScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:PhysicalStructureSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a PhysicalStructureScheme by reference. TypeOfObject should be set to PhysicalStructureScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="p:RecordLayoutScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a RecordLayoutScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:RecordLayoutSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a RecordLayoutScheme by reference. TypeOfObject should be set to RecordLayoutScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="r:QualityStatementScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a QualityStatementScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:QualityStatementSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a QualityStatementScheme by reference. TypeOfObject should be set to QualityStatementScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="d:InstrumentScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a InstrumentScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:InstrumentSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a InstrumentScheme by reference. TypeOfObject should be set to InstrumentScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="d:ProcessingEventScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a ProcessingEventScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="d:ProcessingEventSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a ProcessingEventScheme by reference. TypeOfObject should be set to ProcessingEventScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="d:ProcessingInstructionScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a ProcessingInstructionScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="d:ProcessingInstructionSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a ProcessingInstructionScheme by reference. TypeOfObject should be set to ProcessingInstructionScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="r:ManagedRepresentationScheme">
<xs:annotation>
<xs:documentation>In-line inclusion of a ManagedRepresentationScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ManagedRepresentationSchemeReference">
<xs:annotation>
<xs:documentation>Inclusion of a ManagedRepresentationScheme by reference. TypeOfObject should be set to ManagedRepresentationScheme.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="GroupType">
<xs:annotation>
<xs:documentation>A primary packaging and publication module within DDI containing a Group of StudyUnits. The Group structure allows metadata regarding multiple study units to be published as a structured entity. Studies may be grouped "by design" such as a repeated study with intended areas of commonality between each study, or "ad hoc" where studies are grouped for applied or administrative reasons. When grouping is done "by design", such as within a longitudinal study, common metadata such as shared methodology, common category schemes, etc. may be moved up from the individual studies into the Group and inherited by all the members of the group. Inherited metadata may be over-ridden at the lower levels. Inheritance may be turned "off" for groups of study units done on an ad-hoc basis, such as a set of studies used for a particular activity such as instruction. The purpose of groups is described using the attributes which summarize relationships along the dimensions of time, panel, geography, instrument and language. These attributes allow the purpose to be machine-actionable, while the group also includes an element for describing the purpose in human-readable format. As a publication package Group contains a Citation, Abstract, information on authorization, the universe of the group, series statement, quality statements, ex-post evaluation material, funding and budget, purpose, coverage, analysis units covered, kind of data, other materials, a list of required resource packages and embargo information. It then allows all maintainable structures within the StudyUnit to be expressed at the Group level along with individual StudyUnits. StudyUnits may also be grouped into SubGroups allowing for infinite nesting of StudyUnits.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element ref="r:Citation" minOccurs="0">
<xs:annotation>
<xs:documentation>The citation for the group. DDI strongly recommends that at minimum a Title be provided.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Abstract" minOccurs="0">
<xs:annotation>
<xs:documentation>An abstract of the group unit describing the nature and scope of the data collection, special characteristics of its content. Note that detailed information on the purpose of the group and structured coverage information are to be entered in Purpose and Coverage. Abstract supports multiple language versions of the same content as well as optional formatting of the content.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:AuthorizationSource" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Identifies the authorizing agency for the group and allows for the full text of the authorization (law, regulation, or other form of authorization). May be used to list authorizations from oversight committees and other regulatory agencies.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:UniverseReference" minOccurs="0">
<xs:annotation>
<xs:documentation>Reference to the universe statement from the universe scheme, describing the group of persons or other elements that are the object of research and to which any analytic results refer. Age, nationality, and residence commonly help to delineate a given universe, but any of a number of factors may be involved, such as sex, race, income, veteran status, criminal convictions, etc. The universe may consist of elements other than persons, such as housing units, court cases, deaths, countries, etc. In general, it should be possible to tell from the description of the universe whether a given individual or element (hypothetical or real) is a member of the population under group. A universe may be described as "inclusive" or "exclusive". This group level reference is normally to the top level of the UniverseScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:SeriesStatement" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A group, particularly one in a series, may be the result of two series merging into a single group. The new group belongs to both series. For example, Niger now fields the UNICEF Multiple Indicators Cluster Survey (MICS) and the Demographic and Health Survey as a single merged instrument.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:QualityStatementReference" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A reference to a Quality Statement pertaining to the quality of the group overall, metadata, or data to which it is associated. Quality statements may be related to external quality standards.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="r:QualityStatementScheme" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A scheme containing statements of quality related to the quality of methodologies, metadata, or data. Quality statements may be related to external quality standards.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:QualityStatementSchemeReference" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A reference to a QualityStatementScheme containing statements of quality related to the quality of the group methodology, metadata, or data. Quality statements may be related to external quality standards.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element ref="r:ExPostEvaluation" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>An evaluation of the group process, often taking place after the completion of the group. These may include issues such as timing of the group, sequencing issues, cost/budget issues, relevance, institutional or legal arrangements etc. of the group. If the group is part of a series or group (i.e., a single wave in a longitudinal group) this may include evaluation of earlier waves which resulted in changes to the current wave.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:FundingInformation" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Contains details of the group unit's funding, including information about grants, agencies, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ProjectBudget" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>This describes the overall budget of the group. It can be repeated for distinct budget activities. It contains a structured description and one or more budget documents described by an OtherMaterial type.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Purpose" minOccurs="0">
<xs:annotation>
<xs:documentation>The purpose of the group, why the group took place. This should include detailed information on the investigator's primary group questions or hypotheses as well as information on any legal basis for the data collection, such as laws requiring the collection of census data for apportionment purposes. Legal or other authorization should be provided in detail within AuthorizationSource. Purpose supports multiple language versions of the same content as well as optional formatting of the content.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Coverage" minOccurs="0">
<xs:annotation>
<xs:documentation>Describes the coverage of the group unit. Detailed information on Topical, Temporal, and Spatial Coverage is contained here. Note that Coverage at this level should be inclusive all lower level modules or section. Lower level descriptions serve to constrain coverage within the scope described here.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:AnalysisUnit" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Allows the use of a controlled vocabulary to list all of the units of analysis used in the group. Should be repeated to describe multiple units of analysis.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:AnalysisUnitsCovered" minOccurs="0">
<xs:annotation>
<xs:documentation>A narrative of the units of analysis in the group unit. Uses an InternationalString to support multiple languages.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:KindOfData" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Briefly describes the kind of data documented in the logical product(s) of a group unit. Examples include survey data, census/enumeration data, administrative data, measurement data, assessment data, demographic data, voting data, etc. Supports the use of an external controlled vocabulary.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:OtherMaterial" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Contains references to other materials relevant to the group unit, whether in DDI form or external. Links can be made from items in this section to any identifiable element in the instance. Best practice is to include OtherMaterial inside the maintainable containing the objects that are related to the OtherMaterial.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:RequiredResourcePackages" minOccurs="0">
<xs:annotation>
<xs:documentation>Specifies by reference the ResourcePackages required to resolve the group. This list is informational and assists in creating full transmissions of metadata or creating archival packages. Primarily used after the instance is relatively stable and published.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Embargo" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Embargo information about the group unit. References to embargo information in this section can be made from individual variables.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="c:ConceptualComponent">
<xs:annotation>
<xs:documentation>ConceptualComponent applying to the group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ConceptualComponentReference">
<xs:annotation>
<xs:documentation>Inclusion of ConceptualComponent applying to the group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="d:DataCollection">
<xs:annotation>
<xs:documentation>DataCollection applying to the group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:DataCollectionReference">
<xs:annotation>
<xs:documentation>Inclusion of DataCollection applying to the group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="l:BaseLogicalProduct">
<xs:annotation>
<xs:documentation>LogicalProduct applying to the group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:LogicalProductReference">
<xs:annotation>
<xs:documentation>Inclusion of LogicalProduct applying to the group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="p:PhysicalDataProduct">
<xs:annotation>
<xs:documentation>PhysicalDataProduct applying to the group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:PhysicalDataProductReference">
<xs:annotation>
<xs:documentation>Inclusion of PhysicalDataProduct applying to the group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="pi:PhysicalInstance">
<xs:annotation>
<xs:documentation>PhysicalInstance applying to the group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:PhysicalInstanceReference">
<xs:annotation>
<xs:documentation>Inclusion of PhysicalInstance applying to the group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="a:Archive">
<xs:annotation>
<xs:documentation>Archive applying to the group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ArchiveReference">
<xs:annotation>
<xs:documentation>Inclusion of Archive applying to the group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="pr:DDIProfile">
<xs:annotation>
<xs:documentation>DDIProfile applying to the group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:DDIProfileReference">
<xs:annotation>
<xs:documentation>Inclusion of DDIProfile applying to the group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="cm:Comparison">
<xs:annotation>
<xs:documentation>In-line Comparison of differences between related objects in different study units or due to versioning.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ComparisonReference">
<xs:annotation>
<xs:documentation>Inclusion of Comparison by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="s:StudyUnit">
<xs:annotation>
<xs:documentation>A StudyUnit within the Group provided in-line.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:StudyUnitReference">
<xs:annotation>
<xs:documentation>Inclusion of a StudyUnit within the Group by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="SubGroup">
<xs:annotation>
<xs:documentation>A description of study units comprising a sub-group within the main Group.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="SubGroupReference">
<xs:annotation>
<xs:documentation>Inclusion of a SubGroup by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="time" type="TimeGroupCodeType" default="T0">
<xs:annotation>
<xs:documentation>Indicates how all members of the group are related along the dimension of time (for example single occurrence, multiple occurrence, etc.).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="captureInstrument" type="InstrumentGroupCodeType" default="I0">
<xs:annotation>
<xs:documentation>Indicates how all members of the group are related in terms of the instruments used to collect data (single, multiple, etc.).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="panel" type="PanelGroupCodeType" default="P0">
<xs:annotation>
<xs:documentation>Indicates how all members of the group are related in terms of type of panel (single, rolling, etc.).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="geography" type="GeographyGroupCodeType" default="G0">
<xs:annotation>
<xs:documentation>Indicates how all members of the group are related along the dimension of geography.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="dataProduct" type="DataProductGroupCodeType" default="D0">
<xs:annotation>
<xs:documentation>Indicates how all members of the group are related in terms of physical data products in relation to data collection efforts.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="languageRelationship" type="LanguageGroupCodeType" default="L0">
<xs:annotation>
<xs:documentation>Indicates how all members of the group are related in terms of language relationships such as parallel content in multiple languages, translations (full or partial), etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="userDefinedGroupProperty" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Provides a user-defined grouping property, different from those supplied in other attributes.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="userDefinedGroupPropertyValue" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Provides a value for the user-defined group property supplied in userDefinedGroupProperty.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="isInheritable" type="xs:boolean" default="true">
<xs:annotation>
<xs:documentation>Default is true, and allows for inheritance of all properties and modules, and the use of lower-level over-rides. If set to false, inheritance is switched off for specific groups.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="SubGroupType">
<xs:annotation>
<xs:documentation>The subgroup element is a container for a group that is a child of a higher-level group described in this module, but may also be a parent to other (subordinate) groups. A studyunit can be fully described, or just referenced, within its subgroup container. The purpose of sub-groups is described using the attributes which summarize relationships along the dimensions of time, panel, geography, instrument and language. These attributes allow the purpose to be machine-actionable, while the sub-group also includes an element for describing the purpose in human-readable format. A SubGroup contains a Citation, Abstract, information on authorization, the universe of the sub-group, series statement, quality statements, funding information, purpose, coverage, analysis units covered, kind of data, other materials, and embargo information. It then allows all maintainable structures within the StudyUnit to be expressed at the SubGroup level.</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element ref="r:Citation" minOccurs="0">
<xs:annotation>
<xs:documentation>The citation for the sub-group. DDI strongly recommends that at minimum a Title be provided.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Abstract" minOccurs="0">
<xs:annotation>
<xs:documentation>An abstract of the sub-group unit describing the nature and scope of the data collection, special characteristics of its content. Note that detailed information on the purpose of the sub-group and structured coverage information are to be entered in Purpose and Coverage. Abstract supports multiple language versions of the same content as well as optional formatting of the content.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:AuthorizationSource" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Identifies the authorizing agency for the sub-group and allows for the full text of the authorization (law, regulation, or other form of authorization). May be used to list authorizations from oversight committees and other regulatory agencies.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:UniverseReference" minOccurs="0">
<xs:annotation>
<xs:documentation>Reference to the universe statement from the universe scheme, describing the sub-group of persons or other elements that are the object of research and to which any analytic results refer. Age, nationality, and residence commonly help to delineate a given universe, but any of a number of factors may be involved, such as sex, race, income, veteran status, criminal convictions, etc. The universe may consist of elements other than persons, such as housing units, court cases, deaths, countries, etc. In general, it should be possible to tell from the description of the universe whether a given individual or element (hypothetical or real) is a member of the population under sub-group. A universe may be described as "inclusive" or "exclusive". This sub-group level reference is normally to the top level of the UniverseScheme.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:SeriesStatement" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A sub-group, particularly one in a series, may be the result of two series merging into a single sub-group. The new sub-group belongs to both series. For example, Niger now fields the UNICEF Multiple Indicators Cluster Survey (MICS) and the Demographic and Health Survey as a single merged instrument.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:QualityStatementReference" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A reference to a Quality Statement pertaining to the quality of the subgroup overall, metadata, or data to which it is associated. Quality statements may be related to external quality standards.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:QualityStatementSchemeReference" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>A reference to a QualityStatementScheme containing statements of quality related to the quality of the sub-group methodology, metadata, or data. Quality statements may be related to external quality standards.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:FundingInformation" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Contains details of the sub-group unit's funding, including information about grants, agencies, etc.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Purpose" minOccurs="0">
<xs:annotation>
<xs:documentation>The purpose of the sub-group, why the sub-group took place. This should include detailed information on the investigator's primary sub-group questions or hypotheses as well as information on any legal basis for the data collection, such as laws requiring the collection of census data for apportionment purposes. Legal or other authorization should be provided in detail within AuthorizationSource. Purpose supports multiple language versions of the same content as well as optional formatting of the content.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Coverage" minOccurs="0">
<xs:annotation>
<xs:documentation>Describes the coverage of the sub-group unit. Detailed information on Topical, Temporal, and Spatial Coverage is contained here. Note that Coverage at this level should be inclusive all lower level modules or section. Lower level descriptions serve to constrain coverage within the scope described here.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:AnalysisUnit" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Allows the use of a controlled vocabulary to list all of the units of analysis used in the sub-group. Should be repeated to describe multiple units of analysis.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:AnalysisUnitsCovered" minOccurs="0">
<xs:annotation>
<xs:documentation>A narrative of the units of analysis in the sub-group unit. Uses an InternationalString to support multiple languages.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:KindOfData" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Briefly describes the kind of data documented in the logical product(s) of a sub-group unit. Examples include survey data, census/enumeration data, administrative data, measurement data, assessment data, demographic data, voting data, etc. Supports the use of an external controlled vocabulary.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:OtherMaterial" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Contains references to other materials relevant to the sub-group unit, whether in DDI form or external. Links can be made from items in this section to any identifiable element in the instance. Best practice is to include OtherMaterial inside the maintainable containing the objects that are related to the OtherMaterial.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Embargo" minOccurs="0" maxOccurs="unbounded">
<xs:annotation>
<xs:documentation>Embargo information about the sub-group unit. References to embargo information in this section can be made from individual variables.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="c:ConceptualComponent">
<xs:annotation>
<xs:documentation>ConceptualComponent applying to the sub-group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ConceptualComponentReference">
<xs:annotation>
<xs:documentation>Inclusion of ConceptualComponent applying to the sub-group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="d:DataCollection">
<xs:annotation>
<xs:documentation>DataCollection applying to the sub-group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:DataCollectionReference">
<xs:annotation>
<xs:documentation>Inclusion of DataCollection applying to the sub-group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="l:BaseLogicalProduct">
<xs:annotation>
<xs:documentation>LogicalProduct applying to the sub-group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:LogicalProductReference">
<xs:annotation>
<xs:documentation>Inclusion of LogicalProduct applying to the sub-group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="p:PhysicalDataProduct">
<xs:annotation>
<xs:documentation>PhysicalDataProduct applying to the sub-group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:PhysicalDataProductReference">
<xs:annotation>
<xs:documentation>Inclusion of PhysicalDataProduct applying to the sub-group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="pi:PhysicalInstance">
<xs:annotation>
<xs:documentation>PhysicalInstance applying to the sub-group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:PhysicalInstanceReference">
<xs:annotation>
<xs:documentation>Inclusion of PhysicalInstance applying to the sub-group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="a:Archive">
<xs:annotation>
<xs:documentation>Archive applying to the sub-group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ArchiveReference">
<xs:annotation>
<xs:documentation>Inclusion of Archive applying to the sub-group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="pr:DDIProfile">
<xs:annotation>
<xs:documentation>DDIProfile applying to the sub-group as a whole.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:DDIProfileReference">
<xs:annotation>
<xs:documentation>Inclusion of DDIProfile applying to the sub-group as a whole by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="cm:Comparison">
<xs:annotation>
<xs:documentation>In-line Comparison of differences between related objects in different study units or due to versioning.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ComparisonReference">
<xs:annotation>
<xs:documentation>Inclusion of Comparison by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="s:StudyUnit">
<xs:annotation>
<xs:documentation>A StudyUnit within the SubGroup provided in-line.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:StudyUnitReference">
<xs:annotation>
<xs:documentation>Inclusion of a StudyUnit within the SubGroup by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="SubGroup">
<xs:annotation>
<xs:documentation>A description of study units comprising a sub-sub-group within the main SubGroup.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="SubGroupReference">
<xs:annotation>
<xs:documentation>Inclusion of a SubSubGroup by reference.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute name="time" type="TimeGroupCodeType" default="T0">
<xs:annotation>
<xs:documentation>Indicates how all members of the sub-group are related along the dimension of time (for example single occurrence, multiple occurrence, etc.).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="captureInstrument" type="InstrumentGroupCodeType" default="I0">
<xs:annotation>
<xs:documentation>Indicates how all members of the sub-group are related in terms of the instruments used to collect data (single, multiple, etc.).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="panel" type="PanelGroupCodeType" default="P0">
<xs:annotation>
<xs:documentation>Indicates how all members of the sub-group are related in terms of type of panel (single, rolling, etc.).</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="geography" type="GeographyGroupCodeType" default="G0">
<xs:annotation>
<xs:documentation>Indicates how all members of the sub-group are related along the dimension of geography.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="dataProduct" type="DataProductGroupCodeType" default="D0">
<xs:annotation>
<xs:documentation>Indicates how all members of the sub-group are related in terms of physical data products in relation to data collection efforts.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="languageRelationship" type="LanguageGroupCodeType" default="L0">
<xs:annotation>
<xs:documentation>Indicates how all members of the sub-group are related in terms of language relationships such as parallel content in multiple languages, translations (full or partial), etc.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="userDefinedGroupProperty" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Provides a user-defined sub-grouping property, different from those supplied in other attributes.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="userDefinedGroupPropertyValue" type="xs:string" use="optional">
<xs:annotation>
<xs:documentation>Provides a value for the user-defined sub-group property supplied in userDefinedSubGroupProperty.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="isInheritable" type="xs:boolean" default="true">
<xs:annotation>