<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.bcl.lu/2009/S1.4/datatypes" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.bcl.lu/2009/S1.4/datatypes" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0">
	<xs:simpleType name="amount">
		<xs:annotation>
			<xs:documentation xml:lang="EN">amount</xs:documentation>
			<xs:documentation xml:lang="FR">montant</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:decimal">
			<xs:fractionDigits value="5"/>
			<xs:pattern value=".+"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="bclCountry">
		<xs:annotation>
			<xs:documentation xml:lang="EN">BCL codification for country</xs:documentation>
			<xs:documentation xml:lang="FR">nomenclature BCL pour le pays</xs:documentation>
		</xs:annotation>
		<xs:union memberTypes="country">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="2"/>
					<xs:pattern value="X[A-Z0-9]"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:union>
	</xs:simpleType>
	<xs:simpleType name="bclCurrency">
		<xs:annotation>
			<xs:documentation xml:lang="EN">BCL codification for currency</xs:documentation>
			<xs:documentation xml:lang="FR">nomenclature BCL pour la devise</xs:documentation>
		</xs:annotation>
		<xs:union memberTypes="currency">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="3"/>
					<xs:pattern value="XX[A-Z0-9]"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:union>
	</xs:simpleType>
	<xs:simpleType name="bcl2015InitialMaturity">
		<xs:annotation>
			<xs:documentation xml:lang="EN">BCL 2015 codification for initial maturity</xs:documentation>
			<xs:documentation xml:lang="FR">nomenclature BCL 2015 pour l'echeance initiale</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="8"/>
			<xs:pattern value="I[0-9]{2}([0-9AM])-[0-9]{2}([0-9AM])"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="bcl2015Item">
		<xs:annotation>
			<xs:documentation xml:lang="EN">BCL 2015 account item</xs:documentation>
			<xs:documentation xml:lang="FR">rubrique comptable BCL 2015</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="8"/>
			<xs:pattern value="[1-3]-[0-9A-Z]{6}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="bcl2015Sector">
		<xs:annotation>
			<xs:documentation xml:lang="EN">BCL 2015 codification for activity sector</xs:documentation>
			<xs:documentation xml:lang="FR">nomenclature BCL 2015 pour le secteur d'activite</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="5"/>
			<xs:pattern value="[0-9A-Z]{5}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="country">
		<xs:annotation>
			<xs:documentation xml:lang="EN">country (ISO 3166)</xs:documentation>
			<xs:documentation xml:lang="FR">pays (ISO 3166)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="2"/>
			<xs:pattern value="[A-Z]{2}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="currency">
		<xs:annotation>
			<xs:documentation xml:lang="EN">currency (ISO 4217)</xs:documentation>
			<xs:documentation xml:lang="FR">devise (ISO 4217)</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="3"/>
			<xs:pattern value="[A-Z]{3}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="institutionCode">
		<xs:annotation>
			<xs:documentation xml:lang="EN">institution code</xs:documentation>
			<xs:documentation xml:lang="FR">code d'une entite</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:pattern value=".+"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="institutionType">
		<xs:annotation>
			<xs:documentation xml:lang="EN">institution type</xs:documentation>
			<xs:documentation xml:lang="FR">type d'entite</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="2"/>
			<xs:pattern value="[0-9]{2}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="layout">
		<xs:annotation>
			<xs:documentation xml:lang="EN">layout</xs:documentation>
			<xs:documentation xml:lang="FR">masque</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:int">
			<xs:pattern value=".+"/>
		</xs:restriction>
	</xs:simpleType>
</xs:schema>
