element <qm:approvalDescriptor> (local)
Namespace:
Type:
anonymous complexType
Content:
complex, 8 elements
Defined:
locally within qm:approvals element in qm.xsd; see XML source
Includes:
definitions of 8 elements
XML Representation Summary
<qm:approvalDescriptor>
   
Content: 
</qm:approvalDescriptor>
Content model elements (8):
qm:id (type xs:int),
Included in content model of elements (1):
qm:approvals
Annotation
A record allowing an acceptance or refusal.
XML Source (w/o annotations (14); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="1" name="approvalDescriptor">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="id" type="xs:int"/>
<xs:element maxOccurs="1" minOccurs="0" name="name" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="approvalType" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="approvalDate" type="xs:dateTime"/>
<xs:element maxOccurs="1" minOccurs="0" name="approvalStateChangedDate" type="xs:dateTime"/>
<xs:element maxOccurs="1" minOccurs="0" name="archived" type="xs:boolean"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="approval">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="approvalOwner">
<xs:complexType mixed="true">
<xs:attribute ref="rdf:resource"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="approvalStatus" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="approvalStateChangedDate" type="xs:dateTime"/>
<xs:element maxOccurs="1" minOccurs="0" name="comment" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="approvalComment"/>
</xs:sequence>
</xs:complexType>
</xs:element>
Content Element Detail (all declarations; defined within this component only; 8/8)
qm:approval
Type:
anonymous complexType, complex content
Datails of the approval.
XML Source (w/o annotations (7); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" name="approval">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="approvalOwner">
<xs:complexType mixed="true">
<xs:attribute ref="rdf:resource"/>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="approvalStatus" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="approvalStateChangedDate" type="xs:dateTime"/>
<xs:element maxOccurs="1" minOccurs="0" name="comment" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>

qm:approvalComment
Type:
anonymous complexType, complex content
XML Source (see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="approvalComment"/>

qm:approvalDate
Type:
xs:dateTime, predefined, simple content
XML Datetime the approval is requested by.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="approvalDate" type="xs:dateTime"/>

qm:approvalStateChangedDate
Type:
xs:dateTime, predefined, simple content
The timestamp of when the approval descriptor approval state is changed to non-pending state
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="approvalStateChangedDate" type="xs:dateTime"/>

qm:approvalType
Type:
xs:string, predefined, simple content
The id of the approval type. Possible values are: com.ibm.team.workitem.approvalType.review, com.ibm.team.workitem.approvalType.approval, and com.ibm.team.workitem.approvalType.verification
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="1" name="approvalType" type="xs:string"/>

qm:archived
Type:
xs:boolean, predefined, simple content
Indicates the approval is archived.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="archived" type="xs:boolean"/>

qm:id
Type:
xs:int, predefined, simple content
The approval descriptor id. Needed for updating or archiving actions.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="id" type="xs:int"/>

qm:name
Type:
xs:string, predefined, simple content
The optional name/description of the approval desctiptor.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="1" minOccurs="0" name="name" type="xs:string"/>

XML schema documentation generated with DocFlex/XML RE 1.9.0 using DocFlex/XML XSDDoc 2.8.0 template set