DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "NCubeType"
Namespace:
Content:
complex, 10 attributes, 15 elements
Defined:
Includes:
definitions of 3 attributes and 12 elements
Used:
XML Representation Summary
<...
    action
 = 
("Add" | "Update" | "Delete")
    cellCount
 = 
xs:integer
    dimensionCount
 = 
xs:integer
    id
 = 
xs:string
    isClean
 = 
xs:boolean : "true"
    isVersionable
 = 
"true"
    objectSource
 = 
xs:anyURI
    urn
 = 
xs:anyURI
    version
 = 
xs:string
    versionDate
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
    >
   
Content: 
UserID*, VersionResponsibility?, VersionRationale*, NCubeName*, r:Label*, r:Description*, r:UniverseReference*, ImputationReference?, ResponseUnit?, r:AnalysisUnit?, Purpose*, Dimension+, CoordinateGroup*, Measure+, Attribute*
</...>
Content Model Elements (15):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
Describes the structure of the NCube.
Type Definition Detail
Type Derivation Tree
      r:VersionableType (extension)
          NCubeType (extension)
XML Source (w/o annotations (15); 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 maxOccurs="unbounded" minOccurs="0" ref="r:Description"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference"/>
<xs:element minOccurs="0" ref="ImputationReference"/>
<xs:element minOccurs="0" name="ResponseUnit" type="xs:string"/>
<xs:element minOccurs="0" ref="r:AnalysisUnit"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Purpose"/>
<xs:element maxOccurs="unbounded" ref="Dimension"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CoordinateGroup"/>
<xs:element maxOccurs="unbounded" ref="Measure"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Attribute"/>
</xs:sequence>
<xs:attribute name="dimensionCount" type="xs:integer" use="required"/>
<xs:attribute name="cellCount" type="xs:integer" use="optional"/>
<xs:attribute default="true" name="isClean" type="xs:boolean"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (defined in this component only; 3/10)
cellCount
Type:
xs:integer, predefined
Use:
optional
The number of cells (measures) found in the nCube.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="cellCount" type="xs:integer" use="optional"/>

dimensionCount
Type:
xs:integer, predefined
Use:
required
The number of dimensions found in the nCube.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="dimensionCount" type="xs:integer" use="required"/>

isClean
Type:
xs:boolean, predefined
Use:
optional
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.)
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 (defined in this component only; 12/15)
Attribute
Type:
AttributeType, complex content
Defines a variable that describes an attribute of all or coordinate sections of the NCube.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Attribute"/>

CoordinateGroup
Type:
CoordinateGroupType, complex content
Defines groups of dimensions (given particular values) to which attributes can be attached.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="CoordinateGroup"/>

Dimension
Type:
DimensionType, complex content
Defines a variable as a dimension of the nCube, and should be repeated to describe each of the nCube's dimensions.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" ref="Dimension"/>

ImputationReference
Type:
r:ReferenceType, complex content
Reference to the imputation process described in the Data Processing section
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" ref="ImputationReference"/>

Measure
Type:
MeasureType, complex content
The measurement features of the cell content (repeatable only for regularly bundled arrays of cell content).
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" ref="Measure"/>

NCubeName
Type:
r:NameType, simple content
Simple Content
xs:string
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="NCubeName"/>

Purpose
Type:
Purpose for which the nCube was created.
Simple Content
xs:string
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Purpose"/>

r:AnalysisUnit
Type:
r:CodeValueType, simple content
Provides information regarding whom or what the nCube describes.
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, mixed content
Additional textual descriptions of the variable.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Description"/>

r:Label
Type:
r:LabelType, mixed content
A display label for the NCube.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>

r:UniverseReference
Type:
r:ReferenceType, complex content
Reference to the description of the persons or other elements that are the object of the research and to which any analytic results refer.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:UniverseReference"/>

ResponseUnit
Type:
xs:string, predefined, simple content
Provides information regarding who provided the information contained within the nCube, e.g., respondent, proxy, interviewer.
XML Source (w/o annotations (1); see within schema source)
<xs:element minOccurs="0" name="ResponseUnit" type="xs:string"/>

XML schema documentation generated with DocFlex/XML SDK 1.7.2 using DocFlex/XML XSDDoc 2.1.0 template set