DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "DataRelationshipType"
Namespace:
Content:
complex, 7 attributes, 8 elements
Defined:
Includes:
definitions of 5 elements
Used:
XML Representation Summary
<...
    action
 = 
("Add" | "Update" | "Delete")
    id
 = 
xs:string
    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*, DataRelationshipName*, r:Label*, r:Description*, LogicalRecord+, RecordRelationship*
</...>
Content Model Elements (8):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
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.
Type Definition Detail
Type Derivation Tree
      r:VersionableType (extension)
          DataRelationshipType (extension)
XML Source (w/o annotations (4); see within schema source)
<xs:complexType name="DataRelationshipType">
<xs:complexContent>
<xs:extension base="r:VersionableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataRelationshipName"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Description"/>
<xs:element maxOccurs="unbounded" ref="LogicalRecord"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="RecordRelationship"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (defined in this component only; 5/8)
DataRelationshipName
Type:
r:NameType, simple content
Simple Content
xs:string
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="DataRelationshipName"/>

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

r:Description
Type:
r:StructuredStringType, mixed content
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.
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
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>

RecordRelationship
Type:
RecordRelationshipType, complex content
All relationships are pairwise. Multiple pairwise relationships maybe needed to clarify all record relationships within a logical product.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="RecordRelationship"/>

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