125 lines
5.4 KiB
XML
125 lines
5.4 KiB
XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
|
<!-- ***************** Schema for UCDB DisseminationFile ******************* -->
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
xmlns:c2d="http://c2d.escb.eu/UseOfCollateralMessage"
|
|
targetNamespace="http://c2d.escb.eu/UseOfCollateralMessage" elementFormDefault="qualified" version="3.0">
|
|
<!-- ***************** Include Common types ******************* -->
|
|
<xs:include schemaLocation="common_ucdb.xsd"/>
|
|
<!-- Definition of the root element and its structure -->
|
|
<xs:element name="DisseminationFile">
|
|
<xs:annotation>
|
|
<xs:documentation>Use of Collateral message. Dissemination files hold all reported usages of a snapshot and a specific NCB.</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="MetaInformation" type="c2d:MetaInformationTypeDisseminationFile"/>
|
|
<xs:element name="MarketableAssets" type="c2d:DisseminationMarketableAssetsType" minOccurs="0"/>
|
|
<xs:element name="NonMarketableAssets" type="c2d:DisseminationNonMarketableAssetsType" minOccurs="0"/>
|
|
<xs:element name="NonMarketableDECCs" type="c2d:DisseminationNonMarketableDECCsType" minOccurs="0"/>
|
|
</xs:sequence>
|
|
<xs:attribute name="version" type="xs:string" use="required"/>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:complexType name="MetaInformationTypeDisseminationFile">
|
|
<xs:complexContent>
|
|
<xs:extension base="c2d:AbstractMetaInformationType">
|
|
<xs:sequence>
|
|
<xs:element name="ReportingNCB" type="c2d:EurosystemISOCodeType">
|
|
<xs:annotation>
|
|
<xs:documentation>The two letter code identifying the NCB contained in the dissemination file.</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="SnapshotDate" type="xs:date">
|
|
<xs:annotation>
|
|
<xs:documentation>The date the snapshot of the initial file data was taken.</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="DateCreated" type="xs:dateTime">
|
|
<xs:annotation>
|
|
<xs:documentation>The date when the dissemination file has been created.</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="NumberOfSuspectRecords" type="xs:unsignedInt">
|
|
<xs:annotation>
|
|
<xs:documentation>The number of records in the dissemination file still in status suspect.</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
</xs:sequence>
|
|
</xs:extension>
|
|
</xs:complexContent>
|
|
</xs:complexType>
|
|
<xs:complexType name="DisseminationMarketableAssetsType">
|
|
<xs:annotation>
|
|
<xs:documentation>Holds all marketable assets.</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:sequence>
|
|
<xs:element name="MarketableAsset" type="c2d:DisseminationMarketableAssetType" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="DisseminationNonMarketableAssetsType">
|
|
<xs:annotation>
|
|
<xs:documentation>Holds all non marketable assets.</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:sequence>
|
|
<xs:element name="NonMarketableAsset" type="c2d:DisseminationNonMarketableAssetType" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="DisseminationNonMarketableDECCsType">
|
|
<xs:annotation>
|
|
<xs:documentation>Holds all non marketable DECCs.</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:sequence>
|
|
<xs:element name="NonMarketableDECC" type="c2d:DisseminationNonMarketableDECCType" maxOccurs="unbounded"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
<xs:complexType name="DisseminationMarketableAssetType">
|
|
<xs:annotation>
|
|
<xs:documentation>Marketable Assets with suspect addon</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexContent>
|
|
<xs:extension base="c2d:MarketableAssetType">
|
|
<xs:sequence>
|
|
<xs:element name="SuspectInformation" type="c2d:DisseminationSuspectType" minOccurs="0"/>
|
|
</xs:sequence>
|
|
</xs:extension>
|
|
</xs:complexContent>
|
|
</xs:complexType>
|
|
<xs:complexType name="DisseminationNonMarketableAssetType">
|
|
<xs:annotation>
|
|
<xs:documentation>Non Marketable Assets with suspect addon</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexContent>
|
|
<xs:extension base="c2d:NonMarketableAssetType">
|
|
<xs:sequence>
|
|
<xs:element name="SuspectInformation" type="c2d:DisseminationSuspectType" minOccurs="0"/>
|
|
</xs:sequence>
|
|
</xs:extension>
|
|
</xs:complexContent>
|
|
</xs:complexType>
|
|
<xs:complexType name="DisseminationNonMarketableDECCType">
|
|
<xs:annotation>
|
|
<xs:documentation>Non Marketable DECCs with suspect addon</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:complexContent>
|
|
<xs:extension base="c2d:NonMarketableDECCType">
|
|
<xs:sequence>
|
|
<xs:element name="SuspectInformation" type="c2d:DisseminationSuspectType" minOccurs="0"/>
|
|
</xs:sequence>
|
|
</xs:extension>
|
|
</xs:complexContent>
|
|
</xs:complexType>
|
|
<xs:complexType name="DisseminationSuspectType">
|
|
<xs:annotation>
|
|
<xs:documentation>Holds all suspect information of a reported usage.</xs:documentation>
|
|
</xs:annotation>
|
|
<xs:sequence>
|
|
<xs:element name="SuspectId" type="c2d:IntegerGreaterThanZeroType">
|
|
<xs:annotation>
|
|
<xs:documentation>An ID created by the UCDB system identifying each single record that is stored in the UCDB system as a suspect record.</xs:documentation>
|
|
</xs:annotation>
|
|
</xs:element>
|
|
<xs:element name="SuspectReasons" type="c2d:SuspectsReasonsType"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:schema>
|