DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "RelationType"
Namespace:
Content:
complex, 1 attribute, 6 elements
Defined:
globally in archive.xsd, see XML source
Includes:
definitions of 6 elements
Used:
XML Representation Summary
<...
    privacy
 = 
(xs:string | ("public" | "restricted" | "private"))
    >
   
Content: 
(OrganizationReference | IndividualReference)+, r:Description+, Keyword*, Period*, Note*
</...>
Content Model Elements (6):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
Describes a relation between actors (organizations and/or individuals)
XML Source (w/o annotations (7); see within schema source)
<xs:complexType name="RelationType">
<xs:sequence>
<xs:choice maxOccurs="unbounded">
<xs:element ref="OrganizationReference"/>
<xs:element ref="IndividualReference"/>
</xs:choice>
<xs:element maxOccurs="unbounded" ref="r:Description"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Keyword"/>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Period"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="Note" type="xs:string"/>
</xs:sequence>
<xs:attributeGroup ref="PRIVACY"/>
</xs:complexType>
Content Element Detail (defined in this component only; 6/6)
IndividualReference
Type:
r:ReferenceType, complex content
Reference to an individual
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="IndividualReference"/>

Keyword
Type:
Keyword used to classify the relationship
Simple Content
xs:string
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Keyword"/>

Note
Type:
xs:string, predefined, simple content
Note regarding the relationship being described
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="Note" type="xs:string"/>

OrganizationReference
Type:
r:ReferenceType, complex content
Reference to an organization
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="OrganizationReference"/>

Period
Type:
r:DateType, complex content
Time period during which this relationship is valid.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="Period"/>

r:Description
Type:
r:StructuredStringType, mixed content
Description of the relationship
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" ref="r:Description"/>

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