complexType "NCubeType"
Namespace:
Content:
complex, 10 attributes, 24 elements
Defined:
Includes:
definitions of 3 attributes, 12 elements
Used:
XML Representation Summary
<...
   
 = 
("Add" | "Update" | "Delete")
 = 
(xs:string | xs:string)
 = 
("Agency" | "Maintainable") : "Agency"
 = 
xs:boolean
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
 = 
xs:boolean : "false"
 = 
"true"
 = 
xs:nonNegativeInteger
 = 
xs:nonNegativeInteger
 = 
xs:boolean : "true"
   
>
   
Content: 
</...>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
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.
Type Definition Detail
Type Derivation Tree
      r:VersionableType (extension)
          NCubeType
XML Source (w/o annotations (16); see within schema source)
<xs:complexType name="NCubeType">
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="NCubeName"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>
<xs:element minOccurs="0" ref="r:Description"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference"/>
<xs:element minOccurs="0" ref="ImputationReference"/>
<xs:element minOccurs="0" ref="SourceUnit"/>
<xs:element minOccurs="0" ref="r:AnalysisUnit"/>
<xs:element minOccurs="0" ref="r:Purpose"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Dimension"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CoordinateRegion"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="MeasureDefinition"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Attribute"/>
</xs:sequence>
<xs:attribute name="dimensionCount" type="xs:nonNegativeInteger" use="optional"/>
<xs:attribute name="cellCount" type="xs:nonNegativeInteger" use="optional"/>
<xs:attribute default="true" name="isClean" type="xs:boolean"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 3/10)
cellCount
Type:
xs:nonNegativeInteger, predefined
Use:
optional
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.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="cellCount" type="xs:nonNegativeInteger" use="optional"/>

dimensionCount
Type:
xs:nonNegativeInteger, predefined
Use:
optional
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.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="dimensionCount" type="xs:nonNegativeInteger" use="optional"/>

isClean
Type:
xs:boolean, predefined
Use:
optional
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.
Attribute Value
Default:
"true"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute default="true" name="isClean" type="xs:boolean"/>
Content Element Detail (all declarations; defined within this component only; 12/24)
Attribute
Type:
AttributeType, complex content
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).
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Attribute"/>

CoordinateRegion
Type:
CoordinateRegionType, complex content
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.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CoordinateRegion"/>

Dimension
Type:
DimensionType, complex content
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.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Dimension"/>

ImputationReference
Type:
r:ReferenceType, complex content
Reference to an imputation process described as a GeneralInstruction or GenerationInstruction held in a ProcessingInstructionScheme.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="ImputationReference"/>

MeasureDefinition
Type:
MeasureDefinitionType, complex content
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.).
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="MeasureDefinition"/>

NCubeName
Type:
r:NameType, complex content
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.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="NCubeName"/>

r:AnalysisUnit
Type:
r:CodeValueType, simple content
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.
Simple Content
xs:string
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:AnalysisUnit"/>

r:Description
Type:
r:StructuredStringType, complex content
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.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:Description"/>

r:Label
Type:
r:LabelType, complex content
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.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>

r:Purpose
Type:
r:StructuredStringType, complex content
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.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="r:Purpose"/>

r:UniverseReference
Type:
r:ReferenceType, complex content
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.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference"/>

SourceUnit
Type:
r:CodeValueType, simple content
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.
Simple Content
xs:string
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="SourceUnit"/>

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