<xsd:complexType name="Approval">
<xsd:annotation>
<xsd:documentation xml:lang="en">A specific approval state in the workflow.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="type" type="ApprovalType">
<xsd:annotation>
<xsd:documentation xml:lang="en">The type of approval (e.g. "pre-clearing credit").</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="status" type="NormalizedString">
<xsd:annotation>
<xsd:documentation xml:lang="en">The current state of approval (.e.g preapproved, pending approval, etc.)</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="approver" type="PersonId" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">The full name or identifiying ID of the relevant approver.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="approvingPartyReference" type="PartyReference" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">A pointer style reference to a party defined elsewhere in the document. The party referenced has approved the specified item (e.g. trade or allocation).</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="approvedPartyReference" type="PartyReference" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">A pointer style reference to a party defined elsewhere in the document. The party referenced was approved for the specified item (e.g. trade or allocation) by the approving party (if specified).</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="approvalId" type="ApprovalId" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">An identifer for a specific appoval, to allow the approval to be identified and tracked.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
|