DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "QuestionSchemeType"
Namespace:
Content:
complex, 11 attributes, 9 elements
Defined:
Includes:
definitions of 6 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*, QuestionSchemeName*, r:Label*, r:Description*, QuestionSchemeReference*, (QuestionItem | MultipleQuestionItem)+
</...>
Content Model Elements (9):
All Direct / Indirect Based Elements (1):
Known Usage Locations
Annotation
A set of questions maintained by an agency, and used in the instrument.
Type Definition Detail
Type Derivation Tree
      r:AbstractMaintainableType (extension)
          r:MaintainableType (extension)
              QuestionSchemeType (extension)
XML Source (w/o annotations (6); see within schema source)
<xs:complexType name="QuestionSchemeType">
<xs:complexContent>
<xs:extension base="r:MaintainableType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionSchemeName"/>
<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="QuestionSchemeReference"/>
<xs:choice maxOccurs="unbounded">
<xs:element ref="QuestionItem"/>
<xs:element ref="MultipleQuestionItem"/>
</xs:choice>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Content Element Detail (defined in this component only; 6/9)
MultipleQuestionItem
Type:
MultipleQuestionItemType, complex content
An item (that is, a question) belonging to the Question Scheme.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="MultipleQuestionItem"/>

QuestionItem
Type:
QuestionItemType, complex content
An item (that is, a question) belonging to the Question Scheme.
XML Source (w/o annotations (1); see within schema source)
<xs:element ref="QuestionItem"/>

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

QuestionSchemeReference
Type:
r:SchemeReferenceType, complex content
Provides for inclusion by reference of external question schemes.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="QuestionSchemeReference"/>

r:Description
Type:
r:StructuredStringType, mixed content
A description of the use of the question scheme.
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 question scheme.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="r:Label"/>

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