ddi:logicalproduct:3_0
Imports: ddi:reusable:3_0 (reusable.xsd)
Global Elements
BaseLogicalProduct (BaseLogicalProductType): [abstract]
LogicalProduct (LogicalProductType): [substitution: BaseLogicalProduct]
ValueRepresentation (r:RepresentationType): [abstract] Substitution group head for describing the representation value of the variable.
TextRepresentation (r:TextRepresentationType): [substitution: ValueRepresentation] Defines the representation of a varaible as a text field. This field can be restricted to a length.
DateTimeRepresentation (r:DateTimeRepresentationType): [substitution: ValueRepresentation] Defines the representation of a varaible as a date or time value.
NumericRepresentation (r:NumericRepresentationType): [substitution: ValueRepresentation] Defines the representation of a varaible as a number, number range, or sequence, or set interval of numbers.
ExternalCategoryRepresentation (r:ExternalCategoryRepresentationType): [substitution: ValueRepresentation] Structures
a response domain based on a categorization that is external to DDI,
for example, a category list for occupations or geography.
CodeRepresentation (CodeRepresentationType): [substitution: ValueRepresentation] Defines the representation of a variable as a set or subset of codes from a code scheme.
CodeSchemeReference (CodeSchemeReferenceType): References a code scheme, or part of a code scheme.
NCubeLogicalProduct (NCubeLogicalProductType): [substitution: BaseLogicalProduct]
NCubeSchemeReference (r:SchemeReferenceType):
AggregationDefinition (AggregationDefinitionType):
GroupType (r:CodeValueType): A
generic element for specifying a reason for a variable or nCube group.
Note that this element can contain either a term from a controlled
vocabulary list or a textual description.
GroupTypeCoded (GroupTypeCodedType): [substitution: GroupType] A suggested controlled vocabulary of group types.
CategoryScheme (CategorySchemeType): 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.
CategorySchemeReference (r:SchemeReferenceType): Reference to a previously defined category scheme either internal to or external to the xml instance.
CodeScheme (CodeSchemeType): Provides
a description of a set of categories that have a specific relationship,
such as the categories Male and Female that can be grouped together as
Gender. Categories (e.g., Male and Female) can belong to multiple code
schemes. The code scheme also provides the unique code values for each
of the categories in the code scheme.
NCubeScheme (NCubeSchemeType): Contains a collection of NCubes and NCube groups.
VariableScheme (VariableSchemeType): Contains a collection of variables and variable groups.
DataRelationship (DataRelationshipType): 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
variableH the unique family by the concatenation of variableH and
variableF and the unique person within a household by the concatenation
of variableH and variableP.
Category (CategoryType): 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.
CategoryGroup (CategoryGroupType): Allows for grouping of categories.
Generation (GenerationType): Generation/derivation details of the category.
Definition (r:StructuredStringType): Definition
of the category. Note that comparison of categories is determined by
the Definition rather than the Label. For example, while the Definition
of a Chemist in London and a Pharmacist in New York is the same and
comparable, the definitions of Chemist in each location differ
significantly and are NOT comparable
HierarchyType (HierarchyCodeType): Identifies
the type of hierarchy used in the nesting of categories within the code
scheme. Possible values are Regular and Irregular. A regular nesting
indicates that the category hierarchy is consistent to the lowest
levels of the hierarchy, i.e. the lowest levels of the hierarchy are at
the same level for every branch on the hierarchy.
Level (LevelType): Used
to describe the levels of the code scheme hierarchy. The level
describes the nesting structure of a hierarchical coding structure. The
use of Level relates back to the inclusion of descriptions for nested
categories in version 2.1. Levels take the place of category groups as
they were used in DDI versions through 2.1. Category groups in version
2.1 became upper category levels in hierarchical descriptions in
version 3. 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.
Code (CodeType): Reference
to included category is found in the ReferenceType. This standard type
is extended by the CodeType which allows for additional information
regarding the category as well as nesting of codes.
RelationshipType (r:CategoryRelationCodeType): Code
describing the relationship between categories of the level. Possible
values are either Nominal, Ordinal, or Interval. Note that different
levels may have different values within the same hierarchy. For example
Level 1 items may be ordinal and Level 2 (the children of Level 1
items) may be nominal.
Interval (IntervalType): Identifies
the interval between each value of the categories for this variable.
Used only for categories with interval relationship
Variable (VariableType): Describes a variable contained in the variable scheme.
VariableReference (r:ReferenceType): References a variable contained in the variable scheme.
VariableGroup (VariableGroupType): Describes a variable group contained in the variable scheme.
VariableGroupReference (r:ReferenceType): References a variable group contained in the variable scheme.
VariableDefinition (r:StructuredStringType): Additional textual descriptions of the variable.
ConceptReference (r:ReferenceType): General
concept to which this variable belongs. The concept itself is found in
the studyunit module. Reference to a concept may either be made
directly through this element or via a reference to a question that is
linked to a concept.
QuestionReference (r:ReferenceType): Reference to question(s) used to collect data for this variable. The question is found in the datacollection module.
EmbargoReference (r:ReferenceType): Reference to embargo information pertaining to this variable.
Representation (RepresentationType): Describes the representation of the variable, including categories, data typing, and computation information.
WeightVariableReference (r:ReferenceType): Reference to weight variable(s) to be used with this variable.
StandardWeightReference (r:ReferenceType): Reference to a standard weight, as described in the DataCollection module.
ImputationReference (r:ReferenceType): Reference to the imputation process described in the Data Processing section
ConcatenatedValue (ConcatenatedValueType): Provides
a reference to another variable 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.
CodingInstructionsReference (r:ReferenceType): Any
special instructions that were provided to those who converted
information from one form to another to derive a particular variable.
This might include the reordering of numeric information into another
form or the conversion of textual information into numeric information.
The specifics of this process are provided in the data collection
module element Coding, which is referenced here.
IncludedCodeReference (IncludedCodeReferenceType): Allows selection of code schemes to use not based on levels.
DataExistence (DataExisitenceType): Allows
for inclusion of upper level categories that will not have associated
data. In this case they act as the DDI version 2 form of category group.
VariableConcatenation (VariableConcatenationType): Describes
the concatenation of other variables, based on a category value of this
variable that can be used to identify or locate a specific record of
this type. Used to identify unique identification string for a record
of a specific category type. For example: A summary level indicating a
state record may only require a STATE code to identify it in addition
to its summary level category value, while a COUNTY would require a
specific summary level value plus a STATE code and a COUNTY code.
ComponentReference (r:ReferenceType): Reference to variable or category used for the derivation.
NCube (NCubeType): Describes and NCube.
NCubeGroup (NCubeGroupType): Describes a group of NCubes.
AttachmentLevel (AttachmentLevelCodeType): Identifies attachment level of attribute
AttachmentGroupReference (r:ReferenceType): References the coordinate group to which the attribute attaches.
Purpose (r:InternationalStringType): Purpose for which the nCube was created.
CoordinateGroup (CoordinateGroupType): Defines groups of dimensions (given particular values) to which attributes can be attached.
Dimension (DimensionType): Defines a variable as a dimension of the nCube, and should be repeated to describe each of the nCube's dimensions.
Measure (MeasureType): The measurement features of the cell content (repeatable only for regularly bundled arrays of cell content).
Attribute (AttributeType): Defines a variable that describes an attribute of all or coordinate sections of the NCube.
NCubeReference (r:ReferenceType): Constituent variable.
NCubeGroupReference (r:ReferenceType): Constituent variable group. This allows for nesting of variable groups.
DimensionValue (CohortType): Defines a variable as a dimension of the coordinate group.
VariableSchemeReference (r:SchemeReferenceType): References a variable scheme for inclusion in another variable scheme.
CategoryReference (r:ReferenceType): Provides the specific category of the variable included.
Range (RangeType): Indicates that the Cube contains only a limited number of categories from the code scheme.
LogicalRecord (LogicalRecordType): A logical record such as a household, family, or person record.
RecordRelationship (RecordRelationshipType): All
relationships are pairwise. Multiple pairwise relationships maybe
needed to clarify all relationships within a logical product.
Value (ValueType): Value of variable indicating this record type.
VariableValueReference (VariableValueReferenceType): Reference to the variable containing the record type locator.
VariableUsedReference (VariableUsedReferenceType): A variable reference which can indicate either inclusion or exclusion from the referenced scheme for each variable.
SupportForMultipleSegments (VariableValueReferenceType): 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.
CaseIdentification (CaseIdentificationType): 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 identify it uniquely.
VariablesInRecord (VariablesInRecordType): List
of all variables used in record either directly or as found in a
defined VariableGroup; note that a variable can be used in multiple
records.
VariableSpecificationReference (VariableSpecificationReferenceType): Repetition allows multi-variable specifications of unique value.
CaseSpecification (CaseSpecificationType): Value of variable indicating this record type, multiple entries allow for multiple valid values or ranges.
RecordReferenceSource (RecordReferenceSourceType): Reference to the Source Record.
RecordReferenceTarget (r:ReferenceType): Reference to the Target Record.
NCubesInRecord (NCubesInRecordType): Lists the NCubes contained in the record.
Complex Types
BaseLogicalProductType: [abstract]
- Content:
- Extends: r:MaintainableType
- Base Content
- Extends: AbstractMaintainableType
- Base Content
- Extends: AbstractVersionableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Extended Content
- Sequence of:
- VersionResponsibility (xs:string) - min. 0
- Person
and/or organization within the MaintenanceAgency responsible for the
version change. This is primarily intended for internal use.
- [Reference] (VersionRationale) - min. 0 - max. unbounded
- Textual description of the rationale/purpose for a version change.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- version (NewVersionType) - optional
- Restricted string - numeric with optional decimal points.
- versionDate (BaseDateType) - optional
- Date of version. Duration should not be used in this field, even though allowed by the ISO format enforced by the parser.
- Extended Attributes
- agency (xs:NCName) - optional
- Maintaining agency as described in Part 1 of the Technical Specification.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (r:Coverage) - min. 0
- 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.
- [Reference] (DataRelationship) - min. 0 - max. unbounded
- 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
variableH, the unique family by the concatenation of variableH and
variableF, and the unique person within a household by the
concatenation of variableH and variableP.
- [Reference] (r:OtherMaterial) - min. 0 - max. unbounded
- Describes
Other Materials not noted in the studyunit module or datacollection
module that have a specific relation to the logical product. For
example the printed data dictionary or printed output for the logical
product.
- [Reference] (r:Note) - min. 0 - max. unbounded
- Notes for the logical product.
- Choice Of: - min. 0 - max. unbounded
- [Reference] (CategoryScheme)
- 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.
- [Reference] (CategorySchemeReference)
- Reference to a previously defined category scheme either internal to or external to the xml instance.
- Choice Of: - min. 0 - max. unbounded
- [Reference] (CodeScheme) - min. 0 - max. unbounded
- Lists
the code values used to represent categories for a variable or
question. Also describes hierarchical relationships between categories
used in the code scheme.
- [Reference] (CodeSchemeReference)
- Reference to a previously defined code scheme either internal to or external to the DDI instance.
- Choice Of: - min. 0 - max. unbounded
- [Reference] (VariableScheme)
- Contains a collection of variables and variable groups.
- [Reference] (VariableSchemeReference)
- A reference to a previously defined variable scheme either internal to or external to the DDI instance.
LogicalProductType: Describes the logical content of standard variables.
- Content:
- Extends: BaseLogicalProductType
- Base Content
- Extends: r:MaintainableType
- Base Content
- Extends: AbstractMaintainableType
- Base Content
- Extends: AbstractVersionableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Extended Content
- Sequence of:
- VersionResponsibility (xs:string) - min. 0
- Person
and/or organization within the MaintenanceAgency responsible for the
version change. This is primarily intended for internal use.
- [Reference] (VersionRationale) - min. 0 - max. unbounded
- Textual description of the rationale/purpose for a version change.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- version (NewVersionType) - optional
- Restricted string - numeric with optional decimal points.
- versionDate (BaseDateType) - optional
- Date of version. Duration should not be used in this field, even though allowed by the ISO format enforced by the parser.
- Extended Attributes
- agency (xs:NCName) - optional
- Maintaining agency as described in Part 1 of the Technical Specification.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (r:Coverage) - min. 0
- 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.
- [Reference] (DataRelationship) - min. 0 - max. unbounded
- 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
variableH, the unique family by the concatenation of variableH and
variableF, and the unique person within a household by the
concatenation of variableH and variableP.
- [Reference] (r:OtherMaterial) - min. 0 - max. unbounded
- Describes
Other Materials not noted in the studyunit module or datacollection
module that have a specific relation to the logical product. For
example the printed data dictionary or printed output for the logical
product.
- [Reference] (r:Note) - min. 0 - max. unbounded
- Notes for the logical product.
- Choice Of: - min. 0 - max. unbounded
- [Reference] (CategoryScheme)
- 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.
- [Reference] (CategorySchemeReference)
- Reference to a previously defined category scheme either internal to or external to the xml instance.
- Choice Of: - min. 0 - max. unbounded
- [Reference] (CodeScheme) - min. 0 - max. unbounded
- Lists
the code values used to represent categories for a variable or
question. Also describes hierarchical relationships between categories
used in the code scheme.
- [Reference] (CodeSchemeReference)
- Reference to a previously defined code scheme either internal to or external to the DDI instance.
- Choice Of: - min. 0 - max. unbounded
- [Reference] (VariableScheme)
- Contains a collection of variables and variable groups.
- [Reference] (VariableSchemeReference)
- A reference to a previously defined variable scheme either internal to or external to the DDI instance.
CategorySchemeType:
- Content:
- Extends: r:MaintainableType
- Base Content
- Extends: AbstractMaintainableType
- Base Content
- Extends: AbstractVersionableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Extended Content
- Sequence of:
- VersionResponsibility (xs:string) - min. 0
- Person
and/or organization within the MaintenanceAgency responsible for the
version change. This is primarily intended for internal use.
- [Reference] (VersionRationale) - min. 0 - max. unbounded
- Textual description of the rationale/purpose for a version change.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- version (NewVersionType) - optional
- Restricted string - numeric with optional decimal points.
- versionDate (BaseDateType) - optional
- Date of version. Duration should not be used in this field, even though allowed by the ISO format enforced by the parser.
- Extended Attributes
- agency (xs:NCName) - optional
- Maintaining agency as described in Part 1 of the Technical Specification.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (r:Label) - min. 0 - max. unbounded
- A short description of the category scheme.
- [Reference] (r:Description) - min. 0 - max. unbounded
- A further human-readable description of the category scheme.
- [Reference] (CategorySchemeReference) - min. 0 - max. unbounded
- Allows for inclusion by reference of other category schemes.
- [Reference] (CategoryGroup) - min. 0 - max. unbounded
- Provides grouping for categories.
- [Reference] (Category) - min. 0 - max. unbounded
- A value label and its definition
CategoryGroupType: Allows for grouping of categories.
- Content:
- Extends: r:VersionableType
- Base Content
- Extends: AbstractVersionableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Extended Content
- Sequence of:
- VersionResponsibility (xs:string) - min. 0
- Person
and/or organization within the MaintenanceAgency responsible for the
version change. This is primarily intended for internal use.
- [Reference] (VersionRationale) - min. 0 - max. unbounded
- Textual description of the rationale/purpose for a version change.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- version (NewVersionType) - optional
- Restricted string - numeric with optional decimal points.
- versionDate (BaseDateType) - optional
- Date of version. Duration should not be used in this field, even though allowed by the ISO format enforced by the parser.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (Category) - max. unbounded
- Allows for grouping of categories.
CategoryType: 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.
- Content:
- Extends: r:VersionableType
- Base Content
- Extends: AbstractVersionableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Extended Content
- Sequence of:
- VersionResponsibility (xs:string) - min. 0
- Person
and/or organization within the MaintenanceAgency responsible for the
version change. This is primarily intended for internal use.
- [Reference] (VersionRationale) - min. 0 - max. unbounded
- Textual description of the rationale/purpose for a version change.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- version (NewVersionType) - optional
- Restricted string - numeric with optional decimal points.
- versionDate (BaseDateType) - optional
- Date of version. Duration should not be used in this field, even though allowed by the ISO format enforced by the parser.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (r:Label) - min. 0 - max. unbounded
- An
unstructured label for the Variable. DDI does not impose any length
limitations on Label. If length of Label is constrained due to use of
the element in a specific application, the maximum length supported
should be noted in the attribute maxLength. Label may be repeated to
provide content for systems that have length constraints (e.g., some
versions of the following statistical packages have character length
limits: SAS 40-character, SPSS 120 characters, and STATA 80 characters).
- [Reference] (Generation) - min. 0
- Generation/derivation details of the category.
- [Reference] (Definition) - min. 0 - max. unbounded
- Definition
of the category. Note that comparison of categories is determined by
the Definition rather than the Label. For example, while the Definition
of a Chemist in London and a Pharmacist in New York is the same and
comparable, the definitions of Chemist in each location differ
significantly and are NOT comparable
- Extended Attributes
- missing (xs:boolean) - optional
- Indicates if the category contains missing data or not.
CodeSchemeType: Describes the structure of a Code Scheme.
- Content:
- Extends: r:MaintainableType
- Base Content
- Extends: AbstractMaintainableType
- Base Content
- Extends: AbstractVersionableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Extended Content
- Sequence of:
- VersionResponsibility (xs:string) - min. 0
- Person
and/or organization within the MaintenanceAgency responsible for the
version change. This is primarily intended for internal use.
- [Reference] (VersionRationale) - min. 0 - max. unbounded
- Textual description of the rationale/purpose for a version change.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- version (NewVersionType) - optional
- Restricted string - numeric with optional decimal points.
- versionDate (BaseDateType) - optional
- Date of version. Duration should not be used in this field, even though allowed by the ISO format enforced by the parser.
- Extended Attributes
- agency (xs:NCName) - optional
- Maintaining agency as described in Part 1 of the Technical Specification.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (r:Label) - min. 0 - max. unbounded
- A short description of the code scheme.
- [Reference] (r:Description) - min. 0 - max. unbounded
- A further human-readable description of the code scheme.
- [Reference] (CodeSchemeReference) - min. 0 - max. unbounded
- Allows for inclusion by reference of another code scheme
- [Reference] (CategorySchemeReference) - min. 0
- 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.
- [Reference] (HierarchyType) - min. 0
- 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.
- [Reference] (Level) - min. 0 - max. unbounded
-
to describe 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.
- [Reference] (Code) - min. 0 - max. unbounded
- Includes a code value, references the category label, and describes the code's position in a hierarchy.
LevelType: Used
to describe the levels of the code scheme 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.
- Content:
- Sequence of:
- Name (xs:string)
- 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.
- [Reference] (r:Description) - min. 0 - max. unbounded
- Description of a code level.
- [Reference] (RelationshipType) - min. 0
- 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.
- [Reference] (Interval) - min. 0
- Identifies the interval between each value of the codes for this code scheme. Used only for codes with interval relationship.
- Attributes:
- levelNumber (xs:integer) - required
- Designated identifier for the level; generally increases as the level of indention for nesting increases
CodeType:
- Content:
- Sequence of:
- CategoryReference (r:ReferenceType)
- Reference to a category documenting the value label.
- Value (xs:string)
- For
microdata an explicit value found in data file. For variables
describing the dimensions of NCubes it provides the coordinate value of
the category label along within the dimension.
- [Reference] (Code) - min. 0 - max. unbounded
- Allows for nesting of codes.
- Attributes:
- isDiscrete (xs:boolean) - default: true
- Indicates whether the code is discrete (that is, placed at the lowest level in a hierarchy and has no children).
- levelNumber (xs:integer) - optional
- Level number of the code.
- isComprehensive (IsComprehensiveType) - default: Unknown
- 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".
IntervalType: Describes the structure, starting point and increment step of an interval.
- Content:
- Sequence of:
- Anchor (xs:string)
- Identifies the start value for this interval.
- Increment (xs:string)
- Value specifying the increment between categories.
VariableSchemeType:
- Content:
- Extends: r:MaintainableType
- Base Content
- Extends: AbstractMaintainableType
- Base Content
- Extends: AbstractVersionableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Extended Content
- Sequence of:
- VersionResponsibility (xs:string) - min. 0
- Person
and/or organization within the MaintenanceAgency responsible for the
version change. This is primarily intended for internal use.
- [Reference] (VersionRationale) - min. 0 - max. unbounded
- Textual description of the rationale/purpose for a version change.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- version (NewVersionType) - optional
- Restricted string - numeric with optional decimal points.
- versionDate (BaseDateType) - optional
- Date of version. Duration should not be used in this field, even though allowed by the ISO format enforced by the parser.
- Extended Attributes
- agency (xs:NCName) - optional
- Maintaining agency as described in Part 1 of the Technical Specification.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (r:Label) - min. 0 - max. unbounded
- A short description of the variable scheme.
- [Reference] (r:Description) - min. 0 - max. unbounded
- A description of the use of the variable scheme.
- [Reference] (VariableSchemeReference) - min. 0 - max. unbounded
- Allows for inclusion by reference of another Variable Scheme.
- Choice Of: - min. 0 - max. unbounded
- [Reference] (Variable)
- Describes a variable contained in the variable scheme.
- [Reference] (VariableReference)
- References a variable contained in the variable scheme.
- Choice Of: - min. 0 - max. unbounded
- [Reference] (VariableGroup)
- Describes a variable group contained in the variable scheme.
- [Reference] (VariableGroupReference)
- Allows for inclusion by reference of a variable group.
VariableType: Describes the structure of a Variable.
- Content:
- Extends: r:VersionableType
- Base Content
- Extends: AbstractVersionableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Extended Content
- Sequence of:
- VersionResponsibility (xs:string) - min. 0
- Person
and/or organization within the MaintenanceAgency responsible for the
version change. This is primarily intended for internal use.
- [Reference] (VersionRationale) - min. 0 - max. unbounded
- Textual description of the rationale/purpose for a version change.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- version (NewVersionType) - optional
- Restricted string - numeric with optional decimal points.
- versionDate (BaseDateType) - optional
- Date of version. Duration should not be used in this field, even though allowed by the ISO format enforced by the parser.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (r:Label) - min. 0 - max. unbounded
- A
label for the variable. The length of the label may depend on the
statistical analysis system used (e.g., some versions of SAS permit
40-character labels, while some versions of SPSS permit 120
characters), although the DDI itself imposes no restrictions on the
number of characters allowed.
- [Reference] (VariableDefinition) - min. 0 - max. unbounded
- Additional textual descriptions of the variable.
- [Reference] (r:UniverseReference) - min. 0 - max. unbounded
- 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.
- [Reference] (ConceptReference) - min. 0
- Reference to the concept measured by this variable.
- [Reference] (QuestionReference) - min. 0 - max. unbounded
- Reference to question(s) used to collect data for this variable. The quesion is found in the datacollection module.
- [Reference] (EmbargoReference) - min. 0
- Reference to embargo information pertaining to this variable.
- ResponseUnit (xs:string) - min. 0
- Provides information regarding who provided the information contained within the variable, e.g., respondent, proxy, interviewer.
- [Reference] (r:AnalysisUnit) - min. 0
- The
entity to which the data refer, for example, individuals, families or
households, groups, institutions/organizations, administrative units,
etc.
- [Reference] (Representation) - min. 0
- Describes
the representation of the variable in the dataset, including allowed
content, data typing, and computation information.
- Extended Attributes
- isTemporal (xs:boolean) - default: false
- Indicates whether the variable relays time-related information.
- isGeographic (xs:boolean) - default: false
- Indicates whether the variable relays geographic information.
- isWeight (xs:boolean) - default: false
- Indicates whether the variable is a weight.
RepresentationType: Type to describe the representation of a variable
- Content:
- Sequence of:
- Role (xs:string) - min. 0
- Describes a specific function of the variable, such as identity, weight, geographic variable, time, date, currency, etc.
- [Reference] (WeightVariableReference) - min. 0 - max. unbounded
- Reference to weight variable(s) to be used with this variable.
- [Reference] (StandardWeightReference) - min. 0
- Reference to the Weighting element, as described in the DataCollection module, which is relevant for analyzing this variable.
- [Reference] (ImputationReference) - min. 0
- Reference to the imputation process described as a General Instruction in the Data Processing section in Data Collection.
- [Reference] (ConcatenatedValue) - min. 0
- Provides
a reference to another variable 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.
- [Reference] (CodingInstructionsReference) - min. 0
- 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. The specifics of this process are
provided in the data collection module element Coding, which is
referenced here.
- [Reference] (ValueRepresentation)
- Describes the actual representation of the variables' values.
- Attributes:
- measurementUnit (xs:string) - optional
- Records the measurement unit, for example, 'km', 'miles', etc.
- aggregationMethod (AggregationMethodCodeType) - optional
- Indicates the type of aggregation method used.
- additivity (AdditivityCodeType) - optional
- Records type of additivity, such as 'stock', 'flow', 'non-additive'.
CodeRepresentationType: Describes a coded representation.
- Content:
- Extends: r:CodeRepresentationType
- Base Content
- Extends: RepresentationType
- Base Content
- Sequence of:
- RecommendedDataType (CodeValueType) - min. 0
- This
field provides the recommended treatment of the data within an
application. 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.
- GenericOutputFormat (CodeValueType) - min. 0
- This
field provides a recommended generic treatment of the data for display
by an application. The value should come from a controlled vocabulary.
- Extended Content
- Sequence of:
- [Reference] (CodeSchemeReference) - min. 0 - max. unbounded
- A reference to a code scheme containing the valid response values..
- Base Attributes
- missingValue (xs:NMTOKENS) - optional
- List the values used to represent missing data in a space delimited array.
- blankIsMissingValue (xs:boolean) - optional
- When value is true a blank or empty variable content should be treated as a missing value.
- classificationLevel (CategoryRelationCodeType) - optional
- Indicates the type of relationship, nominal, ordinal, interval, ratio, or continuous.
- Extended Content
CodeSchemeReferenceType: Describes a coded representation.
- Content:
- Extends: r:ReferenceType
- Base Content
- Sequence of:
- [Reference] (Module) - min. 0
- References the module of the entity that is being referenced, in cases where there have been local modifications.
- [Reference] (Scheme) - min. 0
- Containing scheme of the entity that is being referenced.
- Choice Of: - max. 2
- [Reference] (URN)
- URN of the entity that is being referenced.
- Sequence of:
- [Reference] (ID)
- ID of the entity that is being referenced.
- IdentifyingAgency (xs:NCName) - min. 0
- Maintaining agency as described in Part 1 of the Technical Specification.
- [Reference] (Version) - min. 0
- If
referencing a versioned or maintained element you must include Version.
The version can be identified as lateBound, meaning that the latest
version should be used.
- Extended Content
- Base Attributes
- isExternal (xs:boolean) - default: false
- Indicates that the reference is made to an external source. If the value is true, then a URI must be provided.
- URI (xs:anyURI) - optional
- URI identifying the location of an external reference.
- isReference (xs:boolean) - fixed: true
- A fixed attribute value identifying which elements are references.
- lateBound (xs:boolean) - default: false
VariableConcatenationType: Describes the structure of the concatenated variable.
- Content:
- Sequence of:
- [Reference] (VariableReference) - min. 0
- Reference to the variable in which the concatenated value is stored.
- [Reference] (ConcatenatedValue) - max. unbounded
- Describes the variables whose concatenated values make up the current variable, referenced above.
ConcatenatedValueType: Describes the variables whose concatenated values make up the existing concatenated variable.
- Content:
- Sequence of:
- [Reference] (VariableReference) - min. 2 - max. unbounded
- Identifies
the variables whose values are concatenated to form the concatenated
variable. Note that the order of these variables determines the order
of concatenation.
DataExisitenceType: Allows
for inclusion of upper level categories that will not have associated
data. In this case they act as the DDI version 2 form of category group.
- Content:
- Choice Of:
- Level (xs:integer) - max. unbounded
- Indicates the levels that will have data, if only certain levels will do so.
- DiscreteCategory (xs:boolean)
- This
element is to be used if only the most discrete data elements will have
data. It has a fixed value, so it will indicate which categories have
data based on their description.
IncludedCodeReferenceType: Allows selection of specific codes not based on levels.
- Content:
- Extends: r:ReferenceType
- Base Content
- Sequence of:
- [Reference] (Module) - min. 0
- References the module of the entity that is being referenced, in cases where there have been local modifications.
- [Reference] (Scheme) - min. 0
- Containing scheme of the entity that is being referenced.
- Choice Of: - max. 2
- [Reference] (URN)
- URN of the entity that is being referenced.
- Sequence of:
- [Reference] (ID)
- ID of the entity that is being referenced.
- IdentifyingAgency (xs:NCName) - min. 0
- Maintaining agency as described in Part 1 of the Technical Specification.
- [Reference] (Version) - min. 0
- If
referencing a versioned or maintained element you must include Version.
The version can be identified as lateBound, meaning that the latest
version should be used.
- Base Attributes
- isExternal (xs:boolean) - default: false
- Indicates that the reference is made to an external source. If the value is true, then a URI must be provided.
- URI (xs:anyURI) - optional
- URI identifying the location of an external reference.
- isReference (xs:boolean) - fixed: true
- A fixed attribute value identifying which elements are references.
- lateBound (xs:boolean) - default: false
- Extended Attributes
GenerationType: Generation/derivation details of the category.
- Content:
- Sequence of:
- [Reference] (ComponentReference) - min. 0 - max. unbounded
- Reference to a category used for the generation.
- [Reference] (r:Description) - min. 0 - max. unbounded
- Description of the generation.
- [Reference] (r:Command) - min. 0 - max. unbounded
- Command for creating the generation. This part is intended to be machine-actionable.
- [Reference] (r:OtherMaterial) - min. 0 - max. unbounded
- External documentation required for creating the generation - for example, a chart or table for defining poverty.
- Attributes:
- isDerived (xs:boolean) - default: true
- qualification (xs:string) - default: optional
- formalLanguage (xs:string) - optional
- Indicates
the formal language of the command files in the Generation element.
This entry may be overridden by a formalLanguage attribute at the
command file level, if present.
VariableGroupType: Contains a group of variables, which may be hierarchical.
- Content:
- Extends: r:VersionableType
- Base Content
- Extends: AbstractVersionableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Extended Content
- Sequence of:
- VersionResponsibility (xs:string) - min. 0
- Person
and/or organization within the MaintenanceAgency responsible for the
version change. This is primarily intended for internal use.
- [Reference] (VersionRationale) - min. 0 - max. unbounded
- Textual description of the rationale/purpose for a version change.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- version (NewVersionType) - optional
- Restricted string - numeric with optional decimal points.
- versionDate (BaseDateType) - optional
- Date of version. Duration should not be used in this field, even though allowed by the ISO format enforced by the parser.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (GroupType)
- A
generic element for specifying a reason for a variable group. Note that
this element can contain either a term from a controlled vocabulary
list or a textual description.
- [Reference] (r:Label) - min. 0 - max. unbounded
- A
label assigned to the variable group. DDI does not impose any length
limitations on Label. If length of Label is constrained due to use of
the element in a specific application, the maximum length supported
should be noted in the attribute maxLength. Label may be repeated to
provide content for systems that have length constraints.
- [Reference] (Definition) - min. 0 - max. unbounded
- Additional textual descriptions of the variable group.
- [Reference] (r:UniverseReference) - min. 0 - max. unbounded
- Reference
to the universe statement describing the persons or other elements that
the data refer to, and to which any analytic results refer.
- [Reference] (ConceptReference) - min. 0
- Reference to the concept measured by the variables in this group.
- [Reference] (VariableReference) - min. 0 - max. unbounded
- Reference to constituent variable.
- [Reference] (VariableGroupReference) - min. 0 - max. unbounded
- Reference to constituent variable group. This allows for nesting of variable groups.
NCubeLogicalProductType: Describes the logical structure of NCubes.
- Content:
- Extends: BaseLogicalProductType
- Base Content
- Extends: r:MaintainableType
- Base Content
- Extends: AbstractMaintainableType
- Base Content
- Extends: AbstractVersionableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Extended Content
- Sequence of:
- VersionResponsibility (xs:string) - min. 0
- Person
and/or organization within the MaintenanceAgency responsible for the
version change. This is primarily intended for internal use.
- [Reference] (VersionRationale) - min. 0 - max. unbounded
- Textual description of the rationale/purpose for a version change.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- version (NewVersionType) - optional
- Restricted string - numeric with optional decimal points.
- versionDate (BaseDateType) - optional
- Date of version. Duration should not be used in this field, even though allowed by the ISO format enforced by the parser.
- Extended Attributes
- agency (xs:NCName) - optional
- Maintaining agency as described in Part 1 of the Technical Specification.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (r:Coverage) - min. 0
- 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.
- [Reference] (DataRelationship) - min. 0 - max. unbounded
- 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
variableH, the unique family by the concatenation of variableH and
variableF, and the unique person within a household by the
concatenation of variableH and variableP.
- [Reference] (r:OtherMaterial) - min. 0 - max. unbounded
- Describes
Other Materials not noted in the studyunit module or datacollection
module that have a specific relation to the logical product. For
example the printed data dictionary or printed output for the logical
product.
- [Reference] (r:Note) - min. 0 - max. unbounded
- Notes for the logical product.
- Choice Of: - min. 0 - max. unbounded
- [Reference] (CategoryScheme)
- 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.
- [Reference] (CategorySchemeReference)
- Reference to a previously defined category scheme either internal to or external to the xml instance.
- Choice Of: - min. 0 - max. unbounded
- [Reference] (CodeScheme) - min. 0 - max. unbounded
- Lists
the code values used to represent categories for a variable or
question. Also describes hierarchical relationships between categories
used in the code scheme.
- [Reference] (CodeSchemeReference)
- Reference to a previously defined code scheme either internal to or external to the DDI instance.
- Choice Of: - min. 0 - max. unbounded
- [Reference] (VariableScheme)
- Contains a collection of variables and variable groups.
- [Reference] (VariableSchemeReference)
- A reference to a previously defined variable scheme either internal to or external to the DDI instance.
- Extended Content
- Sequence of:
- [Reference] (NCubeScheme) - min. 1 - max. unbounded
- Contains a collection of NCube or NCube groups.
NCubeSchemeType:
- Content:
- Extends: r:MaintainableType
- Base Content
- Extends: AbstractMaintainableType
- Base Content
- Extends: AbstractVersionableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Extended Content
- Sequence of:
- VersionResponsibility (xs:string) - min. 0
- Person
and/or organization within the MaintenanceAgency responsible for the
version change. This is primarily intended for internal use.
- [Reference] (VersionRationale) - min. 0 - max. unbounded
- Textual description of the rationale/purpose for a version change.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- version (NewVersionType) - optional
- Restricted string - numeric with optional decimal points.
- versionDate (BaseDateType) - optional
- Date of version. Duration should not be used in this field, even though allowed by the ISO format enforced by the parser.
- Extended Attributes
- agency (xs:NCName) - optional
- Maintaining agency as described in Part 1 of the Technical Specification.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (NCube) - min. 0 - max. unbounded
- Describes the logical structure of an NCube.
- [Reference] (NCubeGroup) - min. 0 - max. unbounded
- Describes a group of NCubes.
- [Reference] (NCubeSchemeReference) - min. 0 - max. unbounded
- Allows for inclusion of other NCube schemes by reference..
AttributeType: Defines a variable that describes an attribute of all or coordinate sections of the NCube.
- Content:
- Extends: r:IdentifiableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- Extended Content
- Sequence of:
- Choice Of:
- [Reference] (VariableReference)
- A reference to a variable that describes the attribute.
- AttachmentValue (xs:string)
- The value of the attachment, if not a variable.
- [Reference] (AttachmentLevel)
- Describes the level of attachment of the attribute.
- [Reference] (AttachmentGroupReference) - min. 0
- References the coordinate group to which the attribute attaches.
NCubeType: Describes the structure of the NCube.
- Content:
- Extends: r:VersionableType
- Base Content
- Extends: AbstractVersionableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Extended Content
- Sequence of:
- VersionResponsibility (xs:string) - min. 0
- Person
and/or organization within the MaintenanceAgency responsible for the
version change. This is primarily intended for internal use.
- [Reference] (VersionRationale) - min. 0 - max. unbounded
- Textual description of the rationale/purpose for a version change.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- version (NewVersionType) - optional
- Restricted string - numeric with optional decimal points.
- versionDate (BaseDateType) - optional
- Date of version. Duration should not be used in this field, even though allowed by the ISO format enforced by the parser.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (r:Label) - min. 0 - max. unbounded
- An
unstructured label for the Variable. DDI does not impose any length
limitations on Label. If length of Label is constrained due to use of
the element in a specific application, the maximum length supported
should be noted in the attribute maxLength. Label may be repeated to
provide content for systems that have length constraints.
- [Reference] (Definition) - min. 0 - max. unbounded
- Additional textual descriptions of the variable.
- [Reference] (r:UniverseReference) - min. 0 - max. unbounded
- Reference
to the description of the persons or other elements that are the object
of the research and to which any analytic results refer.
- [Reference] (ImputationReference) - min. 0
- Reference to the imputation process described in the Data Processing section
- ResponseUnit (xs:string) - min. 0
- Provides information regarding who provided the information contained within the nCube, e.g., respondent, proxy, interviewer.
- [Reference] (r:AnalysisUnit) - min. 0
- Provides information regarding whom or what the nCube describes.
- [Reference] (Purpose) - min. 0 - max. unbounded
- Purpose for which the nCube was created.
- [Reference] (Dimension) - max. unbounded
- Defines a variable as a dimension of the nCube, and should be repeated to describe each of the nCube's dimensions.
- [Reference] (CoordinateGroup) - min. 0 - max. unbounded
- Defines groups of dimensions (given particular values) to which attributes can be attached.
- [Reference] (Measure) - max. unbounded
- The measurement features of the cell content (repeatable only for regularly bundled arrays of cell content).
- [Reference] (Attribute) - min. 0 - max. unbounded
- Defines a variable that describes an attribute of all or coordinate sections of the NCube.
- Extended Attributes
- dimensionCount (xs:integer) - required
- The number of dimensions found in the nCube.
- cellCount (xs:integer) - optional
- The number of cells (measures) found in the nCube.
- isClean (xs:boolean) - default: true
- A
true value indicates that all values present in the cube have the same
dimensionality, and that each dimension has been given a value (even if
it is a "Not Applicable" value or similar.)
DataRelationshipType: 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.
- Content:
- Extends: r:IdentifiableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (r:Description) - min. 0 - max. unbounded
- A
human-readable description explaining how to identify different record
types, a unique case within a record type, and how to relate one record
type to another record type.
- [Reference] (LogicalRecord)
- Describes
a logical record, such as a household, family, or person record.
Required to link a description of a physical record structure to its
logical record.
- [Reference] (RecordRelationship) - min. 0 - max. unbounded
- All
relationships are pairwise. Multiple pairwise relationships maybe
needed to clarify all record relationships within a logical product.
LogicalRecordType: Describes
the logical record in terms of identification of its type, case
identification, its relationship with other records, and support for
multiple storage segments. Required to link a description of a physical
record structure to its logical record.
- Content:
- Extends: r:IdentifiableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (r:Description) - min. 0 - max. unbounded
- Description of the logical record.
- [Reference] (VariableValueReference) - min. 0
- Reference to the variable containing the record type locator.
- [Reference] (SupportForMultipleSegments) - min. 0
- 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.
- [Reference] (CaseIdentification) - min. 0 - max. unbounded
- 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 identify it uniquely.
- Choice Of:
- [Reference] (VariablesInRecord)
- 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.
- [Reference] (NCubesInRecord)
- 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.
- Extended Attributes
- hasLocator (xs:boolean) - required
- Indicates
if 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.
- variableQuantity (xs:integer) - optional
- Number of variables in the logical record.
NCubesInRecordType: Lists the NCubes contained in the record.
- Content:
- Sequence of:
- [Reference] (VariablesInRecord) - min. 0
- Use VariablesInRecord to describe any variables in the record that are external to the NCube such as case identifiers.
- [Reference] (NCubeSchemeReference) - min. 0 - max. unbounded
- Reference to an NCube scheme to be included in its entirety in the logical record type.
- [Reference] (NCubeReference) - min. 0 - max. unbounded
- Reference to each NCube included in the record, if only part of an NcubeScheme is used.
- Attributes:
- allNCubesInLogicalProduct (xs:boolean) - required
- When the value is set to "true" the logical record contains all of the NCubes listed in the logical product module.
VariableValueReferenceType: Describes the variable containing the record type locator and the value being used.
- Content:
- Sequence of:
- [Reference] (VariableReference)
- Reference to the variable containing the record type locator.
- [Reference] (Value) - min. 0 - max. unbounded
- Value of variable indicating this record type, multiple entries allow for multiple valid values or ranges.
VariablesInRecordType: Identifies the variables in the record type.
- Content:
- Sequence of:
- [Reference] (VariableSchemeReference) - min. 0 - max. unbounded
- Reference to a variable scheme to be included in its entirety in the logical record type.
- [Reference] (VariableUsedReference) - min. 0 - max. unbounded
- Reference to each variable in the record type.
- Attributes:
- allVariablesInLogicalProduct (xs:boolean) - required
- When the value is true, then the logical record contains all listed variables in the logical product module.
VariableUsedReferenceType:
- Content:
- Extends: r:ReferenceType
- Base Content
- Sequence of:
- [Reference] (Module) - min. 0
- References the module of the entity that is being referenced, in cases where there have been local modifications.
- [Reference] (Scheme) - min. 0
- Containing scheme of the entity that is being referenced.
- Choice Of: - max. 2
- [Reference] (URN)
- URN of the entity that is being referenced.
- Sequence of:
- [Reference] (ID)
- ID of the entity that is being referenced.
- IdentifyingAgency (xs:NCName) - min. 0
- Maintaining agency as described in Part 1 of the Technical Specification.
- [Reference] (Version) - min. 0
- If
referencing a versioned or maintained element you must include Version.
The version can be identified as lateBound, meaning that the latest
version should be used.
- Base Attributes
- isExternal (xs:boolean) - default: false
- Indicates that the reference is made to an external source. If the value is true, then a URI must be provided.
- URI (xs:anyURI) - optional
- URI identifying the location of an external reference.
- isReference (xs:boolean) - fixed: true
- A fixed attribute value identifying which elements are references.
- lateBound (xs:boolean) - default: false
- Extended Attributes
CaseIdentificationType: Describes the information needed to identify an individual case within a record type.
VariableSpecificationReferenceType: Describes the information needed to identify a type of record. Repeating the field will allow referencing multiple variables.
- Content:
- Sequence of:
- [Reference] (VariableReference)
- Reference to the variable containing the record type locator.
- [Reference] (CaseSpecification) - min. 0 - max. unbounded
- Value of variable indicating this record type, multiple entries allow for multiple valid values or ranges.
CaseSpecificationType: Value of variable indicating this record type, multiple entries allow for multiple valid values or ranges.
- Content:
- Sequence of:
- [Reference] (Value) - min. 0 - max. unbounded
- Value of variable indicating this record type, multiple entries allow for multiple valid values or ranges.
- [Reference] (VariableReference) - max. unbounded
- Reference to the variable containing the record type locator.
RecordRelationshipType: All
relationships are described pairwise. Multiple pairwise relationships
may be needed to clarify all relationships within a logical product.
- Content:
- Extends: r:IdentifiableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- Extended Content
- Extended Attributes
RecordReferenceSourceType: Reference to the Source Record.
- Content:
- Extends: VariableValueReferenceType
- Base Content
- Sequence of:
- [Reference] (VariableReference)
- Reference to the variable containing the record type locator.
- [Reference] (Value) - min. 0 - max. unbounded
- Value of variable indicating this record type, multiple entries allow for multiple valid values or ranges.
- Extended Attributes
- relation (RelationCodeType) - required
- Indicates the relationship of the source to the target.
ValueType: Type for indicating value of variable
NCubeGroupType: Describes a group of NCubes.
- Content:
- Extends: r:VersionableType
- Base Content
- Extends: AbstractVersionableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Extended Content
- Sequence of:
- VersionResponsibility (xs:string) - min. 0
- Person
and/or organization within the MaintenanceAgency responsible for the
version change. This is primarily intended for internal use.
- [Reference] (VersionRationale) - min. 0 - max. unbounded
- Textual description of the rationale/purpose for a version change.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- version (NewVersionType) - optional
- Restricted string - numeric with optional decimal points.
- versionDate (BaseDateType) - optional
- Date of version. Duration should not be used in this field, even though allowed by the ISO format enforced by the parser.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (GroupType)
- A
generic element for specifying a reason for a variable or nCube group.
Note that this element can contain either a term from a controlled
vocabulary list or a textual description.
- [Reference] (r:Label) - min. 0 - max. unbounded
- An
unstructured label for the NCubeGroup. DDI does not impose any length
limitations on Label. If length of Label is constrained due to use of
the element in a specific application, the maximum length supported
should be noted in the attribute maxLength. Label may be repeated to
provide content for systems that have length constraints.
- [Reference] (Definition) - min. 0 - max. unbounded
- Additional textual descriptions of the NCube group.
- [Reference] (r:UniverseReference) - min. 0 - max. unbounded
- Reference
to the universe statement describing the persons or other elements that
are covered by the data, and to which any analytic results refer.
- [Reference] (ConceptReference) - min. 0
- Reference to the concept measured by the NCubes in this group.
- [Reference] (NCubeReference) - min. 0 - max. unbounded
- Reference to a constituent NCube.
- [Reference] (NCubeGroupReference) - min. 0 - max. unbounded
- Reference to a constituent NCube group. This allows for nesting of NCube groups.
CoordinateGroupType: Defines groups of dimensions (given particular values) to which attributes can be attached.
- Content:
- Extends: r:IdentifiableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (r:Label) - min. 0 - max. unbounded
- An
unstructured label for the CoordinateGroup. DDI does not impose any
length limitations on Label. If length of Label is constrained due to
use of the element in a specific application, the maximum length
supported should be noted in the attribute maxLength. Label may be
repeated to provide content for systems that have length constraints.
- [Reference] (r:UniverseReference) - min. 0 - max. unbounded
- Reference
to the universe statement describing the persons or other elements that
make the object of the data, and to which any analytic results refer.
- [Reference] (Definition) - min. 0 - max. unbounded
- Additional textual descriptions of the coordinate group.
- [Reference] (DimensionValue) - max. unbounded
- Defines a variable as a dimension of the coordinate group.
CohortType: Defines a dimension and its value.
- Content:
- Sequence of:
- [Reference] (CategoryReference) - min. 0
- Provides the specific category of the variable included.
- CodeValue (xs:string) - min. 0
- The value attached to that category in a code scheme.
- [Reference] (Range) - min. 0 - max. unbounded
- Indicates that the Cube contains only a limited number of categories from the code scheme.
- Attributes:
- rank (xs:integer) - required
- Provides coordinate order (1,2,n).
DimensionType:
- Content:
- Sequence of:
- [Reference] (VariableReference)
- Identifies
the variable describing this dimension. This is a special case where
the set of values given in CodeType provides the field content and the
category label provides the label. In this case, there is a physical
record for each value of the variable for those values reported (e.g.
County Business Patterns uses the 'variable' Industry Code).
- Attributes:
- rank (xs:integer) - required
- Provides coordinate order (1,2,n).
MeasureType:
- Content:
- Extends: r:IdentifiableType
- Base Content
- Extends: AbstractIdentifiableType
- Base Content
- Sequence of:
- [Reference] (Name) - min. 0 - max. unbounded
- Human-readable name given the entity being identified. May be repeated to provide language and/or geographic alternatives.
- Base Attributes
- id (BaseIDType) - required
- Assigned ID, unique within its maintainable object.
- urn (xs:anyURI) - optional
- DDI-structured URN of the element as described in Part I of the Technical Documentation.
- action (ActionCodeType) - optional
- Used
for inheritance to indicate that the element being described is being
added, updated, or deleted at the local level. Add: This element is
added to the inherited structure. Update: This element is to be used in
place of the inherited element with this ID for local processing.
Delete: This element has been removed from the inherited group for
local processing. There will be a new ID only in the case of Add.
- Extended Attributes
- Extended Content
- Sequence of:
- [Reference] (VariableReference)
- This
is used in the case where the content of the cell is defined by a
variable description, e.g., FLAG where the content is a single
character flag and its definition is provided by the category label.
- [Reference] (AggregationDefinition) - min. 0
- 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.
AggregationDefinitionType: 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.
- Content:
- Sequence of:
- IndependentDimension (xs:integer) - min. 0 - max. unbounded
- The rank of a dimension that acts as the denominator (independent variable).
- DependentDimension (xs:integer) - min. 0 - max. unbounded
- The rank of a dimension that acts as the numerator (dependent variable).
- Attributes:
- isNCubeUniverse (xs:boolean) - default: true
- 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.
RangeType:
GroupTypeCodedType: A suggested enumeration of group types. Indicates reasons for grouping.
- Content:
- Restricts: r:CodeValueType
- Code: Section -
Section
- Code: MultipleResponse -
Multiple response
- Code: Grid -
Grid
- Code: Display -
Display
- Code: Repetition -
Repetition
- Code: Subject -
Subject
- Code: Version -
Version
- Code: Iteration -
Iteration
- Code: Analysis -
Analysis
- Code: Pragmatic -
Pragmatic
- Code: Record -
Record
- Code: File -
File
- Code: Randomized -
Randomized
- Code: UseOther -
See otherValue attribute Other
- Attributes:
- codeListID (xs:string) - required - fixed: Group Type
- Identification of the code list that this value is taken from.
- codeListAgency (xs:string) - required - fixed: DDI
- Agency maintaining the code list.
- codeListVersion (xs:string) - fixed: 1.0
- Version of the code list.
- otherValue (xs:string) - optional
Simple Types
IsComprehensiveType: Indicates values of the isComprehensive attribute.
- Restricts: xs:NMTOKEN
- Code: True -
True
- Code: False -
False
- Code: Unknown -
Unknown
ValueTypeCodeType: Indicates value type.
- Restricts: xs:NMTOKEN
- Code: GreaterThan -
Greater Than
- Code: LessThan -
Less Than
- Code: Equal -
Equal
- Code: GreaterThanOrEqual -
Greater Than or Equal
- Code: LessThanOrEqual -
Less Than or Equal
- Code: NotEqual -
Not Equal
RelationCodeType: Indicates relation.
- Restricts: xs:NMTOKEN
- Code: Parent -
Parent
- Code: Child -
Child
- Code: Sibling -
Sibling
AggregationMethodCodeType: A list for describing aggregation methods.
- Restricts: xs:NMTOKEN
- Code: Sum -
Sum
- Code: Average -
Average
- Code: Count -
Count
- Code: Mode -
Mode
- Code: Median -
Median
- Code: Maximum -
Maximum
- Code: Minimum -
Minimum
- Code: Percent -
Percent (Percentages are used to express how large one quantity is relative to another quantity)
- Code:
CumulativePercent - Cumulative percent (percentage of items in its
frequency distribution which are equal to or lower than the current
item [maximum value is 100%])
- Code: PercentileRank - Percentile rank (The
percentile rank of a item is the percentage of items in its frequency
distribution which are lower [cannot reach 100%])
AdditivityCodeType:
- Restricts: xs:NMTOKEN
- Code: Stock -
- Code: Flow -
- Code: NonAdditive -
HierarchyCodeType:
- Restricts: xs:NMTOKEN
- Code: Regular -
- Code: Irregular -
AttachmentLevelCodeType:
- Restricts: xs:NMTOKEN
- Code: Cube -
Attaches to the whole NCube.
- Code: CoordinateGroup -
Attaches to a group of dimensions (given particular values) described by a coordinate group.
- Code: Dimension -
Attaches to a dimension only.
- Code: Measurement -
Attaches to a specific measurement.
- Code: MeasurementValue -
Attaches to a specific measurement value.
Copyright © 2008 DDI Alliance, DDI Version 3.0 (2008-04-28)
This documentation is extracted from the inline documentation of DDI 3.0 XML Schema and is licensed under the terms of the GNU General Public License as the schema itself.