<xsd:complexType name="OrderStatus">
<xsd:sequence>
<xsd:choice>
<xsd:sequence>
<xsd:element name="requesterOrderId" type="NormalizedString" />
<xsd:element name="orderId" type="NormalizedString" minOccurs="0" />
</xsd:sequence>
<xsd:element name="orderId" type="NormalizedString" />
</xsd:choice>
<xsd:element name="submittedTime" type="xsd:dateTime" minOccurs="0" />
<xsd:element name="order" type="String" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">echo back the order (placeholder type for now)</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="status" type="OrderStatusEnum" minOccurs="0" />
<xsd:choice minOccurs="0">
<xsd:sequence>
<xsd:element name="reason" type="Reason" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Reason for a rejected quote</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="counterofferQuote" type="String" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Supply a counter-offer quote, e.g. if order is rejected / DUMMY placeholder.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:sequence>
<xsd:element name="totalSize" type="xsd:decimal" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Number of units of the product being ordered.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="fills" type="xsd:integer" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Number of fills so far.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="filledSize" type="xsd:decimal" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Number of units of the product filled so far</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="remainingSize" type="xsd:decimal" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Number of units of the product remaining to be filled</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="fill" type="OrderFill" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation xml:lang="en">Info about the fills</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:choice minOccurs="0">
<xsd:element name="trade" type="Trade">
<xsd:annotation>
<xsd:documentation xml:lang="en">trade description.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="tradeIdentifier" type="TradeIdentifier" maxOccurs="unbounded" />
<xsd:element name="tradePackage" type="TradePackage" />
</xsd:choice>
<xsd:element name="creditLimitReference" type="CreditLimitReference" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
|