<xsd:group name="BondPriceAndYield.model">
<xsd:annotation>
<xsd:documentation xml:lang="en">A group which has either Bond Price or Yield elements.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:annotation>
<xsd:documentation xml:lang="en">These elements express a price in terms of percentage of nominal amount.</xsd:documentation>
</xsd:annotation>
<xsd:choice>
<xsd:annotation>
<xsd:documentation xml:lang="en">One of cleanPrice or dirtyPrice must exist.</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="cleanPrice" type="xsd:decimal">
<xsd:annotation>
<xsd:documentation xml:lang="en">Bond clean price, expressed in percentage points, 100 is the initial value of the bond.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="accruals" type="xsd:decimal" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Accruals, relationship is clean price and accruals equals dirty price, all prices are expressed in percentage points, 100 is the initial value of the bond.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="dirtyPrice" type="xsd:decimal" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Bond dirty price, expressed in percentage points, 100 is the initial value of the bond.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:element name="dirtyPrice" type="xsd:decimal">
<xsd:annotation>
<xsd:documentation xml:lang="en">Bond dirty price, expressed in percentage points, 100 is the initial value of the bond.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:choice>
<xsd:element name="relativePrice" type="RelativePrice" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Bond price relative to a Benchmark.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="yieldToMaturity" type="xsd:decimal" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Yield to Maturity.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="inflationFactor" type="xsd:decimal" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">The inflation factor is specified for inflation-linked products which require some additional elements to calculate prices correctly.</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="allInPrice" type="xsd:decimal" minOccurs="0">
<xsd:annotation>
<xsd:documentation xml:lang="en">Bond all-in-price which is a price that includes all relevant price adjustments (i.e. accrued interest, haircut or margin ratio, inflation factor,etc.). It expresses a price in terms of percentage of nominal amount.</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:group>
|