<xsd:group name="TradeOrInfo.model">
<xsd:annotation>
<xsd:documentation xml:lang="en">Defines a model group that allows either details of an event or information about a trade to be provided. Typically this will be used in a response to a request.</xsd:documentation>
</xsd:annotation>
<xsd:choice>
<xsd:sequence>
<xsd:element name="originatingEvent" type="OriginatingEvent" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">This may be used to describe why a trade was created. This can be used to provide context for a newly created trade that is not part of a post-trade event. For example, it can report that the trade was created as a result of netting activity, or due to a transfer, an allocation process, etc. Omitting this implies that the trade record was created as a result of a negotiated new trade.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="trade" type="Trade" />
</xsd:sequence>
<xsd:group ref="TradeReferenceInformation.model" />
<xsd:element name="tradePackage" type="TradePackage" />
</xsd:choice>
</xsd:group>
|