# XML Schema Documentation

### Complex Type: Portfolio

#### [Table of contents]

Super-types: | None
Sub-types: | QueryPortfolio (by extension)

Name | Portfolio
Used by (from the same schema document) | Complex Type DataDocument , Complex Type Portfolio
Abstract | no
Documentation | A type representing an arbitary grouping of trade references.

XML Instance Representation
<...
id=" xsd:ID [0..1]">
<partyPortfolioName> PartyPortfolioName </partyPortfolioName> [0..1]

'The name of the portfolio together with the party that gave the name.'

<tradeId> TradeId </tradeId> [0..*]
<portfolio> Portfolio </portfolio> [0..*]

'An arbitary grouping of trade references (and possibly other portfolios).'

</...>
Diagram
Schema Component Representation
<xsd:complexType name="Portfolio">
<xsd:sequence>
<xsd:element name="partyPortfolioName" type=" PartyPortfolioName " minOccurs="0"/>
<xsd:element name="tradeId" type=" TradeId " minOccurs="0" maxOccurs="unbounded"/>
<xsd:element name="portfolio" type=" Portfolio " minOccurs="0" maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:attribute name="id" type=" xsd:ID "/>
</xsd:complexType>