<xsd:complexType name="CompressionActivity">
<xsd:annotation>
<xsd:documentation>A type that shows how multiple trades have been combined into a result.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="compressionType" type="CompressionType" minOccurs="0" />
<xsd:choice minOccurs="0">
<xsd:sequence>
<xsd:element name="replacementTradeIdentifier" type="TradeIdentifier" minOccurs="0" />
<xsd:element name="originatingTradeIdentifier" type="TradeIdentifier" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:sequence>
<!-- this option is deprecated in favour of the first choice -->
<xsd:element name="replacementTradeId" type="TradeId" minOccurs="0" />
<xsd:element name="originatingTradeId" type="TradeId" minOccurs="0" maxOccurs="unbounded" />
</xsd:sequence>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
|