FpML 4.3 Validation Rules - Rules for Repo Product (REPO)

This is the Repo part of the validation rule set accompanying the FpML 4.3 Working Draft. The introductory section in the validation section of the specifications contains background information and documentation for this page.

The rules contained on this page contain links to cut down versions of valid and invalid test cases. The cut down test cases are non-normative and are provided for the purpose of documentation only.

Content

Preconditions

The following preconditions are always to be executed relative to the root of the FpML document being validated. The context of the rule is NOT carried through to the precondition.

Precondition: RepoForwardLeg
The repo/forwardLeg is present.

Rules

Unique contexts:

Context: Repo

repo-1 (Mandatory)
If repo/duration is Open then repo/forwardLeg must not be present.
repo-2 (Mandatory)
Preconditions: RepoForwardLeg
spotLeg/buyerPartyReference/@href must be equal to forwardLeg/sellerPartyReference/@href, and spotLeg/sellerPartyReference/@href must be equal to forwardLeg/buyerPartyReference/@href.

Deprecated rules