DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "BaseLogicalProductType"
Namespace:
Content:
complex, 11 attributes, 16 elements
Abstract:
(cannot be assigned directly to elements used in instance XML documents)
Defined:
Includes:
definitions of 13 elements
Used:
XML Representation Summary
<...
    action
 = 
("Add" | "Update" | "Delete")
    agency
 = 
xs:NCName
    externalReferenceDefaultURI
 = 
xs:anyURI
    id
 = 
xs:string
    isMaintainable
 = 
"true"
    isPublished
 = 
xs:boolean : "false"
    objectSource
 = 
xs:anyURI
    urn
 = 
xs:anyURI
    version
 = 
xs:string
    versionDate
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear | xs:duration)
    xml:lang
 = 
xs:language
    >
   
Content: 
UserID*, VersionResponsibility?, VersionRationale*, LogicalProductName*, r:Label*, r:Description*, r:Coverage?, DataRelationship*, r:OtherMaterial*, r:Note*, (CategoryScheme | CategorySchemeReference)*, (CodeScheme | CodeSchemeReference)*, (VariableScheme | VariableSchemeReference)*
</...>
Content Model Elements (16):
Known Direct Subtypes (2):
All Direct / Indirect Based Elements (3):
Known Usage Locations
Type Definition Detail
Type Derivation Tree
      r:AbstractMaintainableType (extension)
          r:MaintainableType (extension)
              BaseLogicalProductType (extension)
XML Source (w/o annotations (10); see within schema source)
<xs:complexType abstract="true" name="BaseLogicalProductType">
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="LogicalProductName"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Description"/>
<xs:element minOccurs="0" ref="r:Coverage"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataRelationship"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:OtherMaterial"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Note"/>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="CategoryScheme"/>
<xs:element ref="CategorySchemeReference"/>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="CodeScheme"/>
<xs:element ref="CodeSchemeReference"/>
</xs:choice>
<xs:choice maxOccurs="unbounded" minOccurs="0">
<xs:element ref="VariableScheme"/>
<xs:element ref="VariableSchemeReference"/>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (defined in this component only; 13/16)
CategoryScheme
Type:
CategorySchemeType, complex content
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.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="CategoryScheme"/>

CategorySchemeReference
Type:
r:SchemeReferenceType, complex content
Reference to a previously defined category scheme either internal to or external to the xml instance.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="CategorySchemeReference"/>

CodeScheme
Type:
CodeSchemeType, complex content
Lists the code values used to represent categories for a variable or question. Also describes hierarchical relationships between categories used in the code scheme.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="CodeScheme"/>

CodeSchemeReference
Type:
CodeSchemeReferenceType, complex content
Reference to a previously defined code scheme either internal to or external to the DDI instance.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="CodeSchemeReference"/>

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

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

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

r:Description
Type:
r:StructuredStringType, mixed content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Description"/>

r:Label
Type:
r:LabelType, mixed content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>

r:Note
Type:
r:NoteType, complex content
Notes for the logical product.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Note"/>

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

VariableScheme
Type:
VariableSchemeType, complex content
Contains a collection of variables and variable groups.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="VariableScheme"/>

VariableSchemeReference
Type:
r:SchemeReferenceType, complex content
A reference to a previously defined variable scheme either internal to or external to the DDI instance.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="VariableSchemeReference"/>

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