Commit 10f1a8fa by Amelin Konstantin

Initial commit

parents
# sbt
# (may want to keep parts of 'project')
project/project
project/target
target/
build/
lib/
output/*
# eclipse
build
.classpath
.project
.settings
.worksheet
# intellij idea
*.log
*.iml
*.ipr
*.iws
.idea
# vscode
/.vscode
# mac
.DS_Store
# other?
.history
.scala_dependencies
.cache
.cache-main
#general
*.class
/RUNNING_PID
\ No newline at end of file
name := "SPB_Exchange_Repo"
version := "0.1"
scalaVersion := "2.12.6"
libraryDependencies += "org.scala-lang.modules" %% "scala-xml" % "1.1.0"
libraryDependencies += "org.scalactic" %% "scalactic" % "3.0.5"
libraryDependencies += "org.scalatest" %% "scalatest" % "3.0.5" % "test"
sbt.version = 1.1.6
\ No newline at end of file
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.7")
<?xml version="1.0" encoding="utf-8"?>
<nonpublicExecutionReport xmlns="http://www.fpml.org/FpML-5/recordkeeping" xmlns:nsdext="http://www.fpml.org/FpML-5/recordkeeping/nsd-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:fpmlext="http://www.fpml.org/FpML-5/ext" xsi:schemaLocation="http://www.fpml.org/FpML-5/recordkeeping ../fpml-recordkeeping-merged-schema.xsd http://www.fpml.org/FpML-5/recordkeeping/nsd-ext ../nsd-ext-merged-schema.xsd" fpmlVersion="5-4" actualBuild="5">
<!--Заголовок сообщения.-->
<!--Message header.-->
<header>
<!--Номер сообщения-->
<!--Message identifier-->
<messageId messageIdScheme="http://repository.nsd.ru/coding-scheme/messageid(nsdrus)">MesIdfra-1</messageId>
<!--Отправитель сообщения-->
<!--Message sender-->
<sentBy>P00000000111</sentBy>
<!--Получатель сообщения-->
<!--Message receiver-->
<sendTo>NDC000000000</sendTo>
<!--Время создания сообщения-->
<!--Message creation time-->
<creationTimestamp>2015-07-27T19:03:13</creationTimestamp>
<!--Версия спецификации.-->
<!--The version(s) of specifications.-->
<implementationSpecification>
<!--Версия спецификации.-->
<!--Version of specification.-->
<version>4.4</version>
</implementationSpecification>
</header>
<!--Признак корректирующего сообщения-->
<!--Correction message mark-->
<isCorrection>false</isCorrection>
<!--Уникальный код цепочки сообщений-->
<!--Messages chain identifier-->
<correlationId correlationIdScheme="http://repository.nsd.ru/coding-scheme/correlationId(nsdrus)">[P00000000111]-[2015]-[MesIdfra-1]</correlationId>
<!--Дата совершения отчитываемого события-->
<!--Event's actual date-->
<asOfDate>2013-01-21</asOfDate>
<!--Регистрация Анкеты-->
<!--Form initial registration-->
<trade xsi:type="nsdext:TradeNsd">
<!--Общая информация о генсоглашении/договоре.-->
<!--Trade/Master agreement general information.-->
<tradeHeader>
<!--Регистрационный номер, присвоенный участником-->
<!--Party's identifiers-->
<partyTradeIdentifier>
<!--Участник.-->
<!--Party.-->
<partyReference href="TradeRepository" />
<!--Регистрационный номер-->
<!--Trade/Master agreement/Report identifier-->
<tradeId>NONREF</tradeId>
<!--Регистрационный номер генерального соглашения-->
<!--Master agreement identifier.-->
<linkId linkIdScheme="http://repository.nsd.ru/coding-scheme/linkid(nsdrus)">MA0000000123</linkId>
</partyTradeIdentifier>
<!--Регистрационный номер, присвоенный участником-->
<!--Party's identifiers-->
<partyTradeIdentifier>
<!--Участник.-->
<!--Party.-->
<partyReference href="Party1" />
<!--Регистрационный номер-->
<!--Trade/Master agreement/Report identifier-->
<tradeId>Fra-Party1-NUM1</tradeId>
</partyTradeIdentifier>
<!--Регистрационный номер, присвоенный участником-->
<!--Party's identifiers-->
<partyTradeIdentifier>
<!--Участник.-->
<!--Party.-->
<partyReference href="Party2" />
<!--Регистрационный номер-->
<!--Trade/Master agreement/Report identifier-->
<tradeId>NONREF</tradeId>
</partyTradeIdentifier>
<!--Регистрационный номер, присвоенный участником-->
<!--Party's identifiers-->
<partyTradeIdentifier>
<!--Участник.-->
<!--Party.-->
<partyReference href="UTIGeneratingParty" />
<!--Регистрационный номер-->
<!--Trade/Master agreement/Report identifier-->
<tradeId>VRKSDFKJH000000004DA2A92861A8A4A1B822DFGP5M2809T02</tradeId>
</partyTradeIdentifier>
<!--Информация стороны о сделке.-->
<!--Party trade information.-->
<partyTradeInformation>
<!--Участник.-->
<!--Party.-->
<partyReference href="TradeRepository" />
<!--Регулятивный режим отчетности.-->
<!--Reporting regime.-->
<reportingRegime>
<!--Наименование правил регулятивной отчетности.-->
<!--Reporting regime name.-->
<name reportingRegimeNameScheme="http://www.fpml.org/coding-scheme/reporting-regime">RussianFederation</name>
</reportingRegime>
</partyTradeInformation>
<!--Дата сделки.-->
<!--Trade date.-->
<tradeDate>2013-01-21</tradeDate>
</tradeHeader>
<!--Сделка репо-->
<!--Repo transaction-->
<fpmlext:repo xsi:type="nsdext:RepoNsd">
<!--Тип продукта.-->
<!--Product type.-->
<productType productTypeScheme="http://www.fpml.org/coding-scheme/product-taxonomy">Equity:Repo:EquityRepo</productType>
<!--Код классификации ПФИ и договоров РЕПО-->
<!--Derivatives classification code.-->
<productId>UKWN</productId>
<!--Фиксированная процентная ставка.-->
<!--Fixed rate schedule.-->
<fpmlext:fixedRateSchedule>
<!--Начальное значение.-->
<!--Initial value.-->
<initialValue>0.0600000</initialValue>
<!--Шаг изменений.-->
<!--Step.-->
<step>
<!--Очередная дата.-->
<!--Step date.-->
<stepDate>2013-10-15</stepDate>
<!--Очередное значение.-->
<!--Step value.-->
<stepValue>0.0650000</stepValue>
</step>
</fpmlext:fixedRateSchedule>
<!--Коэффициент для расчета дней в процентном периоде.-->
<!--Day count fraction.-->
<fpmlext:dayCountFraction dayCountFractionScheme="http://www.fpml.org/coding-scheme/day-count-fraction">ACT/ACT.ICMA</fpmlext:dayCountFraction>
<!--Тип срока репо.-->
<!--Repo duration type.-->
<fpmlext:duration>Term</fpmlext:duration>
<!--Первая часть сделки репо.-->
<!--Repo spot leg.-->
<fpmlext:spotLeg xsi:type="nsdext:RepoTransactionLegNsd">
<!--Сторона-покупатель инструмента.-->
<!--Buyer party.-->
<buyerPartyReference href="Party1" />
<!--Сторона-продавец инструмента.-->
<!--Seller party.-->
<sellerPartyReference href="Party2" />
<!--Дата расчетов.-->
<!--Settlement date.-->
<fpmlext:settlementDate>
<!--Дата.-->
<!--Date-->
<adjustableDate>
<!--Дата-->
<!--Date-->
<unadjustedDate>2015-09-10</unadjustedDate>
</adjustableDate>
</fpmlext:settlementDate>
<!--Сумма расчетов.-->
<!--Settlement amount.-->
<settlementAmount>
<!--Валюта суммы.-->
<!--Currency of money amount.-->
<currency currencyScheme="http://www.fpml.org/ext/iso4217-2001-08-15">RUB</currency>
<!--Сумма.-->
<!--Amount.-->
<amount>123.0000000</amount>
</settlementAmount>
</fpmlext:spotLeg>
<!--Вторая часть сделки репо.-->
<!--Repo forward leg.-->
<fpmlext:forwardLeg xsi:type="nsdext:ForwardRepoTransactionLegNsd">
<!--Сторона-покупатель инструмента.-->
<!--Buyer party.-->
<buyerPartyReference href="Party1" />
<!--Сторона-продавец инструмента.-->
<!--Seller party.-->
<sellerPartyReference href="Party2" />
<!--Дата расчетов.-->
<!--Settlement date.-->
<fpmlext:settlementDate>
<!--Дата.-->
<!--Date-->
<adjustableDate>
<!--Дата-->
<!--Date-->
<unadjustedDate>2015-09-10</unadjustedDate>
</adjustableDate>
</fpmlext:settlementDate>
<!--Сумма расчетов.-->
<!--Settlement amount.-->
<settlementAmount>
<!--Валюта суммы.-->
<!--Currency of money amount.-->
<currency currencyScheme="http://www.fpml.org/ext/iso4217-2001-08-15">RUB</currency>
<!--Сумма.-->
<!--Amount.-->
<amount>123.0000000</amount>
</settlementAmount>
</fpmlext:forwardLeg>
<!--Фондовый актив.-->
<!--Equity.-->
<equity id="RU000A0JR779">
<!--Идентификатор базового актива.-->
<!--Asset identifier.-->
<instrumentId instrumentIdScheme="">RU000A0JR779</instrumentId>
</equity>
</fpmlext:repo>
<!--Обеспечение по сделке-->
<!--Collateral-->
<nsdext:collateral>
<!--Тип обеспечения по договору.-->
<!--Collateral type for the trade.-->
<nsdext:marginType>FC</nsdext:marginType>
<!--Форма обеспечения-->
<!--Form of collateral-->
<nsdext:collateralForm>T</nsdext:collateralForm>
</nsdext:collateral>
<!--Специальные атрибуты сделок.-->
<!--Specific regulatory trade attributes.-->
<nsdext:nsdSpecificTradeFields>
<!--Обязанность централизованного клиринга-->
<!--Cleared-->
<nsdext:cleared>N</nsdext:cleared>
<!--Код клиринговой организации.-->
<!--Clearing organization code.-->
<nsdext:clearingOrganizationCode>NDC000000001</nsdext:clearingOrganizationCode>
<!--Дата включения обязательств из договора в клиринговый пул-->
<!--Cleared date-->
<nsdext:clearedDate>2015-04-15</nsdext:clearedDate>
<!--Условия согласования параметров сделки (договора).-->
<!--Trade parameters reconciliation type.-->
<nsdext:reconciliationType>FULL</nsdext:reconciliationType>
<!--Тип расчетов.-->
<!--Settlement type.-->
<nsdext:clearSettlementType clearSettlementTypeScheme="http://repository.nsd.ru/coding-scheme/clear-settlement-type">CS</nsdext:clearSettlementType>
<!--Метод расчетов.-->
<!--Settlement method.-->
<nsdext:clearSettlementMethod clearSettlementMethodScheme="http://repository.nsd.ru/coding-scheme/clear-settlement-method">C</nsdext:clearSettlementMethod>
<!--Способ подтверждения сделки-->
<!--Contract details matching method-->
<nsdext:confirmationMethod>MATH</nsdext:confirmationMethod>
<!--Автоматическое закрытие сделки в дату окончания срока действия договора-->
<!--Automatic trade execution on the agreement end date-->
<nsdext:automaticExecution>Y</nsdext:automaticExecution>
<!--Признак связанности стороны 1 и стороны 2-->
<!--Parties are affiliated-->
<nsdext:partiesAreAffiliated>N</nsdext:partiesAreAffiliated>
<!--Регуляторный тип сделки.-->
<!--Transaction regulatory class.-->
<nsdext:regulatoryStatus regulatoryAdviceScheme="http://repository.nsd.ru/coding-scheme/regulatory-status">Derivative</nsdext:regulatoryStatus>
<!--Дата начала срока действия договора.-->
<!--Agreement start date.-->
<nsdext:startAgreementDate>2015-07-17</nsdext:startAgreementDate>
<!--Дата окончания срока действия договора.-->
<!--Agreement end date.-->
<nsdext:endAgreementDate>2015-07-09</nsdext:endAgreementDate>
<!--Информация о клиенте стороны-->
<!--Information about Party clients-->
<nsdext:clientDetails>
<!--Сторона, обслуживающая клиента-->
<!--Party, servicing a client-->
<nsdext:servicingParty href="Party1" />
<!--Тип клиента-->
<!--Client type-->
<nsdext:type>P</nsdext:type>
<!--Идентификатор клиента-->
<!--Identifier-->
<nsdext:id>INN_123456789</nsdext:id>
<!--Наименование клиента-->
<!--Name-->
<nsdext:name>Клиент физическое лицо</nsdext:name>
<!--Код страны клиента-->
<!--Country code-->
<nsdext:country countryScheme="http://www.fpml.org/ext/iso3166">AE</nsdext:country>
</nsdext:clientDetails>
<!--Информация о клиенте стороны-->
<!--Information about Party clients-->
<nsdext:clientDetails>
<!--Сторона, обслуживающая клиента-->
<!--Party, servicing a client-->
<nsdext:servicingParty href="Party2" />
<!--Договор заключен не в интересах клиента-->
<!--Own party trade-->
<nsdext:ownTrade>true</nsdext:ownTrade>
</nsdext:clientDetails>
</nsdext:nsdSpecificTradeFields>
</trade>
<!--Участники Анкеты-->
<!--Party-->
<party id="TradeRepository">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>NDC000000000</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000001</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>НКО АО НРД</partyName>
</party>
<!--Участники Анкеты-->
<!--Party-->
<party id="UTIGeneratingParty">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>P00000000111</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000001</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>Клиент репозитария 1</partyName>
</party>
<!--Участники Анкеты-->
<!--Party-->
<party id="Party1">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>P00000000111</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000001</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>Клиент репозитария 1</partyName>
<!--Вид экономической деятельности-->
<!--Industry classification-->
<classification industryClassificationScheme="http://www.fpml.org/coding-scheme/external/north-american-industry-classification-system">Other</classification>
<!--Страна.-->
<!--Country.-->
<country countryScheme="http://www.fpml.org/ext/iso3166">RU</country>
<!--Тип лица-->
<!--Organization type-->
<organizationType organizationTypeScheme="http://www.fpml.org/coding-scheme/organization-type">L</organizationType>
</party>
<!--Участники Анкеты-->
<!--Party-->
<party id="Party2">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>P00000000222</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000002</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>Клиент репозитария 2</partyName>
<!--Вид экономической деятельности-->
<!--Industry classification-->
<classification industryClassificationScheme="http://www.fpml.org/coding-scheme/external/north-american-industry-classification-system">Other</classification>
<!--Страна.-->
<!--Country.-->
<country countryScheme="http://www.fpml.org/ext/iso3166">RU</country>
<!--Тип лица-->
<!--Organization type-->
<organizationType organizationTypeScheme="http://www.fpml.org/coding-scheme/organization-type">L</organizationType>
</party>
<!--Участники Анкеты-->
<!--Party-->
<party id="Sender">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>P00000000111</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000001</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>Клиент репозитария 1</partyName>
</party>
</nonpublicExecutionReport>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.fpml.org/FpML-5/recordkeeping/nsd-ext"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:fpml="http://www.fpml.org/FpML-5/recordkeeping"
targetNamespace="http://www.fpml.org/FpML-5/recordkeeping/nsd-ext"
elementFormDefault="qualified">
<!--Version: 2018-09-04-->
<xsd:import namespace="http://www.fpml.org/FpML-5/recordkeeping"
schemaLocation="fpml-recordkeeping-merged-schema.xsd"/>
<xsd:include schemaLocation="nsd-ext-merged-schema.xsd"/>
<!--fpml.org/nsd-extensions/nsd-bulk-reporting.xsd-->
<xsd:element name="bulkBinaryOptionsReport"
type="BulkBinaryOptionsReport"
substitutionGroup="fpml:product">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Агрегированный отчёт по бинарным опционам</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="BulkBinaryOptionsReport">
<xsd:complexContent>
<xsd:extension base="fpml:Product">
<xsd:sequence>
<xsd:element name="tradesObligationStatus" type="TradeObligationStatus"/>
<xsd:group ref="fpml:BuyerSeller.model">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Покупатель/продавец опциона</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:group>
<xsd:element ref="fpml:exercise">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Стиль исполнения опциона</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="settlementCurrency" type="fpml:Currency">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта расчётов</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="underlyer" type="BinaryOptionUnderlyer" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Базовый актив</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="t"
type="BulkBinaryOptionTrade"
minOccurs="1"
maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Параметры сделки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="BinaryOptionUnderlyer">
<xsd:sequence>
<xsd:element name="instrumentId" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификтор актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="description" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Описание актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:choice>
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Выбор единицы измерения актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
<xsd:element name="unit" type="fpml:QuantityUnit">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Единица измерения</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="currency" type="fpml:Currency">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
</xsd:choice>
<xsd:choice minOccurs="0">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru"/>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
<xsd:element name="numberOfUnits" type="xsd:int">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Количество единиц актива в корзине</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="basketPercentage" type="xsd:decimal">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Процент актива в корзине</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="BulkBinaryOptionTrade">
<xsd:attribute name="o" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификатор сделки, присвоенный участником</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="r" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификатор сделки, присвоенный репозитарием</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="u" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">UTI</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">UTI</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="q" type="xsd:int" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Количество опционов</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="f" type="xsd:decimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Премия</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Fee</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="p" type="xsd:decimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Начальная цена базового актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="d" type="xsd:decimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Изменение значения цены</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="m" type="xsd:decimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Фиксированный размер выплаты </xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:element name="repoBulkReport"
type="RepoBulkReport"
substitutionGroup="fpml:product">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Отчет по сделкам репо
</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Bulk repo report</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="RepoBulkReport">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru"/>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="fpml:Product">
<xsd:sequence>
<xsd:element name="tradesObligationStatus" type="TradeObligationStatus">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Статус исполнения обязательств</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Commitment fulfillment status</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="spotLegSettlementDate" type="fpml:IdentifiedDate">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Дата расчетов по первой части</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Spot leg settlement date</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="forwardLegSettlementDate" type="fpml:IdentifiedDate">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Дата расчетов по второй части</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Forward leg settlement date</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="repos" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Параметры контракта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Parameters</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="counterparty" type="fpml:Party">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Контрагент</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Counterparty</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="repoDetails" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Детали контракта </xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Repo details</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="tradeId" type="BulkTradeId">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификаторы сделки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Trade IDs
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="side" type="RepoSide">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Тип стороны</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Party type</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:choice>
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru"/>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
<xsd:element name="rate" type="xsd:decimal">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Фиксированная ставка репо</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Fixed rate</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:sequence>
<xsd:element name="floatingRate">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Плавающая ставка репо</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Floating rate</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="fpml:FloatingRateIndex">
<xsd:attribute name="t" type="xsd:positiveInteger" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Мультипликатор периода ставки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Period multiplier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="p" type="fpml:PeriodEnum" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Тип временного периода ставки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Period type</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="i" type="xsd:decimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Начальное значение плавающей ставки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Initial rate</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:choice>
<xsd:element name="spot">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма расчетов по первой части договора</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Spot leg settlement amount</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="a" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="forward">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма расчетов по второй части договора</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Forward leg settlement amount</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="a" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:choice maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Выбор обеспечения</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">A choice of underlyer asset</xsd:documentation>
</xsd:annotation>
<xsd:element name="equity">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Акция</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Equity</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="id" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Код базисного актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Asset identifier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="n" type="xsd:integer" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Количество ценных бумаг</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Number of units</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="p" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Цена единицы актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Unit price</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="bond">
<xsd:complexType>
<xsd:attribute name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Код базисного актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Asset identifier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="n" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Номинал</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Nominal</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:choice>
<xsd:element name="client" type="Client" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Клиент</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Client</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="RepoSide">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Buyer">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Покупатель</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Buyer</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="Seller">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Продавец</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Seller</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="fxSwapBulkReport"
type="FxSwapBulkReport"
substitutionGroup="fpml:product">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Отчет по сделкам валютный своп</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">FX Swap bulk report</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="fxSingleLegBulkReport"
type="FxSingleLegBulkReport"
substitutionGroup="fpml:product">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Отчет по конверсионным сделкам</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">FX SingleLeg bulk report</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="BulkTradeId">
<xsd:attribute name="r" use="optional" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификационный код договора</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Repository tradeId</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="p" use="required" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Внутренний номер договора</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Party tradeId</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="u" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">UTI код договора</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">UTI</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="pid" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Код классификации ПФИ</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Derivatives classification code</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="FxSwapBulkReport">
<xsd:complexContent>
<xsd:extension base="fpml:Product">
<xsd:sequence>
<xsd:element name="tradesObligationStatus" type="TradeObligationStatus">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Статус исполнения обязательств</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Commitment fulfillment status</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="nearLegSettlementDate" type="fpml:IdentifiedDate">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Дата расчетов по первой части</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Near leg settlement date</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="farLegSettlementDate" type="fpml:IdentifiedDate">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Дата расчетов по второй части</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Far leg settlement date</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" name="swaps">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сделки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Swaps</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="counterparty" type="fpml:Party">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Контрагент</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Counterparty</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" name="swapDetails">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Детали контракта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Swap details</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="tradeId" type="BulkTradeId">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификаторы</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Trade IDs</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="side" type="SwapSide">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Тип стороны</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Party type</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="currencies">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюты</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currencies</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="c1" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта 1</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 1</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c2" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта 2</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 2</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="d" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Торгуемая валюта (базовый актив)</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Dealt Currency (Underlying Currency)</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="nearLeg">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Первоначальный платеж по валютному свопу</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Near FX Swap Leg</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="c1" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма валюты 1</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 1 amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c2" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма валюты 2</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 2 amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="b" type="fpml:QuoteBasisEnum" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Базис котировки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Quote basis</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="r" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Ставка</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Rate</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="farLeg">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Окончательный платеж по валютному свопу</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Far FX Swap Leg</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="c1" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма валюты 1</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 1 amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c2" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма валюты 2</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 2 amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="b" type="fpml:QuoteBasisEnum" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Базис котировки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Quote basis</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="r" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Ставка</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Rate</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="client" type="Client" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Клиент</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Client</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="SwapSide">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Payer">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Плательщик</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Payer</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="Receiver">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Получатель</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Receiver</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FxSingleLegBulkReport">
<xsd:complexContent>
<xsd:extension base="fpml:Product">
<xsd:sequence>
<xsd:element name="tradesObligationStatus" type="TradeObligationStatus">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Статус исполнения обязательств</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Commitment fulfillment status</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="settlementDate" type="fpml:IdentifiedDate">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Дата расчетов</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Settlement date</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" name="singleLegs">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сделки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Swaps</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="counterparty" type="fpml:Party">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Контрагент</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Counterparty</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" name="singleLegDetails">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Детали контракта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Swap details</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="tradeId" type="BulkTradeId">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификаторы</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Trade IDs</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="side" type="SwapSide">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Тип стороны</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Party type</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="currencies">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюты</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currencies</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="c1" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта 1</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 1</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c2" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта 2</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 2</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="d" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Торгуемая валюта (базовый актив)</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Dealt Currency (Underlying Currency)</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="singleLeg">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Платеж по сделке</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">SingleLeg</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="c1" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма валюты 1</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 1 amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c2" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма валюты 2</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 2 amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="b" type="fpml:QuoteBasisEnum" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Базис котировки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Quote basis</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="r" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Ставка</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Rate</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="client" type="Client" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Клиент</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Client</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Client">
<xsd:attribute name="i" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификатор клиента</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Client ID</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="t" type="ClientType">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Тип клиента</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Client type</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="n" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Наименование клиента</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Client name</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c" type="Country">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Код страны клиента</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Country code</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:schema>
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="utf-8"?>
<!--
<!DOCTYPE schema
PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd"
[
<!ATTLIST schema
xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#">
<!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
<!ENTITY % p ''>
<!ENTITY % s ''>
]>
-->
<!-- Schema for XML Signatures
http://www.w3.org/2000/09/xmldsig#
$Revision: 8563 $ on $Date: 2011-10-05 12:17:57 -0400 (Wed, 05 Oct 2011) $ by $Author: iyermakova $
Copyright 2001 The Internet Society and W3C (Massachusetts Institute
of Technology, Institut National de Recherche en Informatique et en
Automatique, Keio University). All Rights Reserved.
http://www.w3.org/Consortium/Legal/
This document is governed by the W3C Software License [1] as described
in the FAQ [2].
[1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
[2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
-->
<schema targetNamespace="http://www.w3.org/2000/09/xmldsig#" elementFormDefault="qualified" version="0.1" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<!-- Basic Types Defined for Signatures -->
<simpleType name="CryptoBinary">
<restriction base="base64Binary" />
</simpleType>
<!-- Start Signature -->
<element name="Signature" type="ds:SignatureType" />
<complexType name="SignatureType">
<sequence>
<element ref="ds:SignedInfo" />
<element ref="ds:SignatureValue" />
<element ref="ds:KeyInfo" minOccurs="0" />
<element ref="ds:Object" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="SignatureValue" type="ds:SignatureValueType" />
<complexType name="SignatureValueType">
<simpleContent>
<extension base="base64Binary">
<attribute name="Id" type="ID" use="optional" />
</extension>
</simpleContent>
</complexType>
<!-- Start SignedInfo -->
<element name="SignedInfo" type="ds:SignedInfoType" />
<complexType name="SignedInfoType">
<sequence>
<element ref="ds:CanonicalizationMethod" />
<element ref="ds:SignatureMethod" />
<element ref="ds:Reference" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType" />
<complexType name="CanonicalizationMethodType" mixed="true">
<sequence>
<any namespace="##any" minOccurs="0" maxOccurs="unbounded" />
<!-- (0,unbounded) elements from (1,1) namespace -->
</sequence>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<element name="SignatureMethod" type="ds:SignatureMethodType" />
<complexType name="SignatureMethodType" mixed="true">
<sequence>
<element name="HMACOutputLength" type="ds:HMACOutputLengthType" minOccurs="0" />
<any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
<!-- (0,unbounded) elements from (1,1) external namespace -->
</sequence>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<!-- Start Reference -->
<element name="Reference" type="ds:ReferenceType" />
<complexType name="ReferenceType">
<sequence>
<element ref="ds:Transforms" minOccurs="0" />
<element ref="ds:DigestMethod" />
<element ref="ds:DigestValue" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
<attribute name="URI" type="anyURI" use="optional" />
<attribute name="Type" type="anyURI" use="optional" />
</complexType>
<element name="Transforms" type="ds:TransformsType" />
<complexType name="TransformsType">
<sequence>
<element ref="ds:Transform" maxOccurs="unbounded" />
</sequence>
</complexType>
<element name="Transform" type="ds:TransformType" />
<complexType name="TransformType" mixed="true">
<choice minOccurs="0" maxOccurs="unbounded">
<any namespace="##other" processContents="lax" />
<!-- (1,1) elements from (0,unbounded) namespaces -->
<element name="XPath" type="string" />
</choice>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<!-- End Reference -->
<element name="DigestMethod" type="ds:DigestMethodType" />
<complexType name="DigestMethodType" mixed="true">
<sequence>
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<element name="DigestValue" type="ds:DigestValueType" />
<simpleType name="DigestValueType">
<restriction base="base64Binary" />
</simpleType>
<!-- End SignedInfo -->
<!-- Start KeyInfo -->
<element name="KeyInfo" type="ds:KeyInfoType" />
<complexType name="KeyInfoType" mixed="true">
<choice maxOccurs="unbounded">
<element ref="ds:KeyName" />
<element ref="ds:KeyValue" />
<element ref="ds:RetrievalMethod" />
<element ref="ds:X509Data" />
<element ref="ds:PGPData" />
<element ref="ds:SPKIData" />
<element ref="ds:MgmtData" />
<any namespace="##other" processContents="lax" />
<!-- (1,1) elements from (0,unbounded) namespaces -->
</choice>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="KeyName" type="string" />
<element name="MgmtData" type="string" />
<element name="KeyValue" type="ds:KeyValueType" />
<complexType name="KeyValueType" mixed="true">
<choice>
<element ref="ds:DSAKeyValue" />
<element ref="ds:RSAKeyValue" />
<any namespace="##other" processContents="lax" />
</choice>
</complexType>
<element name="RetrievalMethod" type="ds:RetrievalMethodType" />
<complexType name="RetrievalMethodType">
<sequence>
<element ref="ds:Transforms" minOccurs="0" />
</sequence>
<attribute name="URI" type="anyURI" />
<attribute name="Type" type="anyURI" use="optional" />
</complexType>
<!-- Start X509Data -->
<element name="X509Data" type="ds:X509DataType" />
<complexType name="X509DataType">
<sequence maxOccurs="unbounded">
<choice>
<element name="X509IssuerSerial" type="ds:X509IssuerSerialType" />
<element name="X509SKI" type="base64Binary" />
<element name="X509SubjectName" type="string" />
<element name="X509Certificate" type="base64Binary" />
<element name="X509CRL" type="base64Binary" />
<any namespace="##other" processContents="lax" />
</choice>
</sequence>
</complexType>
<complexType name="X509IssuerSerialType">
<sequence>
<element name="X509IssuerName" type="string" />
<element name="X509SerialNumber" type="integer" />
</sequence>
</complexType>
<!-- End X509Data -->
<!-- Begin PGPData -->
<element name="PGPData" type="ds:PGPDataType" />
<complexType name="PGPDataType">
<choice>
<sequence>
<element name="PGPKeyID" type="base64Binary" />
<element name="PGPKeyPacket" type="base64Binary" minOccurs="0" />
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<sequence>
<element name="PGPKeyPacket" type="base64Binary" />
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
</choice>
</complexType>
<!-- End PGPData -->
<!-- Begin SPKIData -->
<element name="SPKIData" type="ds:SPKIDataType" />
<complexType name="SPKIDataType">
<sequence maxOccurs="unbounded">
<element name="SPKISexp" type="base64Binary" />
<any namespace="##other" processContents="lax" minOccurs="0" />
</sequence>
</complexType>
<!-- End SPKIData -->
<!-- End KeyInfo -->
<!-- Start Object (Manifest, SignatureProperty) -->
<element name="Object" type="ds:ObjectType" />
<complexType name="ObjectType" mixed="true">
<sequence minOccurs="0" maxOccurs="unbounded">
<any namespace="##any" processContents="lax" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
<attribute name="MimeType" type="string" use="optional" />
<attribute name="Encoding" type="anyURI" use="optional" />
<!-- add a grep facet -->
</complexType>
<element name="Manifest" type="ds:ManifestType" />
<complexType name="ManifestType">
<sequence>
<element ref="ds:Reference" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="SignatureProperties" type="ds:SignaturePropertiesType" />
<complexType name="SignaturePropertiesType">
<sequence>
<element ref="ds:SignatureProperty" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="SignatureProperty" type="ds:SignaturePropertyType" />
<complexType name="SignaturePropertyType" mixed="true">
<choice maxOccurs="unbounded">
<any namespace="##other" processContents="lax" />
<!-- (1,1) elements from (1,unbounded) namespaces -->
</choice>
<attribute name="Target" type="anyURI" use="required" />
<attribute name="Id" type="ID" use="optional" />
</complexType>
<!-- End Object (Manifest, SignatureProperty) -->
<!-- Start Algorithm Parameters -->
<simpleType name="HMACOutputLengthType">
<restriction base="integer" />
</simpleType>
<!-- Start KeyValue Element-types -->
<element name="DSAKeyValue" type="ds:DSAKeyValueType" />
<complexType name="DSAKeyValueType">
<sequence>
<sequence minOccurs="0">
<element name="P" type="ds:CryptoBinary" />
<element name="Q" type="ds:CryptoBinary" />
</sequence>
<element name="G" type="ds:CryptoBinary" minOccurs="0" />
<element name="Y" type="ds:CryptoBinary" />
<element name="J" type="ds:CryptoBinary" minOccurs="0" />
<sequence minOccurs="0">
<element name="Seed" type="ds:CryptoBinary" />
<element name="PgenCounter" type="ds:CryptoBinary" />
</sequence>
</sequence>
</complexType>
<element name="RSAKeyValue" type="ds:RSAKeyValueType" />
<complexType name="RSAKeyValueType">
<sequence>
<element name="Modulus" type="ds:CryptoBinary" />
<element name="Exponent" type="ds:CryptoBinary" />
</sequence>
</complexType>
<!-- End KeyValue Element-types -->
<!-- End Signature -->
</schema>
<?xml version="1.0" encoding="utf-8"?>
<signedDocument xmlns="http://www.fpml.ru/repository">
<document>
<fpml:nonpublicExecutionReport xmlns:fpml="http://www.fpml.org/FpML-5/recordkeeping"
xmlns:fpmlext="http://www.fpml.org/FpML-5/ext" xmlns:rtsrep="http://www.fpml.ru/repository"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" fpmlVersion="5-7">
<fpml:header>
<fpml:messageId>NFKSP-TO-SPB01-REPO-602-2016-06-28</fpml:messageId>
<fpml:sentBy>NFKSP</fpml:sentBy>
<fpml:sendTo>SPB01</fpml:sendTo>
<fpml:creationTimestamp>2016-06-28T11:00:00</fpml:creationTimestamp>
<fpml:implementationSpecification>
<fpml:version>2</fpml:version>
</fpml:implementationSpecification>
</fpml:header>
<fpml:isCorrection>false</fpml:isCorrection>
<fpml:correlationId correlationIdScheme=""
>NFKSP-TO-SPB01-REPO-602-2016-06-28</fpml:correlationId>
<fpml:trade>
<fpml:tradeHeader>
<fpml:partyTradeIdentifier>
<fpml:partyReference href="NFKSP"/>
<fpml:tradeId>604(1)-0416-ДИЛ-П/604(2)-0416-ДИЛ-П</fpml:tradeId>
</fpml:partyTradeIdentifier>
<fpml:partyTradeIdentifier>
<fpml:partyReference href="ITN_7718173549"/>
<fpml:tradeId>604(1)-0416-ДИЛ-П/604(2)-0416-ДИЛ-П</fpml:tradeId>
</fpml:partyTradeIdentifier>
<fpml:partyTradeInformation>
<fpml:partyReference href="SPB01"/>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-type"
>OTC</fpml:category>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-method"
>E</fpml:category>
<fpml:executionDateTime>2016-04-20T00:00:00</fpml:executionDateTime>
<fpml:reportingRegime>
<fpml:name>RussianFederation</fpml:name>
<fpml:mandatorilyClearable>false</fpml:mandatorilyClearable>
</fpml:reportingRegime>
</fpml:partyTradeInformation>
<fpml:partyTradeInformation>
<fpml:partyReference href="NFKSP"/>
<fpml:collateralizationType>Uncollateralized</fpml:collateralizationType>
</fpml:partyTradeInformation>
<fpml:partyTradeInformation>
<fpml:partyReference href="ITN_7718173549"/>
<fpml:collateralizationType>Uncollateralized</fpml:collateralizationType>
</fpml:partyTradeInformation>
</fpml:tradeHeader>
<fpmlext:repo xsi:type="rtsrep:Repo">
<fpml:productId>Equity:Repo:EquityRepo</fpml:productId>
<fpml:productId>RU000A0JV8K5</fpml:productId>
<fpmlext:fixedRateSchedule>
<fpml:initialValue>0.1025</fpml:initialValue>
</fpmlext:fixedRateSchedule>
<fpmlext:dayCountFraction>1/1</fpmlext:dayCountFraction>
<fpmlext:spotLeg xsi:type="rtsrep:RepoTransactionLeg">
<fpml:buyerPartyReference href="ITN_7718173549"/>
<fpml:sellerPartyReference href="NFKSP"/>
<fpmlext:settlementDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2016-04-21</fpml:unadjustedDate>
</fpml:adjustableDate>
</fpmlext:settlementDate>
<fpml:settlementAmount>
<fpml:currency>RUB</fpml:currency>
<fpml:amount>119003352.32</fpml:amount>
</fpml:settlementAmount>
<fpmlext:collateral xsi:type="rtsrep:CollateralValuation">
<fpmlext:numberOfUnits>1371</fpmlext:numberOfUnits>
<fpmlext:unitPrice>
<fpml:currency>RUB</fpml:currency>
<fpml:amount>86800.40286</fpml:amount>
</fpmlext:unitPrice>
<fpmlext:assetReference href="RU000A0JV8K5"/>
</fpmlext:collateral>
<rtsrep:deliveryMethod>FreeOfPayment</rtsrep:deliveryMethod>
<rtsrep:deliveryDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2016-04-21</fpml:unadjustedDate>
</fpml:adjustableDate>
</rtsrep:deliveryDate>
</fpmlext:spotLeg>
<fpmlext:forwardLeg xsi:type="rtsrep:ForwardRepoTransactionLeg">
<fpml:buyerPartyReference href="NFKSP"/>
<fpml:sellerPartyReference href="ITN_7718173549"/>
<fpmlext:settlementDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2017-04-20</fpml:unadjustedDate>
</fpml:adjustableDate>
</fpmlext:settlementDate>
<fpml:settlementAmount>
<fpml:currency>RUB</fpml:currency>
<fpml:amount>119003352.32</fpml:amount>
</fpml:settlementAmount>
</fpmlext:forwardLeg>
<fpml:equity id="RU000A0JV8K5">
<fpml:instrumentId instrumentIdScheme="">RU000A0JV8K5</fpml:instrumentId>
<fpml:description>ПТК-Холдинг, ПАО ao01</fpml:description>
</fpml:equity>
</fpmlext:repo>
<fpml:documentation>
<fpml:masterAgreement>
<fpml:masterAgreementId>MA-20160628-00000001</fpml:masterAgreementId>
</fpml:masterAgreement>
</fpml:documentation>
</fpml:trade>
<fpml:party id="NFKSP">
<fpml:partyId>NFKSP</fpml:partyId>
<fpml:partyName>ООО «НФК-Сбережения»</fpml:partyName>
</fpml:party>
<fpml:party id="ITN_7718173549">
<fpml:partyId partyIdScheme="ITN">ITN_7718173549</fpml:partyId>
<fpml:partyName>ЗАО "Дельта Инвестмент"</fpml:partyName>
<fpml:country>RU</fpml:country>
<fpml:organizationType>Other</fpml:organizationType>
</fpml:party>
<fpml:party id="SPB01">
<fpml:partyId>SPB01</fpml:partyId>
<fpml:partyName>ПАО «Санкт-Петербургская биржа»</fpml:partyName>
</fpml:party>
</fpml:nonpublicExecutionReport>
</document>
</signedDocument>
<fpml:nonpublicExecutionReport xmlns:fpml="http://www.fpml.org/FpML-5/recordkeeping" xmlns:fpmlext="http://www.fpml.org/FpML-5/ext" xmlns:rtsrep="http://www.fpml.ru/repository" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" fpmlVersion="5-7">
<fpml:header>
<fpml:messageId>Repo-20181010-13:28:57.551-1</fpml:messageId>
<fpml:sentBy>NFKSP</fpml:sentBy>
<fpml:sendTo>SPB01</fpml:sendTo>
<fpml:creationTimestamp>2018-10-10T13:28:57</fpml:creationTimestamp>
<fpml:implementationSpecification>
<fpml:version>2</fpml:version>
</fpml:implementationSpecification>
</fpml:header>
<fpml:isCorrection>false</fpml:isCorrection>
<fpml:correlationId correlationIdScheme="">Repo-20181010-13:28:57.552-1</fpml:correlationId>
<fpml:trade>
<fpml:tradeHeader>
<fpml:partyTradeIdentifier>
<fpml:partyReference href="SPB01" />
<fpml:tradeId tradeIdScheme="UTI">S9DKA7JG1J9651B357729143488154A5EB6BBBB6B1</fpml:tradeId>
</fpml:partyTradeIdentifier>
<fpml:partyTradeIdentifier>
<fpml:partyReference href="LEI_253400S2HGY7JG1JWC41" />
<fpml:tradeId>123</fpml:tradeId>
</fpml:partyTradeIdentifier>
<fpml:partyTradeIdentifier>
<fpml:partyReference href="TEST" />
<fpml:tradeId>321</fpml:tradeId>
</fpml:partyTradeIdentifier>
<fpml:partyTradeInformation>
<fpml:partyReference href="SPB01" />
<fpml:relatedParty>
<fpml:partyReference href="LEI_vvv" />
<fpml:role>ClearingOrganization</fpml:role>
</fpml:relatedParty>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-type">ОТС</fpml:category>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-method">C</fpml:category>
<fpml:executionDateTime>2018-10-05T00:00:00</fpml:executionDateTime>
<fpml:reportingRegime>
<fpml:name>RussianFederation</fpml:name>
<fpml:mandatorilyClearable>true</fpml:mandatorilyClearable>
</fpml:reportingRegime>
</fpml:partyTradeInformation>
<fpml:partyTradeInformation>
<fpml:partyReference href="LEI_253400S2HGY7JG1JWC41" />
<fpml:relatedParty>
<fpml:partyReference href="LEI_12548741" />
<fpml:role>Client</fpml:role>
<fpml:type>L</fpml:type>
</fpml:relatedParty>
<fpml:relatedParty>
<fpml:partyReference href="LEI_43382" />
<fpml:role>ClearingOrganization</fpml:role>
</fpml:relatedParty>
<fpml:relatedParty>
<fpml:partyReference href="TEST" />
<fpml:role>Party</fpml:role>
</fpml:relatedParty>
<fpml:timestamps>
<fpml:timestamp>
<fpml:type>InClearingPool</fpml:type>
<fpml:value>2018-10-09T09:00:00</fpml:value>
</fpml:timestamp>
<fpml:timestamp>
<fpml:type>InPortfolio</fpml:type>
<fpml:value>2018-10-09T09:00:00</fpml:value>
</fpml:timestamp>
<fpml:timestamp>
<fpml:type>OutPortfolio</fpml:type>
<fpml:value>2018-10-09T09:00:00</fpml:value>
</fpml:timestamp>
</fpml:timestamps>
<fpml:collateralizationType>Uncollateralized</fpml:collateralizationType>
<fpml:collateralPortfolio>Fully</fpml:collateralPortfolio>
</fpml:partyTradeInformation>
<fpml:partyTradeInformation>
<fpml:partyReference href="TEST" />
<fpml:relatedParty>
<fpml:partyReference href="PASS_9999445555" />
<fpml:role>Client</fpml:role>
<fpml:type>TR</fpml:type>
</fpml:relatedParty>
<fpml:relatedParty>
<fpml:partyReference href="LEI_NNN" />
<fpml:role>ClearingOrganization</fpml:role>
</fpml:relatedParty>
<fpml:relatedParty>
<fpml:partyReference href="LEI_253400S2HGY7JG1JWC41" />
<fpml:role>Party</fpml:role>
</fpml:relatedParty>
<timestamps>
<timestamp>
<type>InClearingPool</type>
<value>2018-10-09T09:00:00</value>
</timestamp>
<timestamp>
<type>InPortfolio</type>
<value>2018-10-09T09:00:00</value>
</timestamp>
<timestamp>
<type>OutPortfolio</type>
<value>2018-10-10T10:00:00</value>
</timestamp>
</timestamps>
<fpml:collatealizationType>Uncollateralized</fpml:collatealizationType>
<fpml:collateralPortfolio>Fully</fpml:collateralPortfolio>
</fpml:partyTradeInformation>
</fpml:tradeHeader>
<fpmlext:repo xsi:type="rtsrep:Repo">
<fpml:productId productIdScheme="UnderlyingAsset">RU0009109391</fpml:productId>
<fpmlext:fixedRateSchedule>
<fpml:initialValue>0.1025</fpml:initialValue>
</fpmlext:fixedRateSchedule>
<fpmlext:spotLeg xsi:type="rtsrep:RepoTransactionLeg">
<fpml:buyerPartyReference href="LEI_253400S2HGY7JG1JWC41" />
<fpml:sellerPartyReference href="TEST" />
<fpmlext:settlementDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2018-10-09</fpml:unadjustedDate>
</fpml:adjustableDate>
</fpmlext:settlementDate>
<fpml:settlementAmount>
<fpml:currency>RUB</fpml:currency>
<fpml:amount>1000000</fpml:amount>
</fpml:settlementAmount>
<fpmlext:collateral xsi:type="rtsrep:CollateralValuation">
<fpmlext:numberOfUnits>100</fpmlext:numberOfUnits>
<fpmlext:assetReference href="RU0009109391" />
</fpmlext:collateral>
<rtsrep:deliveryDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2018-10-08</fpml:unadjustedDate>
</fpml:adjustableDate>
</rtsrep:deliveryDate>
</fpmlext:spotLeg>
<fpmlext:forwardLeg xsi:type="rtsrep:ForwardRepoTransactionLeg">
<fpml:buyerPartyReference href="TEST" />
<fpml:sellerPartyReference href="LEI_253400S2HGY7JG1JWC41" />
<fpmlext:settlementDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2018-10-09</fpml:unadjustedDate>
</fpml:adjustableDate>
</fpmlext:settlementDate>
<rtsrep:deliveryDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2018-10-09</fpml:unadjustedDate>
</fpml:adjustableDate>
</rtsrep:deliveryDate>
</fpmlext:forwardLeg>
<fpml:equity id="RU0009109391">
<fpml:instrumentId instrumentIdScheme="">RU0009109391</fpml:instrumentId>
</fpml:equity>
</fpmlext:repo>
<fpml:documentation>
<fpml:masterAgreement>
<fpml:masterAgreementId>444</fpml:masterAgreementId>
</fpml:masterAgreement>
</fpml:documentation>
</fpml:trade>
<fpml:party id="SPB01">
<fpml:partyId>SPB01</fpml:partyId>
<fpml:partyName>ПАО «Санкт-Петербургская биржа»</fpml:partyName>
</fpml:party>
<fpml:party id="LEI_253400S2HGY7JG1JWC41">
<fpml:partyId partyIdScheme="LEI">LEI_253400S2HGY7JG1JWC41</fpml:partyId>
<fpml:partyName>Ассоциация НП РТС</fpml:partyName>
<fpml:country>RU</fpml:country>
<fpml:organizationType>Other</fpml:organizationType>
</fpml:party>
<fpml:party id="LEI_12548741">
<fpml:partyId partyIdScheme="LEI">LEI_12548741</fpml:partyId>
<fpml:partyName>BANK</fpml:partyName>
<fpml:country>RU</fpml:country>
</fpml:party>
<fpml:party id="TEST">
<fpml:partyId>TEST</fpml:partyId>
<fpml:partyName>ООО ТЕСТ</fpml:partyName>
<fpml:country>RU</fpml:country>
<fpml:organizationType>BR</fpml:organizationType>
</fpml:party>
<fpml:party id="PASS_9999445555">
<fpml:partyId partyIdScheme="PASS">PASS_9999445555</fpml:partyId>
<fpml:partyName>Иванов</fpml:partyName>
<fpml:country>RU</fpml:country>
</fpml:party>
<fpml:party id="vvv">
<fpml:partyId partyIdScheme="LEI">vvv</fpml:partyId>
</fpml:party>
<fpml:party id="43382">
<fpml:partyId partyIdScheme="LEI">43382</fpml:partyId>
</fpml:party>
<fpml:party id="NNN">
<fpml:partyId partyIdScheme="LEI">NNN</fpml:partyId>
</fpml:party>
</fpml:nonpublicExecutionReport>
\ No newline at end of file
<fpml:nonpublicExecutionReport xmlns:fpml="http://www.fpml.org/FpML-5/recordkeeping" xmlns:fpmlext="http://www.fpml.org/FpML-5/ext" xmlns:rtsrep="http://www.fpml.ru/repository" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" fpmlVersion="5-7">
<fpml:header>
<fpml:messageId>Repo-20181010-15:37:33.434-1</fpml:messageId>
<fpml:sentBy>NFKSP</fpml:sentBy>
<fpml:sendTo>SPB01</fpml:sendTo>
<fpml:creationTimestamp>2018-10-10T15:37:33</fpml:creationTimestamp>
<fpml:implementationSpecification>
<fpml:version>2</fpml:version>
</fpml:implementationSpecification>
</fpml:header>
<fpml:isCorrection>false</fpml:isCorrection>
<fpml:correlationId correlationIdScheme="">Repo-20181010-15:37:33.434-1</fpml:correlationId>
<fpml:trade>
<fpml:tradeHeader>
<fpml:partyTradeIdentifier>
<fpml:partyReference href="SPB01" />
<fpml:tradeId tradeIdScheme="UTI">S9DKA7JG1J9651B357729143488154A5EB6BBBB6B1</fpml:tradeId>
</fpml:partyTradeIdentifier>
<fpml:partyTradeIdentifier>
<fpml:partyReference href="LEI_253400S2HGY7JG1JWC41" />
<fpml:tradeId>123</fpml:tradeId>
</fpml:partyTradeIdentifier>
<fpml:partyTradeIdentifier>
<fpml:partyReference href="TEST" />
<fpml:tradeId>321</fpml:tradeId>
</fpml:partyTradeIdentifier>
<fpml:partyTradeInformation>
<fpml:partyReference href="SPB01" />
<fpml:relatedParty>
<fpml:partyReference href="LEI_vvv" />
<fpml:role>ClearingOrganization</fpml:role>
</fpml:relatedParty>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-type">ОТС</fpml:category>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-method">C</fpml:category>
<fpml:executionDateTime>2018-10-05T00:00:00</fpml:executionDateTime>
<fpml:reportingRegime>
<fpml:name>RussianFederation</fpml:name>
<fpml:mandatorilyClearable>true</fpml:mandatorilyClearable>
</fpml:reportingRegime>
</fpml:partyTradeInformation>
<fpml:partyTradeInformation>
<fpml:partyReference href="LEI_253400S2HGY7JG1JWC41" />
<fpml:relatedParty>
<fpml:partyReference href="LEI_12548741" />
<fpml:role>Client</fpml:role>
<fpml:type>L</fpml:type>
</fpml:relatedParty>
<fpml:relatedParty>
<fpml:partyReference href="LEI_43382" />
<fpml:role>ClearingOrganization</fpml:role>
</fpml:relatedParty>
<fpml:relatedParty>
<fpml:partyReference href="TEST" />
<fpml:role>Party</fpml:role>
</fpml:relatedParty>
<fpml:timestamps>
<fpml:timestamp>
<fpml:type>InClearingPool</fpml:type>
<fpml:value>2018-10-09T09:00:00</fpml:value>
</fpml:timestamp>
<fpml:timestamp>
<fpml:type>InPortfolio</fpml:type>
<fpml:value>2018-10-09T09:00:00</fpml:value>
</fpml:timestamp>
<fpml:timestamp>
<fpml:type>OutPortfolio</fpml:type>
<fpml:value>2018-10-09T09:00:00</fpml:value>
</fpml:timestamp>
</fpml:timestamps>
<fpml:collateralizationType>Uncollateralized</fpml:collateralizationType>
<fpml:collateralPortfolio>Fully</fpml:collateralPortfolio>
</fpml:partyTradeInformation>
<fpml:partyTradeInformation>
<fpml:partyReference href="TEST" />
<fpml:relatedParty>
<fpml:partyReference href="PASS_9999445555" />
<fpml:role>Client</fpml:role>
<fpml:type>TR</fpml:type>
</fpml:relatedParty>
<fpml:relatedParty>
<fpml:partyReference href="LEI_NNN" />
<fpml:role>ClearingOrganization</fpml:role>
</fpml:relatedParty>
<fpml:relatedParty>
<fpml:partyReference href="LEI_253400S2HGY7JG1JWC41" />
<fpml:role>Party</fpml:role>
</fpml:relatedParty>
<timestamps>
<timestamp>
<type>InClearingPool</type>
<value>2018-10-09T09:00:00</value>
</timestamp>
<timestamp>
<type>InPortfolio</type>
<value>2018-10-09T09:00:00</value>
</timestamp>
<timestamp>
<type>OutPortfolio</type>
<value>2018-10-10T10:00:00</value>
</timestamp>
</timestamps>
<fpml:collateralizationType>Uncollateralized</fpml:collateralizationType>
<fpml:collateralPortfolio>Fully</fpml:collateralPortfolio>
</fpml:partyTradeInformation>
</fpml:tradeHeader>
<fpmlext:repo xsi:type="rtsrep:Repo">
<fpml:productId productIdScheme="UnderlyingAsset">RU0009109391</fpml:productId>
<fpmlext:floatingRateCalculation>
<fpml:floatingRateIndex>EUR-EONIA-OIS-COMPOUND</fpml:floatingRateIndex>
</fpmlext:floatingRateCalculation>
<fpmlext:spotLeg xsi:type="rtsrep:RepoTransactionLeg">
<fpml:buyerPartyReference href="LEI_253400S2HGY7JG1JWC41" />
<fpml:sellerPartyReference href="TEST" />
<fpmlext:settlementDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2018-10-09</fpml:unadjustedDate>
</fpml:adjustableDate>
</fpmlext:settlementDate>
<fpml:settlementAmount>
<fpml:currency>RUB</fpml:currency>
<fpml:amount>1000000</fpml:amount>
</fpml:settlementAmount>
<fpmlext:collateral xsi:type="rtsrep:CollateralValuation">
<fpmlext:nominalAmount>
<fpml:currency>RUB</fpml:currency>
<fpml:amount>1000</fpml:amount>
</fpmlext:nominalAmount>
<fpmlext:assetReference href="RU0009109391" />
</fpmlext:collateral>
<rtsrep:deliveryDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2018-10-08</fpml:unadjustedDate>
</fpml:adjustableDate>
</rtsrep:deliveryDate>
</fpmlext:spotLeg>
<fpmlext:forwardLeg xsi:type="rtsrep:ForwardRepoTransactionLeg">
<fpml:buyerPartyReference href="TEST" />
<fpml:sellerPartyReference href="LEI_253400S2HGY7JG1JWC41" />
<fpmlext:settlementDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2018-10-09</fpml:unadjustedDate>
</fpml:adjustableDate>
</fpmlext:settlementDate>
<rtsrep:deliveryDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2018-10-09</fpml:unadjustedDate>
</fpml:adjustableDate>
</rtsrep:deliveryDate>
</fpmlext:forwardLeg>
<fpml:bond id="RU0009109391">
<fpml:instrumentId instrumentIdScheme="">RU0009109391</fpml:instrumentId>
</fpml:bond>
</fpmlext:repo>
<fpml:documentation>
<fpml:masterAgreement>
<fpml:masterAgreementId>444</fpml:masterAgreementId>
</fpml:masterAgreement>
</fpml:documentation>
</fpml:trade>
<fpml:party id="SPB01">
<fpml:partyId>SPB01</fpml:partyId>
<fpml:partyName>ПАО «Санкт-Петербургская биржа»</fpml:partyName>
</fpml:party>
<fpml:party id="LEI_253400S2HGY7JG1JWC41">
<fpml:partyId partyIdScheme="LEI">LEI_253400S2HGY7JG1JWC41</fpml:partyId>
<fpml:partyName>Ассоциация НП РТС</fpml:partyName>
<fpml:country>RU</fpml:country>
<fpml:organizationType>Other</fpml:organizationType>
</fpml:party>
<fpml:party id="LEI_12548741">
<fpml:partyId partyIdScheme="LEI">LEI_12548741</fpml:partyId>
<fpml:partyName>BANK</fpml:partyName>
<fpml:country>RU</fpml:country>
</fpml:party>
<fpml:party id="TEST">
<fpml:partyId>TEST</fpml:partyId>
<fpml:partyName>ООО ТЕСТ</fpml:partyName>
<fpml:country>RU</fpml:country>
<fpml:organizationType>BR</fpml:organizationType>
</fpml:party>
<fpml:party id="PASS_9999445555">
<fpml:partyId partyIdScheme="PASS">PASS_9999445555</fpml:partyId>
<fpml:partyName>Иванов</fpml:partyName>
<fpml:country>RU</fpml:country>
</fpml:party>
<fpml:party id="vvv">
<fpml:partyId partyIdScheme="LEI">vvv</fpml:partyId>
</fpml:party>
<fpml:party id="43382">
<fpml:partyId partyIdScheme="LEI">43382</fpml:partyId>
</fpml:party>
<fpml:party id="NNN">
<fpml:partyId partyIdScheme="LEI">NNN</fpml:partyId>
</fpml:party>
</fpml:nonpublicExecutionReport>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="utf-8"?>
<!--
<!DOCTYPE schema
PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd"
[
<!ATTLIST schema
xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#">
<!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
<!ENTITY % p ''>
<!ENTITY % s ''>
]>
-->
<!-- Schema for XML Signatures
http://www.w3.org/2000/09/xmldsig#
$Revision: 8563 $ on $Date: 2011-10-05 18:17:57 +0200 (Wed, 05 Oct 2011) $ by $Author: iyermakova $
Copyright 2001 The Internet Society and W3C (Massachusetts Institute
of Technology, Institut National de Recherche en Informatique et en
Automatique, Keio University). All Rights Reserved.
http://www.w3.org/Consortium/Legal/
This document is governed by the W3C Software License [1] as described
in the FAQ [2].
[1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
[2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
-->
<schema targetNamespace="http://www.w3.org/2000/09/xmldsig#" elementFormDefault="qualified" version="0.1" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<!-- Basic Types Defined for Signatures -->
<simpleType name="CryptoBinary">
<restriction base="base64Binary" />
</simpleType>
<!-- Start Signature -->
<element name="Signature" type="ds:SignatureType" />
<complexType name="SignatureType">
<sequence>
<element ref="ds:SignedInfo" />
<element ref="ds:SignatureValue" />
<element ref="ds:KeyInfo" minOccurs="0" />
<element ref="ds:Object" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="SignatureValue" type="ds:SignatureValueType" />
<complexType name="SignatureValueType">
<simpleContent>
<extension base="base64Binary">
<attribute name="Id" type="ID" use="optional" />
</extension>
</simpleContent>
</complexType>
<!-- Start SignedInfo -->
<element name="SignedInfo" type="ds:SignedInfoType" />
<complexType name="SignedInfoType">
<sequence>
<element ref="ds:CanonicalizationMethod" />
<element ref="ds:SignatureMethod" />
<element ref="ds:Reference" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType" />
<complexType name="CanonicalizationMethodType" mixed="true">
<sequence>
<any namespace="##any" minOccurs="0" maxOccurs="unbounded" />
<!-- (0,unbounded) elements from (1,1) namespace -->
</sequence>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<element name="SignatureMethod" type="ds:SignatureMethodType" />
<complexType name="SignatureMethodType" mixed="true">
<sequence>
<element name="HMACOutputLength" type="ds:HMACOutputLengthType" minOccurs="0" />
<any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
<!-- (0,unbounded) elements from (1,1) external namespace -->
</sequence>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<!-- Start Reference -->
<element name="Reference" type="ds:ReferenceType" />
<complexType name="ReferenceType">
<sequence>
<element ref="ds:Transforms" minOccurs="0" />
<element ref="ds:DigestMethod" />
<element ref="ds:DigestValue" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
<attribute name="URI" type="anyURI" use="optional" />
<attribute name="Type" type="anyURI" use="optional" />
</complexType>
<element name="Transforms" type="ds:TransformsType" />
<complexType name="TransformsType">
<sequence>
<element ref="ds:Transform" maxOccurs="unbounded" />
</sequence>
</complexType>
<element name="Transform" type="ds:TransformType" />
<complexType name="TransformType" mixed="true">
<choice minOccurs="0" maxOccurs="unbounded">
<any namespace="##other" processContents="lax" />
<!-- (1,1) elements from (0,unbounded) namespaces -->
<element name="XPath" type="string" />
</choice>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<!-- End Reference -->
<element name="DigestMethod" type="ds:DigestMethodType" />
<complexType name="DigestMethodType" mixed="true">
<sequence>
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<element name="DigestValue" type="ds:DigestValueType" />
<simpleType name="DigestValueType">
<restriction base="base64Binary" />
</simpleType>
<!-- End SignedInfo -->
<!-- Start KeyInfo -->
<element name="KeyInfo" type="ds:KeyInfoType" />
<complexType name="KeyInfoType" mixed="true">
<choice maxOccurs="unbounded">
<element ref="ds:KeyName" />
<element ref="ds:KeyValue" />
<element ref="ds:RetrievalMethod" />
<element ref="ds:X509Data" />
<element ref="ds:PGPData" />
<element ref="ds:SPKIData" />
<element ref="ds:MgmtData" />
<any namespace="##other" processContents="lax" />
<!-- (1,1) elements from (0,unbounded) namespaces -->
</choice>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="KeyName" type="string" />
<element name="MgmtData" type="string" />
<element name="KeyValue" type="ds:KeyValueType" />
<complexType name="KeyValueType" mixed="true">
<choice>
<element ref="ds:DSAKeyValue" />
<element ref="ds:RSAKeyValue" />
<any namespace="##other" processContents="lax" />
</choice>
</complexType>
<element name="RetrievalMethod" type="ds:RetrievalMethodType" />
<complexType name="RetrievalMethodType">
<sequence>
<element ref="ds:Transforms" minOccurs="0" />
</sequence>
<attribute name="URI" type="anyURI" />
<attribute name="Type" type="anyURI" use="optional" />
</complexType>
<!-- Start X509Data -->
<element name="X509Data" type="ds:X509DataType" />
<complexType name="X509DataType">
<sequence maxOccurs="unbounded">
<choice>
<element name="X509IssuerSerial" type="ds:X509IssuerSerialType" />
<element name="X509SKI" type="base64Binary" />
<element name="X509SubjectName" type="string" />
<element name="X509Certificate" type="base64Binary" />
<element name="X509CRL" type="base64Binary" />
<any namespace="##other" processContents="lax" />
</choice>
</sequence>
</complexType>
<complexType name="X509IssuerSerialType">
<sequence>
<element name="X509IssuerName" type="string" />
<element name="X509SerialNumber" type="integer" />
</sequence>
</complexType>
<!-- End X509Data -->
<!-- Begin PGPData -->
<element name="PGPData" type="ds:PGPDataType" />
<complexType name="PGPDataType">
<choice>
<sequence>
<element name="PGPKeyID" type="base64Binary" />
<element name="PGPKeyPacket" type="base64Binary" minOccurs="0" />
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<sequence>
<element name="PGPKeyPacket" type="base64Binary" />
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
</choice>
</complexType>
<!-- End PGPData -->
<!-- Begin SPKIData -->
<element name="SPKIData" type="ds:SPKIDataType" />
<complexType name="SPKIDataType">
<sequence maxOccurs="unbounded">
<element name="SPKISexp" type="base64Binary" />
<any namespace="##other" processContents="lax" minOccurs="0" />
</sequence>
</complexType>
<!-- End SPKIData -->
<!-- End KeyInfo -->
<!-- Start Object (Manifest, SignatureProperty) -->
<element name="Object" type="ds:ObjectType" />
<complexType name="ObjectType" mixed="true">
<sequence minOccurs="0" maxOccurs="unbounded">
<any namespace="##any" processContents="lax" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
<attribute name="MimeType" type="string" use="optional" />
<attribute name="Encoding" type="anyURI" use="optional" />
<!-- add a grep facet -->
</complexType>
<element name="Manifest" type="ds:ManifestType" />
<complexType name="ManifestType">
<sequence>
<element ref="ds:Reference" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="SignatureProperties" type="ds:SignaturePropertiesType" />
<complexType name="SignaturePropertiesType">
<sequence>
<element ref="ds:SignatureProperty" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="SignatureProperty" type="ds:SignaturePropertyType" />
<complexType name="SignaturePropertyType" mixed="true">
<choice maxOccurs="unbounded">
<any namespace="##other" processContents="lax" />
<!-- (1,1) elements from (1,unbounded) namespaces -->
</choice>
<attribute name="Target" type="anyURI" use="required" />
<attribute name="Id" type="ID" use="optional" />
</complexType>
<!-- End Object (Manifest, SignatureProperty) -->
<!-- Start Algorithm Parameters -->
<simpleType name="HMACOutputLengthType">
<restriction base="integer" />
</simpleType>
<!-- Start KeyValue Element-types -->
<element name="DSAKeyValue" type="ds:DSAKeyValueType" />
<complexType name="DSAKeyValueType">
<sequence>
<sequence minOccurs="0">
<element name="P" type="ds:CryptoBinary" />
<element name="Q" type="ds:CryptoBinary" />
</sequence>
<element name="G" type="ds:CryptoBinary" minOccurs="0" />
<element name="Y" type="ds:CryptoBinary" />
<element name="J" type="ds:CryptoBinary" minOccurs="0" />
<sequence minOccurs="0">
<element name="Seed" type="ds:CryptoBinary" />
<element name="PgenCounter" type="ds:CryptoBinary" />
</sequence>
</sequence>
</complexType>
<element name="RSAKeyValue" type="ds:RSAKeyValueType" />
<complexType name="RSAKeyValueType">
<sequence>
<element name="Modulus" type="ds:CryptoBinary" />
<element name="Exponent" type="ds:CryptoBinary" />
</sequence>
</complexType>
<!-- End KeyValue Element-types -->
<!-- End Signature -->
</schema>
\ No newline at end of file
import xmlvalid._
import scala.util.{Failure, Success, Try}
import scala.xml._
import templates._
object Main extends App {
//val p = new PrettyPrinter(120, 2)
val sourceXml = XML.loadFile("src/main/resources/nsd/Example repo NSD.xml")
val template = new RepoTemplate(sourceXml)
//val outputXml = XML.loadString(p.format(template.render))
val outputXml = template.template
template.log()
Try {
XMLValid("src/main/resources/nsd/nsd-ext-merged-schema.xsd").loadString(sourceXml.mkString)
} match {
case Success(_) => println("Source xml success check against NSD schema")
case Failure(ex) => println(s"Source xml isn`t wellformed or invalid: ${ex.getMessage}")
}
Try {
XMLValid("src/main/resources/rts/fpml-recordkeeping-merged-schema.xsd").loadString(outputXml.mkString)
} match {
case Success(_) => println("Output xml success check against RTS schema")
case Failure(ex) => println(s"Output xml isn`t wellformed or invalid: ${ex.getMessage}")
}
XML.save("output/Output repo RTS.xml", outputXml, xmlDecl = true)
}
package templates
import scala.util.Try
import scala.xml.Node
final class RepoTemplate(source: Node) extends TradeTemplate(source) {
override protected[this] val msgNotFound = "No elem found"
protected[this] def templateTrade: Node = {
<fpml:trade>
<fpml:tradeHeader>
{ for (s <- source \ "trade" \ "tradeHeader" \ "partyTradeIdentifier") yield {
<fpml:partyTradeIdentifier>
<fpml:partyReference href={ get(Try { (s \ "partyReference").head }, "href") } />
<fpml:tradeId tradeIdScheme={ get(Try { (s \ "tradeId").head }, "tradeIdScheme") }>{ get(Try { (s \ "tradeId").head }) }</fpml:tradeId>
</fpml:partyTradeIdentifier>
}
}
{/* for (s <- source \ "trade" \ "tradeHeader" \ "partyTradeInformation") yield {
<fpml:partyTradeInformation>
<fpml:partyReference href="SPB01" />
<fpml:relatedParty>
<fpml:partyReference href="LEI_vvv" />
<fpml:role>ClearingOrganization</fpml:role>
</fpml:relatedParty>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-type">ОТС</fpml:category>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-method">C</fpml:category>
<fpml:executionDateTime>2018-10-05T00:00:00</fpml:executionDateTime>
<fpml:reportingRegime>
<fpml:name>RussianFederation</fpml:name>
<fpml:mandatorilyClearable>true</fpml:mandatorilyClearable>
</fpml:reportingRegime>
</fpml:partyTradeInformation>
}
*/}
{/*
<fpml:partyTradeInformation>
<fpml:partyReference href="SPB01" />
<fpml:relatedParty>
<fpml:partyReference href="LEI_vvv" />
<fpml:role>ClearingOrganization</fpml:role>
</fpml:relatedParty>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-type">ОТС</fpml:category>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-method">C</fpml:category>
<fpml:executionDateTime>2018-10-05T00:00:00</fpml:executionDateTime>
<fpml:reportingRegime>
<fpml:name>RussianFederation</fpml:name>
<fpml:mandatorilyClearable>true</fpml:mandatorilyClearable>
</fpml:reportingRegime>
</fpml:partyTradeInformation>
<fpml:partyTradeInformation>
<fpml:partyReference href="LEI_253400S2HGY7JG1JWC41" />
<fpml:relatedParty>
<fpml:partyReference href="LEI_12548741" />
<fpml:role>Client</fpml:role>
<fpml:type>L</fpml:type>
</fpml:relatedParty>
<fpml:relatedParty>
<fpml:partyReference href="LEI_43382" />
<fpml:role>ClearingOrganization</fpml:role>
</fpml:relatedParty>
<fpml:relatedParty>
<fpml:partyReference href="TEST" />
<fpml:role>Party</fpml:role>
</fpml:relatedParty>
<fpml:timestamps>
<fpml:timestamp>
<fpml:type>InClearingPool</fpml:type>
<fpml:value>2018-10-09T09:00:00</fpml:value>
</fpml:timestamp>
<fpml:timestamp>
<fpml:type>InPortfolio</fpml:type>
<fpml:value>2018-10-09T09:00:00</fpml:value>
</fpml:timestamp>
<fpml:timestamp>
<fpml:type>OutPortfolio</fpml:type>
<fpml:value>2018-10-09T09:00:00</fpml:value>
</fpml:timestamp>
</fpml:timestamps>
<fpml:collateralizationType>Uncollateralized</fpml:collateralizationType>
<fpml:collateralPortfolio>Fully</fpml:collateralPortfolio>
</fpml:partyTradeInformation>
<fpml:partyTradeInformation>
<fpml:partyReference href="TEST" />
<fpml:relatedParty>
<fpml:partyReference href="PASS_9999445555" />
<fpml:role>Client</fpml:role>
<fpml:type>TR</fpml:type>
</fpml:relatedParty>
<fpml:relatedParty>
<fpml:partyReference href="LEI_NNN" />
<fpml:role>ClearingOrganization</fpml:role>
</fpml:relatedParty>
<fpml:relatedParty>
<fpml:partyReference href="LEI_253400S2HGY7JG1JWC41" />
<fpml:role>Party</fpml:role>
</fpml:relatedParty>
<timestamps>
<timestamp>
<type>InClearingPool</type>
<value>2018-10-09T09:00:00</value>
</timestamp>
<timestamp>
<type>InPortfolio</type>
<value>2018-10-09T09:00:00</value>
</timestamp>
<timestamp>
<type>OutPortfolio</type>
<value>2018-10-10T10:00:00</value>
</timestamp>
</timestamps>
<fpml:collateralizationType>Uncollateralized</fpml:collateralizationType>
<fpml:collateralPortfolio>Fully</fpml:collateralPortfolio>
</fpml:partyTradeInformation>
*/}
</fpml:tradeHeader>
<fpmlext:repo xsi:type="rtsrep:Repo">
<fpml:productId>{ get(Try { (source \ "trade" \ "repo" \ "productType" ).head }) }</fpml:productId>
<fpml:productId productIdScheme={ get(Try { (source \ "trade" \ "repo" \ "productId" ).head }, "productIdScheme") }>{ get(Try { (source \ "trade" \ "repo" \ "productId" ).head }) }</fpml:productId>
{ val iv = get(Try { (source \ "trade" \ "repo" \ "fixedRateSchedule" \ "initialValue").head })
if (iv.mkString != msgNotFound)
<fpmlext:fixedRateSchedule>
<fpml:initialValue>{ iv }</fpml:initialValue>
</fpmlext:fixedRateSchedule>
else
/* Add different type to template */
<fpmlext:floatingRateCalculation>
<fpml:floatingRateIndex>{ get(Try { (source \ "trade" \ "repo" \ "floatingRateCalculation" \ "floatingRateIndex" ).head }) }</fpml:floatingRateIndex>
</fpmlext:floatingRateCalculation>
/*---------------------------------*/
}
<fpmlext:dayCountFraction>{ get(Try { (source \ "trade" \ "repo" \ "dayCountFraction" ).head }) }</fpmlext:dayCountFraction>
<fpmlext:spotLeg xsi:type="rtsrep:RepoTransactionLeg">
<fpml:buyerPartyReference href={ get(Try { (source \ "trade" \ "repo" \ "spotLeg" \ "buyerPartyReference").head }, "href") } />
<fpml:sellerPartyReference href={ get(Try { (source \ "trade" \ "repo" \ "spotLeg" \ "sellerPartyReference").head }, "href") } />
<fpmlext:settlementDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>{ get(Try { (source \ "trade" \ "repo" \ "spotLeg" \\ "unadjustedDate").head }) }</fpml:unadjustedDate>
</fpml:adjustableDate>
</fpmlext:settlementDate>
<fpml:settlementAmount>
<fpml:currency>{ get(Try { (source \ "trade" \ "repo" \ "spotLeg" \\ "currency").head }) }</fpml:currency>
<fpml:amount>{ get(Try { (source \ "trade" \ "repo" \ "spotLeg" \\ "amount").head }) }</fpml:amount>
</fpml:settlementAmount>
{/*
<fpmlext:collateral xsi:type="rtsrep:CollateralValuation">
<fpmlext:numberOfUnits>100</fpmlext:numberOfUnits>
<fpmlext:assetReference href="RU0009109391" />
</fpmlext:collateral>
*/}
<rtsrep:deliveryDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>{ get(Try { (source \ "trade" \ "repo" \ "spotLeg" \ "deliveryDate" \\ "unadjustedDate").head }) }</fpml:unadjustedDate>
</fpml:adjustableDate>
</rtsrep:deliveryDate>
</fpmlext:spotLeg>
<fpmlext:forwardLeg xsi:type="rtsrep:ForwardRepoTransactionLeg">
<fpml:buyerPartyReference href={ get(Try { (source \ "trade" \ "repo" \ "forwardLeg" \ "buyerPartyReference").head }, "href") } />
<fpml:sellerPartyReference href={ get(Try { (source \ "trade" \ "repo" \ "forwardLeg" \ "sellerPartyReference").head }, "href") } />
<fpmlext:settlementDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>{ get(Try { (source \ "trade" \ "repo" \ "forwardLeg" \ "settlementDate" \\ "unadjustedDate").head }) }</fpml:unadjustedDate>
</fpml:adjustableDate>
</fpmlext:settlementDate>
<fpml:settlementAmount>
<fpml:currency>{ get(Try { (source \ "trade" \ "repo" \ "forwardLeg" \\ "currency").head }) }</fpml:currency>
<fpml:amount>{ get(Try { (source \ "trade" \ "repo" \ "forwardLeg" \\ "amount").head }) }</fpml:amount>
</fpml:settlementAmount>
<rtsrep:deliveryDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>{ get(Try { (source \ "trade" \ "repo" \ "forwardLeg" \ "deliveryDate" \\ "unadjustedDate").head }) }</fpml:unadjustedDate>
</fpml:adjustableDate>
</rtsrep:deliveryDate>
</fpmlext:forwardLeg>
{/*Its necessary to add instrument choice */}
<fpml:equity id={ get(Try { (source \ "trade" \ "repo" \ "equity").head }, "id") }>
<fpml:instrumentId instrumentIdScheme="">{ get(Try { (source \ "trade" \ "repo" \ "equity" \ "instrumentId").head }) }</fpml:instrumentId>
</fpml:equity>
</fpmlext:repo>
<fpml:documentation>
<fpml:masterAgreement>
<fpml:masterAgreementId>{ get(Try { (source \ "trade" \ "tradeHeader" \ "partyTradeIdentifier" \ "linkId").head }) }</fpml:masterAgreementId>
</fpml:masterAgreement>
</fpml:documentation>
</fpml:trade>
}
}
package templates
import scala.collection.mutable
import scala.util.{Success, Try}
import scala.xml.transform.{RewriteRule, RuleTransformer}
import scala.xml.{Node, NodeSeq, Text}
abstract class Template(protected[this] val source: Node) {
protected[this] val msgNotFound = "Not found"
private[this] val data = {
val m:mutable.LinkedHashMap[Int, mutable.Queue[(String, String, mutable.LinkedHashMap[Int, (String, String)])]] =
mutable.LinkedHashMap()
val items = source \\ "_"
for (i <- items) {
if (i.attributes.nonEmpty || (i.child.length == 1)) {
val idx = i.hashCode
val attr: mutable.LinkedHashMap[Int, (String, String)] =
if (i.attributes.nonEmpty) mutable.LinkedHashMap() else null
val text = if (i.child.nonEmpty && !i.child.head.text.contains("\n")) i.child.head.text else null
m.get(idx) match {
case None =>
m(idx) = mutable.Queue((s"tag: ${i.label}", text, attr))
case _ =>
m(idx).enqueue((s"tag: ${i.label}", text, attr))
}
if (i.attributes.nonEmpty) {
for (a <- i.attributes) {
m(idx).last._3(a.value.hashCode) = (a.key, a.value.text)
}
}
}
}
m
}
protected[this] def get(content: Try[Node], attr: String = null): Text =
content match {
case Success(v) =>
var res = Text(v.text)
if (attr != null) v.attribute(attr) match {
case None =>
res = Text(msgNotFound)
case o =>
data(v.hashCode).head._3 -= o.get.hashCode
res = Text(o.get.text)
} else if (data(v.hashCode).nonEmpty) {
if (data(v.hashCode).head._3 != null) {
val e = data(v.hashCode).head.copy(_2 = null)
data(v.hashCode).enqueue(e)
}
data(v.hashCode).dequeue()
}
res
case _ => Text(msgNotFound)
}
def template: Node
def render: Node = {
val rule: RewriteRule = new RewriteRule {
override def transform(n: Node): NodeSeq = n match {
case v if v.attributes.nonEmpty && v.attributes.filter(_.value.text == msgNotFound).nonEmpty =>
NodeSeq.Empty
case v if v.child.length == 1 && v.child.head.text == msgNotFound =>
NodeSeq.Empty
case _ => n
}
}
new RuleTransformer(rule).transform(template).head
}
def log(): Unit = data.foreach(e => println(e._2))
}
package templates
import scala.util.Try
import scala.xml.Node
abstract class TradeTemplate(source: Node) extends Template(source) {
protected[this] def templateTrade: Node
def template: Node = {
<signedDocument xmlns="http://www.fpml.ru/repository">
<document>
<fpml:nonpublicExecutionReport xmlns:fpml="http://www.fpml.org/FpML-5/recordkeeping"
xmlns:fpmlext="http://www.fpml.org/FpML-5/ext" xmlns:rtsrep="http://www.fpml.ru/repository"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" fpmlVersion="5-7">
<fpml:header>
<fpml:messageId>{ get(Try { (source \ "header" \"messageId").head }) }</fpml:messageId>
<fpml:sentBy>{ get(Try { (source \ "header" \ "sentBy").head }) }</fpml:sentBy>
<fpml:sendTo>{ get(Try { (source \ "header" \ "sendTo").head }) }</fpml:sendTo>
<fpml:creationTimestamp>{ get(Try { (source \ "header" \ "creationTimestamp").head }) }</fpml:creationTimestamp>
<fpml:implementationSpecification>
<fpml:version>2</fpml:version>
</fpml:implementationSpecification>
</fpml:header>
<fpml:isCorrection>{ get(Try { (source \ "isCorrection").head }) }</fpml:isCorrection>
<fpml:correlationId correlationIdScheme="">{get(Try { (source \ "correlationId").head }) }</fpml:correlationId>
{ templateTrade }
{ for (s <- source \ "party") yield {
<fpml:party id={ get(Try { s.head }, "id") }>
<fpml:partyId partyIdScheme={ get(Try { (s \ "partyId").head }, "partyIdScheme") }>{ get(Try { (s \ "partyId").head }) }</fpml:partyId>
<fpml:partyName>{ get(Try { (s \ "partyName").head }) }</fpml:partyName>
<fpml:country>{ get(Try { (s \ "country").head }) }</fpml:country>
<fpml:organizationType>{ get(Try { (s \ "classification").head }) }</fpml:organizationType>
</fpml:party>
}
}
</fpml:nonpublicExecutionReport>
</document>
</signedDocument>
}
}
package xmlvalid
import java.io.File
import javax.xml.XMLConstants
import javax.xml.parsers.SAXParser
import javax.xml.parsers.SAXParserFactory
import javax.xml.validation.SchemaFactory
import scala.xml._
import scala.xml.factory.XMLLoader
import scala.xml.parsing.{ConsoleErrorHandler, NoBindingFactoryAdapter}
/** Provides operations with xml checked against schema
*
* {{{
* scala> val xml = XMLValid("schema.xsd").loadFile("source.xml")
* }}}
*
* @constructor Creates instance from path to xsd schema
* @param xsdPath path to xsd file (URI)
*/
class XMLValid(xsdPath: String) extends XMLLoader[Node] {
private[this] val schema = SchemaFactory
.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI)
.newSchema(new File(xsdPath))
override def adapter: NoBindingFactoryAdapter with ConsoleErrorHandler =
new NoBindingFactoryAdapter with ConsoleErrorHandler {
override def error(ex: SAXParseException): Unit = throw ex
override def fatalError(ex: SAXParseException): Unit = throw ex
}
override def parser: SAXParser = {
val f = SAXParserFactory.newInstance
f.setNamespaceAware(true)
f.setFeature("http://xml.org/sax/features/namespace-prefixes", true)
f.setSchema(schema)
f.newSAXParser
}
}
/** Factory for [[XMLValid]] instances. */
object XMLValid {
/** Creates a ValidXML instance with given xsd schema
*
* @param xsdPath path to xsd file (URI)
* @return XMLValid instance
*/
def apply(xsdPath: String) = new XMLValid(xsdPath)
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<nonpublicExecutionReport xmlns="http://www.fpml.org/FpML-5/recordkeeping" xmlns:nsdext="http://www.fpml.org/FpML-5/recordkeeping/nsd-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:fpmlext="http://www.fpml.org/FpML-5/ext" xsi:schemaLocation="http://www.fpml.org/FpML-5/recordkeeping ../fpml-recordkeeping-merged-schema.xsd http://www.fpml.org/FpML-5/recordkeeping/nsd-ext ../nsd-ext-merged-schema.xsd" fpmlVersion="5-4" actualBuild="5">
<!--Заголовок сообщения.-->
<!--Message header.-->
<header>
<!--Номер сообщения-->
<!--Message identifier-->
<messageId messageIdScheme="http://repository.nsd.ru/coding-scheme/messageid(nsdrus)">MesIdfra-1</messageId>
<!--Отправитель сообщения-->
<!--Message sender-->
<sentBy>P00000000111</sentBy>
<!--Получатель сообщения-->
<!--Message receiver-->
<sendTo>NDC000000000</sendTo>
<!--Время создания сообщения-->
<!--Message creation time-->
<creationTimestamp>2015-07-27T19:03:13</creationTimestamp>
<!--Версия спецификации.-->
<!--The version(s) of specifications.-->
<implementationSpecification>
<!--Версия спецификации.-->
<!--Version of specification.-->
<version>4.4</version>
</implementationSpecification>
</header>
<!--Признак корректирующего сообщения-->
<!--Correction message mark-->
<isCorrection>false</isCorrection>
<!--Уникальный код цепочки сообщений-->
<!--Messages chain identifier-->
<correlationId correlationIdScheme="http://repository.nsd.ru/coding-scheme/correlationId(nsdrus)">[P00000000111]-[2015]-[MesIdfra-1]</correlationId>
<!--Дата совершения отчитываемого события-->
<!--Event's actual date-->
<asOfDate>2013-01-21</asOfDate>
<!--Регистрация Анкеты-->
<!--Form initial registration-->
<!--Changed -->
<trade xsi:type="nsdext:TradeNsd1">
<!--Changed -->
<!--Общая информация о генсоглашении/договоре.-->
<!--Trade/Master agreement general information.-->
<tradeHeader>
<!--Регистрационный номер, присвоенный участником-->
<!--Party's identifiers-->
<partyTradeIdentifier>
<!--Участник.-->
<!--Party.-->
<partyReference href="TradeRepository" />
<!--Регистрационный номер-->
<!--Trade/Master agreement/Report identifier-->
<tradeId>NONREF</tradeId>
<!--Регистрационный номер генерального соглашения-->
<!--Master agreement identifier.-->
<linkId linkIdScheme="http://repository.nsd.ru/coding-scheme/linkid(nsdrus)">MA0000000123</linkId>
</partyTradeIdentifier>
<!--Регистрационный номер, присвоенный участником-->
<!--Party's identifiers-->
<partyTradeIdentifier>
<!--Участник.-->
<!--Party.-->
<partyReference href="Party1" />
<!--Регистрационный номер-->
<!--Trade/Master agreement/Report identifier-->
<tradeId>Fra-Party1-NUM1</tradeId>
</partyTradeIdentifier>
<!--Регистрационный номер, присвоенный участником-->
<!--Party's identifiers-->
<partyTradeIdentifier>
<!--Участник.-->
<!--Party.-->
<partyReference href="Party2" />
<!--Регистрационный номер-->
<!--Trade/Master agreement/Report identifier-->
<tradeId>NONREF</tradeId>
</partyTradeIdentifier>
<!--Регистрационный номер, присвоенный участником-->
<!--Party's identifiers-->
<partyTradeIdentifier>
<!--Участник.-->
<!--Party.-->
<partyReference href="UTIGeneratingParty" />
<!--Регистрационный номер-->
<!--Trade/Master agreement/Report identifier-->
<tradeId>VRKSDFKJH000000004DA2A92861A8A4A1B822DFGP5M2809T02</tradeId>
</partyTradeIdentifier>
<!--Информация стороны о сделке.-->
<!--Party trade information.-->
<partyTradeInformation>
<!--Участник.-->
<!--Party.-->
<partyReference href="TradeRepository" />
<!--Регулятивный режим отчетности.-->
<!--Reporting regime.-->
<reportingRegime>
<!--Наименование правил регулятивной отчетности.-->
<!--Reporting regime name.-->
<name reportingRegimeNameScheme="http://www.fpml.org/coding-scheme/reporting-regime">RussianFederation</name>
</reportingRegime>
</partyTradeInformation>
<!--Дата сделки.-->
<!--Trade date.-->
<tradeDate>2013-01-21</tradeDate>
</tradeHeader>
<!--Сделка репо-->
<!--Repo transaction-->
<fpmlext:repo xsi:type="nsdext:RepoNsd">
<!--Тип продукта.-->
<!--Product type.-->
<productType productTypeScheme="http://www.fpml.org/coding-scheme/product-taxonomy">Equity:Repo:EquityRepo</productType>
<!--Код классификации ПФИ и договоров РЕПО-->
<!--Derivatives classification code.-->
<productId>UKWN</productId>
<!--Фиксированная процентная ставка.-->
<!--Fixed rate schedule.-->
<fpmlext:fixedRateSchedule>
<!--Начальное значение.-->
<!--Initial value.-->
<initialValue>0.0600000</initialValue>
<!--Шаг изменений.-->
<!--Step.-->
<step>
<!--Очередная дата.-->
<!--Step date.-->
<stepDate>2013-10-15</stepDate>
<!--Очередное значение.-->
<!--Step value.-->
<stepValue>0.0650000</stepValue>
</step>
</fpmlext:fixedRateSchedule>
<!--Коэффициент для расчета дней в процентном периоде.-->
<!--Day count fraction.-->
<fpmlext:dayCountFraction dayCountFractionScheme="http://www.fpml.org/coding-scheme/day-count-fraction">ACT/ACT.ICMA</fpmlext:dayCountFraction>
<!--Тип срока репо.-->
<!--Repo duration type.-->
<fpmlext:duration>Term</fpmlext:duration>
<!--Первая часть сделки репо.-->
<!--Repo spot leg.-->
<fpmlext:spotLeg xsi:type="nsdext:RepoTransactionLegNsd">
<!--Сторона-покупатель инструмента.-->
<!--Buyer party.-->
<buyerPartyReference href="Party1" />
<!--Сторона-продавец инструмента.-->
<!--Seller party.-->
<sellerPartyReference href="Party2" />
<!--Дата расчетов.-->
<!--Settlement date.-->
<fpmlext:settlementDate>
<!--Дата.-->
<!--Date-->
<adjustableDate>
<!--Дата-->
<!--Date-->
<unadjustedDate>2015-09-10</unadjustedDate>
</adjustableDate>
</fpmlext:settlementDate>
<!--Сумма расчетов.-->
<!--Settlement amount.-->
<settlementAmount>
<!--Валюта суммы.-->
<!--Currency of money amount.-->
<currency currencyScheme="http://www.fpml.org/ext/iso4217-2001-08-15">RUB</currency>
<!--Сумма.-->
<!--Amount.-->
<amount>123.0000000</amount>
</settlementAmount>
</fpmlext:spotLeg>
<!--Вторая часть сделки репо.-->
<!--Repo forward leg.-->
<fpmlext:forwardLeg xsi:type="nsdext:ForwardRepoTransactionLegNsd">
<!--Сторона-покупатель инструмента.-->
<!--Buyer party.-->
<buyerPartyReference href="Party1" />
<!--Сторона-продавец инструмента.-->
<!--Seller party.-->
<sellerPartyReference href="Party2" />
<!--Дата расчетов.-->
<!--Settlement date.-->
<fpmlext:settlementDate>
<!--Дата.-->
<!--Date-->
<adjustableDate>
<!--Дата-->
<!--Date-->
<unadjustedDate>2015-09-10</unadjustedDate>
</adjustableDate>
</fpmlext:settlementDate>
<!--Сумма расчетов.-->
<!--Settlement amount.-->
<settlementAmount>
<!--Валюта суммы.-->
<!--Currency of money amount.-->
<currency currencyScheme="http://www.fpml.org/ext/iso4217-2001-08-15">RUB</currency>
<!--Сумма.-->
<!--Amount.-->
<amount>123.0000000</amount>
</settlementAmount>
</fpmlext:forwardLeg>
<!--Фондовый актив.-->
<!--Equity.-->
<equity id="RU000A0JR779">
<!--Идентификатор базового актива.-->
<!--Asset identifier.-->
<instrumentId instrumentIdScheme="">RU000A0JR779</instrumentId>
</equity>
</fpmlext:repo>
<!--Обеспечение по сделке-->
<!--Collateral-->
<nsdext:collateral>
<!--Тип обеспечения по договору.-->
<!--Collateral type for the trade.-->
<nsdext:marginType>FC</nsdext:marginType>
<!--Форма обеспечения-->
<!--Form of collateral-->
<nsdext:collateralForm>T</nsdext:collateralForm>
</nsdext:collateral>
<!--Специальные атрибуты сделок.-->
<!--Specific regulatory trade attributes.-->
<nsdext:nsdSpecificTradeFields>
<!--Обязанность централизованного клиринга-->
<!--Cleared-->
<nsdext:cleared>N</nsdext:cleared>
<!--Код клиринговой организации.-->
<!--Clearing organization code.-->
<nsdext:clearingOrganizationCode>NDC000000001</nsdext:clearingOrganizationCode>
<!--Дата включения обязательств из договора в клиринговый пул-->
<!--Cleared date-->
<nsdext:clearedDate>2015-04-15</nsdext:clearedDate>
<!--Условия согласования параметров сделки (договора).-->
<!--Trade parameters reconciliation type.-->
<nsdext:reconciliationType>FULL</nsdext:reconciliationType>
<!--Тип расчетов.-->
<!--Settlement type.-->
<nsdext:clearSettlementType clearSettlementTypeScheme="http://repository.nsd.ru/coding-scheme/clear-settlement-type">CS</nsdext:clearSettlementType>
<!--Метод расчетов.-->
<!--Settlement method.-->
<nsdext:clearSettlementMethod clearSettlementMethodScheme="http://repository.nsd.ru/coding-scheme/clear-settlement-method">C</nsdext:clearSettlementMethod>
<!--Способ подтверждения сделки-->
<!--Contract details matching method-->
<nsdext:confirmationMethod>MATH</nsdext:confirmationMethod>
<!--Автоматическое закрытие сделки в дату окончания срока действия договора-->
<!--Automatic trade execution on the agreement end date-->
<nsdext:automaticExecution>Y</nsdext:automaticExecution>
<!--Признак связанности стороны 1 и стороны 2-->
<!--Parties are affiliated-->
<nsdext:partiesAreAffiliated>N</nsdext:partiesAreAffiliated>
<!--Регуляторный тип сделки.-->
<!--Transaction regulatory class.-->
<nsdext:regulatoryStatus regulatoryAdviceScheme="http://repository.nsd.ru/coding-scheme/regulatory-status">Derivative</nsdext:regulatoryStatus>
<!--Дата начала срока действия договора.-->
<!--Agreement start date.-->
<nsdext:startAgreementDate>2015-07-17</nsdext:startAgreementDate>
<!--Дата окончания срока действия договора.-->
<!--Agreement end date.-->
<nsdext:endAgreementDate>2015-07-09</nsdext:endAgreementDate>
<!--Информация о клиенте стороны-->
<!--Information about Party clients-->
<nsdext:clientDetails>
<!--Сторона, обслуживающая клиента-->
<!--Party, servicing a client-->
<nsdext:servicingParty href="Party1" />
<!--Тип клиента-->
<!--Client type-->
<nsdext:type>P</nsdext:type>
<!--Идентификатор клиента-->
<!--Identifier-->
<nsdext:id>INN_123456789</nsdext:id>
<!--Наименование клиента-->
<!--Name-->
<nsdext:name>Клиент физическое лицо</nsdext:name>
<!--Код страны клиента-->
<!--Country code-->
<nsdext:country countryScheme="http://www.fpml.org/ext/iso3166">AE</nsdext:country>
</nsdext:clientDetails>
<!--Информация о клиенте стороны-->
<!--Information about Party clients-->
<nsdext:clientDetails>
<!--Сторона, обслуживающая клиента-->
<!--Party, servicing a client-->
<nsdext:servicingParty href="Party2" />
<!--Договор заключен не в интересах клиента-->
<!--Own party trade-->
<nsdext:ownTrade>true</nsdext:ownTrade>
</nsdext:clientDetails>
</nsdext:nsdSpecificTradeFields>
</trade>
<!--Участники Анкеты-->
<!--Party-->
<party id="TradeRepository">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>NDC000000000</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000001</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>НКО АО НРД</partyName>
</party>
<!--Участники Анкеты-->
<!--Party-->
<party id="UTIGeneratingParty">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>P00000000111</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000001</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>Клиент репозитария 1</partyName>
</party>
<!--Участники Анкеты-->
<!--Party-->
<party id="Party1">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>P00000000111</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000001</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>Клиент репозитария 1</partyName>
<!--Вид экономической деятельности-->
<!--Industry classification-->
<classification industryClassificationScheme="http://www.fpml.org/coding-scheme/external/north-american-industry-classification-system">Other</classification>
<!--Страна.-->
<!--Country.-->
<country countryScheme="http://www.fpml.org/ext/iso3166">RU</country>
<!--Тип лица-->
<!--Organization type-->
<organizationType organizationTypeScheme="http://www.fpml.org/coding-scheme/organization-type">L</organizationType>
</party>
<!--Участники Анкеты-->
<!--Party-->
<party id="Party2">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>P00000000222</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000002</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>Клиент репозитария 2</partyName>
<!--Вид экономической деятельности-->
<!--Industry classification-->
<classification industryClassificationScheme="http://www.fpml.org/coding-scheme/external/north-american-industry-classification-system">Other</classification>
<!--Страна.-->
<!--Country.-->
<country countryScheme="http://www.fpml.org/ext/iso3166">RU</country>
<!--Тип лица-->
<!--Organization type-->
<organizationType organizationTypeScheme="http://www.fpml.org/coding-scheme/organization-type">L</organizationType>
</party>
<!--Участники Анкеты-->
<!--Party-->
<party id="Sender">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>P00000000111</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000001</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>Клиент репозитария 1</partyName>
</party>
</nonpublicExecutionReport>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<nonpublicExecutionReport xmlns="http://www.fpml.org/FpML-5/recordkeeping" xmlns:nsdext="http://www.fpml.org/FpML-5/recordkeeping/nsd-ext" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:fpmlext="http://www.fpml.org/FpML-5/ext" xsi:schemaLocation="http://www.fpml.org/FpML-5/recordkeeping ../fpml-recordkeeping-merged-schema.xsd http://www.fpml.org/FpML-5/recordkeeping/nsd-ext ../nsd-ext-merged-schema.xsd" fpmlVersion="5-4" actualBuild="5">
<!--Заголовок сообщения.-->
<!--Message header.-->
<header>
<!--Номер сообщения-->
<!--Message identifier-->
<messageId messageIdScheme="http://repository.nsd.ru/coding-scheme/messageid(nsdrus)">MesIdfra-1</messageId>
<!--Отправитель сообщения-->
<!--Message sender-->
<sentBy>P00000000111</sentBy>
<!--Получатель сообщения-->
<!--Message receiver-->
<sendTo>NDC000000000</sendTo>
<!--Время создания сообщения-->
<!--Message creation time-->
<creationTimestamp>2015-07-27T19:03:13</creationTimestamp>
<!--Версия спецификации.-->
<!--The version(s) of specifications.-->
<implementationSpecification>
<!--Версия спецификации.-->
<!--Version of specification.-->
<version>4.4</version>
</implementationSpecification>
</header>
<!--Признак корректирующего сообщения-->
<!--Correction message mark-->
<isCorrection>false</isCorrection>
<!--Уникальный код цепочки сообщений-->
<!--Messages chain identifier-->
<correlationId correlationIdScheme="http://repository.nsd.ru/coding-scheme/correlationId(nsdrus)">[P00000000111]-[2015]-[MesIdfra-1]</correlationId>
<!--Дата совершения отчитываемого события-->
<!--Event's actual date-->
<asOfDate>2013-01-21</asOfDate>
<!--Регистрация Анкеты-->
<!--Form initial registration-->
<trade xsi:type="nsdext:TradeNsd">
<!--Общая информация о генсоглашении/договоре.-->
<!--Trade/Master agreement general information.-->
<tradeHeader>
<!--Регистрационный номер, присвоенный участником-->
<!--Party's identifiers-->
<partyTradeIdentifier>
<!--Участник.-->
<!--Party.-->
<partyReference href="TradeRepository" />
<!--Регистрационный номер-->
<!--Trade/Master agreement/Report identifier-->
<tradeId>NONREF</tradeId>
<!--Регистрационный номер генерального соглашения-->
<!--Master agreement identifier.-->
<linkId linkIdScheme="http://repository.nsd.ru/coding-scheme/linkid(nsdrus)">MA0000000123</linkId>
</partyTradeIdentifier>
<!--Регистрационный номер, присвоенный участником-->
<!--Party's identifiers-->
<partyTradeIdentifier>
<!--Участник.-->
<!--Party.-->
<partyReference href="Party1" />
<!--Регистрационный номер-->
<!--Trade/Master agreement/Report identifier-->
<tradeId>Fra-Party1-NUM1</tradeId>
</partyTradeIdentifier>
<!--Регистрационный номер, присвоенный участником-->
<!--Party's identifiers-->
<partyTradeIdentifier>
<!--Участник.-->
<!--Party.-->
<partyReference href="Party2" />
<!--Регистрационный номер-->
<!--Trade/Master agreement/Report identifier-->
<tradeId>NONREF</tradeId>
</partyTradeIdentifier>
<!--Регистрационный номер, присвоенный участником-->
<!--Party's identifiers-->
<partyTradeIdentifier>
<!--Участник.-->
<!--Party.-->
<partyReference href="UTIGeneratingParty" />
<!--Регистрационный номер-->
<!--Trade/Master agreement/Report identifier-->
<tradeId>VRKSDFKJH000000004DA2A92861A8A4A1B822DFGP5M2809T02</tradeId>
</partyTradeIdentifier>
<!--Информация стороны о сделке.-->
<!--Party trade information.-->
<partyTradeInformation>
<!--Участник.-->
<!--Party.-->
<partyReference href="TradeRepository" />
<!--Регулятивный режим отчетности.-->
<!--Reporting regime.-->
<reportingRegime>
<!--Наименование правил регулятивной отчетности.-->
<!--Reporting regime name.-->
<name reportingRegimeNameScheme="http://www.fpml.org/coding-scheme/reporting-regime">RussianFederation</name>
</reportingRegime>
</partyTradeInformation>
<!--Дата сделки.-->
<!--Trade date.-->
<tradeDate>2013-01-21</tradeDate>
</tradeHeader>
<!--Сделка репо-->
<!--Repo transaction-->
<fpmlext:repo xsi:type="nsdext:RepoNsd">
<!--Тип продукта.-->
<!--Product type.-->
<productType productTypeScheme="http://www.fpml.org/coding-scheme/product-taxonomy">Equity:Repo:EquityRepo</productType>
<!--Код классификации ПФИ и договоров РЕПО-->
<!--Derivatives classification code.-->
<productId>UKWN</productId>
<!--Фиксированная процентная ставка.-->
<!--Fixed rate schedule.-->
<fpmlext:fixedRateSchedule>
<!--Начальное значение.-->
<!--Initial value.-->
<initialValue>0.0600000</initialValue>
<!--Шаг изменений.-->
<!--Step.-->
<step>
<!--Очередная дата.-->
<!--Step date.-->
<stepDate>2013-10-15</stepDate>
<!--Очередное значение.-->
<!--Step value.-->
<stepValue>0.0650000</stepValue>
</step>
</fpmlext:fixedRateSchedule>
<!--Коэффициент для расчета дней в процентном периоде.-->
<!--Day count fraction.-->
<fpmlext:dayCountFraction dayCountFractionScheme="http://www.fpml.org/coding-scheme/day-count-fraction">ACT/ACT.ICMA</fpmlext:dayCountFraction>
<!--Тип срока репо.-->
<!--Repo duration type.-->
<fpmlext:duration>Term</fpmlext:duration>
<!--Первая часть сделки репо.-->
<!--Repo spot leg.-->
<fpmlext:spotLeg xsi:type="nsdext:RepoTransactionLegNsd">
<!--Сторона-покупатель инструмента.-->
<!--Buyer party.-->
<buyerPartyReference href="Party1" />
<!--Сторона-продавец инструмента.-->
<!--Seller party.-->
<sellerPartyReference href="Party2" />
<!--Дата расчетов.-->
<!--Settlement date.-->
<fpmlext:settlementDate>
<!--Дата.-->
<!--Date-->
<adjustableDate>
<!--Дата-->
<!--Date-->
<unadjustedDate>2015-09-10</unadjustedDate>
</adjustableDate>
</fpmlext:settlementDate>
<!--Сумма расчетов.-->
<!--Settlement amount.-->
<settlementAmount>
<!--Валюта суммы.-->
<!--Currency of money amount.-->
<currency currencyScheme="http://www.fpml.org/ext/iso4217-2001-08-15">RUB</currency>
<!--Сумма.-->
<!--Amount.-->
<amount>123.0000000</amount>
</settlementAmount>
</fpmlext:spotLeg>
<!--Вторая часть сделки репо.-->
<!--Repo forward leg.-->
<fpmlext:forwardLeg xsi:type="nsdext:ForwardRepoTransactionLegNsd">
<!--Сторона-покупатель инструмента.-->
<!--Buyer party.-->
<buyerPartyReference href="Party1" />
<!--Сторона-продавец инструмента.-->
<!--Seller party.-->
<sellerPartyReference href="Party2" />
<!--Дата расчетов.-->
<!--Settlement date.-->
<fpmlext:settlementDate>
<!--Дата.-->
<!--Date-->
<adjustableDate>
<!--Дата-->
<!--Date-->
<unadjustedDate>2015-09-10</unadjustedDate>
</adjustableDate>
</fpmlext:settlementDate>
<!--Сумма расчетов.-->
<!--Settlement amount.-->
<settlementAmount>
<!--Валюта суммы.-->
<!--Currency of money amount.-->
<currency currencyScheme="http://www.fpml.org/ext/iso4217-2001-08-15">RUB</currency>
<!--Сумма.-->
<!--Amount.-->
<amount>123.0000000</amount>
</settlementAmount>
</fpmlext:forwardLeg>
<!--Фондовый актив.-->
<!--Equity.-->
<equity id="RU000A0JR779">
<!--Идентификатор базового актива.-->
<!--Asset identifier.-->
<instrumentId instrumentIdScheme="">RU000A0JR779</instrumentId>
</equity>
</fpmlext:repo>
<!--Обеспечение по сделке-->
<!--Collateral-->
<nsdext:collateral>
<!--Тип обеспечения по договору.-->
<!--Collateral type for the trade.-->
<nsdext:marginType>FC</nsdext:marginType>
<!--Форма обеспечения-->
<!--Form of collateral-->
<nsdext:collateralForm>T</nsdext:collateralForm>
</nsdext:collateral>
<!--Специальные атрибуты сделок.-->
<!--Specific regulatory trade attributes.-->
<nsdext:nsdSpecificTradeFields>
<!--Обязанность централизованного клиринга-->
<!--Cleared-->
<nsdext:cleared>N</nsdext:cleared>
<!--Код клиринговой организации.-->
<!--Clearing organization code.-->
<nsdext:clearingOrganizationCode>NDC000000001</nsdext:clearingOrganizationCode>
<!--Дата включения обязательств из договора в клиринговый пул-->
<!--Cleared date-->
<nsdext:clearedDate>2015-04-15</nsdext:clearedDate>
<!--Условия согласования параметров сделки (договора).-->
<!--Trade parameters reconciliation type.-->
<nsdext:reconciliationType>FULL</nsdext:reconciliationType>
<!--Тип расчетов.-->
<!--Settlement type.-->
<nsdext:clearSettlementType clearSettlementTypeScheme="http://repository.nsd.ru/coding-scheme/clear-settlement-type">CS</nsdext:clearSettlementType>
<!--Метод расчетов.-->
<!--Settlement method.-->
<nsdext:clearSettlementMethod clearSettlementMethodScheme="http://repository.nsd.ru/coding-scheme/clear-settlement-method">C</nsdext:clearSettlementMethod>
<!--Способ подтверждения сделки-->
<!--Contract details matching method-->
<nsdext:confirmationMethod>MATH</nsdext:confirmationMethod>
<!--Автоматическое закрытие сделки в дату окончания срока действия договора-->
<!--Automatic trade execution on the agreement end date-->
<nsdext:automaticExecution>Y</nsdext:automaticExecution>
<!--Признак связанности стороны 1 и стороны 2-->
<!--Parties are affiliated-->
<nsdext:partiesAreAffiliated>N</nsdext:partiesAreAffiliated>
<!--Регуляторный тип сделки.-->
<!--Transaction regulatory class.-->
<nsdext:regulatoryStatus regulatoryAdviceScheme="http://repository.nsd.ru/coding-scheme/regulatory-status">Derivative</nsdext:regulatoryStatus>
<!--Дата начала срока действия договора.-->
<!--Agreement start date.-->
<nsdext:startAgreementDate>2015-07-17</nsdext:startAgreementDate>
<!--Дата окончания срока действия договора.-->
<!--Agreement end date.-->
<nsdext:endAgreementDate>2015-07-09</nsdext:endAgreementDate>
<!--Информация о клиенте стороны-->
<!--Information about Party clients-->
<nsdext:clientDetails>
<!--Сторона, обслуживающая клиента-->
<!--Party, servicing a client-->
<nsdext:servicingParty href="Party1" />
<!--Тип клиента-->
<!--Client type-->
<nsdext:type>P</nsdext:type>
<!--Идентификатор клиента-->
<!--Identifier-->
<nsdext:id>INN_123456789</nsdext:id>
<!--Наименование клиента-->
<!--Name-->
<nsdext:name>Клиент физическое лицо</nsdext:name>
<!--Код страны клиента-->
<!--Country code-->
<nsdext:country countryScheme="http://www.fpml.org/ext/iso3166">AE</nsdext:country>
</nsdext:clientDetails>
<!--Информация о клиенте стороны-->
<!--Information about Party clients-->
<nsdext:clientDetails>
<!--Сторона, обслуживающая клиента-->
<!--Party, servicing a client-->
<nsdext:servicingParty href="Party2" />
<!--Договор заключен не в интересах клиента-->
<!--Own party trade-->
<nsdext:ownTrade>true</nsdext:ownTrade>
</nsdext:clientDetails>
</nsdext:nsdSpecificTradeFields>
</trade>
<!--Участники Анкеты-->
<!--Party-->
<party id="TradeRepository">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>NDC000000000</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000001</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>НКО АО НРД</partyName>
</party>
<!--Участники Анкеты-->
<!--Party-->
<party id="UTIGeneratingParty">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>P00000000111</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000001</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>Клиент репозитария 1</partyName>
</party>
<!--Участники Анкеты-->
<!--Party-->
<party id="Party1">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>P00000000111</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000001</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>Клиент репозитария 1</partyName>
<!--Вид экономической деятельности-->
<!--Industry classification-->
<classification industryClassificationScheme="http://www.fpml.org/coding-scheme/external/north-american-industry-classification-system">Other</classification>
<!--Страна.-->
<!--Country.-->
<country countryScheme="http://www.fpml.org/ext/iso3166">RU</country>
<!--Тип лица-->
<!--Organization type-->
<organizationType organizationTypeScheme="http://www.fpml.org/coding-scheme/organization-type">L</organizationType>
</party>
<!--Участники Анкеты-->
<!--Party-->
<party id="Party2">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>P00000000222</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000002</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>Клиент репозитария 2</partyName>
<!--Вид экономической деятельности-->
<!--Industry classification-->
<classification industryClassificationScheme="http://www.fpml.org/coding-scheme/external/north-american-industry-classification-system">Other</classification>
<!--Страна.-->
<!--Country.-->
<country countryScheme="http://www.fpml.org/ext/iso3166">RU</country>
<!--Тип лица-->
<!--Organization type-->
<organizationType organizationTypeScheme="http://www.fpml.org/coding-scheme/organization-type">L</organizationType>
</party>
<!--Участники Анкеты-->
<!--Party-->
<party id="Sender">
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>P00000000111</partyId>
<!--Идентификационный код-->
<!--Party's identifier.-->
<partyId>LEI_00000000000000000001</partyId>
<!--Наименование участника.-->
<!--Party's name.-->
<partyName>Клиент репозитария 1</partyName>
</party>
</nonpublicExecutionReport>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns="http://www.fpml.org/FpML-5/recordkeeping/nsd-ext"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:fpml="http://www.fpml.org/FpML-5/recordkeeping"
targetNamespace="http://www.fpml.org/FpML-5/recordkeeping/nsd-ext"
elementFormDefault="qualified">
<!--Version: 2018-09-04-->
<xsd:import namespace="http://www.fpml.org/FpML-5/recordkeeping"
schemaLocation="fpml-recordkeeping-merged-schema.xsd"/>
<xsd:include schemaLocation="nsd-ext-merged-schema.xsd"/>
<!--fpml.org/nsd-extensions/nsd-bulk-reporting.xsd-->
<xsd:element name="bulkBinaryOptionsReport"
type="BulkBinaryOptionsReport"
substitutionGroup="fpml:product">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Агрегированный отчёт по бинарным опционам</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="BulkBinaryOptionsReport">
<xsd:complexContent>
<xsd:extension base="fpml:Product">
<xsd:sequence>
<xsd:element name="tradesObligationStatus" type="TradeObligationStatus"/>
<xsd:group ref="fpml:BuyerSeller.model">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Покупатель/продавец опциона</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:group>
<xsd:element ref="fpml:exercise">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Стиль исполнения опциона</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="settlementCurrency" type="fpml:Currency">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта расчётов</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="underlyer" type="BinaryOptionUnderlyer" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Базовый актив</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="t"
type="BulkBinaryOptionTrade"
minOccurs="1"
maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Параметры сделки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="BinaryOptionUnderlyer">
<xsd:sequence>
<xsd:element name="instrumentId" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификтор актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="description" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Описание актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:choice>
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Выбор единицы измерения актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
<xsd:element name="unit" type="fpml:QuantityUnit">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Единица измерения</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="currency" type="fpml:Currency">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
</xsd:choice>
<xsd:choice minOccurs="0">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru"/>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
<xsd:element name="numberOfUnits" type="xsd:int">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Количество единиц актива в корзине</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
<xsd:element name="basketPercentage" type="xsd:decimal">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Процент актива в корзине</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:element>
</xsd:choice>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="BulkBinaryOptionTrade">
<xsd:attribute name="o" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификатор сделки, присвоенный участником</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="r" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификатор сделки, присвоенный репозитарием</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="u" type="xsd:string" use="optional">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">UTI</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">UTI</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="q" type="xsd:int" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Количество опционов</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="f" type="xsd:decimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Премия</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Fee</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="p" type="xsd:decimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Начальная цена базового актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="d" type="xsd:decimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Изменение значения цены</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="m" type="xsd:decimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Фиксированный размер выплаты </xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:element name="repoBulkReport"
type="RepoBulkReport"
substitutionGroup="fpml:product">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Отчет по сделкам репо
</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Bulk repo report</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="RepoBulkReport">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru"/>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
<xsd:complexContent>
<xsd:extension base="fpml:Product">
<xsd:sequence>
<xsd:element name="tradesObligationStatus" type="TradeObligationStatus">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Статус исполнения обязательств</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Commitment fulfillment status</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="spotLegSettlementDate" type="fpml:IdentifiedDate">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Дата расчетов по первой части</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Spot leg settlement date</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="forwardLegSettlementDate" type="fpml:IdentifiedDate">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Дата расчетов по второй части</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Forward leg settlement date</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="repos" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Параметры контракта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Parameters</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="counterparty" type="fpml:Party">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Контрагент</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Counterparty</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="repoDetails" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Детали контракта </xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Repo details</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="tradeId" type="BulkTradeId">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификаторы сделки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Trade IDs
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="side" type="RepoSide">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Тип стороны</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Party type</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:choice>
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru"/>
<xsd:documentation source="nsdr" xml:lang="en"/>
</xsd:annotation>
<xsd:element name="rate" type="xsd:decimal">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Фиксированная ставка репо</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Fixed rate</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:sequence>
<xsd:element name="floatingRate">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Плавающая ставка репо</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Floating rate</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:complexContent>
<xsd:extension base="fpml:FloatingRateIndex">
<xsd:attribute name="t" type="xsd:positiveInteger" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Мультипликатор периода ставки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Period multiplier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="p" type="fpml:PeriodEnum" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Тип временного периода ставки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Period type</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="i" type="xsd:decimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Начальное значение плавающей ставки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Initial rate</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:choice>
<xsd:element name="spot">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма расчетов по первой части договора</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Spot leg settlement amount</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="a" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="forward">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма расчетов по второй части договора</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Forward leg settlement amount</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="a" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:choice maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Выбор обеспечения</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">A choice of underlyer asset</xsd:documentation>
</xsd:annotation>
<xsd:element name="equity">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Акция</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Equity</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="id" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Код базисного актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Asset identifier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="n" type="xsd:integer" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Количество ценных бумаг</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Number of units</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="p" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Цена единицы актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Unit price</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="bond">
<xsd:complexType>
<xsd:attribute name="id" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Код базисного актива</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Asset identifier</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="n" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Номинал</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Nominal</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
</xsd:choice>
<xsd:element name="client" type="Client" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Клиент</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Client</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="RepoSide">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Buyer">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Покупатель</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Buyer</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="Seller">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Продавец</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Seller</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:element name="fxSwapBulkReport"
type="FxSwapBulkReport"
substitutionGroup="fpml:product">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Отчет по сделкам валютный своп</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">FX Swap bulk report</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="fxSingleLegBulkReport"
type="FxSingleLegBulkReport"
substitutionGroup="fpml:product">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Отчет по конверсионным сделкам</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">FX SingleLeg bulk report</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:complexType name="BulkTradeId">
<xsd:attribute name="r" use="optional" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификационный код договора</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Repository tradeId</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="p" use="required" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Внутренний номер договора</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Party tradeId</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="u" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">UTI код договора</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">UTI</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="pid" type="xsd:string" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Код классификации ПФИ</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Derivatives classification code</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="FxSwapBulkReport">
<xsd:complexContent>
<xsd:extension base="fpml:Product">
<xsd:sequence>
<xsd:element name="tradesObligationStatus" type="TradeObligationStatus">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Статус исполнения обязательств</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Commitment fulfillment status</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="nearLegSettlementDate" type="fpml:IdentifiedDate">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Дата расчетов по первой части</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Near leg settlement date</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="farLegSettlementDate" type="fpml:IdentifiedDate">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Дата расчетов по второй части</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Far leg settlement date</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" name="swaps">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сделки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Swaps</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="counterparty" type="fpml:Party">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Контрагент</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Counterparty</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" name="swapDetails">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Детали контракта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Swap details</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="tradeId" type="BulkTradeId">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификаторы</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Trade IDs</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="side" type="SwapSide">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Тип стороны</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Party type</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="currencies">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюты</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currencies</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="c1" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта 1</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 1</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c2" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта 2</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 2</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="d" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Торгуемая валюта (базовый актив)</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Dealt Currency (Underlying Currency)</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="nearLeg">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Первоначальный платеж по валютному свопу</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Near FX Swap Leg</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="c1" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма валюты 1</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 1 amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c2" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма валюты 2</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 2 amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="b" type="fpml:QuoteBasisEnum" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Базис котировки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Quote basis</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="r" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Ставка</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Rate</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="farLeg">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Окончательный платеж по валютному свопу</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Far FX Swap Leg</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="c1" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма валюты 1</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 1 amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c2" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма валюты 2</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 2 amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="b" type="fpml:QuoteBasisEnum" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Базис котировки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Quote basis</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="r" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Ставка</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Rate</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="client" type="Client" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Клиент</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Client</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:simpleType name="SwapSide">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="Payer">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Плательщик</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Payer</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
<xsd:enumeration value="Receiver">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Получатель</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Receiver</xsd:documentation>
</xsd:annotation>
</xsd:enumeration>
</xsd:restriction>
</xsd:simpleType>
<xsd:complexType name="FxSingleLegBulkReport">
<xsd:complexContent>
<xsd:extension base="fpml:Product">
<xsd:sequence>
<xsd:element name="tradesObligationStatus" type="TradeObligationStatus">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Статус исполнения обязательств</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Commitment fulfillment status</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="settlementDate" type="fpml:IdentifiedDate">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Дата расчетов</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Settlement date</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" name="singleLegs">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сделки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Swaps</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="counterparty" type="fpml:Party">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Контрагент</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Counterparty</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element maxOccurs="unbounded" name="singleLegDetails">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Детали контракта</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Swap details</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="tradeId" type="BulkTradeId">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификаторы</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Trade IDs</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="side" type="SwapSide">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Тип стороны</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Party type</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="currencies">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюты</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currencies</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="c1" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта 1</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 1</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c2" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Валюта 2</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 2</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="d" type="Currency" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Торгуемая валюта (базовый актив)</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Dealt Currency (Underlying Currency)</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="singleLeg">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Платеж по сделке</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">SingleLeg</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:attribute name="c1" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма валюты 1</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 1 amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c2" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Сумма валюты 2</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Currency 2 amount</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="b" type="fpml:QuoteBasisEnum" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Базис котировки</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Quote basis</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="r" type="fpml:PositiveDecimal" use="required">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Ставка</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Rate</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:element>
<xsd:element name="client" type="Client" minOccurs="0" maxOccurs="unbounded">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Клиент</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Client</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>
<xsd:complexType name="Client">
<xsd:attribute name="i" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Идентификатор клиента</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Client ID</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="t" type="ClientType">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Тип клиента</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Client type</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="n" type="xsd:string">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Наименование клиента</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Client name</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
<xsd:attribute name="c" type="Country">
<xsd:annotation>
<xsd:documentation source="nsdr" xml:lang="ru">Код страны клиента</xsd:documentation>
<xsd:documentation source="nsdr" xml:lang="en">Country code</xsd:documentation>
</xsd:annotation>
</xsd:attribute>
</xsd:complexType>
</xsd:schema>
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="utf-8"?>
<!--
<!DOCTYPE schema
PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd"
[
<!ATTLIST schema
xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#">
<!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
<!ENTITY % p ''>
<!ENTITY % s ''>
]>
-->
<!-- Schema for XML Signatures
http://www.w3.org/2000/09/xmldsig#
$Revision: 8563 $ on $Date: 2011-10-05 12:17:57 -0400 (Wed, 05 Oct 2011) $ by $Author: iyermakova $
Copyright 2001 The Internet Society and W3C (Massachusetts Institute
of Technology, Institut National de Recherche en Informatique et en
Automatique, Keio University). All Rights Reserved.
http://www.w3.org/Consortium/Legal/
This document is governed by the W3C Software License [1] as described
in the FAQ [2].
[1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
[2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
-->
<schema targetNamespace="http://www.w3.org/2000/09/xmldsig#" elementFormDefault="qualified" version="0.1" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<!-- Basic Types Defined for Signatures -->
<simpleType name="CryptoBinary">
<restriction base="base64Binary" />
</simpleType>
<!-- Start Signature -->
<element name="Signature" type="ds:SignatureType" />
<complexType name="SignatureType">
<sequence>
<element ref="ds:SignedInfo" />
<element ref="ds:SignatureValue" />
<element ref="ds:KeyInfo" minOccurs="0" />
<element ref="ds:Object" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="SignatureValue" type="ds:SignatureValueType" />
<complexType name="SignatureValueType">
<simpleContent>
<extension base="base64Binary">
<attribute name="Id" type="ID" use="optional" />
</extension>
</simpleContent>
</complexType>
<!-- Start SignedInfo -->
<element name="SignedInfo" type="ds:SignedInfoType" />
<complexType name="SignedInfoType">
<sequence>
<element ref="ds:CanonicalizationMethod" />
<element ref="ds:SignatureMethod" />
<element ref="ds:Reference" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType" />
<complexType name="CanonicalizationMethodType" mixed="true">
<sequence>
<any namespace="##any" minOccurs="0" maxOccurs="unbounded" />
<!-- (0,unbounded) elements from (1,1) namespace -->
</sequence>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<element name="SignatureMethod" type="ds:SignatureMethodType" />
<complexType name="SignatureMethodType" mixed="true">
<sequence>
<element name="HMACOutputLength" type="ds:HMACOutputLengthType" minOccurs="0" />
<any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
<!-- (0,unbounded) elements from (1,1) external namespace -->
</sequence>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<!-- Start Reference -->
<element name="Reference" type="ds:ReferenceType" />
<complexType name="ReferenceType">
<sequence>
<element ref="ds:Transforms" minOccurs="0" />
<element ref="ds:DigestMethod" />
<element ref="ds:DigestValue" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
<attribute name="URI" type="anyURI" use="optional" />
<attribute name="Type" type="anyURI" use="optional" />
</complexType>
<element name="Transforms" type="ds:TransformsType" />
<complexType name="TransformsType">
<sequence>
<element ref="ds:Transform" maxOccurs="unbounded" />
</sequence>
</complexType>
<element name="Transform" type="ds:TransformType" />
<complexType name="TransformType" mixed="true">
<choice minOccurs="0" maxOccurs="unbounded">
<any namespace="##other" processContents="lax" />
<!-- (1,1) elements from (0,unbounded) namespaces -->
<element name="XPath" type="string" />
</choice>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<!-- End Reference -->
<element name="DigestMethod" type="ds:DigestMethodType" />
<complexType name="DigestMethodType" mixed="true">
<sequence>
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<element name="DigestValue" type="ds:DigestValueType" />
<simpleType name="DigestValueType">
<restriction base="base64Binary" />
</simpleType>
<!-- End SignedInfo -->
<!-- Start KeyInfo -->
<element name="KeyInfo" type="ds:KeyInfoType" />
<complexType name="KeyInfoType" mixed="true">
<choice maxOccurs="unbounded">
<element ref="ds:KeyName" />
<element ref="ds:KeyValue" />
<element ref="ds:RetrievalMethod" />
<element ref="ds:X509Data" />
<element ref="ds:PGPData" />
<element ref="ds:SPKIData" />
<element ref="ds:MgmtData" />
<any namespace="##other" processContents="lax" />
<!-- (1,1) elements from (0,unbounded) namespaces -->
</choice>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="KeyName" type="string" />
<element name="MgmtData" type="string" />
<element name="KeyValue" type="ds:KeyValueType" />
<complexType name="KeyValueType" mixed="true">
<choice>
<element ref="ds:DSAKeyValue" />
<element ref="ds:RSAKeyValue" />
<any namespace="##other" processContents="lax" />
</choice>
</complexType>
<element name="RetrievalMethod" type="ds:RetrievalMethodType" />
<complexType name="RetrievalMethodType">
<sequence>
<element ref="ds:Transforms" minOccurs="0" />
</sequence>
<attribute name="URI" type="anyURI" />
<attribute name="Type" type="anyURI" use="optional" />
</complexType>
<!-- Start X509Data -->
<element name="X509Data" type="ds:X509DataType" />
<complexType name="X509DataType">
<sequence maxOccurs="unbounded">
<choice>
<element name="X509IssuerSerial" type="ds:X509IssuerSerialType" />
<element name="X509SKI" type="base64Binary" />
<element name="X509SubjectName" type="string" />
<element name="X509Certificate" type="base64Binary" />
<element name="X509CRL" type="base64Binary" />
<any namespace="##other" processContents="lax" />
</choice>
</sequence>
</complexType>
<complexType name="X509IssuerSerialType">
<sequence>
<element name="X509IssuerName" type="string" />
<element name="X509SerialNumber" type="integer" />
</sequence>
</complexType>
<!-- End X509Data -->
<!-- Begin PGPData -->
<element name="PGPData" type="ds:PGPDataType" />
<complexType name="PGPDataType">
<choice>
<sequence>
<element name="PGPKeyID" type="base64Binary" />
<element name="PGPKeyPacket" type="base64Binary" minOccurs="0" />
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<sequence>
<element name="PGPKeyPacket" type="base64Binary" />
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
</choice>
</complexType>
<!-- End PGPData -->
<!-- Begin SPKIData -->
<element name="SPKIData" type="ds:SPKIDataType" />
<complexType name="SPKIDataType">
<sequence maxOccurs="unbounded">
<element name="SPKISexp" type="base64Binary" />
<any namespace="##other" processContents="lax" minOccurs="0" />
</sequence>
</complexType>
<!-- End SPKIData -->
<!-- End KeyInfo -->
<!-- Start Object (Manifest, SignatureProperty) -->
<element name="Object" type="ds:ObjectType" />
<complexType name="ObjectType" mixed="true">
<sequence minOccurs="0" maxOccurs="unbounded">
<any namespace="##any" processContents="lax" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
<attribute name="MimeType" type="string" use="optional" />
<attribute name="Encoding" type="anyURI" use="optional" />
<!-- add a grep facet -->
</complexType>
<element name="Manifest" type="ds:ManifestType" />
<complexType name="ManifestType">
<sequence>
<element ref="ds:Reference" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="SignatureProperties" type="ds:SignaturePropertiesType" />
<complexType name="SignaturePropertiesType">
<sequence>
<element ref="ds:SignatureProperty" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="SignatureProperty" type="ds:SignaturePropertyType" />
<complexType name="SignaturePropertyType" mixed="true">
<choice maxOccurs="unbounded">
<any namespace="##other" processContents="lax" />
<!-- (1,1) elements from (1,unbounded) namespaces -->
</choice>
<attribute name="Target" type="anyURI" use="required" />
<attribute name="Id" type="ID" use="optional" />
</complexType>
<!-- End Object (Manifest, SignatureProperty) -->
<!-- Start Algorithm Parameters -->
<simpleType name="HMACOutputLengthType">
<restriction base="integer" />
</simpleType>
<!-- Start KeyValue Element-types -->
<element name="DSAKeyValue" type="ds:DSAKeyValueType" />
<complexType name="DSAKeyValueType">
<sequence>
<sequence minOccurs="0">
<element name="P" type="ds:CryptoBinary" />
<element name="Q" type="ds:CryptoBinary" />
</sequence>
<element name="G" type="ds:CryptoBinary" minOccurs="0" />
<element name="Y" type="ds:CryptoBinary" />
<element name="J" type="ds:CryptoBinary" minOccurs="0" />
<sequence minOccurs="0">
<element name="Seed" type="ds:CryptoBinary" />
<element name="PgenCounter" type="ds:CryptoBinary" />
</sequence>
</sequence>
</complexType>
<element name="RSAKeyValue" type="ds:RSAKeyValueType" />
<complexType name="RSAKeyValueType">
<sequence>
<element name="Modulus" type="ds:CryptoBinary" />
<element name="Exponent" type="ds:CryptoBinary" />
</sequence>
</complexType>
<!-- End KeyValue Element-types -->
<!-- End Signature -->
</schema>
<?xml version="1.0" encoding="utf-8"?>
<signedDocument xmlns="http://www.fpml.ru/repository">
<document>
<fpml:nonpublicExecutionReport xmlns:fpml="http://www.fpml.org/FpML-5/recordkeeping"
xmlns:fpmlext="http://www.fpml.org/FpML-5/ext" xmlns:rtsrep="http://www.fpml.ru/repository"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" fpmlVersion="5-7">
<fpml:header>
<fpml:messageId>NFKSP-TO-SPB01-REPO-602-2016-06-28</fpml:messageId>
<fpml:sentBy>NFKSP</fpml:sentBy>
<fpml:sendTo>SPB01</fpml:sendTo>
<fpml:creationTimestamp>2016-06-28T11:00:00</fpml:creationTimestamp>
<fpml:implementationSpecification>
<fpml:version>2</fpml:version>
</fpml:implementationSpecification>
</fpml:header>
<fpml:isCorrection>false</fpml:isCorrection>
<fpml:correlationId correlationIdScheme=""
>NFKSP-TO-SPB01-REPO-602-2016-06-28</fpml:correlationId>
<fpml:trade>
<fpml:tradeHeader>
<fpml:partyTradeIdentifier>
<fpml:partyReference href="NFKSP"/>
<fpml:tradeId>604(1)-0416-ДИЛ-П/604(2)-0416-ДИЛ-П</fpml:tradeId>
</fpml:partyTradeIdentifier>
<fpml:partyTradeIdentifier>
<fpml:partyReference href="ITN_7718173549"/>
<fpml:tradeId>604(1)-0416-ДИЛ-П/604(2)-0416-ДИЛ-П</fpml:tradeId>
</fpml:partyTradeIdentifier>
<fpml:partyTradeInformation>
<fpml:partyReference href="SPB01"/>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-type"
>OTC</fpml:category>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-method"
>E</fpml:category>
<fpml:executionDateTime>2016-04-20T00:00:00</fpml:executionDateTime>
<fpml:reportingRegime>
<fpml:name>RussianFederation</fpml:name>
<fpml:mandatorilyClearable>false</fpml:mandatorilyClearable>
</fpml:reportingRegime>
</fpml:partyTradeInformation>
<fpml:partyTradeInformation>
<fpml:partyReference href="NFKSP"/>
<fpml:collateralizationType>Uncollateralized</fpml:collateralizationType>
</fpml:partyTradeInformation>
<fpml:partyTradeInformation>
<fpml:partyReference href="ITN_7718173549"/>
<fpml:collateralizationType>Uncollateralized</fpml:collateralizationType>
</fpml:partyTradeInformation>
</fpml:tradeHeader>
<fpmlext:repo xsi:type="rtsrep:Repo">
<fpml:productId>Equity:Repo:EquityRepo</fpml:productId>
<fpml:productId>RU000A0JV8K5</fpml:productId>
<fpmlext:fixedRateSchedule>
<fpml:initialValue>0.1025</fpml:initialValue>
</fpmlext:fixedRateSchedule>
<fpmlext:dayCountFraction>1/1</fpmlext:dayCountFraction>
<fpmlext:spotLeg xsi:type="rtsrep:RepoTransactionLeg">
<fpml:buyerPartyReference href="ITN_7718173549"/>
<fpml:sellerPartyReference href="NFKSP"/>
<fpmlext:settlementDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2016-04-21</fpml:unadjustedDate>
</fpml:adjustableDate>
</fpmlext:settlementDate>
<fpml:settlementAmount>
<fpml:currency>RUB</fpml:currency>
<fpml:amount>119003352.32</fpml:amount>
</fpml:settlementAmount>
<fpmlext:collateral xsi:type="rtsrep:CollateralValuation">
<fpmlext:numberOfUnits>1371</fpmlext:numberOfUnits>
<fpmlext:unitPrice>
<fpml:currency>RUB</fpml:currency>
<fpml:amount>86800.40286</fpml:amount>
</fpmlext:unitPrice>
<fpmlext:assetReference href="RU000A0JV8K5"/>
</fpmlext:collateral>
<rtsrep:deliveryMethod>FreeOfPayment</rtsrep:deliveryMethod>
<rtsrep:deliveryDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2016-04-21</fpml:unadjustedDate>
</fpml:adjustableDate>
</rtsrep:deliveryDate>
</fpmlext:spotLeg>
<!-- changed -->
<fpmlext:forwardLeg xsi:type="rtsrep:ForwardRepoTransactionLeg1">
<!-- changed -->
<fpml:buyerPartyReference href="NFKSP"/>
<fpml:sellerPartyReference href="ITN_7718173549"/>
<fpmlext:settlementDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2017-04-20</fpml:unadjustedDate>
</fpml:adjustableDate>
</fpmlext:settlementDate>
<fpml:settlementAmount>
<fpml:currency>RUB</fpml:currency>
<fpml:amount>119003352.32</fpml:amount>
</fpml:settlementAmount>
</fpmlext:forwardLeg>
<fpml:equity id="RU000A0JV8K5">
<fpml:instrumentId instrumentIdScheme="">RU000A0JV8K5</fpml:instrumentId>
<fpml:description>ПТК-Холдинг, ПАО ao01</fpml:description>
</fpml:equity>
</fpmlext:repo>
<fpml:documentation>
<fpml:masterAgreement>
<fpml:masterAgreementId>MA-20160628-00000001</fpml:masterAgreementId>
</fpml:masterAgreement>
</fpml:documentation>
</fpml:trade>
<fpml:party id="NFKSP">
<fpml:partyId>NFKSP</fpml:partyId>
<fpml:partyName>ООО «НФК-Сбережения»</fpml:partyName>
</fpml:party>
<fpml:party id="ITN_7718173549">
<fpml:partyId partyIdScheme="ITN">ITN_7718173549</fpml:partyId>
<fpml:partyName>ЗАО "Дельта Инвестмент"</fpml:partyName>
<fpml:country>RU</fpml:country>
<fpml:organizationType>Other</fpml:organizationType>
</fpml:party>
<fpml:party id="SPB01">
<fpml:partyId>SPB01</fpml:partyId>
<fpml:partyName>ПАО «Санкт-Петербургская биржа»</fpml:partyName>
</fpml:party>
</fpml:nonpublicExecutionReport>
</document>
</signedDocument>
<?xml version="1.0" encoding="utf-8"?>
<signedDocument xmlns="http://www.fpml.ru/repository">
<document>
<fpml:nonpublicExecutionReport xmlns:fpml="http://www.fpml.org/FpML-5/recordkeeping"
xmlns:fpmlext="http://www.fpml.org/FpML-5/ext" xmlns:rtsrep="http://www.fpml.ru/repository"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" fpmlVersion="5-7">
<fpml:header>
<fpml:messageId>NFKSP-TO-SPB01-REPO-602-2016-06-28</fpml:messageId>
<fpml:sentBy>NFKSP</fpml:sentBy>
<fpml:sendTo>SPB01</fpml:sendTo>
<fpml:creationTimestamp>2016-06-28T11:00:00</fpml:creationTimestamp>
<fpml:implementationSpecification>
<fpml:version>2</fpml:version>
</fpml:implementationSpecification>
</fpml:header>
<fpml:isCorrection>false</fpml:isCorrection>
<fpml:correlationId correlationIdScheme=""
>NFKSP-TO-SPB01-REPO-602-2016-06-28</fpml:correlationId>
<fpml:trade>
<fpml:tradeHeader>
<fpml:partyTradeIdentifier>
<fpml:partyReference href="NFKSP"/>
<fpml:tradeId>604(1)-0416-ДИЛ-П/604(2)-0416-ДИЛ-П</fpml:tradeId>
</fpml:partyTradeIdentifier>
<fpml:partyTradeIdentifier>
<fpml:partyReference href="ITN_7718173549"/>
<fpml:tradeId>604(1)-0416-ДИЛ-П/604(2)-0416-ДИЛ-П</fpml:tradeId>
</fpml:partyTradeIdentifier>
<fpml:partyTradeInformation>
<fpml:partyReference href="SPB01"/>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-type"
>OTC</fpml:category>
<fpml:category categoryScheme="http://www.fpml.ru/repository/trade-settlement-method"
>E</fpml:category>
<fpml:executionDateTime>2016-04-20T00:00:00</fpml:executionDateTime>
<fpml:reportingRegime>
<fpml:name>RussianFederation</fpml:name>
<fpml:mandatorilyClearable>false</fpml:mandatorilyClearable>
</fpml:reportingRegime>
</fpml:partyTradeInformation>
<fpml:partyTradeInformation>
<fpml:partyReference href="NFKSP"/>
<fpml:collateralizationType>Uncollateralized</fpml:collateralizationType>
</fpml:partyTradeInformation>
<fpml:partyTradeInformation>
<fpml:partyReference href="ITN_7718173549"/>
<fpml:collateralizationType>Uncollateralized</fpml:collateralizationType>
</fpml:partyTradeInformation>
</fpml:tradeHeader>
<fpmlext:repo xsi:type="rtsrep:Repo">
<fpml:productId>Equity:Repo:EquityRepo</fpml:productId>
<fpml:productId>RU000A0JV8K5</fpml:productId>
<fpmlext:fixedRateSchedule>
<fpml:initialValue>0.1025</fpml:initialValue>
</fpmlext:fixedRateSchedule>
<fpmlext:dayCountFraction>1/1</fpmlext:dayCountFraction>
<fpmlext:spotLeg xsi:type="rtsrep:RepoTransactionLeg">
<fpml:buyerPartyReference href="ITN_7718173549"/>
<fpml:sellerPartyReference href="NFKSP"/>
<fpmlext:settlementDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2016-04-21</fpml:unadjustedDate>
</fpml:adjustableDate>
</fpmlext:settlementDate>
<fpml:settlementAmount>
<fpml:currency>RUB</fpml:currency>
<fpml:amount>119003352.32</fpml:amount>
</fpml:settlementAmount>
<fpmlext:collateral xsi:type="rtsrep:CollateralValuation">
<fpmlext:numberOfUnits>1371</fpmlext:numberOfUnits>
<fpmlext:unitPrice>
<fpml:currency>RUB</fpml:currency>
<fpml:amount>86800.40286</fpml:amount>
</fpmlext:unitPrice>
<fpmlext:assetReference href="RU000A0JV8K5"/>
</fpmlext:collateral>
<rtsrep:deliveryMethod>FreeOfPayment</rtsrep:deliveryMethod>
<rtsrep:deliveryDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2016-04-21</fpml:unadjustedDate>
</fpml:adjustableDate>
</rtsrep:deliveryDate>
</fpmlext:spotLeg>
<fpmlext:forwardLeg xsi:type="rtsrep:ForwardRepoTransactionLeg">
<fpml:buyerPartyReference href="NFKSP"/>
<fpml:sellerPartyReference href="ITN_7718173549"/>
<fpmlext:settlementDate>
<fpml:adjustableDate>
<fpml:unadjustedDate>2017-04-20</fpml:unadjustedDate>
</fpml:adjustableDate>
</fpmlext:settlementDate>
<fpml:settlementAmount>
<fpml:currency>RUB</fpml:currency>
<fpml:amount>119003352.32</fpml:amount>
</fpml:settlementAmount>
</fpmlext:forwardLeg>
<fpml:equity id="RU000A0JV8K5">
<fpml:instrumentId instrumentIdScheme="">RU000A0JV8K5</fpml:instrumentId>
<fpml:description>ПТК-Холдинг, ПАО ao01</fpml:description>
</fpml:equity>
</fpmlext:repo>
<fpml:documentation>
<fpml:masterAgreement>
<fpml:masterAgreementId>MA-20160628-00000001</fpml:masterAgreementId>
</fpml:masterAgreement>
</fpml:documentation>
</fpml:trade>
<fpml:party id="NFKSP">
<fpml:partyId>NFKSP</fpml:partyId>
<fpml:partyName>ООО «НФК-Сбережения»</fpml:partyName>
</fpml:party>
<fpml:party id="ITN_7718173549">
<fpml:partyId partyIdScheme="ITN">ITN_7718173549</fpml:partyId>
<fpml:partyName>ЗАО "Дельта Инвестмент"</fpml:partyName>
<fpml:country>RU</fpml:country>
<fpml:organizationType>Other</fpml:organizationType>
</fpml:party>
<fpml:party id="SPB01">
<fpml:partyId>SPB01</fpml:partyId>
<fpml:partyName>ПАО «Санкт-Петербургская биржа»</fpml:partyName>
</fpml:party>
</fpml:nonpublicExecutionReport>
</document>
</signedDocument>
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
<?xml version="1.0" encoding="utf-8"?>
<!--
<!DOCTYPE schema
PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd"
[
<!ATTLIST schema
xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#">
<!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
<!ENTITY % p ''>
<!ENTITY % s ''>
]>
-->
<!-- Schema for XML Signatures
http://www.w3.org/2000/09/xmldsig#
$Revision: 8563 $ on $Date: 2011-10-05 18:17:57 +0200 (Wed, 05 Oct 2011) $ by $Author: iyermakova $
Copyright 2001 The Internet Society and W3C (Massachusetts Institute
of Technology, Institut National de Recherche en Informatique et en
Automatique, Keio University). All Rights Reserved.
http://www.w3.org/Consortium/Legal/
This document is governed by the W3C Software License [1] as described
in the FAQ [2].
[1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
[2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
-->
<schema targetNamespace="http://www.w3.org/2000/09/xmldsig#" elementFormDefault="qualified" version="0.1" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<!-- Basic Types Defined for Signatures -->
<simpleType name="CryptoBinary">
<restriction base="base64Binary" />
</simpleType>
<!-- Start Signature -->
<element name="Signature" type="ds:SignatureType" />
<complexType name="SignatureType">
<sequence>
<element ref="ds:SignedInfo" />
<element ref="ds:SignatureValue" />
<element ref="ds:KeyInfo" minOccurs="0" />
<element ref="ds:Object" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="SignatureValue" type="ds:SignatureValueType" />
<complexType name="SignatureValueType">
<simpleContent>
<extension base="base64Binary">
<attribute name="Id" type="ID" use="optional" />
</extension>
</simpleContent>
</complexType>
<!-- Start SignedInfo -->
<element name="SignedInfo" type="ds:SignedInfoType" />
<complexType name="SignedInfoType">
<sequence>
<element ref="ds:CanonicalizationMethod" />
<element ref="ds:SignatureMethod" />
<element ref="ds:Reference" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType" />
<complexType name="CanonicalizationMethodType" mixed="true">
<sequence>
<any namespace="##any" minOccurs="0" maxOccurs="unbounded" />
<!-- (0,unbounded) elements from (1,1) namespace -->
</sequence>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<element name="SignatureMethod" type="ds:SignatureMethodType" />
<complexType name="SignatureMethodType" mixed="true">
<sequence>
<element name="HMACOutputLength" type="ds:HMACOutputLengthType" minOccurs="0" />
<any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
<!-- (0,unbounded) elements from (1,1) external namespace -->
</sequence>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<!-- Start Reference -->
<element name="Reference" type="ds:ReferenceType" />
<complexType name="ReferenceType">
<sequence>
<element ref="ds:Transforms" minOccurs="0" />
<element ref="ds:DigestMethod" />
<element ref="ds:DigestValue" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
<attribute name="URI" type="anyURI" use="optional" />
<attribute name="Type" type="anyURI" use="optional" />
</complexType>
<element name="Transforms" type="ds:TransformsType" />
<complexType name="TransformsType">
<sequence>
<element ref="ds:Transform" maxOccurs="unbounded" />
</sequence>
</complexType>
<element name="Transform" type="ds:TransformType" />
<complexType name="TransformType" mixed="true">
<choice minOccurs="0" maxOccurs="unbounded">
<any namespace="##other" processContents="lax" />
<!-- (1,1) elements from (0,unbounded) namespaces -->
<element name="XPath" type="string" />
</choice>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<!-- End Reference -->
<element name="DigestMethod" type="ds:DigestMethodType" />
<complexType name="DigestMethodType" mixed="true">
<sequence>
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<attribute name="Algorithm" type="anyURI" use="required" />
</complexType>
<element name="DigestValue" type="ds:DigestValueType" />
<simpleType name="DigestValueType">
<restriction base="base64Binary" />
</simpleType>
<!-- End SignedInfo -->
<!-- Start KeyInfo -->
<element name="KeyInfo" type="ds:KeyInfoType" />
<complexType name="KeyInfoType" mixed="true">
<choice maxOccurs="unbounded">
<element ref="ds:KeyName" />
<element ref="ds:KeyValue" />
<element ref="ds:RetrievalMethod" />
<element ref="ds:X509Data" />
<element ref="ds:PGPData" />
<element ref="ds:SPKIData" />
<element ref="ds:MgmtData" />
<any namespace="##other" processContents="lax" />
<!-- (1,1) elements from (0,unbounded) namespaces -->
</choice>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="KeyName" type="string" />
<element name="MgmtData" type="string" />
<element name="KeyValue" type="ds:KeyValueType" />
<complexType name="KeyValueType" mixed="true">
<choice>
<element ref="ds:DSAKeyValue" />
<element ref="ds:RSAKeyValue" />
<any namespace="##other" processContents="lax" />
</choice>
</complexType>
<element name="RetrievalMethod" type="ds:RetrievalMethodType" />
<complexType name="RetrievalMethodType">
<sequence>
<element ref="ds:Transforms" minOccurs="0" />
</sequence>
<attribute name="URI" type="anyURI" />
<attribute name="Type" type="anyURI" use="optional" />
</complexType>
<!-- Start X509Data -->
<element name="X509Data" type="ds:X509DataType" />
<complexType name="X509DataType">
<sequence maxOccurs="unbounded">
<choice>
<element name="X509IssuerSerial" type="ds:X509IssuerSerialType" />
<element name="X509SKI" type="base64Binary" />
<element name="X509SubjectName" type="string" />
<element name="X509Certificate" type="base64Binary" />
<element name="X509CRL" type="base64Binary" />
<any namespace="##other" processContents="lax" />
</choice>
</sequence>
</complexType>
<complexType name="X509IssuerSerialType">
<sequence>
<element name="X509IssuerName" type="string" />
<element name="X509SerialNumber" type="integer" />
</sequence>
</complexType>
<!-- End X509Data -->
<!-- Begin PGPData -->
<element name="PGPData" type="ds:PGPDataType" />
<complexType name="PGPDataType">
<choice>
<sequence>
<element name="PGPKeyID" type="base64Binary" />
<element name="PGPKeyPacket" type="base64Binary" minOccurs="0" />
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
<sequence>
<element name="PGPKeyPacket" type="base64Binary" />
<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
</sequence>
</choice>
</complexType>
<!-- End PGPData -->
<!-- Begin SPKIData -->
<element name="SPKIData" type="ds:SPKIDataType" />
<complexType name="SPKIDataType">
<sequence maxOccurs="unbounded">
<element name="SPKISexp" type="base64Binary" />
<any namespace="##other" processContents="lax" minOccurs="0" />
</sequence>
</complexType>
<!-- End SPKIData -->
<!-- End KeyInfo -->
<!-- Start Object (Manifest, SignatureProperty) -->
<element name="Object" type="ds:ObjectType" />
<complexType name="ObjectType" mixed="true">
<sequence minOccurs="0" maxOccurs="unbounded">
<any namespace="##any" processContents="lax" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
<attribute name="MimeType" type="string" use="optional" />
<attribute name="Encoding" type="anyURI" use="optional" />
<!-- add a grep facet -->
</complexType>
<element name="Manifest" type="ds:ManifestType" />
<complexType name="ManifestType">
<sequence>
<element ref="ds:Reference" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="SignatureProperties" type="ds:SignaturePropertiesType" />
<complexType name="SignaturePropertiesType">
<sequence>
<element ref="ds:SignatureProperty" maxOccurs="unbounded" />
</sequence>
<attribute name="Id" type="ID" use="optional" />
</complexType>
<element name="SignatureProperty" type="ds:SignaturePropertyType" />
<complexType name="SignaturePropertyType" mixed="true">
<choice maxOccurs="unbounded">
<any namespace="##other" processContents="lax" />
<!-- (1,1) elements from (1,unbounded) namespaces -->
</choice>
<attribute name="Target" type="anyURI" use="required" />
<attribute name="Id" type="ID" use="optional" />
</complexType>
<!-- End Object (Manifest, SignatureProperty) -->
<!-- Start Algorithm Parameters -->
<simpleType name="HMACOutputLengthType">
<restriction base="integer" />
</simpleType>
<!-- Start KeyValue Element-types -->
<element name="DSAKeyValue" type="ds:DSAKeyValueType" />
<complexType name="DSAKeyValueType">
<sequence>
<sequence minOccurs="0">
<element name="P" type="ds:CryptoBinary" />
<element name="Q" type="ds:CryptoBinary" />
</sequence>
<element name="G" type="ds:CryptoBinary" minOccurs="0" />
<element name="Y" type="ds:CryptoBinary" />
<element name="J" type="ds:CryptoBinary" minOccurs="0" />
<sequence minOccurs="0">
<element name="Seed" type="ds:CryptoBinary" />
<element name="PgenCounter" type="ds:CryptoBinary" />
</sequence>
</sequence>
</complexType>
<element name="RSAKeyValue" type="ds:RSAKeyValueType" />
<complexType name="RSAKeyValueType">
<sequence>
<element name="Modulus" type="ds:CryptoBinary" />
<element name="Exponent" type="ds:CryptoBinary" />
</sequence>
</complexType>
<!-- End KeyValue Element-types -->
<!-- End Signature -->
</schema>
\ No newline at end of file
<?xml version="1.0"?>
<note
xmlns="https://www.w3schools.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.w3schools.com test_valid.xsd">
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading
<body>Don't forget me this weekend!</body>
</note>
<?xml version="1.0"?>
<note
xmlns="https://www.w3schools.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.w3schools.com test_valid.xsd">
<to>Tove</to>
<from>Jani</from>
<Heading>Reminder</Heading>
<body>Don't forget me this weekend!</body>
</note>
\ No newline at end of file
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://www.w3schools.com"
xmlns="https://www.w3schools.com"
elementFormDefault="qualified">
<xs:element name="note" type="Note" />
<xs:complexType name="Note">
<xs:sequence>
<xs:e name="to" type="xs:string"/>
<xs:element name="from" type="xs:string"/>
<xs:element name="heading" type="xs:string"/>
<xs:element name="body" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
<?xml version="1.0"?>
<note
xmlns="https://www.w3schools.com"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://www.w3schools.com test_valid.xsd">
<to>Tove</to>
<from>Jani</from>
<heading>Reminder</heading>
<body>Don't forget me this weekend!</body>
</note>
\ No newline at end of file
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="https://www.w3schools.com"
xmlns="https://www.w3schools.com"
elementFormDefault="qualified">
<xs:element name="note" type="Note" />
<xs:complexType name="Note">
<xs:sequence>
<xs:element name="to" type="xs:string"/>
<xs:element name="from" type="xs:string"/>
<xs:element name="heading" type="xs:string"/>
<xs:element name="body" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
\ No newline at end of file
package templates
import org.scalatest._
import xmlvalid._
import scala.xml.{Node, XML}
class RepoSpec extends WordSpec {
"XMLValid for RTS example" should {
"successfully loadFile(xmlPath) with well formed and valid xml" in {
val validXml = XMLValid("src/test/resources/templates/rts/fpml-recordkeeping-merged-schema.xsd")
val xml = validXml.loadFile("src/test/resources/templates/rts/Example repo RTS.xml")
assert(xml.isInstanceOf[Node])
}
}
it should {
"throw exception in loadFile(xmlPath) with well formed but invalid xml" in {
assertThrows[Exception] {
val validXml = XMLValid("src/test/resources/templates/rts/fpml-recordkeeping-merged-schema.xsd")
val xml = validXml.loadFile("src/test/resources/templates/rts/Example repo RTS invalid.xml")
}
}
}
"XMLValid for NSD example" should {
"successfully loadFile(xmlPath) with well formed and valid xml" in {
val validXml = XMLValid("src/test/resources/templates/nsd/nsd-ext-merged-schema.xsd")
val xml = validXml.loadFile("src/test/resources/templates/nsd/Example repo NSD.xml")
assert(xml.isInstanceOf[Node])
}
}
it should {
"throw exception in loadFile(xmlPath) with well formed but invalid xml" in {
assertThrows[Exception] {
val validXml = XMLValid("src/test/resources/templates/nsd/nsd-ext-merged-schema.xsd")
val xml = validXml.loadFile("src/test/resources/templates/nsd/Example repo NSD invalid.xml")
}
}
}
"RepoTemplate" should {
"generate valid RTS output xml using valid NSD source xml" ignore {
val sourceXml: Node = XML.loadFile("src/test/resources/templates/nsd/Example repo NSD.xml")
val outputXml = new RepoTemplate(sourceXml).template
val checkedXml = XMLValid("src/test/resources/templates/rts/fpml-recordkeeping-merged-schema.xsd").loadString(outputXml.mkString)
assert(checkedXml.isInstanceOf[Node])
}
}
}
package xmlvalid
import org.scalatest._
import scala.xml.{Node, SAXParser}
class XMLValidSpec extends WordSpec {
"XMLValid" can {
"envoke parser:SAXParser if schema is valid" in {
val validXml = XMLValid("src/test/resources/xmlvalid/test_valid.xsd")
assert(validXml.parser.isInstanceOf[SAXParser])
}
}
it should {
"successfully loadFile(xmlPath) with well formed and valid xml" in {
val validXml = XMLValid("src/test/resources/xmlvalid/test_valid.xsd")
val xml = validXml.loadFile("src/test/resources/xmlvalid/test_valid.xml")
assert(xml.isInstanceOf[Node])
}
}
it should {
"throw exception with nonexisting schema" in {
assertThrows[Exception] {
val validXml = XMLValid("src/test/resources/xmlvalid/test_foo.xsd")
}
}
}
it should {
"throw exception with invalid schema" in {
assertThrows[Exception] {
val validXml = XMLValid("src/test/resources/xmlvalid/test_invalid.xsd")
}
}
}
it should {
"throw exception in loadFile(xmlPath) with nonexisting xml" in {
assertThrows[Exception] {
val validXml = XMLValid("src/test/resources/xmlvalid/test_valid.xsd")
val xml = validXml.loadFile("src/test/resources/xmlvalid/test_foo.xml")
}
}
}
it should {
"throw exception in loadFile(xmlPath) with well formed but invalid xml" in {
assertThrows[Exception] {
val validXml = XMLValid("src/test/resources/xmlvalid/test.xsd")
val xml = validXml.loadFile("src/test/resources/xmlvalid/test_invalid.xml")
}
}
}
it should {
"throw exception with error xml" in {
assertThrows[Exception] {
val validXml = XMLValid("src/test/resources/xmlvalid/test.xsd")
val xml = validXml.loadFile("src/test/resources/xmlvalid/test_error.xml")
}
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment