XML Schema "logicalproduct.xsd"
Target Namespace:
Defined Components:
elements (157 global + 14 local), complexTypes (55), simpleTypes (7)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
C:\Users\utnvjdj\DDITC-ddi-l_3\XMLSchema\logicalproduct.xsd; see XML source
Imports Schemas (1):
Imported by Schemas (4):
All Element Summary
Identifies the independent (denominator) and dependent (numerator) dimensions for calculating aggregate measures such as percent.
Type:
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Used:
Reference to an existing CoordinateRegion using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
The value of the attachment expressed as a string, if not a variable.
Type:
xs:string
Content:
simple
Defined:
locally within AttributeType complexType; see XML source
An attribute may be any object which should be attached to all or part of the NCube.
Type:
Content:
complex, 6 attributes, 12 elements
Defined:
globally; see XML source
Used:
This is an abstract structure which serves as a substitution base for current and future LogicalProduct definitions relating to specific data types.
Type:
Content:
complex, 9 attributes, 20 elements
Abstract:
(may not be used directly in instance XML documents)
Subst.Gr:
may be substituted with 1 element
Defined:
globally; see XML source
Used:
Describes the information needed to identify an individual case within a record type
Type:
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Used:
Refers to one or more case law rulings related to the Classification Item.
Type:
Content:
complex, 3 elements
Defined:
globally; see XML source
Used:
Date of the case law ruling.
Type:
Content:
simple
Defined:
globally; see XML source
Used:
Case Law Name.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
Case specification allows different unique identifiers to be used based on the value of an identified variable.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
A description of a particular category or response.
Type:
Content:
complex, 8 attributes, 18 elements
Defined:
globally; see XML source
Used:
Contains a group of Category descriptions, which may be ordered or hierarchical.
Type:
Content:
complex, 8 attributes, 23 elements
Defined:
globally; see XML source
Used:
Name of the Category Group using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
Inclusion of a CategoryGroup that allows categories to be grouped with or without hierarchical structure by reference.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Name of the Category using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
Describes the relationship between the categories in terms of the significance of order and the distance between categories.
Type:
Content:
simple
Defined:
globally; see XML source
Used:
A scheme containing a set of Categories managed by an agency.
Type:
Content:
complex, 9 attributes, 22 elements
Defined:
globally; see XML source
Used:
Name of the Category Scheme using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
A summary description of the nature and content of changes from the preceding version or update.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
Describes the changes, which the Classification Item has been subject to from the previous version to the actual Statistical Classification.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
A Correspondence Table expresses the relationship between two Statistical Classifications.
Type:
Content:
complex, 7 attributes, 26 elements
Defined:
globally; see XML source
Used:
A Classification Family is a group of Classification Series related from a particular point of view.
Type:
Content:
complex, 9 attributes, 19 elements
Defined:
globally; see XML source
Used:
A Classification Index is an ordered list (alphabetical, in code order etc) of Classification Index Entries.
Type:
Content:
complex, 7 attributes, 23 elements
Defined:
globally; see XML source
Used:
A Classification Index Entry is a word or a short text (e.g. the name of a locality, an economic activity or an occupational title) describing a type of object/unit or object property to which a Classification Item applies, together with the code of the corresponding Classification Item.
Type:
Content:
complex, 5 elements
Defined:
globally; see XML source
Used:
A Statistical Classification can be associated with one or a number of Classification Indexes in which Classification Index Entries are linked to the appropriate Classification Item.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
A Classification Item represents a Category at a certain Level within a Statistical Classification.
Type:
Content:
complex, 7 attributes, 31 elements
Defined:
globally; see XML source
Used:
A Statistical Classification is composed of categories structured in one or more Levels.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
A Statistical Classification has a structure which is composed of one or several Levels.
Type:
Content:
complex, 7 attributes, 19 elements
Defined:
globally; see XML source
Used:
The Classification Level to which the Classification Item belongs.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
A Classification Series is an ensemble of one or several consecutive Statistical Classifications under a particular heading (for example ISIC or ISCO).
Type:
Content:
complex, 7 attributes, 23 elements
Defined:
globally; see XML source
Used:
A structure that links a unique value of a code to a specified category .
Type:
Content:
complex, 9 attributes, 10 elements
Defined:
globally; see XML source
Used:
A structure used to associate a list of code values to specified categories.
Type:
Content:
complex, 10 attributes, 23 elements
Defined:
globally; see XML source
Used:
A grouping of CodeLists for conceptual or administrative purposed.
Type:
Content:
complex, 8 attributes, 22 elements
Defined:
globally; see XML source
Used:
Name of the Code List Group using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
Reference to an existing CodeListGroup using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Name of the Code List using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
A scheme containing sets of CodeLists that are used by reference to define code representations used by value representations and response domains.
Type:
Content:
complex, 9 attributes, 22 elements
Defined:
globally; see XML source
Used:
Name of the Code List Scheme using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
The Classification Item with which the Classification Index Entry is associated.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Additional information which drives the coding process for all entries in a Classification Index.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
Reference to an existing Category using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Lists the variables whose values when concatenated result in the value for this variable.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
Reference to the variable containing the unique identifier given the conditional value.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
Value of variable indicating this record type.
Type:
Content:
complex, 7 attributes, 8 elements
Defined:
globally; see XML source
Used:
The person(s) who may be contacted for additional information about the Correspondence Table.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Defines the area of attachment for an NCube attribute.
Type:
Content:
complex, 5 attributes, 11 elements
Defined:
globally; see XML source
Used:
Summary description of corrections, which have occurred within the Classification Index.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
If there are several Statistical Classifications related to a Classification Series, one Statistical Classification may be assigned as the currently valid Statistical Classification.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Describes the relationships among logical records in the dataset.
Type:
Content:
complex, 7 attributes, 17 elements
Defined:
globally; see XML source
Used:
Name of the Data Relationship using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
Identifies the default missing value parameter for the this logical record by referencing a ManagedMissingValuesRepresentation or by stating that there is a default missing values parameter used but it is undocumented.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
Use when it is known that a default missing values definition was use but there is NO documentation describing its content.
Type:
xs:boolean
Content:
simple
Defined:
Reference to an existing Category using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
The rank of a dimension that acts as the numerator (dependent variable).
Type:
xs:nonNegativeInteger
Content:
simple
Defined:
A Statistical Classification can be derived from one of the classification versions of another Classification Series.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
A dimension is provided a rank and a reference to a variable that describes it.
Type:
Content:
complex, 1 attribute, 1 element
Defined:
globally; see XML source
Used:
Defines the included values of a dimension.
Type:
Content:
complex, 1 attribute, 3 elements
Defined:
globally; see XML source
Used:
Rule for the construction of dummy codes from the codes of the next higher Level (used when one or several categories are the same in two consecutive Levels).
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
Reference to an existing Embargo using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Text describing the type of object/unit or object property.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
A reference to the Classification Items to which the excluded cases belong.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
A list of borderline cases, which do not belong to the described category.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
Reference to the variable containing the unique identifier.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
If the source and/or target Statistical Classifications of a Correspondence Table are floating Statistical Classifications, the date of the Correspondence Table must be noted.
Type:
Content:
simple
Defined:
globally; see XML source
Used:
The future events describe a change (or a number of changes) related to an invalid Classification Item.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
Description of the process used to generate the category content.
Type:
Content:
complex, 2 attributes, 5 elements
Defined:
globally; see XML source
Used:
Defines the type of hierarchical structure as Regular or Irregular.
Type:
Content:
simple
Defined:
globally; see XML source
Used:
Reference to an existing GenerationInstruction or GeneralInstruction using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Specifies the contents of the category.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
A list of borderline cases, which belong to the described category.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
The rank of a dimension that acts as the denominator (independent variable).
Type:
xs:nonNegativeInteger
Content:
simple
Defined:
Describes the structure, starting point and increment step of an interval.
Type:
Content:
empty, 3 attributes
Defined:
globally; see XML source
Used:
Specifies whether the relationship between the two Classification Items is partial or complete.
Type:
xs:boolean
Content:
simple
Defined:
globally; see XML source
Used:
never
Specifies whether the relationship between the two Classification Items is partial or complete.
Type:
xs:boolean
Content:
simple
Defined:
locally within ClassificationMapType complexType; see XML source
Indicates whether or not the Statistical Classification is currently valid.
Type:
xs:boolean
Content:
simple
Defined:
Indicates whether or not the Statistical Classification may be published or otherwise disseminated (e.g. electronic dissemination).
Type:
xs:boolean
Content:
simple
Defined:
Indicates if the Statistical Classification is a floating classification.
Type:
xs:boolean
Content:
simple
Defined:
Indicates whether or not the Classification Item has been generated to make the Level to which it belongs complete.
Type:
xs:boolean
Content:
simple
Defined:
locally within ClassificationItemType complexType; see XML source
Indicates if the Statistical Classification is an update.
Type:
xs:boolean
Content:
simple
Defined:
If updates are allowed in the Statistical Classification, a Classification Item may be restricted in its validity, i.e. it may become valid or invalid after the Statistical Classification has been released.
Type:
xs:boolean
Content:
simple
Defined:
locally within ClassificationItemType complexType; see XML source
Indicates if the Statistical Classification is a version.
Type:
xs:boolean
Content:
simple
Defined:
A Classification Item is identified by an alphabetical, numerical or alphanumerical code, which is in line with the code structure of the Level.
Type:
xs:string
Content:
simple
Defined:
globally; see XML source
Used:
A Classification Index can exist in several languages.
Type:
xs:language
Content:
simple
Defined:
globally; see XML source
Used:
Indicates that the Statistical Classification is covered by a legal act or by some other formal agreement.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
Used to describe the levels of the code list hierarchy.
Type:
Content:
complex, 1 attribute, 4 elements
Defined:
globally; see XML source
Used:
Indicates how the code at the Level is constructed of numbers, letters and separators.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
Indicates whether the code at the Level is alphabetical, numerical or alphanumerical.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
Level Context provides the depth of a Level within a Statistical Classification together with its membership.
Type:
Content:
complex, 5 elements
Defined:
globally; see XML source
Used:
Name of the Level using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
The number associated with the Level Context.
Type:
xs:nonNegativeInteger
Content:
simple
Defined:
locally within LevelContextType complexType; see XML source
A module describing the logical (intellectual) contents of the quantitative data.
Type:
Content:
complex, 9 attributes, 32 elements
Subst.Gr:
may substitute for element BaseLogicalProduct
Defined:
globally; see XML source
Used:
never
Name of the Logical Product using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
A logical record is a description of all of the elements (variables or NCubes) related to a single case or analysis unit.
Type:
Content:
complex, 7 attributes, 16 elements
Defined:
globally; see XML source
Used:
Name of the Logical Record using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
The unit or group of persons who are responsible for the Correspondence Table, i.e. for maintaining and updating it.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
A Map is an expression of the relation between a Classification Item in a source Statistical Classification and a corresponding Classification Item in the target Statistical Classification.
Type:
Content:
complex, 5 elements
Defined:
globally; see XML source
Used:
Defines the structure and type of measure captured within the cells.
Type:
Content:
complex, 5 attributes, 9 elements
Defined:
globally; see XML source
Used:
Reference to an existing ManagedMissingValuesRepresentation using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
An NCube is a 1..n dimension structure which relates a set of individual values to each other by defining them within a matrix.
Type:
Content:
complex, 10 attributes, 24 elements
Defined:
globally; see XML source
Used:
Contains a group of NCubes, which may be ordered or hierarchical.
Type:
Content:
complex, 8 attributes, 22 elements
Defined:
globally; see XML source
Used:
Name of the NCube Scheme using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
Reference to an existing NCubeGroup using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Name of the NCube using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
A set of NCubes maintained by an agency and used to structure data items into relational structures.
Type:
Content:
complex, 9 attributes, 22 elements
Defined:
globally; see XML source
Used:
Name of the NCube Scheme using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
Identifies the NCubes and any variables in the record external to NCube structures.
Type:
Content:
complex, 1 attribute, 3 elements
Defined:
globally; see XML source
Used:
The statistical office, other authority or section that created and maintains the Correspondence Table.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
The Classification Item at the next higher Level of the Statistical Classification of which the actual Classification Item is a sub item.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
If Updates are Allowed, Indicate here what structural changes, if any, are permissible within a version.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
For those Statistical Classifications that are versions or updates, notes the preceding Statistical Classification of which the actual Statistical Classification is the successor.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Describes the relationship between records of different types or of the same type within a longitudinal study.
Type:
Content:
complex, 6 attributes, 13 elements
Defined:
globally; see XML source
Used:
Name of the Record Relationship using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
The characteristic value expressed as a string with an indicator of the specific relationship of the variable value to the characteristic value.
Type:
Content:
simple, 3 attributes
Defined:
globally; see XML source
Used:
A Correspondence Table can define a 1:1, 1:N, N:1 or M:N relationship between source and target Classification Items.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
Date when the current version of the Classification Index was released.
Type:
Content:
simple
Defined:
globally; see XML source
Used:
Describes a RepresentedVariable contained in the RepresentedVariableScheme.
Type:
Content:
complex, 7 attributes, 21 elements
Defined:
globally; see XML source
Used:
Contains a group of RepresentedVariables.
Type:
Content:
complex, 8 attributes, 22 elements
Defined:
globally; see XML source
Used:
Name of the InstructionGroup using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
Reference to an existing RepresentedVariableGroup using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Name of the RepresentedVariable using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
A set of RepresentedVariables managed by an agency.
Type:
Content:
complex, 9 attributes, 22 elements
Defined:
globally; see XML source
Used:
Name of the RepresentedVariableScheme using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
A Classification Series can be designed in a specific context.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
The source item refers to the Classification Item in the source Statistical Classification.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
The Statistical Classification from which the correspondence is made.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
The correspondence is normally restricted to a certain Level in the source Statistical Classification.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Reference to an existing Variable using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Reference to an existing LogicalRecord using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Contains a set of variables, one from the source record and one from the target record used as all or part of a link between the source and target records.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
The normal source of the information contained in the variable.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
Reference to an existing StandardWeight using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
A Statistical Classification is a set of categories which may be assigned to one or more variables registered in statistical surveys or administrative files, and used in the production and dissemination of statistics.
Type:
Content:
complex, 7 attributes, 40 elements
Defined:
globally; see XML source
Used:
Reference to one or more categories for which the current category is a broader definition.
Type:
Content:
complex, 8 attributes, 7 elements
Defined:
globally; see XML source
Used:
Areas of statistics in which the Classification Series is implemented.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
Future events may e.g. have turned the now invalid Classification Item into one or several successor Classification Items, listed here.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Notes the Statistical Classification that superseded the actual Statistical Classification.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
A reference the variable containing the segment locator and the value being used.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
The target item refers to the Classification Item in the target Statistical Classification.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
The Statistical Classification(s) to which the correspondence is directed.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
The correspondence is normally restricted to a certain Level in the target Statistical Classification.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Reference to an existing Variable using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Reference to an existing LogicalRecord using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Date on which the Statistical Classification was superseded by a successor version or otherwise ceased to be valid.
Type:
Content:
simple
Defined:
globally; see XML source
Used:
A brief textual description of the type of group created to associate a number of Categories.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
A brief textual description of the type of group created to associate a number of code lists.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
A brief textual description or classification of the created to associate a number of NCubes.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
A brief textual description of the type of group created to associate a number of Instructions.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
A brief textual description or classification of the variable attribute type.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
A brief textual description or classification of the created to associate a number of variables.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
A Classification Series is designed to classify a specific type of object/unit according to a specific attribute.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Describes the changes, which the Classification Item has been subject to during the life time of the actual Statistical Classification.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
Indicates whether or not updates are allowed within the classification version i.e. without leading to a new version.
Type:
xs:boolean
Content:
simple
Defined:
Date from which the Classification Item became valid.
Type:
Content:
simple
Defined:
globally; see XML source
Used:
Date at which the Classification Item became invalid.
Type:
Content:
simple
Defined:
globally; see XML source
Used:
Describes the structure of a Variable.
Type:
Content:
complex, 10 attributes, 30 elements
Defined:
globally; see XML source
Used:
An attribute may be any other Variable which should be attached to or coupled with a Variable such as a weight, filter, or other related variable.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
Contains a group of Variables, which may be ordered or hierarchical.
Type:
Content:
complex, 8 attributes, 22 elements
Defined:
globally; see XML source
Used:
Name of the Variable Group using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
Reference to an existing VariableGroup using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Name of the Variable using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
Describes the representation of the variable in the data set.
Type:
Content:
complex, 1 attribute, 12 elements
Defined:
globally; see XML source
Used:
Describes a specific function of the variable, such as identity, weight, geographic variable, time, date, currency, etc.
Type:
Content:
simple, 7 attributes
Defined:
globally; see XML source
Used:
Contains a set of Variables and VariableGroups.
Type:
Content:
complex, 9 attributes, 22 elements
Defined:
globally; see XML source
Used:
Name of the Variable Scheme using the DDI Name structure.
Type:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Used:
Identifies the variables contained in the logical record.
Type:
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Used:
Reference to an existing Variable using the Reference structure.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
A reference the variable containing the record type locator and the value being used.
Type:
Content:
complex, 2 elements
Defined:
globally; see XML source
Used:
Describes the relationship between the variant and its base Statistical Classification, including regrouping, aggregations added and extensions.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
For those Statistical Classifications that are variants, notes the Statistical Classification on which it is based and any subsequent versions of that Statistical Classification to which it is also applicable.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
If the Statistical Classification is a variant, notes the specific purpose for which it was developed.
Type:
Content:
complex, 1 element
Defined:
globally; see XML source
Used:
When isWeight is set to true provide a reference to the Weighting process description.TypeOfObject should be set to Weighting.
Type:
Content:
complex, 7 attributes, 7 elements
Defined:
globally; see XML source
Used:
Complex Type Summary
Identifies the independent (denominator) and dependent (numerator) dimensions for calculating aggregate measures such as percent.
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 2 elements
Used:
An attribute may be any object which should be attached to all or part of the NCube.
Content:
complex, 6 attributes, 12 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 5 elements
Used:
This is an abstract structure which serves as a substitution base for current and future LogicalProduct definitions relating to specific data types.
Content:
complex, 9 attributes, 20 elements
Abstract:
(cannot be assigned directly to elements used in instance XML documents)
Defined:
globally; see XML source
Includes:
definitions of 6 elements
Used:
Describes the information needed to identify an individual case within a record type.
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 2 elements
Used:
Refers to a case law ruling related to the Classification Item.
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Case specification allows different unique identifiers to be used based on the value of an identified variable.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Contains a group of Category descriptions, which may be ordered or hierarchical.
Content:
complex, 8 attributes, 23 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 11 elements
Used:
A scheme containing a set of Categories managed by an agency.
Content:
complex, 9 attributes, 22 elements
Defined:
globally; see XML source
Includes:
definitions of 8 elements
Used:
A description of a particular category or response.
Content:
complex, 8 attributes, 18 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 6 elements
Used:
A Correspondence Table expresses the relationship between two Statistical Classifications.
Content:
complex, 7 attributes, 26 elements
Defined:
globally; see XML source
Includes:
definitions of 11 elements
Used:
A Classification Family is a group of Classification Series related from a particular point of view.
Content:
complex, 9 attributes, 19 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
A Classification Index Entry is a word or a short text (e.g. the name of a locality, an economic activity or an occupational title) describing a type of object/unit or object property to which a Classification Item applies, together with the code of the corresponding Classification Item.
Content:
complex, 5 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
A Classification Index is an ordered list (alphabetical, in code order etc) of Classification Index Entries.
Content:
complex, 7 attributes, 23 elements
Defined:
globally; see XML source
Includes:
definitions of 8 elements
Used:
A Classification Item represents a Category at a certain Level within a Statistical Classification.
Content:
complex, 7 attributes, 31 elements
Defined:
globally; see XML source
Includes:
definitions of 16 elements
Used:
A Statistical Classification has a structure which is composed of one or several Levels.
Content:
complex, 7 attributes, 19 elements
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
A Map is an expression of the relation between a Classification Item in a source Statistical Classification and a corresponding Classification Item in the target Statistical Classification.
Content:
complex, 5 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
A Classification Series is an ensemble of one or several consecutive Statistical Classifications under a particular heading (for example ISIC or ISCO).
Content:
complex, 7 attributes, 23 elements
Defined:
globally; see XML source
Includes:
definitions of 8 elements
Used:
A grouping of CodeLists for conceptual or administrative purposed.
Content:
complex, 8 attributes, 22 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 10 elements
Used:
A scheme containing sets of CodeLists that are used by reference to define code representations used by value representations and response domains.
Content:
complex, 9 attributes, 22 elements
Defined:
globally; see XML source
Includes:
definitions of 8 elements
Used:
A structure used to associate a list of code values to specified categories.
Content:
complex, 10 attributes, 23 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 9 elements
Used:
A structure that links a unique value of a code to a specified category and provides information as to the location of the code within a hierarchy, whether it is discrete, represents a total for the CodeList contents, and if its sub-elements represent a comprehensive coverage of the code.
Content:
complex, 9 attributes, 10 elements
Defined:
globally; see XML source
Includes:
definitions of 4 attributes, 3 elements
Used:
Defines the included values of a dimension by means of individual value references or by defining a range of values to include.
Content:
complex, 1 attribute, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 3 elements
Used:
Lists the variables whose values when concatenated result in the value for this variable.
Content:
complex, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Describes the information needed to identify a specific record or case within a record type.
Content:
complex, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Value of variable indicating this record type, multiple entries allow for multiple valid values or ranges.
Content:
complex, 7 attributes, 8 elements
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Defines the area of attachment for an NCube attribute.
Content:
complex, 5 attributes, 11 elements
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
Describes the relationships among logical records in the dataset.
Content:
complex, 7 attributes, 17 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
Identifies the default missing value parameter for the this logical record by referencing a ManagedMissingValuesRepresentation or by stating that there is a default missing values parameter used but it is undocumented.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
A dimension is provided a rank and a reference to a variable that describes it.
Content:
complex, 1 attribute, 1 element
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 1 element
Used:
Reference to the variable containing the unique identifier.
Content:
complex, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Description of the process used to generate the category content.
Content:
complex, 2 attributes, 5 elements
Defined:
globally; see XML source
Includes:
definitions of 2 attributes, 5 elements
Used:
Level Context provides the depth of a Level within a Statistical Classification together with its membership.
Content:
complex, 5 elements
Defined:
globally; see XML source
Includes:
definitions of 5 elements
Used:
Used to describe the levels of the code list hierarchy.
Content:
complex, 1 attribute, 4 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 4 elements
Used:
A module describing the logical (intellectual) contents of the quantitative data.
Content:
complex, 9 attributes, 32 elements
Defined:
globally; see XML source
Includes:
definitions of 12 elements
Used:
A logical record is a description of all of the elements (variables or NCubes) related to a single case or analysis unit.
Content:
complex, 7 attributes, 16 elements
Defined:
globally; see XML source
Includes:
definitions of 2 attributes, 9 elements
Used:
Defines the structure and type of measure captured within the cells.
Content:
complex, 5 attributes, 9 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Contains a group of NCubes, which may be ordered or hierarchical.
Content:
complex, 8 attributes, 22 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 10 elements
Used:
A set of NCubes maintained by an agency and used to structure data items into relational structures.
Content:
complex, 9 attributes, 22 elements
Defined:
globally; see XML source
Includes:
definitions of 8 elements
Used:
Identifies the NCubes and any variables in the record external to NCube structures such as case identification variables that are contained in the logical record by indicating that all NCubes contained in the logical product are included, inclusion of a NCubeScheme to include, or listing individual NCubes to include.
Content:
complex, 1 attribute, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 3 elements
Used:
An NCube is a 1..n dimension structure which relates a set of individual values to each other by defining them within a matrix.
Content:
complex, 10 attributes, 24 elements
Defined:
globally; see XML source
Includes:
definitions of 3 attributes, 12 elements
Used:
Describes the relationship between records of different types or of the same type within a longitudinal study.
Content:
complex, 6 attributes, 13 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 6 elements
Used:
The characteristic value expressed as a string with an indicator of the specific relationship of the variable value to the characteristic value.
Content:
simple, 3 attributes
Defined:
globally; see XML source
Includes:
definitions of 2 attributes
Used:
Contains a group of RepresentedVariables, which may describe an ordered or hierarchical relationship structure.
Content:
complex, 8 attributes, 22 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 10 elements
Used:
A set of RepresentedVariables managed by an agency.
Content:
complex, 9 attributes, 22 elements
Defined:
globally; see XML source
Includes:
definitions of 8 elements
Used:
Describes a RepresentedVariable contained in the RepresentedVariableScheme.
Content:
complex, 7 attributes, 21 elements
Defined:
globally; see XML source
Includes:
definitions of 9 elements
Used:
Contains a set of variables, one from the source record and one from the target record used as all or part of a link between the source and target records.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
A Statistical Classification is a set of categories which may be assigned to one or more variables registered in statistical surveys or administrative files, and used in the production and dissemination of statistics.
Content:
complex, 7 attributes, 40 elements
Defined:
globally; see XML source
Includes:
definitions of 25 elements
Used:
Reference to one or more categories for which the current category is a broader definition.
Content:
complex, 8 attributes, 7 elements
Defined:
globally; see XML source
Includes:
definition of 1 attribute
Used:
An attribute may be any other Variable which should be attached to or coupled with a Variable such as a weight, filter, or other related variable.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Contains a group of Variables, which may be ordered or hierarchical.
Content:
complex, 8 attributes, 22 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 10 elements
Used:
Describes the representation of the variable in the data set.
Content:
complex, 1 attribute, 12 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 12 elements
Used:
Contains a set of Variables and VariableGroups.
Content:
complex, 9 attributes, 22 elements
Defined:
globally; see XML source
Includes:
definitions of 8 elements
Used:
Identifies the variables contained in the logical record by indicating that all variable contained in the logical product are included, inclusion of a scheme of variable to include, or listing individual variables to include.
Content:
complex, 1 attribute, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 1 attribute, 2 elements
Used:
Describes the structure of a Variable.
Content:
complex, 10 attributes, 30 elements
Defined:
globally; see XML source
Includes:
definitions of 3 attributes, 18 elements
Used:
A reference to the variable containing the record type locator and the value being used.
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Simple Type Summary
Describes the nature of additivity for the content.
Defined:
globally; see XML source
Used:
Identifies the contextual level of an NCube to which the attribute is attached; the full cube, a specific set of coordinates, a full dimension, a specific measurement, or a specific measurement value.
Defined:
globally; see XML source
Used:
Defines the type of hierarchical structure as Regular or Irregular.
Defined:
globally; see XML source
Used:
Indicates the values are comprehensive, they cover all possible values.
Defined:
globally; see XML source
Used:
Indicates the relationship of the value of a source object to a target object.
Defined:
globally; see XML source
Used:
Indicates the relationship of a source object to a target object.
Defined:
globally; see XML source
Used:
Defines the sub-category in terms being generic or partitive in nature.
Defined:
globally; see XML source
Used:
XML Source
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (c) 2019 DDI Alliance, DDI 3.3 release, 2019-11-22

This file is part of DDI 3.3 XML Schema.

DDI 3.3 XML Schema is licenced under the terms of the Creative Commons Attribution 4.0 International (CC BY 4.0) License.

This is a human-readable summary of (and not a substitute for) the license (https://creativecommons.org/licenses/by/4.0/legalcode)

You are free to:

Share — copy and redistribute the material in any medium or format

Adapt — remix, transform, and build upon the material
for any purpose, even commercially.

The licensor cannot revoke these freedoms as long as you follow the license terms.

Under the following terms:

Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made.
You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

No additional restrictions — You may not apply legal terms or technological measures that legally restrict others
from doing anything the license permits.

Notices:

You do not have to comply with the license for elements of the material in the public domain or where your use is permitted
by an applicable exception or limitation.

No warranties are given. The license may not give you all of the permissions necessary for your intended use.
For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.

-->
<xs:schema elementFormDefault="qualified" targetNamespace="ddi:logicalproduct:3_3" xmlns="ddi:logicalproduct:3_3" xmlns:r="ddi:reusable:3_3" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import namespace="ddi:reusable:3_3" schemaLocation="reusable.xsd"/>
<!-- BASE LOGICAL PRODUCT -->
<xs:element abstract="true" name="BaseLogicalProduct" type="BaseLogicalProductType">
<xs:annotation>
<xs:documentation>
This is an abstract structure which serves as a substitution base for current and future LogicalProduct definitions relating to specific data types. Used as an extension base for all other LogicalProducts within its substitution group, it ensures that all DDI LogicalProduct descriptions will contain a consistent means of linking a physical data file to its logical (intellectual) description via the LogicalRecord found in DataRelationship.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType abstract="true" name="BaseLogicalProductType">
<xs:annotation>
<xs:documentation>
This is an abstract structure which serves as a substitution base for current and future LogicalProduct definitions relating to specific data types. Used as an extension base for all other LogicalProducts within its substitution group, it ensures that all DDI LogicalProduct descriptions will contain a consistent means of linking a physical data file to its logical (intellectual) description via the LogicalRecord found in DataRelationship. The extension base includes the standard name, label, and description, coverage information, a structure to define data relationships (identifies each logical record and the relationship(s) between them), as well as OtherMaterial related to its contents.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="LogicalProductName">
<xs:annotation>
<xs:documentation>
A name for the LogicalProduct. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the LogicalProduct. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the LogicalProduct. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Coverage">
<xs:annotation>
<xs:documentation>
The Coverage statement at this level may be used to restrict the coverage described in the StudyUnit module. For example if this specific logical product from a population and housing census only covers housing questions or only provides State and County level data these should be noted here. If there are no changes in the coverage from the coverage of the StudyUnit module, no entry is needed here.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="DataRelationship">
<xs:annotation>
<xs:documentation>
Contains a written description of how the logical contents of the file relate to each other for programming purposes. For example, noting that there are household, family and person items where the household is identified by variable, the unique family by the concatenation of variable_H and variable_F, and the unique person within a household by the concatenation of variable_H and variable_P.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:DataRelationshipReference">
<xs:annotation>
<xs:documentation>
References a written description of how the logical contents of the file relate to each other for programming purposes. For example, noting that there are household, family and person items where the household is identified by variable, the unique family by the concatenation of variable_H and variable_F, and the unique person within a household by the concatenation of variable_H and variable_P. TypeOfObject should be set to DataRelationship.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="LogicalProductName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Logical Product using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<!-- LOGICAL PRODUCT -->
<xs:element name="LogicalProduct" substitutionGroup="BaseLogicalProduct" type="LogicalProductType">
<xs:annotation>
<xs:documentation>
A module describing the logical (intellectual) contents of the quantitative data. It is a member of the substitution group BaseLogicalProduct and contains all of the common features of the BaseLogicalProduct as well as content specific to quantitative data.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="LogicalProductType">
<xs:annotation>
<xs:documentation>
A module describing the logical (intellectual) contents of the quantitative data. It is a member of the substitution group BaseLogicalProduct and contains all of the common features of the BaseLogicalProduct as well as content specific to quantitative data. This is a member of the BaseLogicalProduct substitution group and in addition to the content inherited from the BaseLogicalProduct, contains CategorySchemes, CodeListSchemes, ManagedRepresentationSchemes, RepresentedVariableSchemes, VariableSchemes an NCubeSchemes both in-line an by reference.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="BaseLogicalProductType">
<xs:sequence>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="CategoryScheme">
<xs:annotation>
<xs:documentation>
Contains descriptions of particular categories used as question responses and in the logical product. Their relationships and code values are described in the code scheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:CategorySchemeReference">
<xs:annotation>
<xs:documentation>
Reference to a previously defined category scheme either internal to or external to the XML instance.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="CodeListScheme">
<xs:annotation>
<xs:documentation>
Lists the code values used to represent categories for a variable or question. Also describes hierarchical relationships between categories used in the code scheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:CodeListSchemeReference">
<xs:annotation>
<xs:documentation>
Reference to a previously defined code scheme either internal to or external to the DDI instance.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="r:ManagedRepresentationScheme">
<xs:annotation>
<xs:documentation>
A scheme containing representations that are being managed as reusable sources for response domains and value representations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Inclusion of an existing ManagedRepresentationScheme by reference. TypeOfObject should be set to ManagedRepresentationScheme.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="RepresentedVariableScheme">
<xs:annotation>
<xs:documentation>
A set of RepresentedVariables managed by an agency. RepresentedVariables are the core reusable parts of a Variable. RepresentedVariable maps to the GSIM Represented Variable. In addition to the standard name, label, and description, allows for the inclusion of an existing RepresentedVariableScheme by reference and RepresentedVariables either in-line or by reference. RepresentedVariables may be grouped for management purposes.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Inclusion of an existing RepresentedVariableScheme by reference. TypeOfObject should be set to ManagedRepresentationScheme.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="VariableScheme">
<xs:annotation>
<xs:documentation>
Contains a collection of variables and variable groups.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:VariableSchemeReference">
<xs:annotation>
<xs:documentation>
A reference to a previously defined variable scheme either internal to or external to the DDI instance.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="NCubeScheme">
<xs:annotation>
<xs:documentation>Contains a collection of NCubes and NCube groups.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:NCubeSchemeReference">
<xs:annotation>
<xs:documentation>
A reference to a previously defined NCube scheme either internal to or external to the DDI instance.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- CATEGORIES -->
<xs:complexType name="CategorySchemeType">
<xs:annotation>
<xs:documentation>
A scheme containing a set of Categories managed by an agency. These are used to manage category definitions used as a domain for data element and basic content for a category representations. In addition to the name, label, and description of the scheme, the structure supports the inclusion of another CategoryScheme by reference, a set of Category descriptions either in-line or by reference, and the description of a CategoryGroup either in-line or by reference.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CategorySchemeName">
<xs:annotation>
<xs:documentation>
A name for the CategoryScheme. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the CategoryScheme. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the CategoryScheme. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:CategorySchemeReference">
<xs:annotation>
<xs:documentation>
Allows for inclusion by reference of other category schemes.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="Category">
<xs:annotation>
<xs:documentation>
A description of a particular category or response. OECD Glossary of Statistical Terms: Generic term for items at any level within a classification, typically tabulation categories, sections, subsections, divisions, subdivisions, groups, subgroups, classes and subclasses.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:CategoryReference">
<xs:annotation>
<xs:documentation>
Reference to a description of a particular category or response. OECD Glossary of Statistical Terms: Generic term for items at any level within a classification, typically tabulation categories, sections, subsections, divisions, subdivisions, groups, subgroups, classes and subclasses. TypeOfObject should be set to Category.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="CategoryGroup">
<xs:annotation>
<xs:documentation>
Allows categories to be grouped with or without hierarchical structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="CategoryGroupReference">
<xs:annotation>
<xs:documentation>
Inclusion of a CategoryGroup that allows categories to be grouped with or without hierarchical structure by reference. TypeOfObject should be set to Category.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CategoryGroupReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Inclusion of a CategoryGroup that allows categories to be grouped with or without hierarchical structure by reference. TypeOfObject should be set to CategoryGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CategorySchemeName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Category Scheme using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="CategoryGroupType">
<xs:annotation>
<xs:documentation>
Contains a group of Category descriptions, which may be ordered or hierarchical. In addition to the name, label, and description of the group, the structure allows for defining the group as a valid category value using a DefiningCategoryReference, and a listing of Categories and CategoryGroups in any order.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfCategoryGroup">
<xs:annotation>
<xs:documentation>
A brief textual identification of the CategoryGroup type. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CategoryGroupName">
<xs:annotation>
<xs:documentation>
A name for the CategoryGroup. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the CategoryGroup. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the CategoryGroup. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="DefiningCategoryReference">
<xs:annotation>
<xs:documentation>
A reference to a category that defines the group, thereby allowing the group to define the contents of that category by explicitly identifying its members.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement describing the persons or other objects to which the contents of this group pertain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
Reference to the concept expressed by the objects in this group.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Subject">
<xs:annotation>
<xs:documentation>
If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Keyword">
<xs:annotation>
<xs:documentation>
If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="r:CategoryReference">
<xs:annotation>
<xs:documentation>A category defined as a member of this group.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="CategoryGroupReference">
<xs:annotation>
<xs:documentation>
A category group that is a member of this group (nesting structure).
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="false" name="isOrdered" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" indicates that the content of the group is ordered as it appears within the XML structure.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="DefiningCategoryReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Category using the Reference structure. TypeOfObject should be set to Category.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeOfCategoryGroup" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description of the type of group created to associate a number of Categories. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CategoryGroupName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Category Group using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="CategoryType">
<xs:annotation>
<xs:documentation>
A description of a particular category or response. OECD Glossary of Statistical Terms: Generic term for items at any level within a classification, typically tabulation categories, sections, subsections, divisions, subdivisions, groups, subgroups, classes and subclasses. In addition to the standard name, label, and description, a category may contain a reference to a defining concept, provide information on how the category was generated (membership defined), and indicate if it is the description of a type of missing value.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CategoryName">
<xs:annotation>
<xs:documentation>
A name for the category. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the category. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.or of different types or applications.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the category. Note that comparison of categories is done using the content of description. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>Reference to the defining concept.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="Generation">
<xs:annotation>
<xs:documentation>
Describes how the category is derived or generated. A process for describing the determination of category membership.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SubCategoryReference">
<xs:annotation>
<xs:documentation>
Reference to one or more categories for which the current category is a broader definition. Allows for a reference to the narrower category and the ability to define the relationship as a specialization or part.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="isMissing" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
If the category is describing a classification of "missing data" set the value of isMissing to "true".
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CategoryName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Category using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to one or more categories for which the current category is a broader definition. Allows for a reference to the narrower category and the ability to define the relationship as a specialization or part. TypeOfObject should be set to Category.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="SubCategoryReferenceType">
<xs:annotation>
<xs:documentation>
Reference to one or more categories for which the current category is a broader definition. Allows for a reference to the narrower category and the ability to define the relationship as a specialization or part. TypeOfObject should be set to Category.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:ReferenceType">
<xs:attribute name="typeOfSubCategory" type="SubCategoryType">
<xs:annotation>
<xs:documentation>
Defines the sub-category in terms being generic or partitive in nature. For example, a radial tire is a type of tire (generic) while a tire is a part of a car (partitive). The value refers to the role of the SubCategory within the broader category .
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="SubCategoryType">
<xs:annotation>
<xs:documentation>
Defines the sub-category in terms being generic or partitive in nature. For example, a radial tire is a type of tire (generic) while a tire is a part of a car (partitive). The value refers to the role of the SubCategory within the broader category .
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="specialization">
<xs:annotation>
<xs:documentation>
Defines the relationship of the sub-category as being generic in nature, i.e. that the sub-category is a "specialization" of the category which references it.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="isPartOf">
<xs:annotation>
<xs:documentation>
Defines the relationship of the sub-category as being partitive in nature, i.e. that the sub-category is a "isPartOf" of the category which references it.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<!-- CodeLists -->
<xs:element name="CodeListScheme" type="CodeListSchemeType">
<xs:annotation>
<xs:documentation>
A scheme containing sets of CodeLists that are used by reference to define code representations used by value representations and response domains.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="CodeListSchemeType">
<xs:annotation>
<xs:documentation>
A scheme containing sets of CodeLists that are used by reference to define code representations used by value representations and response domains. In addition to the standard name, label, description, the CodeListScheme may contain another CodeListScheme by reference, CodeLists either in-line or by reference, and CodeListGroups either in-line or by reference.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CodeListSchemeName">
<xs:annotation>
<xs:documentation>
A name for the CodeListScheme. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the CodeListScheme. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the CodeListScheme. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:CodeListSchemeReference">
<xs:annotation>
<xs:documentation>
Allows for the inclusion of another CodeListScheme by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="CodeList">
<xs:annotation>
<xs:documentation>
A structure used to associate a list of code values to specified categories. May be flat or hierarchical. A maintainable CodeList listed in the CodeListScheme in-line.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:CodeListReference">
<xs:annotation>
<xs:documentation>
A reference to an existing CodeList to be added to this CodeListScheme by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="CodeListGroup">
<xs:annotation>
<xs:documentation>
In-line description of a group of CodeLists for conceptual, administrative or other purposes.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="CodeListGroupReference">
<xs:annotation>
<xs:documentation>
The inclusion of an existing CodeListGroup by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CodeListSchemeName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Code List Scheme using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CodeListGroupReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing CodeListGroup using the Reference structure. TypeOfObject should be set to CodeListGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="CodeListType">
<xs:annotation>
<xs:documentation>
A structure used to associate a list of code values to specified categories. May be flat or hierarchical. This is a maintainable object. In addition to the standard name, label, and description the CodeList specifies a recommended data type, the hierarchical nature of the CodeList, level descriptions, individual code values and associated category, and whether the CodeList contents are used to represent system specific missing values. May include another CodeList by reference. If including other CodeLists make sure there are no code conflicts in the overall content. A code value must be unique within the CodeList. May also include a reference to a default CategoryScheme.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CodeListName">
<xs:annotation>
<xs:documentation>
A name for the CodeList. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the CodeList. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the CodeList. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:RecommendedDataType">
<xs:annotation>
<xs:documentation>
This field provides the recommended treatment of the data within an application. This field is important as some codes represented as numeric should be treated as strings, i.e., many standardized codes for industry, occupation, education, etc. The value should come from a controlled vocabulary - recommended values include the set found in W3C XML Schema Part 2, but excluding string sub-types, QNAME, and NOTATION.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:CodeListReference">
<xs:annotation>
<xs:documentation>
Allows for inclusion by reference of another CodeList. Care must be taken to ensure that all code values of the resulting CodeList are unique.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:CategorySchemeReference">
<xs:annotation>
<xs:documentation>
Reference to a default category scheme, with the assumption that all categories referenced by the subsequent codes are part of it, unless overwritten by the scheme reference in the CategoryReference field of the code.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="HierarchyType">
<xs:annotation>
<xs:documentation>
Identifies the type of hierarchy used in the nesting of categories. Possible values are Regular and Irregular. A regular nesting indicates that the category hierarchy is consistent at all lower levels of the hierarchy, i.e., the lowest levels of the hierarchy are at the same level for every branch on the hierarchy.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Level">
<xs:annotation>
<xs:documentation>
Describes the levels of the code hierarchy. The level describes the nesting structure of a hierarchical coding structure. Note that the attribute levelNumber is used for referencing specific codes to their level identifier.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Code">
<xs:annotation>
<xs:documentation>
Includes a code value, references the category label, and describes the code's position in a hierarchy.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute default="false" name="isSystemMissingValue" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If "true" contents are used to represent system specific missing values. The default value is "false".
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CodeListName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Code List using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="LevelType">
<xs:annotation>
<xs:documentation>
Used to describe the levels of the code list hierarchy. The level describes the nesting structure of a hierarchical coding structure. A level could have data attached to it (summary of its children) or no data attached to it (the equivalent of creating a category group in 2.0 and earlier versions Note that the attribute levelNumber is used for referencing specific codes to their level identifier. Although Code Lists can be physically nested, the use of a Level description and the level number on a specific code is needed to specify subsets of the CodeList for use in CodeRepresentations by level specification. Provides a name, description and level number. Specifies the relationship between the categories at that level and interval value if the relationship has the value of Interval.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="LevelName">
<xs:annotation>
<xs:documentation>
Name of a level in a code scheme. This should be short and explicit, such as Major Industrial Groups (2 digit SIC Codes) or NUTS 1. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the code Level. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="CategoryRelationship">
<xs:annotation>
<xs:documentation>
Describes the relationships among categories at that respective level. Possible values are either Nominal, Ordinal, or Interval. Note that different levels may have different types of relationships within the same hierarchy. For example, Level 1 items may be ordinal and Level 2 (the children of Level 1 items) may be nominal.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="IntervalIncrement">
<xs:annotation>
<xs:documentation>
Identifies the interval between each value of the codes at this level. Used only for codes with interval relationship.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="levelNumber" type="xs:nonNegativeInteger" use="required">
<xs:annotation>
<xs:documentation>
Designated identifier for the level; generally increases as the level of indention for nesting increases.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="CodeType">
<xs:annotation>
<xs:documentation>
A structure that links a unique value of a code to a specified category and provides information as to the location of the code within a hierarchy, whether it is discrete, represents a total for the CodeList contents, and if its sub-elements represent a comprehensive coverage of the code. The Code is identifiable, but the value within the code must also be unique within the CodeList.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element ref="r:CategoryReference">
<xs:annotation>
<xs:documentation>
Reference to the category that the code value represents.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:Value">
<xs:annotation>
<xs:documentation>
The value of the code. In a microdata file this would be the value found in the data file. If used as the description of an NCube dimension the value provides the coordinate value for that dimension. Note that r:Value has an attribute xml:space with the default value of "default". If white space is critical to the understanding of this code value (such as critical leading or tailing spaces, or multiple spaces within the code) change the value of xml:space to "preserve".
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Code">
<xs:annotation>
<xs:documentation>Allows for nesting of codes.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute default="true" name="isDiscrete" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Indicates whether the code is discrete (that is, placed at the lowest level in a hierarchy and has no children).
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="levelNumber" type="xs:nonNegativeInteger" use="optional">
<xs:annotation>
<xs:documentation>Level number of the code.</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="Unknown" name="isComprehensive" type="IsComprehensiveType">
<xs:annotation>
<xs:documentation>
Used in hierarchical structures at upper level values to indicate whether or not the subelements of the code are comprehensive in coverage. Not applicable if attribute isDiscrete is set to "true".
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="false" name="isTotal" type="xs:boolean">
<xs:annotation>
<xs:documentation>
This expresses a total whether or not isComprehensive is true. If isComprehensive = "true" then if addition is supported by the measure type, the contained categories can be aggregated to calculate the total. If isComprehensive = "false" or "unknown" the content of this field cannot be calculated if the value is not provided in the data.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CodeListGroup" type="CodeListGroupType">
<xs:annotation>
<xs:documentation>
A grouping of CodeLists for conceptual or administrative purposed.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="CodeListGroupType">
<xs:annotation>
<xs:documentation>
A grouping of CodeLists for conceptual or administrative purposed. May be hierarchical.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfCodeListGroup">
<xs:annotation>
<xs:documentation>
A brief textual identification of the group type. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CodeListGroupName">
<xs:annotation>
<xs:documentation>
A name for the CodeListGroup. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the CodeListGroup. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the CodeListGroup. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement describing the persons or other objects to which the contents of this CodeList group pertain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
Reference to the concept expressed by the CodeLists in this group.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Subject">
<xs:annotation>
<xs:documentation>
If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Keyword">
<xs:annotation>
<xs:documentation>
If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="r:CodeListReference">
<xs:annotation>
<xs:documentation>Reference to constituent CodeList.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="CodeListGroupReference">
<xs:annotation>
<xs:documentation>
Reference to constituent CodeListGroup. This allows for nesting of CodeListGroups.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="false" name="isOrdered" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" indicates that the content of the group is ordered as it appears within the XML structure.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="CodeListGroupName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Code List Group using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeOfCodeListGroup" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description of the type of group created to associate a number of code lists. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<!-- VARIABLES -->
<xs:complexType name="VariableSchemeType">
<xs:annotation>
<xs:documentation>
Contains a set of Variables and VariableGroups. In addition to the standard name, label, and description of the Variable Scheme, may contain another VariableScheme by reference, a listing of Variables (in-line or by reference), and a listing of VariableGroups (in-line or by reference).
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="VariableSchemeName">
<xs:annotation>
<xs:documentation>
A name for the VariableScheme. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the VariableScheme. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the VariableScheme. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:VariableSchemeReference">
<xs:annotation>
<xs:documentation>
Allows for the inclusion of another VariableScheme by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="Variable">
<xs:annotation>
<xs:documentation>
Describes a Variable in-line. This is the applied expression of a data item within a data set.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:VariableReference">
<xs:annotation>
<xs:documentation>
Allows for the inclusion of an existing variable by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="VariableGroup">
<xs:annotation>
<xs:documentation>
Contains a group of Variables, which may be ordered or hierarchical.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="VariableGroupReference">
<xs:annotation>
<xs:documentation>
Allows the inclusion of an existing VariableGroup by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="VariableSchemeName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Variable Scheme using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="VariableType">
<xs:annotation>
<xs:documentation>
Describes the structure of a Variable. This is the applied expression of a data item within a data set and maps to the GSIM ImplementedVariable. In addition to the standard name, label, and description, includes a reference to a source parameter, represented variable, conceptual variable, universe, concept, question, source variable, and embargo information. It identifies the normal source of the data in the variable, the unit of analysis, whether the variable provides temporal or geographic information, or serves as a weight for other variables in the data, and provides a full description of its representation.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="VariableName">
<xs:annotation>
<xs:documentation>
A name for the Variable. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the Variable. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the Variable. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:OutParameter">
<xs:annotation>
<xs:documentation>
Assigns a parameter that contains output from the Variable so that it can be bound to an InParameter of an instruction or act as the SourceParameter of another Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:SourceParameterReference">
<xs:annotation>
<xs:documentation>
Reference to an OutParameter that serves as the source for the content of this variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:SourceVariableReference">
<xs:annotation>
<xs:documentation>
Reference to variable(s) used as a basis for recoding, derivation, or other means of calculating the data for this variable. This reference is intended to provide basic information on the source variable structure including value representation, measurement unit, etc. Note that if a variable is used by reference within multiple VariableSchemes you can identify its role within a specific VariableScheme by including that VariableScheme in the sourceContext attribute of the reference. Use ProcessingInstructionReference to provide additional information on the transformation of the source variable(s) into the data for this variable. If additional processing detail is required use the InParameter, OutParameter, and ParameterLinkage options in the GenerationInstruction and ProcessingInstructionReference.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="r:RepresentedVariableReference">
<xs:annotation>
<xs:documentation>
Reference to the RepresentedVariable that describes the core of this variable (the RepresentedVariable that the variable is the implementation of). The RepresentedVariable contains the broad reusable specification of the Variable, i.e., concept, universe, and value representation. These may be constrained by specifications within the Variable description. TypeOfObject should be set to RepresentedVariable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="r:ConceptualVariableReference">
<xs:annotation>
<xs:documentation>
Reference to the ConceptualVariable that describes the core of this variable. The ConceptualVariable provides linked Concept and Universe specifications. These may be constrained by specifications within the Variable description. TypeOfObject should be set to ConceptualVariable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="WeightingProcessReference">
<xs:annotation>
<xs:documentation>
When isWeight is set to true provide a reference to the Weighting process description used to generate this value. TypeOfObject will be Weighting
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement containing a description of the persons or other elements that this variable refers to, and to which any analytic results refer. If more than one universe is referenced the universe of the variable is the intersect of the referenced universes.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
Reference to the concept measured by this variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:QuestionReference">
<xs:annotation>
<xs:documentation>
Reference to question(s) used to collect data for this variable. This references the wording and response domain of the question, not the question flow (if the same question was asked in reference to multiple objects (i.e., Age of each child). Use SourceParameterReference and/or VariableRepresentation/ProcessingInstructionReference to differentiate sources associated with flow patterns or data processing instructions.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:MeasurementReference">
<xs:annotation>
<xs:documentation>
Reference to measurement(s) used to collect data for this variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="EmbargoReference">
<xs:annotation>
<xs:documentation>
Reference to any embargoes placed on the contents of this variable. Embargoes may limit access to the data and/or metadata to specific groups and/or for specified periods of time.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="SourceUnit">
<xs:annotation>
<xs:documentation>
The normal source of the information contained in the variable. In the case of a survey this may be a respondent, proxy, interviewer, or other source. In the case of administrative data the position of a field on a form e.g., "top of page", "item 3", "generated by data processor", etc. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:AnalysisUnit">
<xs:annotation>
<xs:documentation>
The entity to which the data refer, for example, individuals, families or households, groups, institutions/organizations, administrative units, etc. Supports the use of an external controlled vocabulary. The DDI Alliance has provided a controlled vocabulary (AnalysisUnit) to support this element at http://www.ddialliance.org/controlled-vocabularies.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="r:UnitTypeReference">
<xs:annotation>
<xs:documentation>
Reference to the unit type containing a description of the unit type that this Variable refers to, and to which any analytic results refer. TypeOfObject should be set to UnitType.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="VariableRepresentation">
<xs:annotation>
<xs:documentation>
Describes the representation of the variable in the data set, including allowed content, data typing, and computation information.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute default="false" name="isTemporal" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Set to "true" if the variable relays time-related information (date, time, season, relative time, etc.).
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="false" name="isGeographic" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Set to "true" if the variable relays geographic information, i.e., geographic code, area name, relative location, etc.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="false" name="isWeight" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Set to "true" if the variable is used a weight when analyzing data within the data set. If set to true provide a reference to the Applied Usage of the appropriate Processing Event Weight using WeightingAppliedUsage.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="WeightingProcessReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
When isWeight is set to true provide a reference to the Weighting process description.TypeOfObject should be set to Weighting.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VariableName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Variable using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SourceUnit" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
The normal source of the information contained in the variable. In the case of a survey this may be a respondent, proxy, interviewer, or other source. In the case of administrative data the position of a field on a form e.g., "top of page", "item 3", "generated by data processor", etc. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="VariableRepresentationType">
<xs:annotation>
<xs:documentation>
Describes the representation of the variable in the data set. Describes the function of the variable, variables or standard weights that may be used to weight this variable during analysis, imputation and processing information, other variables used to create the value of this variable through concatenation, valid value representations (valid for analysis of respondents), missing value representations, aggregation methods used to generate the content of the variable, and additivity information.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" ref="VariableRole">
<xs:annotation>
<xs:documentation>
Describes a specific function of the variable, such as identity, weight, geographic variable, time, date, currency, etc. This is a more extensive means of identifying the function of the variable than the Boolean indicators on the variable. Allows for agency specific designations. Supports the use of a controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:WeightVariableReference">
<xs:annotation>
<xs:documentation>
Reference to one or more weight variables that may be used in analyzing this variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="StandardWeightReference">
<xs:annotation>
<xs:documentation>
Reference to the StandardWeight found in the Weighting description, which is relevant for analyzing this variable. A standard weight is a single weight used for all variables of a specific type or for a specified sub-universe.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="VariableAttribute">
<xs:annotation>
<xs:documentation>
An attribute may be any object which should be attached to or coupled with a Variable such as a related suppression flag, source flag, footnote, etc. It may be defined as a Variable or contain textual content (such as a footnote).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="ImputationReference">
<xs:annotation>
<xs:documentation>
Reference to the imputation process described as a General Instruction in a ProcessingInstructionScheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="ConcatenatedValue">
<xs:annotation>
<xs:documentation>
Provides a reference to other variables and describes the method for deriving the value of this variable by concatenating a collection of other variables. This is useful in creating concatenated keys.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ProcessingInstructionReference">
<xs:annotation>
<xs:documentation>
A reference to either a general or generation instruction that was provided to those who converted information from one form to another to create a particular variable. This might include the reordering of numeric information into another form or the conversion of textual information into numeric information. TypeOfObject should be set to GeneralInstruction or GenerationInstruction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element ref="r:ValueRepresentation">
<xs:annotation>
<xs:documentation>
Describes the actual representation of the variables' values. Allows for the listing of values to be treated as missing in order to support 3.1 structures. The preferred method is the use of a reference to ManagedMissingValues description using MissingValuesReference. If both are used and there is a conflict in the content, MissingValuesReference will override the content provided in the ValueRepresentationReference.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Allows for the use of a ManagedRepresentation by reference. ValueRepresentationReference is the abstract head of a substitution group and may be replaced with any valid substitution for ValueRepresentationReference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element minOccurs="0" ref="MissingValuesReference">
<xs:annotation>
<xs:documentation>
Reference to an existing MissingValuesRepresentation using the Reference structure. If this content conflicts with content provided in the ValueRepresentation regarding Missing Values. The content of the MissingValuesRepresentation overrides. TypeOfObject will be MissingValuesRepresentation
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ContentDateOffset">
<xs:annotation>
<xs:documentation>
Identifies the difference between the date applied to the data as a whole and this specific item such as previous year's income or residence 5 years ago.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:AggregationMethod">
<xs:annotation>
<xs:documentation>
Indicates the type of aggregation method used. Supports the use of a controlled vocabulary. The DDI Alliance has provided a controlled vocabulary (AggregationMethod) to support this element at http://www.ddialliance.org/controlled-vocabularies.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="additivity" type="AdditivityCodeType" use="optional">
<xs:annotation>
<xs:documentation>
Records type of additivity, such as 'stock', 'flow', 'non-additive'.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:element name="MissingValuesReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing ManagedMissingValuesRepresentation using the Reference structure. TypeOfObject should be set to ManagedMissingValuesRepresentation.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ConcatenatedValueType">
<xs:annotation>
<xs:documentation>
Lists the variables whose values when concatenated result in the value for this variable.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="2" ref="r:VariableReference">
<xs:annotation>
<xs:documentation>
Identifies the variables whose values are concatenated to form the concatenated variable. Note that the order of these variables determines the order of concatenation.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="GenerationType">
<xs:annotation>
<xs:documentation>
Description of the process used to generate the category content. Includes a reference to component parts, a description of the generation process, a structured command, and other materials that are needed in the generation process. The item may be designated as a derivation process (default value) and be qualified in some way by a qualification attribute.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ComponentReference">
<xs:annotation>
<xs:documentation>
Reference to a category used in the generation process.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the generation process. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:CommandCode">
<xs:annotation>
<xs:documentation>
Structured information used by a system to generate the category.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="r:OtherMaterial">
<xs:annotation>
<xs:documentation>
External documentation required for creating the generation - for example, a chart or table for defining poverty.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:OtherMaterialReference">
<xs:annotation>
<xs:documentation>
Inclusion of an external documentation previously described. TypeOfObject should be OtherMaterial
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="true" name="isDerived" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If not a derivation process set this attribute to "false".
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="optional" name="qualification" type="xs:string">
<xs:annotation>
<xs:documentation>
A qualification for the generation process expressed as a simple string.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="VariableGroupType">
<xs:annotation>
<xs:documentation>
Contains a group of Variables, which may be ordered or hierarchical. In addition to the name, label, and description of the group, the structure allows for defining the type of group using an optional controlled vocabulary, a reference to a defining universe or concept for the group, a subject classification for the group, and a listing of Variables and VariableGroups in any order.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfVariableGroup">
<xs:annotation>
<xs:documentation>
A brief textual identification of the group type. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="VariableGroupName">
<xs:annotation>
<xs:documentation>
A name for the VariableGroup. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the VariableGroup. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the VariableGroup. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement describing the persons or other objects to which the contents of this variable group pertain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
Reference to the concept expressed by the Variables in this group.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Subject">
<xs:annotation>
<xs:documentation>
If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Keyword">
<xs:annotation>
<xs:documentation>
If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="r:VariableReference">
<xs:annotation>
<xs:documentation>Reference to constituent Variable.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="VariableGroupReference">
<xs:annotation>
<xs:documentation>
Reference to constituent VariableGroup. This allows for nesting of VariableGroups.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="false" name="isOrdered" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" indicates that the content of the group is ordered as it appears within the XML structure.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="VariableGroupName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Variable Group using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<!-- nCUBES -->
<xs:complexType name="NCubeSchemeType">
<xs:annotation>
<xs:documentation>
A set of NCubes maintained by an agency and used to structure data items into relational structures. In addition to the standard name, label, and description of the scheme, contains descriptions of individual NCubes and NCubeGroups as well as allowing the inclusion of another NCubeScheme by reference.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="NCubeSchemeName">
<xs:annotation>
<xs:documentation>
A name for the NCubeScheme. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the NCubeScheme. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the NCubeScheme. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="NCube">
<xs:annotation>
<xs:documentation>
Describes the logical structure of an NCube which is a 1..n dimension structure which relates a set of individual value to each other by defining them within a matrix.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:NCubeReference">
<xs:annotation>
<xs:documentation>
Includes by reference a description of the logical structure of an NCube which is a 1..n dimension structure which relates a set of individual value to each other by defining them within a matrix. TypeOfObject should be set to NCube.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="NCubeGroup">
<xs:annotation>
<xs:documentation>
Describes a group of NCubes for conceptual or administrative purposes, which may be ordered or hierarchical.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="NCubeGroupReference">
<xs:annotation>
<xs:documentation>
Includes by reference a description of a group of NCubes for conceptual or administrative purposes, which may be ordered or hierarchical. TypeOfObject should be set to NCubeGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:NCubeSchemeReference">
<xs:annotation>
<xs:documentation>
Allows for inclusion of other NCube schemes by reference.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="NCubeSchemeName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the NCube Scheme using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="AttributeType">
<xs:annotation>
<xs:documentation>
An attribute may be any object which should be attached to all or part of the NCube. It may be defined as a Variable or contain textual content (such as a footnote).
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:choice>
<xs:element ref="r:VariableReference">
<xs:annotation>
<xs:documentation>
A reference to a variable that describes the attribute.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AttachmentValue" type="xs:string">
<xs:annotation>
<xs:documentation>
The value of the attachment expressed as a string, if not a variable.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element minOccurs="0" ref="AttachmentRegionReference">
<xs:annotation>
<xs:documentation>
Reference to the CoordinateRegion that defines the attachment point for the attribute.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:MeasureDefinitionReference">
<xs:annotation>
<xs:documentation>
Reference to the MeasureDefinition that the attribute is attached to.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Value">
<xs:annotation>
<xs:documentation>
Reference to the specified Value of the MeasureDefinition that the attribute is attached to.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute default="Cube" name="attachmentLevel" type="AttachmentLevelCodeType">
<xs:annotation>
<xs:documentation>
Describes the attachment level of the attribute as Cube, CoordinateRegion, Dimension, Measurement, or MeasurementValue.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="NCubeType">
<xs:annotation>
<xs:documentation>
An NCube is a 1..n dimension structure which relates a set of individual values to each other by defining them within a matrix. The NCube may be the result of aggregations, cross-tabulation, time-series, etc. The NCube is described by its dimensions which are represented by categorical variables (variables with a set number of values of specific definition that can be used to identify a specific cell as part of a matrix address). The resulting cells can contain one or more measures, also defined by variables. In addition to the standard name, label, and description of the NCube, it contains a reference to a universe, defines both the normal source of the data in the cells and unit of analysis, the purpose of creating the structured data, the dimensions and measures, as well as the ability to attached any other attribute (i.e., footnote, cell or region specific note) to a specified area of the NCube. Three attribute serve as informational check values; dimensionCount, cellCount, and isClean.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="NCubeName">
<xs:annotation>
<xs:documentation>
A name for the NCube. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the NCube. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and structure of the NCube. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement containing a description of the persons or other elements that this NCube refers to, and to which any analytic results refer. If more than one universe is referenced the universe of the variable is the intersect of the referenced universes.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="ImputationReference">
<xs:annotation>
<xs:documentation>
Reference to an imputation process described as a GeneralInstruction or GenerationInstruction held in a ProcessingInstructionScheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="SourceUnit">
<xs:annotation>
<xs:documentation>
The normal source of the information contained in the NCube. In the case of a survey this may be a respondent, proxy, interviewer, or other source. In the case of administrative data the position of a field on a form e.g., "top of page", "item 3", "generated by data processor", etc. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:AnalysisUnit">
<xs:annotation>
<xs:documentation>
The entity to which the data refer, for example, individuals, families or households, groups, institutions/organizations, administrative units, etc. Supports the use of an external controlled vocabulary. The DDI Alliance has provided a controlled vocabulary (AnalysisUnit) to support this element at http://www.ddialliance.org/controlled-vocabularies.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Purpose">
<xs:annotation>
<xs:documentation>
Purpose for which the NCube was created. For example, designed to support a set of age pyramids generated yearly. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Dimension">
<xs:annotation>
<xs:documentation>
NCubes are defined by their dimensions. A dimension is provided a rank and a reference to a variable that describes it. Cell locations are "addressed" by the value of their intersect on each dimension provided in rank order.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CoordinateRegion">
<xs:annotation>
<xs:documentation>
Defines the area of attachment for an attribute. It may be defined as the NCube as a whole or as certain dimensions or values of dimensions.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="MeasureDefinition">
<xs:annotation>
<xs:documentation>
Defines the structure and type of measure captured within the cells. This may be repeated to describe multiple measure for the cells (i.e., count, percent of universe, dimensional percent, index, text, suppression flag, etc.).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Attribute">
<xs:annotation>
<xs:documentation>
An attribute may be any object which should be attached to all or part of the NCube. It may be defined as a Variable or contain textual content (such as a footnote).
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="dimensionCount" type="xs:nonNegativeInteger" use="optional">
<xs:annotation>
<xs:documentation>
The number of dimensions found in the NCube. Caution in using optional checksums is recommended. Conflict between checksums and the items being counted can cause problems with warning flags during processing. If using checksum to capture information for internal processing purposes, the use of automatically generated check sums is strongly urged.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="cellCount" type="xs:nonNegativeInteger" use="optional">
<xs:annotation>
<xs:documentation>
The number of cells (measures) found in the NCube. Note that this is the number of cells produced by dimension structure not the number of cells containing data in a sparse NCube. Caution in using optional checksums is recommended. Conflict between checksums and the items being counted can cause problems with warning flags during processing. If using checksum to capture information for internal processing purposes, the use of automatically generated check sums is strongly urged.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="true" name="isClean" type="xs:boolean">
<xs:annotation>
<xs:documentation>
A value of "true" indicates that all cells have the potential for content values. If set to "false" Attribute and CoordinateRegion should be used to define the sparse areas of the NCube, those that have no content by definition. For example a cross-tabulation between Household Type (Family, Non-Family) and Number of persons in Household (1,2,3,4,5,6,7+) would need an attribute for Family/1 Person as this will always be empty due to the definition of Family as two or more related persons.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="NCubeName" type="r:NameType">
<xs:annotation>
<xs:documentation>Name of the NCube using the DDI Name structure.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="DataRelationshipType">
<xs:annotation>
<xs:documentation>
Describes the relationships among logical records in the dataset. Date Relationship is needed to create the appropriate link between the logical record and the physical storage description. Data Relationship is optional because a logical product can contain only a category scheme and/or code scheme. In addition to the standard name, label, and description, it contains structures to describe the LogicalRecord and RecordRelationship.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataRelationshipName">
<xs:annotation>
<xs:documentation>
A name for the DataRelationship. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the DataRelationship. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the DataRelationship. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="LogicalRecord">
<xs:annotation>
<xs:documentation>
A logical record is a description of all of the elements (variables or NCubes) related to a single case or analysis unit. Required to link a description of a physical record structure to its logical record.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="RecordRelationship">
<xs:annotation>
<xs:documentation>
Describes the relationship between records of different types or of the same type within a longitudinal study. Identifies the key and linking value relationships. All relationships are pairwise. Multiple pairwise relationships maybe needed to clarify all record relationships within a logical product or data set.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="DataRelationshipName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Data Relationship using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="LogicalRecordType">
<xs:annotation>
<xs:documentation>
A logical record is a description of all of the elements (variables or NCubes) related to a single case or analysis unit. Required to link a description of a physical record structure to its logical record. In addition to the standard name, label, and description, the structure identifies the variable designating its record type, describes case identification within the record type, indicates support for multiple storage segments, and defines a default set of missing values used by the record. In a data set with multiple records repeat to describe each logical record, such as a household, family, person, or event, record. A LogicalRecord is required to link a description of a physical record structure to its logical record.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="LogicalRecordName">
<xs:annotation>
<xs:documentation>
A name for the LogicalRecord. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the LogicalRecord. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the LogicalRecord. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="VariableValueReference">
<xs:annotation>
<xs:documentation>
A reference the variable containing the record type locator and the value being used. Files with single record types or which store records in different files may not have a record type locator. If this element is used set the attribute hasLocator to "true".
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="SupportForMultipleSegments">
<xs:annotation>
<xs:documentation>
Information concerning support for breaking the logical record into segments for storage purposes. Some files may be broken into record segments for storage but lack variables to support identification of specific segments. In this case segments are identified by their physical order within the storage file.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CaseIdentification">
<xs:annotation>
<xs:documentation>
Describes the information needed to identify an individual case within a record type. This may be the variable or concatenated variable used to identify a unique case of a particular record type. Often referred to as a unique key. There may be more than one means of identifying a record. For example a US Census Summary File has a LogicalRecordIdentifier that is unique to the original file within which it was published. A specific geography has a set of fields that uniquely identify it.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element ref="VariablesInRecord">
<xs:annotation>
<xs:documentation>
List of all variables used in the record, either directly or as found in a defined VariableGroup; note that a variable can be used in multiple records. The variables in the logical record can be noted by inclusion or exclusion to facilitate listing. The attribute allVariablesInLogicalProduct, when set to 'true', includes all variables in the LogicalProduct. VariableSchemeReference can then be used to exclude individual Variables schemes or include schemes from other logical products. In the same way VariableReference can be used to exclude specific variables from the previously defined variable set or include variables not already included. The simplest LogicalProduct descriptions with a single LogicalRecord can be described using only the attribute allVariablesInLogicalProduct with a value of true.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="NCubesInRecord">
<xs:annotation>
<xs:documentation>
List of all NCubes used in the record, either directly or as found in a defined NCubeGroup; note that an NCube can be used in multiple records. The NCubes in the logical record can be noted by inclusion or exclusion to facilitate listing. The attribute allNCubesInLogicalProduct, when set to 'true', includes all NCubes in the LogicalProduct. NCubeSchemeReference can then be used to exclude individual NCubes schemes or include schemes from other logical products. In the same way NCubeReference can be used to exclude specific variables from the previously defined variable set or include variables not already included. The simplest LogicalProduct descriptions with a single LogicalRecord can be described using only the attribute allNCubesInLogicalProduct with a value of true.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element minOccurs="0" ref="DefaultMissingValues">
<xs:annotation>
<xs:documentation>
Identifies the default missing value parameter for the this logical record by referencing a ManagedMissingValuesRepresentation or by stating that there is a default missing values parameter used but it is undocumented. Note that a conflicting DefaultMissingValues definition in a PhysicalInstance will override that found in the LogicalRecord.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="hasLocator" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
If "true" indicates that the record type has a field which identifies its record type. In logical structures with a single record type there is generally no identifier. Most multi-record files will have a variable that identifies the record type.
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="variableQuantity" type="xs:nonNegativeInteger" use="optional">
<xs:annotation>
<xs:documentation>
Number of variables in the logical record. Caution in using optional checksums is recommended. Conflict between checksums and the items being counted can cause problems with warning flags during processing. If using checksum to capture information for internal processing purposes, the use of automatically generated check sums is strongly urged.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="LogicalRecordName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Logical Record using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="NCubesInRecordType">
<xs:annotation>
<xs:documentation>
Identifies the NCubes and any variables in the record external to NCube structures such as case identification variables that are contained in the logical record by indicating that all NCubes contained in the logical product are included, inclusion of a NCubeScheme to include, or listing individual NCubes to include. When the attribute allNCubesInLogicalProduct is set to "false" use the NCubeSchemeReference (which allows for exclusions) and NCubeReference to specify the included variables. A nested VariablesInRecord structure is used to include non-NCube variables in the record.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" ref="VariablesInRecord">
<xs:annotation>
<xs:documentation>
Use VariablesInRecord to describe any variables in the record that are external to the NCube such as case identifiers.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:NCubeSchemeReference">
<xs:annotation>
<xs:documentation>
Reference to an NCubeScheme whose members are included in the logical record. Note that individual items may be excluded from the scheme if not used by the logical record.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:NCubeReference">
<xs:annotation>
<xs:documentation>
Reference to an NCube to include in the logical record. This may be used to supplement the contents of an included NCubeScheme or to list all the variables individually.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="allNCubesInLogicalProduct" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
When the value is true, then the logical record contains all listed NCubes in the logical product module.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="VariableValueReferenceType">
<xs:annotation>
<xs:documentation>
A reference to the variable containing the record type locator and the value being used. TypeOfObject should be set to Variable.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="r:VariableReference">
<xs:annotation>
<xs:documentation>
Reference to the variable containing the record type locator.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="RelatedValue">
<xs:annotation>
<xs:documentation>
Value of variable indicating this record type, multiple entries allow for multiple valid values or ranges. Indicates if the variable should be equal to, greater than, less than, greater than or equal to, less than or equal to, or not equal to the stated value.(default value is "Equal"). Also allows the conditional value to be defined as blank (or no content).
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="VariablesInRecordType">
<xs:annotation>
<xs:documentation>
Identifies the variables contained in the logical record by indicating that all variable contained in the logical product are included, inclusion of a scheme of variable to include, or listing individual variables to include. When the attribute allVariablesInLogicalProduct is set to "false" use the VariableSchemeReference (which allows for exclusions) and VariableUsedReference to specify the included variables.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:VariableSchemeReference">
<xs:annotation>
<xs:documentation>
Reference to a VariableScheme whose members are included in the logical record. Note that individual items may be excluded from the scheme if not used by the logical record.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="VariableUsedReference">
<xs:annotation>
<xs:documentation>
Reference to a variable to include in the logical record. This may be used to supplement the contents of an included VariableScheme or to list all the variables individually.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="allVariablesInLogicalProduct" type="xs:boolean" use="optional">
<xs:annotation>
<xs:documentation>
Set to "true" when the logical record contains all the variables identified within the logical product module.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="CaseIdentificationType">
<xs:annotation>
<xs:documentation>
Describes the information needed to identify an individual case within a record type. This may be the variable or concatenated variable used to identify a unique case of a particular record type. Often referred to as a unique key. There may be more than one means of identifying a record. For example a US Census Summary File has a LogicalRecordIdentifer that is unique to the original file within which it was published. A specific geography has a set of fields that uniquely identify it.
</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0">
<xs:element ref="FixedIdentifier">
<xs:annotation>
<xs:documentation>
Reference to the variable containing the unique identifier. This may be a concatenated variable which indicates the combination of variable required to create a unique identification. If more than one variable reference is included the combination of the variable field contents must be unique and all variables are required for case identification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ConditionalIdentifier">
<xs:annotation>
<xs:documentation>
Describes the information needed to identify a specific record or case within a record type. Repeating the field allows multiple means of identifying a case referencing multiple variables.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:attribute default="true" name="isPrimary" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Indicates whether the case identifier is the primary key.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:element name="FixedIdentifier" type="FixedIdentifierType">
<xs:annotation>
<xs:documentation>
Reference to the variable containing the unique identifier.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="FixedIdentifierType">
<xs:annotation>
<xs:documentation>
Reference to the variable containing the unique identifier. This may be a concatenated variable which indicates the combination of variable required to create a unique identification. If more than one variable reference is included the combination of the variable field contents must be unique and all variables are required for case identification.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:VariableReference">
<xs:annotation>
<xs:documentation>
Reference to a variable used as a fixed identifier either singly or in combination with additional reference variables.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:annotation>
<xs:documentation>
Reference to the variable containing the unique identifier given the conditional value.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ConditionalIdentifierType">
<xs:annotation>
<xs:documentation>
Describes the information needed to identify a specific record or case within a record type. Repeating the field allows multiple means of identifying a case referencing multiple variables.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CaseSpecification">
<xs:annotation>
<xs:documentation>
Case specification allows different unique identifiers to be used based on the value of an identified variable. In some cases the value of a variable (such as a geographic level) results in a different set of variables required to identify a unique case. Case specification is used to capture these combinations. For example: a file containing State, County, and Place records. The unique identifier for a State requires a combination of GeoLevel=State and the variable STATE. Place would require a combination of GeoLevel=Place and the variables STATE and PLACE.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CaseSpecificationType">
<xs:annotation>
<xs:documentation>
Case specification allows different unique identifiers to be used based on the value of an identified variable. In some cases the value of a variable (such as a geographic level) results in a different set of variables required to identify a unique case. Case specification is used to capture these combinations. For example: a file containing State, County, and Place records. The unique identifier for a State requires a combination of GeoLevel=State and the variable STATE. Place would require a combination of GeoLevel=Place and the variables STATE and PLACE.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="ConditionalVariableReference">
<xs:annotation>
<xs:documentation>
References the variable containing the conditional content, provides the value of the condition.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="1" ref="r:VariableReference">
<xs:annotation>
<xs:documentation>
The variables required to provide a unique identification when the conditional variable contains the stated value.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:annotation>
<xs:documentation>
Value of variable indicating this record type. TypeOfObject should be set to Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ConditionalVariableReferenceType">
<xs:annotation>
<xs:documentation>
Value of variable indicating this record type, multiple entries allow for multiple valid values or ranges. Includes a reference to the variable an the specified related value. TypeOfObject should be set to Variabele.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:ReferenceType">
<xs:sequence>
<xs:element ref="RelatedValue">
<xs:annotation>
<xs:documentation>
Use to specify the value of variable for which this is a case specification (i.e., GeoLevel in the example for Case Specification).
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="RecordRelationshipType">
<xs:annotation>
<xs:documentation>
Describes the relationship between records of different types or of the same type within a longitudinal study. Identifies the key and linking value relationships. All relationships are pairwise. Multiple pairwise relationships maybe needed to clarify all record relationships within a logical product or data set. In addition to the standard name, label, and description, the structure identifies the pair of logical records for which the relationship is defined as SourceLogicalRecord and TargetLogicalRecord, describes the link between these two records and indicates the relationship of the of the source record to the target record.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="RecordRelationshipName">
<xs:annotation>
<xs:documentation>
A name for the RecordRelationship. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the RecordRelationship. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the RecordRelationship. 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="SourceLogicalRecordReference">
<xs:annotation>
<xs:documentation>
A reference to the Logical Record acting as the Source Record. All relationship information is from the source to the target. If the relationship is not unidirectional (i.e., sibling) simply assign one record as the source and the other as the target.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="TargetLogicalRecordReference">
<xs:annotation>
<xs:documentation>
A reference to the Logical Record acting as the Target Record.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SourceTargetLink">
<xs:annotation>
<xs:documentation>
Each SourceTargetLink provides a pair of variables which act as all or part of a link between the source and the target records. Repeat if more than one set of variables is required to make the link.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute default="Unknown" name="relationToTarget" type="RelationCodeType">
<xs:annotation>
<xs:documentation>
Indicates the relationship of the source to the target. The value describes the role of the source in the relationship. This is a restricted list of Parent, Child, Sibling, Unknown.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="RecordRelationshipName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the Record Relationship using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SourceTargetLink" type="SourceTargetLinkType">
<xs:annotation>
<xs:documentation>
Contains a set of variables, one from the source record and one from the target record used as all or part of a link between the source and target records.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="SourceTargetLinkType">
<xs:annotation>
<xs:documentation>
Contains a set of variables, one from the source record and one from the target record used as all or part of a link between the source and target records.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="SourceLinkVariableReference">
<xs:annotation>
<xs:documentation>
A reference to the variable in the Source Record containing the value that is equal to the value in the identified variable in the Target Record.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="TargetLinkVariableReference">
<xs:annotation>
<xs:documentation>
A reference to the variable in the Target Record containing the value that is equal to the value in the identified variable in the Source Record.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:annotation>
<xs:documentation>
Reference to an existing LogicalRecord using the Reference structure. TypeOfObject should be set to LogicalRecord.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to an existing LogicalRecord using the Reference structure. TypeOfObject should be set to LogicalRecord.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TargetLinkVariableReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Variable using the Reference structure. TypeOfObject should be set to Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SourceLinkVariableReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Variable using the Reference structure. TypeOfObject should be set to Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="RelatedValueType">
<xs:annotation>
<xs:documentation>
The characteristic value expressed as a string with an indicator of the specific relationship of the variable value to the characteristic value. The default is "Equal". The value may be defined as containing no content (blank) by setting the attribute valueIsBlank to "true".
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="r:ValueType">
<xs:attribute default="Equal" name="type" type="RelatedValueTypeCodeType">
<xs:annotation>
<xs:documentation>
Indicates value type as "GreaterThan", LessThan", "Equal", "GreaterThanOrEqual", "LessThanOrEqual", or "NotEqual".
</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute default="false" name="valueIsBlank" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Set to "true" if the value of the conditional variable is blank.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="IsComprehensiveType">
<xs:annotation>
<xs:documentation>
Indicates the values are comprehensive, they cover all possible values. If the data collected for these values is additive the sum of the values should equal the value of the parent.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="True">
<xs:annotation>
<xs:documentation>True, the values are comprehensive.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="False">
<xs:annotation>
<xs:documentation>
False, the values are not comprehensive, some possible values have not been included. These should be treated as a specified sub-set of the parent.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Unknown">
<xs:annotation>
<xs:documentation>
Unknown, the documentation is lacking to make an assertion as to whether the values listed are comprehensive.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="RelatedValueTypeCodeType">
<xs:annotation>
<xs:documentation>
Indicates the relationship of the value of a source object to a target object. Except in the case of equality or non-equality of the relationship is unidirectional (source to target).
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="GreaterThan">
<xs:annotation>
<xs:documentation>
The value of the source object is greater than the value of the target object.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="LessThan">
<xs:annotation>
<xs:documentation>
The value of the source object is less than the value of the target object.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Equal">
<xs:annotation>
<xs:documentation>
The value of the source object is equal to the value of the target object.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="GreaterThanOrEqual">
<xs:annotation>
<xs:documentation>
The value of the source object is greater than or equal to the value of the target object.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="LessThanOrEqual">
<xs:annotation>
<xs:documentation>
The value of the source object is less than or equal to the value of the target object.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="NotEqual">
<xs:annotation>
<xs:documentation>
The value of the source object is not equal the value of the target object.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="RelationCodeType">
<xs:annotation>
<xs:documentation>
Indicates the relationship of a source object to a target object. Except in the case of sibling the relationship is unidirectional (source to target).
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Parent">
<xs:annotation>
<xs:documentation>
The source object is the parent of the target object. The target object is a sub-part or member of the parent source.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Child">
<xs:annotation>
<xs:documentation>
The source object is the child of the source object. The target object is the parent or contains the source object as a sub-part or member.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Sibling">
<xs:annotation>
<xs:documentation>
The source object is the sibling of the target object. One object is not a member of or subsidiary to the other. They may be equal members of the same group.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Unknown">
<xs:annotation>
<xs:documentation>
The relationship between the source and target objects is unknown.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="NCubeGroupType">
<xs:annotation>
<xs:documentation>
Contains a group of NCubes, which may be ordered or hierarchical. In addition to the name, label, and description of the group, the structure allows for defining the type of group using an optional controlled vocabulary, a reference to a defining universe or concept for the group, and a listing of NCubes and NCubeGroups in any order.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfNCubeGroup">
<xs:annotation>
<xs:documentation>
A brief textual identification of the group type. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="NCubeGroupName">
<xs:annotation>
<xs:documentation>
A name for the NCubeGroup. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the NCubeGroup. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the NCubeGroup. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement describing the persons or other objects to which the contents of this NCube group pertain.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
Reference to the concept expressed by the NCubes in this group.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Subject">
<xs:annotation>
<xs:documentation>
If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Keyword">
<xs:annotation>
<xs:documentation>
If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="r:NCubeReference">
<xs:annotation>
<xs:documentation>Reference to constituent NCube.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="NCubeGroupReference">
<xs:annotation>
<xs:documentation>
Reference to constituent NCubeGroup. This allows for nesting of NCubeGroups.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="false" name="isOrdered" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" indicates that the content of the group is ordered as it appears within the XML structure.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="NCubeGroupName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the NCube Scheme using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="CoordinateRegionType">
<xs:annotation>
<xs:documentation>
Defines the area of attachment for an NCube attribute. It may be defined as the NCube as a whole or as certain dimensions or values of dimensions.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the CoordinateRegion. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement containing a description of the persons or other elements that this CoordinateRegion refers to, and to which any analytic results refer. If more than one universe is referenced the universe of the CoordinateRegion is the intersect of the referenced universes. Use when the CoordinateRegion describes a subset of the NCube universe.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content of the CoordinateRegion. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DimensionValue">
<xs:annotation>
<xs:documentation>
Defines the included set of values needed to describe the coordinate region of the NCube on a Dimension by Dimension basis.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="CohortType">
<xs:annotation>
<xs:documentation>
Defines the included values of a dimension by means of individual value references or by defining a range of values to include. Allows the included values to be identified by reference to the Code, the Category used by the Code, or the Value of the Code (which by definition should be unique). The dimension is identified by its rank value.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:choice>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:CategoryReference">
<xs:annotation>
<xs:documentation>
Reference to the Category represented by the Value of the Code assigned in a CodeList. Repeat for including multiple values.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:CodeReference">
<xs:annotation>
<xs:documentation>
Reference to the Code within the CodeList used by the variable describing the dimension. Repeat for including multiple values.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Range">
<xs:annotation>
<xs:documentation>
Use when multiple values are included. This uses the unique Value provided for the Code as a means of identification. Provides the range of Values for this dimension that are within the area being defined. Repeat for non-contiguous values.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:choice>
</xs:sequence>
<xs:attribute name="rank" type="xs:nonNegativeInteger" use="required">
<xs:annotation>
<xs:documentation>
Identify the dimension being described by its rank value within the NCube description.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="DimensionType">
<xs:annotation>
<xs:documentation>
A dimension is provided a rank and a reference to a variable that describes it. Cell locations are "addressed" by the value of their intersect on each dimension provided in rank order.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="r:VariableReference">
<xs:annotation>
<xs:documentation>
Identifies the variable describing this dimension. The dimension uses a form of CodeRepresentation (representation uses a CodeList, GeographicStructure, GeographicLocation, etc.), or a fixed range of numeric values to define the labels and intersect points for the dimension. The data set will contain a measurement value for each cell in the NCube rather than specifying the code values of the intersect points on the dimensions. Example: NCube Sex by Age in Years where there are 24 Males Age 4 (Dimension 1 intersect value M, Dimension 2 intersect value 4 with data cell measurement value (count) 24.)
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="rank" type="xs:nonNegativeInteger" use="required">
<xs:annotation>
<xs:documentation>
The rank order of this dimension (the order in which the value for this dimension will appear in the cell address)denoted with a 1-based indexing. Provides coordinate order (1,2,n) for the intersect point of this dimension within the cell address. For example, if the rank of this dimension is 2, the intersect point on this dimension will be the second value listed in the cell address.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="MeasureDefinitionType">
<xs:annotation>
<xs:documentation>
Defines the structure and type of measure captured within the cells. This may be repeated to describe multiple measure for the cells (i.e., count, percent of universe, dimensional percent, index, text, suppression flag, etc.). Includes a reference to the defining variable and an optional aggregation definition for use in defining content relying on the use of independent and dependent variables (such as the percentage of a specific dimension (like a row or column percent on a table).
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<xs:sequence>
<xs:element ref="r:VariableReference">
<xs:annotation>
<xs:documentation>
A reference to the variable that defines the measure of the NCube.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="AggregationDefinition">
<xs:annotation>
<xs:documentation>
Identifies the independent (denominator) and dependent (numerator) dimensions for calculating aggregate measures such as percent. When two or more independent or dependent dimensions are listed here, the value is defined as the intersection of the listed dimensions.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:annotation>
<xs:documentation>
Identifies the independent (denominator) and dependent (numerator) dimensions for calculating aggregate measures such as percent.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="AggregationDefinitionType">
<xs:annotation>
<xs:documentation>
Identifies the independent (denominator) and dependent (numerator) dimensions for calculating aggregate measures such as percent. When two or more independent or dependent dimensions are listed here, the value is defined as the intersection of the listed dimensions.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="IndependentDimension" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
The rank of a dimension that acts as the denominator (independent variable).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" name="DependentDimension" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation>
The rank of a dimension that acts as the numerator (dependent variable).
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute default="true" name="isNCubeUniverse" type="xs:boolean">
<xs:annotation>
<xs:documentation>
When true indicates that total count of the NCube as described by the universe acts as the independent variable (denominator) and that all dimensions are used to define the dependent variable (numerator). When false, use the IndependentDimension and DependentDimension elements to assign each rank to its appropriate role.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<!-- code schemes -->
<xs:simpleType name="AdditivityCodeType">
<xs:annotation>
<xs:documentation>
Describes the nature of additivity for the content. By designating the type of content, a user will understand whether the contents can be summed or must be treated differently in terms of processing an aggregation.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Stock">
<xs:annotation>
<xs:documentation>
A count of objects at one specific time. In general items in a non-hierarchical table of Stock figures can be added together to determine the total.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Flow">
<xs:annotation>
<xs:documentation>
A measure that is taken over time and should be treated as the number of items per a unit of time. Analogous to a rate or a speed.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="NonAdditive">
<xs:annotation>
<xs:documentation>
Due to the nature of the content or the measure, these data cannot be aggregated to determine a sum or accounting of activity.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="HierarchyCodeType">
<xs:annotation>
<xs:documentation>
Defines the type of hierarchical structure as Regular or Irregular.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Regular">
<xs:annotation>
<xs:documentation>
A hierarchy where each section has the same number of nested levels, i.e., the lowest level represents the most discrete values.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Irregular">
<xs:annotation>
<xs:documentation>
A hierarchy where each section can vary in the number of nested levels it contains. The most discrete objects in an irregular hierarchy must be individually identified.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="AttachmentLevelCodeType">
<xs:annotation>
<xs:documentation>
Identifies the contextual level of an NCube to which the attribute is attached; the full cube, a specific set of coordinates, a full dimension, a specific measurement, or a specific measurement value.
</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="Cube">
<xs:annotation>
<xs:documentation>Attaches to the whole NCube.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="CoordinateRegion">
<xs:annotation>
<xs:documentation>
Attaches to a group of cells described by a coordinate region which specifies the range of coordinate values contained within the region.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Dimension">
<xs:annotation>
<xs:documentation>Attaches to a full dimension.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="Measurement">
<xs:annotation>
<xs:documentation>Attaches to a specific measurement type.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="MeasurementValue">
<xs:annotation>
<xs:documentation>
Attaches to a specific value of a specified measurement.
</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:element name="TypeOfVariableGroup" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description or classification of the created to associate a number of variables. Supports the use of an external controlled vocabulary. DDI strongly recommends the use of a controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TypeOfNCubeGroup" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description or classification of the created to associate a number of NCubes. Supports the use of an external controlled vocabulary. DDI strongly recommends the use of a controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CategoryScheme" type="CategorySchemeType">
<xs:annotation>
<xs:documentation>
A scheme containing a set of Categories managed by an agency.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CodeList" type="CodeListType">
<xs:annotation>
<xs:documentation>
A structure used to associate a list of code values to specified categories. May be flat or hierarchical.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NCubeScheme" type="NCubeSchemeType">
<xs:annotation>
<xs:documentation>
A set of NCubes maintained by an agency and used to structure data items into relational structures.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VariableScheme" type="VariableSchemeType">
<xs:annotation>
<xs:documentation>Contains a set of Variables and VariableGroups.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DataRelationship" type="DataRelationshipType">
<xs:annotation>
<xs:documentation>
Describes the relationships among logical records in the dataset. Date Relationship is needed to create the appropriate link between the logical record and the physical storage description.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Category" type="CategoryType">
<xs:annotation>
<xs:documentation>
A description of a particular category or response.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CategoryGroup" type="CategoryGroupType">
<xs:annotation>
<xs:documentation>
Contains a group of Category descriptions, which may be ordered or hierarchical.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Generation" type="GenerationType">
<xs:annotation>
<xs:documentation>
Description of the process used to generate the category content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HierarchyType" type="HierarchyCodeType">
<xs:annotation>
<xs:documentation>
Defines the type of hierarchical structure as Regular or Irregular.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Level" type="LevelType">
<xs:annotation>
<xs:documentation>
Used to describe the levels of the code list hierarchy.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Code" type="CodeType">
<xs:annotation>
<xs:documentation>
A structure that links a unique value of a code to a specified category .
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Describes the relationship between the categories in terms of the significance of order and the distance between categories.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IntervalIncrement" type="r:BasicIncrementType">
<xs:annotation>
<xs:documentation>
Describes the structure, starting point and increment step of an interval.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Variable" type="VariableType">
<xs:annotation>
<xs:documentation>
Describes the structure of a Variable. This is the applied expression of a data item within a data set.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VariableGroup" type="VariableGroupType">
<xs:annotation>
<xs:documentation>
Contains a group of Variables, which may be ordered or hierarchical.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VariableGroupReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing VariableGroup using the Reference structure. TypeOfObject should be set to VariableGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EmbargoReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Embargo using the Reference structure. TypeOfObject should be set to Embargo.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Describes the representation of the variable in the data set. TypeOfObject should be set to ManagedDateTimeRepresentation, ManagedNumericRepresentation, ManagedRepresentationGroup, ManagedRepresentationScheme, ManagedScaleRepresentation, or ManagedTextRepresentation.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="StandardWeightReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing StandardWeight using the Reference structure. TypeOfObject should be set to StandardWeight.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VariableAttribute" type="VariableAttributeType">
<xs:annotation>
<xs:documentation>
An attribute may be any other Variable which should be attached to or coupled with a Variable such as a weight, filter, or other related variable. The VariableAttribute may be typed using a Controlled Vocabulary structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="VariableAttributeType">
<xs:annotation>
<xs:documentation>
An attribute may be any other Variable which should be attached to or coupled with a Variable such as a weight, filter, or other related variable. The VariableAttribute may be typed using a Controlled Vocabulary structure.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element ref="TypeOfVariableAttribute">
<xs:annotation>
<xs:documentation>
A brief textual identification of the variable attribute type. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:VariableReference">
<xs:annotation>
<xs:documentation>
A reference to a variable that describes the attribute.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="TypeOfVariableAttribute" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
A brief textual description or classification of the variable attribute type. Supports the use of an external controlled vocabulary. DDI strongly recommends the use of a controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ImputationReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing GenerationInstruction or GeneralInstruction using the Reference structure. TypeOfObject should be set to GenerationInstruction or GeneralInstruction.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ConcatenatedValue" type="ConcatenatedValueType">
<xs:annotation>
<xs:documentation>
Lists the variables whose values when concatenated result in the value for this variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ComponentReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Category using the Reference structure. TypeOfObject should be set to Category.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NCube" type="NCubeType">
<xs:annotation>
<xs:documentation>
An NCube is a 1..n dimension structure which relates a set of individual values to each other by defining them within a matrix.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NCubeGroup" type="NCubeGroupType">
<xs:annotation>
<xs:documentation>
Contains a group of NCubes, which may be ordered or hierarchical.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AttachmentRegionReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing CoordinateRegion using the Reference structure. TypeOfObject should be set to CoordinateRegion.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CoordinateRegion" type="CoordinateRegionType">
<xs:annotation>
<xs:documentation>
Defines the area of attachment for an NCube attribute.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Dimension" type="DimensionType">
<xs:annotation>
<xs:documentation>
A dimension is provided a rank and a reference to a variable that describes it.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MeasureDefinition" type="MeasureDefinitionType">
<xs:annotation>
<xs:documentation>
Defines the structure and type of measure captured within the cells.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Attribute" type="AttributeType">
<xs:annotation>
<xs:documentation>
An attribute may be any object which should be attached to all or part of the NCube.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NCubeGroupReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing NCubeGroup using the Reference structure. TypeOfObject should be set to NCubeGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DimensionValue" type="CohortType">
<xs:annotation>
<xs:documentation>Defines the included values of a dimension.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LogicalRecord" type="LogicalRecordType">
<xs:annotation>
<xs:documentation>
A logical record is a description of all of the elements (variables or NCubes) related to a single case or analysis unit.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RecordRelationship" type="RecordRelationshipType">
<xs:annotation>
<xs:documentation>
Describes the relationship between records of different types or of the same type within a longitudinal study. Identifies the key and linking value relationships.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RelatedValue" type="RelatedValueType">
<xs:annotation>
<xs:documentation>
The characteristic value expressed as a string with an indicator of the specific relationship of the variable value to the characteristic value. The default is "Equal".
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
A reference the variable containing the record type locator and the value being used. Variable
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VariableUsedReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation>
Reference to an existing Variable using the Reference structure. TypeOfObject should be set to Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
A reference the variable containing the segment locator and the value being used. TypeOfObject should be set to Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CaseIdentification" type="CaseIdentificationType">
<xs:annotation>
<xs:documentation>
Describes the information needed to identify an individual case within a record type
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VariablesInRecord" type="VariablesInRecordType">
<xs:annotation>
<xs:documentation>
Identifies the variables contained in the logical record.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CaseSpecification" type="CaseSpecificationType">
<xs:annotation>
<xs:documentation>
Case specification allows different unique identifiers to be used based on the value of an identified variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NCubesInRecord" type="NCubesInRecordType">
<xs:annotation>
<xs:documentation>
Identifies the NCubes and any variables in the record external to NCube structures.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LevelName" type="r:NameType">
<xs:annotation>
<xs:documentation>Name of the Level using the DDI Name structure.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VariableRole" type="r:CodeValueType">
<xs:annotation>
<xs:documentation>
Describes a specific function of the variable, such as identity, weight, geographic variable, time, date, currency, etc. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Identifies the default missing value parameter for the this logical record by referencing a ManagedMissingValuesRepresentation or by stating that there is a default missing values parameter used but it is undocumented.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="DefaultMissingValuesType">
<xs:annotation>
<xs:documentation>
Identifies the default missing value parameter for the this logical record by referencing a ManagedMissingValuesRepresentation or by stating that there is a default missing values parameter used but it is undocumented. Note that a conflicting DefaultMissingValues definition in a PhysicalInstance will override that found in the LogicalRecord.
</xs:documentation>
</xs:annotation>
<xs:choice minOccurs="0">
<xs:element ref="MissingValuesReference">
<xs:annotation>
<xs:documentation>
Reference to the appropriate ManagedMissingValuesRepresentation describing the default values.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element fixed="true" name="DefaultUsedNoDocumentation" type="xs:boolean">
<xs:annotation>
<xs:documentation>
Use when it is known that a default missing values definition was use but there is NO documentation describing its content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:annotation>
<xs:documentation>
A set of RepresentedVariables managed by an agency. RepresentedVariables are the core reusable parts of a Variable. RepresentedVariable maps to the GSIM Represented Variable. In addition to the standard name, label, and description, allows for the inclusion of an existing RepresentedVariableScheme by reference and RepresentedVariables either in-line or by reference. RepresentedVariables may be grouped for management purposes.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="RepresentedVariableSchemeType">
<xs:annotation>
<xs:documentation>
A set of RepresentedVariables managed by an agency. RepresentedVariables are the core reusable parts of a Variable. RepresentedVariable maps to the GSIM Represented Variable. In addition to the standard name, label, and description, allows for the inclusion of an existing RepresentedVariableScheme by reference and RepresentedVariables either in-line or by reference. RepresentedVariables may be grouped for management purposes.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="RepresentedVariableSchemeName">
<xs:annotation>
<xs:documentation>
A name for the RepresentedVariableScheme. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the RepresentedVariableScheme. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the RepresentedVariableScheme. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:RepresentedVariableSchemeReference">
<xs:annotation>
<xs:documentation>
Inclusion of an existing RepresentedVariableScheme by reference. TypeOfObject should be set to RepresentedVariableScheme
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="RepresentedVariable">
<xs:annotation>
<xs:documentation>
Describes a RepresentedVariable contained in the RepresentedVariableScheme. A RepresentedVariable contains a reference to the Concept and Universe (or ConceptualVariable) as well as the representation of the RepresentedVariable. Representation may be provided in-line or by reference to a managed representation. RepresentedVariables are the core reusable parts of a Variable. RepresentedVariable maps to the GSIM Represented Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Inclusion of an existing RepresentedVariable by reference. TypeOfObject should be set to RepresentedVariable.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="RepresentedVariableGroup">
<xs:annotation>
<xs:documentation>
In-line description of a group of RepresentedVariables. RepresentedVariables may be grouped for a wide range of reasons including conceptual or universe grouping, usage, subject or keyword relationships, or other grouping reason that will assist in the management of a group of RepresentedVariables.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
The inclusion of an existing RepresentedVariableGroup by reference. TypeOfObject should be RepresentedVariableGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="RepresentedVariableSchemeName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the RepresentedVariableScheme using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to an existing RepresentedVariableGroup using the Reference structure. TypeOfObject should be RepresentedVariableGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>Contains a group of RepresentedVariables.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="RepresentedVariableGroupType">
<xs:annotation>
<xs:documentation>
Contains a group of RepresentedVariables, which may describe an ordered or hierarchical relationship structure. RepresentedVariables may be grouped for a wide range of reasons including conceptual or universe grouping, usage, subject or keyword relationships, or other grouping reason that will assist in the management of a group of RepresentedVariables. Specifies the purpose of the group, a name, label, and description of the group, its relationship to a specific universe or concept, and lists the members of the group.
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element minOccurs="0" ref="TypeOfRepresentedVariableGroup">
<xs:annotation>
<xs:documentation>
A generic element for specifying a reason for a RepresentedVariableGroup. Note that this element can contain either a term from a controlled vocabulary list or a textual description.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="RepresentedVariableGroupName">
<xs:annotation>
<xs:documentation>
A name for the RepresentedVariableGroup. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the RepresentedVariableGroup. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the content and purpose of the RepresentedVariableGroup. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference">
<xs:annotation>
<xs:documentation>
Reference to the universe statement describing the persons or other objects to which the contents of this group pertain. TypeOfObject should be set to Universe.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
Reference to the concept expressed by the objects in this group. TypeOfObject should be set to Concept.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Subject">
<xs:annotation>
<xs:documentation>
If subjects are listed for this group, it is strongly recommended that the subjects listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of subject at the group level allows for associating objects as a type of subject based group or to identify subject characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Keyword">
<xs:annotation>
<xs:documentation>
If keywords are listed for this group, it is strongly recommended that the keywords listed also be found in the TopicalCoverage element for the parent packaging element when this group is included directly or by reference in a module containing a coverage element. Use of keyword at the group level allows for associating objects as a type of keyword based group or to identify keyword characteristics of a reusable group of objects.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="r:RepresentedVariableReference">
<xs:annotation>
<xs:documentation>
Reference to constituent RepresentedVariable (from the substitution group). TypeOfObject should be set to RepresentedVariable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Reference to constituent RepresentedVariableGroup. This allows for nesting of RepresentedVariableGroups. TypeOfObject should be set to RepresentedVariableGroup.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
<xs:attribute default="false" name="isOrdered" type="xs:boolean">
<xs:annotation>
<xs:documentation>
If set to "true" indicates that the content of the group is ordered as it appears within the XML structure.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="RepresentedVariableGroupName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the InstructionGroup using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
A brief textual description of the type of group created to associate a number of Instructions. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RepresentedVariable" type="RepresentedVariableType">
<xs:annotation>
<xs:documentation>
Describes a RepresentedVariable contained in the RepresentedVariableScheme. A RepresentedVariable contains a reference to the Concept and Universe (or ConceptualVariable) as well as the representation of the RepresentedVariable. Representation may be provided in-line or by reference to a managed representation. RepresentedVariables are the core reusable parts of a Variable. RepresentedVariable maps to the GSIM Represented Variable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="RepresentedVariableType">
<xs:annotation>
<xs:documentation>
Describes a RepresentedVariable contained in the RepresentedVariableScheme. In addition to the standard name, label, and description a RepresentedVariable contains a reference to the Concept and Universe (or ConceptualVariable) as well as the representation of the RepresentedVariable. Representation may be provided in-line or by reference to a managed representation. RepresentedVariables are the core reusable parts of a Variable. RepresentedVariable maps to the GSIM Represented Variable. In addition to the standard name, label, and description
</xs:documentation>
</xs:annotation>
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="RepresentedVariableName">
<xs:annotation>
<xs:documentation>
A name for the RepresentedVariable. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation>
A display label for the RepresentedVariable. Supports multiple language versions of the same content as well as optional formatting of the content. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation>
A description of the RepresentedVariable. Supports multiple language versions of the same content as well as optional formatting of the content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice minOccurs="0">
<xs:element ref="r:ConceptualVariableReference">
<xs:annotation>
<xs:documentation>
A reference to a ConceptualVariable which provides the linkage to the Universe and Concept used by this RepresentedVariable. TypeOfObject should be set to ConceptualVariable.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" ref="r:UnitTypeReference">
<xs:annotation>
<xs:documentation>
Reference to the unit type containing a description of the unit type that this RepresentedVariable refers to, and to which any analytic results refer. TypeOfObject should be set to UnitType.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="r:ConceptReference">
<xs:annotation>
<xs:documentation>
Reference to the concept measured by this RepresentedVariable. TypeOfObject should be set to Concept.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:choice>
<xs:choice minOccurs="0">
<xs:element ref="r:CategorySchemeReference">
<xs:annotation>
<xs:documentation>
DEPRECATED. DDI strongly recommends use of the CategorySchemeReference provided by the ConceptualVariable. Reference to a category scheme that contains the representation domain of the RepresentedVariable. Use this element when only the category specifications are provided. If both a code and the related category must be specified use CodeRepresentation (member of the substitution group ValueRepresentation). TypeOfObject should be set to CategoryScheme.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="r:ValueRepresentation">
<xs:annotation>
<xs:documentation>
Describes the actual representation of the RepresentedVariables' values. ValueRepresentation is the head of a substitution group which supports a number of representation types, i.e. CodeRepresentation, NumericRepresentation, TextRepresentation, DateTimeRepresentation, ScaleRepresentation, GeographicStructureCodeRepresentation, and GeographicLocationCodeRepresentation. Although the structure allows for specification of missing values these features should be used with caution. Like the definition of the universe and concept, the specification of the representation can be constrained by the Variable (the GSIM ImplementedVariable), for example a NumericRepresentation could be constrained with a lower top coding specification. Missing Values can be assigned separately by the Variable without impact on the ValueRepresentation of the specified valid values provided here.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation>
Allows for the use of managed value representations by reference. ValueRepresentationReference is the head of a substitution group which supports a number of representation types not managed within existing schemes, i.e. ManagedNumericRepresentation, ManagedTextRepresentation, ManagedDateTimeRepresentation, and ManagedScaleRepresentation. TypeOfObject should be set to ManagedNumericRepresentation, ManagedTextRepresentation, ManagedDateTimeRepresentation, or ManagedScaleRepresentation.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="RepresentedVariableName" type="r:NameType">
<xs:annotation>
<xs:documentation>
Name of the RepresentedVariable using the DDI Name structure.
</xs:documentation>
</xs:annotation>
</xs:element>
<!-- Classifications -->
<xs:annotation>
<xs:documentation xml:lang="en">
A Correspondence Table expresses the relationship between two Statistical Classifications. These are typically: two versions from the same Classification Series; Statistical Classifications from different Classification Series; a variant and the version on which it is based; different versions of a variant. In the first and last examples, the Correspondence Table facilitates comparability over time. Correspondence relationships are shown in both directions
</xs:documentation>
</xs:annotation>
<xs:complexContent mixed="false">
<xs:extension base="r:DescribableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="OwnerReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The statistical office, other authority or section that created and maintains the Correspondence Table. A Correspondence Table may have several owners. TypeOfObject should be Organization or Individual.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="MaintenanceUnitReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The unit or group of persons who are responsible for the Correspondence Table, i.e. for maintaining and updating it. TypeOfObject should be Organization or Individual.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ContactPersonReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The person(s) who may be contacted for additional information about the Correspondence Table. TypeOfObject should be Organization or Individual.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Publication">
<xs:annotation>
<xs:documentation xml:lang="en">
A list of the publications in which the Correspondence Table has been published.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="SourceClassificationReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The Statistical Classification from which the correspondence is made. TypeOfObject should be StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="TargetClassificationReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The Statistical Classification(s) to which the correspondence is directed. There may be multiple target Statistical Classifications associated with the Correspondence Table. TypeOfObject should be StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="SourceLevelReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The correspondence is normally restricted to a certain Level in the source Statistical Classification. In this case, target Classification Items are assigned only to source Classification Items on the given level. If no level is indicated, target Classification Items can be assigned to any Level of the source Statistical Classification. TypeOfObject should be set to ClassificationLevel.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="TargetLevelReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The correspondence is normally restricted to a certain Level in the target Statistical Classification. In this case, source Classification Items are assigned only to target Classification Items on the given Level. If no Level is indicated, source Classification Items can be assigned to any Level of the target Statistical Classification. TypeOfObject should be set to ClassificationLevel.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="RelationshipMappingType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Correspondence Table can define a 1:1, 1:N, N:1 or M:N relationship between source and target Classification Items. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Maps">
<xs:annotation>
<xs:documentation xml:lang="en">
The relationship between two Statistical Classifications. A Map is an expression of the relation between a Classification Item in a source Statistical Classification and a corresponding Classification Item in the target Statistical Classification. The Map should specify whether the relationship between the two Classification Items is partial or complete. Depending on the relationship type of the Correspondence Table, there may be several Maps for a single source or target Classification Item.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="FloatingMapDate">
<xs:annotation>
<xs:documentation xml:lang="en">
If the source and/or target Statistical Classifications of a Correspondence Table are floating Statistical Classifications, the date of the Correspondence Table must be noted. The Correspondence Table expresses the relationships between the two Statistical Classifications as they existed on the date specified in the Correspondence Table.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="LevelContextType">
<xs:annotation>
<xs:documentation>
Level Context provides the depth of a Level within a Statistical Classification together with its membership. Both depth and membership can be specified per Statistical Classification.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="LevelNumber" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation xml:lang="en">
The number associated with the Level Context. Levels are numbered consecutively starting with Level 1 at the highest (most aggregated) Level.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="1" minOccurs="0">
<xs:element ref="ClassificationLevel">
<xs:annotation>
<xs:documentation>
The structure of a Statistical Classification is defined by its Levels (classification level). Include here links to the relevant Level. Allows for in-line entry of a Classification Level.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ClassificationLevelReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The structure of a Statistical Classification is defined by its Levels (classification level). Include here links to the relevant Level. TypeOfObject should be ClassificationLevel.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ClassificationItem">
<xs:annotation>
<xs:documentation>
A Statistical Classification is composed of categories structured in one or more Levels. Each category is represented by a Classification Item, which defines the content and the borders of the category. Allows for in-line entry of a Classification Item.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ClassificationItemReference">
<xs:annotation>
<xs:documentation xml:lang="en">
A Statistical Classification is composed of categories structured in one or more Levels. Each category is represented by a Classification Item, which defines the content and the borders of the category. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:element name="LevelContext" type="LevelContextType">
<xs:annotation>
<xs:documentation xml:lang="en">
Level Context provides the depth of a Level within a Statistical Classification together with its membership. Both depth and membership can be specified per Statistical Classification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RelationshipMappingType" type="r:CodeValueType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Correspondence Table can define a 1:1, 1:N, N:1 or M:N relationship between source and target Classification Items. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FloatingMapDate" type="r:BaseDateType">
<xs:annotation>
<xs:documentation xml:lang="en">
If the source and/or target Statistical Classifications of a Correspondence Table are floating Statistical Classifications, the date of the Correspondence Table must be noted. The Correspondence Table expresses the relationships between the two Statistical Classifications as they existed on the date specified in the Correspondence Table.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
A Correspondence Table expresses the relationship between two Statistical Classifications. These are typically: two versions from the same Classification Series; Statistical Classifications from different Classification Series; a variant and the version on which it is based; different versions of a variant. In the first and last examples, the Correspondence Table facilitates comparability over time. Correspondence relationships are shown in both directions
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OwnerReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation xml:lang="en">
The statistical office, other authority or section that created and maintains the Correspondence Table. A Correspondence Table may have several owners. TypeOfObject should be set to Organization or Individual.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MaintenanceUnitReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation xml:lang="en">
The unit or group of persons who are responsible for the Correspondence Table, i.e. for maintaining and updating it. TypeOfObject should be set to Organization or Individual.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ContactPersonReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation xml:lang="en">
The person(s) who may be contacted for additional information about the Correspondence Table. TypeOfObject should be set to Organization or Individual.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
The Statistical Classification from which the correspondence is made. TypeOfObject should be set to StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
The Statistical Classification(s) to which the correspondence is directed. There may be multiple target Statistical Classifications associated with the Correspondence Table. TypeOfObject should be set to StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SourceLevelReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation xml:lang="en">
The correspondence is normally restricted to a certain Level in the source Statistical Classification. In this case, target Classification Items are assigned only to source Classification Items on the given level. If no level is indicated, target Classification Items can be assigned to any Level of the source Statistical Classification. TypeOfObject should be set to ClassificationLevel.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TargetLevelReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation xml:lang="en">
The correspondence is normally restricted to a certain Level in the target Statistical Classification. In this case, source Classification Items are assigned only to target Classification Items on the given Level. If no Level is indicated, source Classification Items can be assigned to any Level of the target Statistical Classification. TypeOfObject should be set to ClassificationLevel.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Maps" type="ClassificationMapType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Map is an expression of the relation between a Classification Item in a source Statistical Classification and a corresponding Classification Item in the target Statistical Classification. The Map should specify whether the relationship between the two Classification Items is partial or complete. Depending on the relationship type of the Correspondence Table, there may be several Maps for a single source or target Classification Item.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ClassificationFamilyType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Family is a group of Classification Series related from a particular point of view. The Classification Family is related by being based on a common concept (e.g. economic activity).
</xs:documentation>
</xs:annotation>
<xs:complexContent mixed="false">
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Name">
<xs:annotation>
<xs:documentation xml:lang="en">
A name for the Classification Family. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label">
<xs:annotation>
<xs:documentation xml:lang="en">
A display label for the ClassificationFamily. May be expressed in multiple languages. Repeat for labels with different content, for example, labels with differing length limitations.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation xml:lang="en">
A description of the content and purpose of the ClassificationFamily. May be expressed in multiple languages and supports the use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ClassificationSeries">
<xs:annotation>
<xs:documentation>
A Classification Family may refer to a number of Classification Series. Allows for in-line entry of a Classification Series.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Family may refer to a number of Classification Series. TypeOfObject should be set to ClassificationSeries.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Family is a group of Classification Series related from a particular point of view. The Classification Family is related by being based on a common concept (e.g. economic activity).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ClassificationIndexType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Index is an ordered list (alphabetical, in code order etc) of Classification Index Entries. A Classification Index can relate to one particular or to several Statistical Classifications. A Classification Index shows the relationship between text found in statistical data sources (responses to survey questionnaires, administrative records) and one or more Statistical Classifications. A Classification Index may be used to assign the codes for Classification Items to observations in statistical collections.
</xs:documentation>
</xs:annotation>
<xs:complexContent mixed="false">
<xs:extension base="r:DescribableType">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" ref="ReleaseDate">
<xs:annotation>
<xs:documentation xml:lang="en">
Date when the current version of the Classification Index was released.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="MaintenanceUnitReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The unit or group of persons within the organization responsible for the Classification Index, i.e. for adding, changing or deleting Classification Index Entries. TypeOfObject should be set to Organization or Individual
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ContactPersonReference">
<xs:annotation>
<xs:documentation xml:lang="en">
Person(s) who may be contacted for additional information about the Classification Index. TypeOfObject should be set to Organization or Individual.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Publication">
<xs:annotation>
<xs:documentation xml:lang="en">
A list of the publications in which the Classification Index has been published.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Languages">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Index can exist in several languages. Indicates the languages available. If a Classification Index exists in several languages, the number of entries in each language may be different, as the number of terms describing the same phenomenon can change from one language to another. However, the same phenomena should be described in each language. Language is expressed using standard RFC 1766 language codes (for example: fr, en) and may be extended with the use of specific locations (en-UK).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="Corrections">
<xs:annotation>
<xs:documentation xml:lang="en">
Summary description of corrections, which have occurred within the Classification Index. Corrections include changing the item code associated with a Classification Index Entry. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="CodingInstructions">
<xs:annotation>
<xs:documentation xml:lang="en">
Additional information which drives the coding process for all entries in a Classification Index. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ClassificationIndexEntry">
<xs:annotation>
<xs:documentation xml:lang="en">
An ordered list (alphabetical, in code order etc.) of Classification Index Entries.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ReleaseDate" type="r:BaseDateType">
<xs:annotation>
<xs:documentation xml:lang="en">
Date when the current version of the Classification Index was released.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Languages" type="xs:language">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Index can exist in several languages. Indicates the languages available. If a Classification Index exists in several languages, the number of entries in each language may be different, as the number of terms describing the same phenomenon can change from one language to another. However, the same phenomena should be described in each language. Language is expressed using standard RFC 1766 language codes (for example: fr, en) and may be extended with the use of specific locations (en-UK).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Corrections" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation xml:lang="en">
Summary description of corrections, which have occurred within the Classification Index. Corrections include changing the item code associated with a Classification Index Entry. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CodingInstructions" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation xml:lang="en">
Additional information which drives the coding process for all entries in a Classification Index. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Index Entry is a word or a short text (e.g. the name of a locality, an economic activity or an occupational title) describing a type of object/unit or object property to which a Classification Item applies, together with the code of the corresponding Classification Item. Each Classification Index Entry typically refers to one item of the Statistical Classification. Although a Classification Index Entry may be associated with a Classification Item at any Level of a Statistical Classification, Classification Index Entries are normally associated with Classification Items at the lowest Level.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClassificationIndex" type="ClassificationIndexType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Index is an ordered list (alphabetical, in code order etc) of Classification Index Entries. A Classification Index can relate to one particular or to several Statistical Classifications. A Classification Index shows the relationship between text found in statistical data sources (responses to survey questionnaires, administrative records) and one or more Statistical Classifications. A Classification Index may be used to assign the codes for Classification Items to observations in statistical collections.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ClassificationItemType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Item represents a Category at a certain Level within a Statistical Classification. It defines the content and the borders of the category. An object/unit can be classified to one and only one Classification Item at each Level of a Statistical Classification.
</xs:documentation>
</xs:annotation>
<xs:complexContent mixed="false">
<xs:extension base="r:DescribableType">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" ref="ItemCode">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Item is identified by an alphabetical, numerical or alphanumerical code, which is in line with the code structure of the Level. The code is unique within the Statistical Classification to which the Classification Item belongs.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:DefiningConceptReference">
<xs:annotation>
<xs:documentation xml:lang="en">
A concept which describes the Classification Item. TypeOfObject should be set to Concept.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="Includes">
<xs:annotation>
<xs:documentation xml:lang="en">
Specifies the contents of the category. Supports multiple languages and use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="IncludesAlso">
<xs:annotation>
<xs:documentation xml:lang="en">
A list of borderline cases, which belong to the described category. Supports multiple languages and use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="Excludes">
<xs:annotation>
<xs:documentation xml:lang="en">
A list of borderline cases, which do not belong to the described category. Excluded cases may contain a reference to the Classification Items to which the excluded cases belong. Supports multiple languages and use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ExcludedClassificationItemReference">
<xs:annotation>
<xs:documentation xml:lang="en">
A reference to the Classification Items to which the excluded cases belong. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="IsGenerated" type="xs:boolean">
<xs:annotation>
<xs:documentation xml:lang="en">
Indicates whether or not the Classification Item has been generated to make the Level to which it belongs complete.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="IsValid" type="xs:boolean">
<xs:annotation>
<xs:documentation xml:lang="en">
If updates are allowed in the Statistical Classification, a Classification Item may be restricted in its validity, i.e. it may become valid or invalid after the Statistical Classification has been released. Indicates whether or not the Classification Item is currently valid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="ValidFrom">
<xs:annotation>
<xs:documentation xml:lang="en">
Date from which the Classification Item became valid. The date must be defined if the Classification Item belongs to a floating Statistical Classification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="ValidTo">
<xs:annotation>
<xs:documentation xml:lang="en">
Date at which the Classification Item became invalid. The date must be defined if the Classification Item belongs to a floating Statistical Classification and is no longer valid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="FutureEvents">
<xs:annotation>
<xs:documentation xml:lang="en">
The future events describe a change (or a number of changes) related to an invalid Classification Item. These changes may e.g. have turned the now invalid Classification Item into one or several successor Classification Items. In describing these changes, terminology from the Typology of item changes, found in Appendix 3 should be used. This allows the possibility to follow successors of the Classification Item in the future. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SuccessorClassificationItemReference">
<xs:annotation>
<xs:documentation xml:lang="en">
Future events may e.g. have turned the now invalid Classification Item into one or several successor Classification Items, listed here. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="ChangesFromPriorVersion">
<xs:annotation>
<xs:documentation xml:lang="en">
Describes the changes, which the Classification Item has been subject to from the previous version to the actual Statistical Classification. In describing these changes, terminology from the Typology of item changes, found in Appendix 3 of GSIM should be used. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="Updates">
<xs:annotation>
<xs:documentation xml:lang="en">
Describes the changes, which the Classification Item has been subject to during the life time of the actual Statistical Classification. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="ParentClassificationItemReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The Classification Item at the next higher Level of the Statistical Classification of which the actual Classification Item is a sub item. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CaseLaw">
<xs:annotation>
<xs:documentation xml:lang="en">
Refers to one or more case law rulings related to the Classification Item.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="ItemCode" type="xs:string">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Item is identified by an alphabetical, numerical or alphanumerical code, which is in line with the code structure of the Level. The code is unique within the Statistical Classification to which the Classification Item belongs.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Includes" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation xml:lang="en">
Specifies the contents of the category. Supports multiple languages and use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncludesAlso" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation xml:lang="en">
A list of borderline cases, which belong to the described category. Supports multiple languages and use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Excludes" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation xml:lang="en">
A list of borderline cases, which do not belong to the described category. Excluded cases may contain a reference to the Classification Items to which the excluded cases belong. Supports multiple languages and use of structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
A reference to the Classification Items to which the excluded cases belong. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
The Classification Level to which the Classification Item belongs. TypeOfObject should be set to ClassificationLevel.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ValidFrom" type="r:BaseDateType">
<xs:annotation>
<xs:documentation xml:lang="en">
Date from which the Classification Item became valid. The date must be defined if the Classification Item belongs to a floating Statistical Classification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ValidTo" type="r:BaseDateType">
<xs:annotation>
<xs:documentation xml:lang="en">
Date at which the Classification Item became invalid. The date must be defined if the Classification Item belongs to a floating Statistical Classification and is no longer valid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FutureEvents" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation xml:lang="en">
The future events describe a change (or a number of changes) related to an invalid Classification Item. These changes may e.g. have turned the now invalid Classification Item into one or several successor Classification Items. In describing these changes, terminology from the Typology of item changes, found in Appendix 3 should be used. This allows the possibility to follow successors of the Classification Item in the future. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
Future events may e.g. have turned the now invalid Classification Item into one or several successor Classification Items, listed here. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
Describes the changes, which the Classification Item has been subject to from the previous version to the actual Statistical Classification. In describing these changes, terminology from the Typology of item changes, found in Appendix 3 of GSIM should be used. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Updates" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation xml:lang="en">
Describes the changes, which the Classification Item has been subject to during the life time of the actual Statistical Classification. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
The Classification Item at the next higher Level of the Statistical Classification of which the actual Classification Item is a sub item. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CaseLaw" type="CaseLawType">
<xs:annotation>
<xs:documentation xml:lang="en">
Refers to one or more case law rulings related to the Classification Item.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClassificationItem" type="ClassificationItemType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Item represents a Category at a certain Level within a Statistical Classification. It defines the content and the borders of the category. An object/unit can be classified to one and only one Classification Item at each Level of a Statistical Classification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ClassificationLevelType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Statistical Classification has a structure which is composed of one or several Levels. A Level often is associated with a concept, which defines it. In a hierarchical Statistical Classification the Classification Items of each Level but the highest are aggregated to the nearest higher Level. A linear Statistical Classification has only one Level.
</xs:documentation>
</xs:annotation>
<xs:complexContent mixed="false">
<xs:extension base="r:DescribableType">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" ref="LevelCodeType">
<xs:annotation>
<xs:documentation xml:lang="en">
Indicates whether the code at the Level is alphabetical, numerical or alphanumerical. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="LevelCodeStructure">
<xs:annotation>
<xs:documentation xml:lang="en">
Indicates how the code at the Level is constructed of numbers, letters and separators. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="DummyCode">
<xs:annotation>
<xs:documentation xml:lang="en">
Rule for the construction of dummy codes from the codes of the next higher Level (used when one or several categories are the same in two consecutive Levels). Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:DefiningConceptReference">
<xs:annotation>
<xs:documentation xml:lang="en">
A concept which describes the level. TypeOfObject should be set to Concept.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="LevelCodeType" type="r:CodeValueType">
<xs:annotation>
<xs:documentation xml:lang="en">
Indicates whether the code at the Level is alphabetical, numerical or alphanumerical. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LevelCodeStructure" type="r:CodeValueType">
<xs:annotation>
<xs:documentation xml:lang="en">
Indicates how the code at the Level is constructed of numbers, letters and separators. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DummyCode" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation xml:lang="en">
Rule for the construction of dummy codes from the codes of the next higher Level (used when one or several categories are the same in two consecutive Levels). Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClassificationLevel" type="ClassificationLevelType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Statistical Classification has a structure which is composed of one or several Levels. A Level often is associated with a concept, which defines it. In a hierarchical Statistical Classification the Classification Items of each Level but the highest are aggregated to the nearest higher Level. A linear Statistical Classification has only one Level.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ClassificationSeriesType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Series is an ensemble of one or several consecutive Statistical Classifications under a particular heading (for example ISIC or ISCO).
</xs:documentation>
</xs:annotation>
<xs:complexContent mixed="false">
<xs:extension base="r:DescribableType">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" ref="SeriesContext">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Series can be designed in a specific context. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="UnitTypeClassifiedReference">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Series is designed to classify a specific type of object/unit according to a specific attribute. TypeOfObject should be set to UnitType.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="SubjectArea">
<xs:annotation>
<xs:documentation xml:lang="en">
Areas of statistics in which the Classification Series is implemented. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="OwnerReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The statistical office or other authority, which created and maintains the Statistical Classification(s) related to the Classification Series. A Classification Series may have several owners. TypeOfObject should be set to Organization or Individual.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Keyword">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Series can be associated with one or a number of keywords. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="StatisticalClassification">
<xs:annotation>
<xs:documentation>
A Classification Series has at least one Statistical Classification. Allows for in-line entry of a Statistical Classification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Series has at least one Statistical Classification. TypeOfObject should be set to StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element maxOccurs="1" minOccurs="0" ref="CurrentStatisticalClassificationReference">
<xs:annotation>
<xs:documentation xml:lang="en">
If there are several Statistical Classifications related to a Classification Series, one Statistical Classification may be assigned as the currently valid Statistical Classification. TypeOfObject should be set to StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="SeriesContext" type="r:CodeValueType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Series can be designed in a specific context. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="UnitTypeClassifiedReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Series is designed to classify a specific type of object/unit according to a specific attribute. TypeOfObject should be set to UnitType.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SubjectArea" type="r:CodeValueType">
<xs:annotation>
<xs:documentation xml:lang="en">
Areas of statistics in which the Classification Series is implemented. Supports the use of an external controlled vocabulary.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
If there are several Statistical Classifications related to a Classification Series, one Statistical Classification may be assigned as the currently valid Statistical Classification. TypeOfObject should be set to StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Series is an ensemble of one or several consecutive Statistical Classifications under a particular heading (for example ISIC or ISCO).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="StatisticalClassificationType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Statistical Classification is a set of categories which may be assigned to one or more variables registered in statistical surveys or administrative files, and used in the production and dissemination of statistics. The categories at each level of the classification structure must be mutually exclusive and jointly exhaustive of all objects/units in the population of interest. The categories are defined with reference to one or more characteristics of a particular population of units of observation. A Statistical Classification may have a flat, linear structure or may be hierarchically structured, such that all categories at lower Levels are sub-categories of categories at the next Level up. Categories in Statistical Classifications are represented in the information model as Classification Items.
</xs:documentation>
</xs:annotation>
<xs:complexContent mixed="false">
<xs:extension base="r:DescribableType">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" ref="ReleaseDate">
<xs:annotation>
<xs:documentation xml:lang="en">
Date on which the Statistical Classification was released.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="TerminationDate">
<xs:annotation>
<xs:documentation xml:lang="en">
Date on which the Statistical Classification was superseded by a successor version or otherwise ceased to be valid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="IsCurrent" type="xs:boolean">
<xs:annotation>
<xs:documentation xml:lang="en">
Indicates whether or not the Statistical Classification is currently valid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="MaintenanceUnitReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The unit or group of persons within the organization who are responsible for the Statistical Classification (i.e, for maintaining, updating and changing it). TypeOfObject should be set to Organization or Individual.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="ContactPersonReference">
<xs:annotation>
<xs:documentation xml:lang="en">
Person(s) who may be contacted for additional information about the Statistical Classification. TypeOfObject should be set to Organization or Individual.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="LegalBase">
<xs:annotation>
<xs:documentation xml:lang="en">
Indicates that the Statistical Classification is covered by a legal act or by some other formal agreement. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Publication">
<xs:annotation>
<xs:documentation xml:lang="en">
A list of the publications, including print, PDF, HTML and other electronic formats, in which the Statistical Classification has been published.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="r:Copyright">
<xs:annotation>
<xs:documentation xml:lang="en">
Statistical Classifications may have restricted copyrights. Such Statistical Classifications might be excluded from downloading. Notes the copyright statement that should be displayed in official publications to indicate the copyright owner.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="IsDisseminationAllowed" type="xs:boolean">
<xs:annotation>
<xs:documentation xml:lang="en">
Indicates whether or not the Statistical Classification may be published or otherwise disseminated (e.g. electronic dissemination).
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="LevelContext">
<xs:annotation>
<xs:documentation xml:lang="en">
Level Context provides the depth of a Level within a Statistical Classification together with its membership. Both depth and membership can be specified per Statistical Classification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="ClassificationIndex">
<xs:annotation>
<xs:documentation>
A Statistical Classification can be associated with one or a number of Classification Indexes in which Classification Index Entries are linked to the appropriate Classification Item. Include here links to any relevant Classification Indexes. Allows for in-line entry of a Classification Indexes.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element ref="ClassificationIndexReference">
<xs:annotation>
<xs:documentation xml:lang="en">
A Statistical Classification can be associated with one or a number of Classification Indexes in which Classification Index Entries are linked to the appropriate Classification Item. Include here links to any relevant Classification Indexes. TypeOfObject should be set to ClassificationIndex.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
<xs:element maxOccurs="1" minOccurs="0" name="IsVersion" type="xs:boolean">
<xs:annotation>
<xs:documentation xml:lang="en">
Indicates if the Statistical Classification is a version.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="IsUpdate" type="xs:boolean">
<xs:annotation>
<xs:documentation xml:lang="en">
Indicates if the Statistical Classification is an update.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="IsFloating" type="xs:boolean">
<xs:annotation>
<xs:documentation xml:lang="en">
Indicates if the Statistical Classification is a floating classification. In a floating statistical classification, a validity period should be defined for all Classification Items which will allow the display of the item structure and content at different points of time.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="PredecessorReference">
<xs:annotation>
<xs:documentation xml:lang="en">
For those Statistical Classifications that are versions or updates, notes the preceding Statistical Classification of which the actual Statistical Classification is the successor. TypeOfObject should be set to StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="SuccessorReference">
<xs:annotation>
<xs:documentation xml:lang="en">
Notes the Statistical Classification that superseded the actual Statistical Classification. TypeOfObject should be set to StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="DerivedFromReference">
<xs:annotation>
<xs:documentation xml:lang="en">
A Statistical Classification can be derived from one of the classification versions of another Classification Series. The derived Statistical Classification can either inherit the structure of the classification version from which it is derived, usually adding more detail, or use a large part of its Classification Items, rearranging them in a different structure. Indicates the classification version from which the actual Statistical Classification is derived. TypeOfObject should be set to StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="ChangesFromPreceding">
<xs:annotation>
<xs:documentation xml:lang="en">
A summary description of the nature and content of changes from the preceding version or update. Specific changes are recorded in the Classification Item object under the -Changes from previous version and updates- attribute. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="UpdatesAllowed" type="xs:boolean">
<xs:annotation>
<xs:documentation xml:lang="en">
Indicates whether or not updates are allowed within the classification version i.e. without leading to a new version.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="PermissibleUpdates">
<xs:annotation>
<xs:documentation xml:lang="en">
If Updates are Allowed, Indicate here what structural changes, if any, are permissible within a version. Note whether Classification Items can be added to the structure and whether they can be revalidated or invalidated. Such changes are more likely to be permissible in floating classifications. Also indicate whether changes to such things as Classification Item names and explanatory notes that do not involve structural changes are permissible within a version. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="Updates">
<xs:annotation>
<xs:documentation xml:lang="en">
Summary description of changes which have occurred since the most recent classification version or classification update came into force. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="VariantOfReference">
<xs:annotation>
<xs:documentation xml:lang="en">
For those Statistical Classifications that are variants, notes the Statistical Classification on which it is based and any subsequent versions of that Statistical Classification to which it is also applicable. TypeOfObject should be set to StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="VariantChangesFromBase">
<xs:annotation>
<xs:documentation xml:lang="en">
Describes the relationship between the variant and its base Statistical Classification, including regrouping, aggregations added and extensions. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="VariantPurpose">
<xs:annotation>
<xs:documentation xml:lang="en">
If the Statistical Classification is a variant, notes the specific purpose for which it was developed. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="TerminationDate" type="r:BaseDateType">
<xs:annotation>
<xs:documentation xml:lang="en">
Date on which the Statistical Classification was superseded by a successor version or otherwise ceased to be valid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LegalBase" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation xml:lang="en">
Indicates that the Statistical Classification is covered by a legal act or by some other formal agreement. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ClassificationItemReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Statistical Classification is composed of categories structured in one or more Levels. Each category is represented by a Classification Item, which defines the content and the borders of the category. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
A Statistical Classification can be associated with one or a number of Classification Indexes in which Classification Index Entries are linked to the appropriate Classification Item. Include here links to any relevant Classification Indexes. TypeOfObject should be set to ClassificationIndex.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PredecessorReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation xml:lang="en">
For those Statistical Classifications that are versions or updates, notes the preceding Statistical Classification of which the actual Statistical Classification is the successor. TypeOfObject should be set to StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SuccessorReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation xml:lang="en">
Notes the Statistical Classification that superseded the actual Statistical Classification. TypeOfObject should be set to StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DerivedFromReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Statistical Classification can be derived from one of the classification versions of another Classification Series. The derived Statistical Classification can either inherit the structure of the classification version from which it is derived, usually adding more detail, or use a large part of its Classification Items, rearranging them in a different structure. Indicates the classification version from which the actual Statistical Classification is derived. TypeOfObject should be set to StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ChangesFromPreceding" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation xml:lang="en">
A summary description of the nature and content of changes from the preceding version or update. Specific changes are recorded in the Classification Item object under the -Changes from previous version and updates- attribute. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PermissibleUpdates" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation xml:lang="en">
If Updates are Allowed, Indicate here what structural changes, if any, are permissible within a version. Note whether Classification Items can be added to the structure and whether they can be revalidated or invalidated. Such changes are more likely to be permissible in floating classifications. Also indicate whether changes to such things as Classification Item names and explanatory notes that do not involve structural changes are permissible within a version. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VariantOfReference" type="r:ReferenceType">
<xs:annotation>
<xs:documentation xml:lang="en">
For those Statistical Classifications that are variants, notes the Statistical Classification on which it is based and any subsequent versions of that Statistical Classification to which it is also applicable. TypeOfObject should be set to StatisticalClassification.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
Describes the relationship between the variant and its base Statistical Classification, including regrouping, aggregations added and extensions. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VariantPurpose" type="r:StructuredStringType">
<xs:annotation>
<xs:documentation xml:lang="en">
If the Statistical Classification is a variant, notes the specific purpose for which it was developed. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
A Statistical Classification is a set of categories which may be assigned to one or more variables registered in statistical surveys or administrative files, and used in the production and dissemination of statistics. The categories at each level of the classification structure must be mutually exclusive and jointly exhaustive of all objects/units in the population of interest. The categories are defined with reference to one or more characteristics of a particular population of units of observation. A Statistical Classification may have a flat, linear structure or may be hierarchically structured, such that all categories at lower Levels are sub-categories of categories at the next Level up. Categories in Statistical Classifications are represented in the information model as Classification Items.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="CaseLawType">
<xs:annotation>
<xs:documentation xml:lang="en">
Refers to a case law ruling related to the Classification Item.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CaseLawName">
<xs:annotation>
<xs:documentation xml:lang="en">
Case Law Name. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="r:Description">
<xs:annotation>
<xs:documentation xml:lang="en">
A description of the case law. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="CaseLawDate">
<xs:annotation>
<xs:documentation xml:lang="en">Date of the case law ruling.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="CaseLawName" type="r:NameType">
<xs:annotation>
<xs:documentation xml:lang="en">
Case Law Name. May be expressed in multiple languages. Repeat the element to express names with different content, for example different names for different systems.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CaseLawDate" type="r:BaseDateType">
<xs:annotation>
<xs:documentation xml:lang="en">Date of the case law ruling.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ClassificationIndexEntryType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Classification Index Entry is a word or a short text (e.g. the name of a locality, an economic activity or an occupational title) describing a type of object/unit or object property to which a Classification Item applies, together with the code of the corresponding Classification Item. Each Classification Index Entry typically refers to one item of the Statistical Classification. Although a Classification Index Entry may be associated with a Classification Item at any Level of a Statistical Classification, Classification Index Entries are normally associated with Classification Items at the lowest Level.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" ref="EntryText">
<xs:annotation>
<xs:documentation xml:lang="en">
Text describing the type of object/unit or object property. Supports the use of multiple languages.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="CodesClassificationItemReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The Classification Item with which the Classification Index Entry is associated. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="ValidFrom">
<xs:annotation>
<xs:documentation xml:lang="en">
Date from which the Classification Index Entry became valid. The date must be defined if the Classification Index Entry belongs to a floating Classification Index.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="ValidTo">
<xs:annotation>
<xs:documentation xml:lang="en">
Date at which the Classification Index Entry became invalid. The date must be defined if the Classification Index Entry belongs to a floating Classification Index and is no longer valid.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="CodingInstructions">
<xs:annotation>
<xs:documentation xml:lang="en">
Additional information which drives the coding process. Required when coding is dependent upon one or many other factors. Supports the use of multiple languages and structured content.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="EntryText" type="r:InternationalStringType">
<xs:annotation>
<xs:documentation xml:lang="en">
Text describing the type of object/unit or object property. Supports the use of multiple languages.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
The Classification Item with which the Classification Index Entry is associated. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="ClassificationMapType">
<xs:annotation>
<xs:documentation xml:lang="en">
A Map is an expression of the relation between a Classification Item in a source Statistical Classification and a corresponding Classification Item in the target Statistical Classification. The Map should specify whether the relationship between the two Classification Items is partial or complete. Depending on the relationship type of the Correspondence Table, there may be several Maps for a single source or target Classification Item.
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" ref="SourceClassificationItemReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The source item refers to the Classification Item in the source Statistical Classification. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="TargetClassificationItemReference">
<xs:annotation>
<xs:documentation xml:lang="en">
The target item refers to the Classification Item in the target Statistical Classification. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="IsComplete" type="xs:boolean">
<xs:annotation>
<xs:documentation xml:lang="en">
Specifies whether the relationship between the two Classification Items is partial or complete.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="ValidFrom">
<xs:annotation>
<xs:documentation xml:lang="en">
Date from which the Map became valid. The date must be defined if the Map belongs to a floating Correspondence Table.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" ref="ValidTo">
<xs:annotation>
<xs:documentation xml:lang="en">
Date at which the Map became invalid. The date must be defined if the Map belongs to a floating Correspondence Table and is no longer valid.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:annotation>
<xs:documentation xml:lang="en">
The source item refers to the Classification Item in the source Statistical Classification. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:annotation>
<xs:documentation xml:lang="en">
The target item refers to the Classification Item in the target Statistical Classification. TypeOfObject should be set to ClassificationItem.
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IsComplete" type="xs:boolean">
<xs:annotation>
<xs:documentation xml:lang="en">
Specifies whether the relationship between the two Classification Items is partial or complete.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:schema>

XML schema documentation generated with DocFlex/XML 1.12 using DocFlex/XML XSDDoc 2.9.0 template set