DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "RoleType"
Namespace:
Content:
complex, 6 attributes, 7 elements
Defined:
globally in archive.xsd, see XML source
Includes:
definitions of 6 elements
Used:
XML Representation Summary
<...
    action
 = 
("Add" | "Update" | "Delete")
    id
 = 
xs:string
    isIdentifiable
 = 
"true"
    objectSource
 = 
xs:anyURI
    privacy
 = 
(xs:string | ("public" | "restricted" | "private"))
    urn
 = 
xs:anyURI
    >
   
Content: 
UserID*, (OrganizationReference | IndividualReference)+, r:Description+, Keyword*, Period*, Note*
</...>
Content Model Elements (7):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
Describes the role of individuals or organizations in relation to the DDI instance.and the life cycle of the data that is being documented
Type Definition Detail
Type Derivation Tree
  r:IdentifiableType (extension)
      RoleType (extension)
XML Source (w/o annotations (7); see within schema source)
<xs:complexType name="RoleType">
<xs:complexContent>
<xs:extension base="r:IdentifiableType">
<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:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (defined in this component only; 6/7)
IndividualReference
Type:
r:ReferenceType, complex content
Reference to an individual playing this role
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="IndividualReference"/>

Keyword
Type:
Keyword used to classify the role of the organization or individual
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 role 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 playing this role
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="OrganizationReference"/>

Period
Type:
r:DateType, complex content
Time period when this role is/was being played
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 role played by the actor(s) referenced above
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