# XML Schema Documentation

### Complex Type: FxSwap

#### [Table of contents]

Super-types: | Product < FxSwap (by extension)
Sub-types: | None

Name | FxSwap
Used by (from the same schema document) | Element fxSwap
Abstract | no
Documentation | A type that describes an FX swap. This is similar to FpML_FXLeg, but contains multiple legs for a particular trade.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<productType> ProductType </productType> [0..*]

'A classification of the type of product. FpML defines a simple product categorization using a coding scheme.'

<productId> ProductId </productId> [0..*]

'A product reference identifier allocated by a party. FpML does not define the domain values associated with this element. Note that the domain values for this element are not strictly an enumerated list.'

<fxSingleLeg> ... </fxSingleLeg> [1..*]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="FxSwap">
<xsd:complexContent>
<xsd:extension base=" Product ">
<xsd:sequence>
<xsd:element ref=" fxSingleLeg " maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>