# XML Schema Documentation

### Complex Type: PositionsAsserted

#### [Table of contents]

Super-types: | RequestMessage < PositionsAsserted (by extension)
Sub-types: | None

Name | PositionsAsserted
Abstract | no
Documentation | Request that a portfolio be defined, either by replacing any pre-existing definition, or by updating or removing individual positions.

XML Instance Representation
<...
version=" xsd:token (value comes from list: {'4-0'|'4-1'|'4-2'|'4-3'|'4-4'|'4-5'}) [1]

'Indicate which version of the FpML Schema an FpML message adheres to.'

"
expectedBuild=" xsd:positiveInteger [0..1]

'This optional attribute can be supplied by a message creator in an FpML instance to specify which build number of the schema was used to define the message when it was generated.'

"
actualBuild="1 [0..1]

'The specific build number of this schema version. This attribute is not included in an instance document. Instead, it is supplied by the XML parser when the document is validated against the FpML schema and indicates the build number of the schema file. Every time FpML publishes a change to the schema, validation rules, or examples within a version (e.g., version 4.2) the actual build number is incremented. If no changes have been made between releases within a version (i.e. from Trial Recommendation to Recommendation) the actual build number stays the same.'

">
<header> RequestMessageHeader </header> [1]
<validation> Validation </validation> [0..*]
<portfolio> InitialPortfolioDefinition </portfolio> [1]

'Contains the portfolio definition.'

<submissionsComplete> xsd:boolean </submissionsComplete> [1]

'Indicates whether all portfolio updates have been submitted for this as-of date'

Start Choice [1]

'Either start from scratch and define new positions, or just update and remove positions'

<replaceAllPositions> Empty </replaceAllPositions> [1]

'Indicates that this message replaces all previous positions for this portfolio.'

<definePosition> DefinePosition </definePosition> [1..*]

'Used to specify a new position.'

Start Choice [0..*]
<definePosition> DefinePosition </definePosition> [1]

'Used to specify a position, whether it is a new or updated position.'

<removePosition> PositionReference </removePosition> [1]

'Used to remove a position from the portfolio.'

End Choice
End Choice
<party> Party </party> [2..*]
</...>
Diagram
Schema Component Representation
<xsd:complexType name="PositionsAsserted">
<xsd:complexContent>
<xsd:extension base=" RequestMessage ">
<xsd:sequence>
<xsd:element name="portfolio" type=" InitialPortfolioDefinition "/>
<xsd:element name="submissionsComplete" type=" xsd:boolean "/>
<xsd:choice>
<xsd:sequence>
<xsd:element name="replaceAllPositions" type=" Empty "/>
<xsd:element name="definePosition" type=" DefinePosition " maxOccurs="unbounded"/>
</xsd:sequence>
<xsd:choice minOccurs="0" maxOccurs="unbounded">
<xsd:element name="definePosition" type=" DefinePosition "/>
<xsd:element name="removePosition" type=" PositionReference "/>
</xsd:choice>
</xsd:choice>
<xsd:element name="party" type=" Party " minOccurs="2" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>