Schema V170.xsd


schema location ..\V170.xsd
attributeFormDefault unqualified
elementFormDefault qualified
targetNamespace http://www.bcl.lu/2021/V1.70
 
Elements  Complex types 
V170  header 


schema location ..\structures.xsd
attributeFormDefault unqualified
elementFormDefault qualified
targetNamespace http://www.bcl.lu/2021/V1.70
 
Complex types 
declarantID 
otcCashTransactionsLineID 
reporterID 


schema location ..\datatypes.xsd
attributeFormDefault unqualified
elementFormDefault qualified
targetNamespace http://www.bcl.lu/2021/V1.70/datatypes
 
Simple types 
amount 
bclCurrency 
currency 
institutionCode 
institutionType 
layout 
metric 
operationType 


element V170
diagram V170_p1.png
namespace http://www.bcl.lu/2021/V1.70
properties
content complex
children header content
attributes
Name  Type  Use  Default  Fixed  Annotation
version  xs:string  required    1.0  
documentation
study version
creationDateTime  xs:dateTime  required      
documentation
report creation date and time
annotation
documentation
Over-the-counter (OTC) cash transactions
source <xs:element name="V170">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Over-the-counter (OTC) cash transactions</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="header" type="header">
       
<xs:annotation>
         
<xs:documentation xml:lang="EN">study header</xs:documentation>
       
</xs:annotation>
     
</xs:element>
     
<xs:element name="content">
       
<xs:annotation>
         
<xs:documentation xml:lang="EN">study content</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="otcCashTransactions" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation xml:lang="EN">Over-the-counter (OTC) cash transactions</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence maxOccurs="unbounded">
                 
<xs:element name="reportedLine">
                   
<xs:complexType>
                     
<xs:sequence>
                       
<xs:element name="id" type="otcCashTransactionsLineID"/>
                       
<xs:element name="reportedAmount" type="v170dt:amount"/>
                     
</xs:sequence>
                   
</xs:complexType>
                 
</xs:element>
               
</xs:sequence>
             
</xs:complexType>
             
<xs:unique name="otcCashTransactionsLineId">
               
<xs:selector xpath=".//v170:reportedLine/v170:id"/>
               
<xs:field xpath="v170:operationType"/>
               
<xs:field xpath="v170:currency"/>
               
<xs:field xpath="v170:metric"/>
             
</xs:unique>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
   
<xs:attribute name="version" type="xs:string" use="required" fixed="1.0">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">study version</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
   
<xs:attribute name="creationDateTime" type="xs:dateTime" use="required">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">report creation date and time</xs:documentation>
     
</xs:annotation>
   
</xs:attribute>
 
</xs:complexType>
</xs:element>

attribute V170/@version
type xs:string
properties
use required
fixed 1.0
annotation
documentation
study version
source <xs:attribute name="version" type="xs:string" use="required" fixed="1.0">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">study version</xs:documentation>
 
</xs:annotation>
</xs:attribute>

attribute V170/@creationDateTime
type xs:dateTime
properties
use required
annotation
documentation
report creation date and time
source <xs:attribute name="creationDateTime" type="xs:dateTime" use="required">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">report creation date and time</xs:documentation>
 
</xs:annotation>
</xs:attribute>

element V170/header
diagram V170_p2.png
namespace http://www.bcl.lu/2021/V1.70
type header
properties
content complex
children endMonthDate closingDate reporterID declarantID reportingCurrency layout
annotation
documentation
study header
source <xs:element name="header" type="header">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">study header</xs:documentation>
 
</xs:annotation>
</xs:element>

element V170/content
diagram V170_p3.png
namespace http://www.bcl.lu/2021/V1.70
properties
content complex
children otcCashTransactions
annotation
documentation
study content
source <xs:element name="content">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">study content</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="otcCashTransactions" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation xml:lang="EN">Over-the-counter (OTC) cash transactions</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence maxOccurs="unbounded">
           
<xs:element name="reportedLine">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="id" type="otcCashTransactionsLineID"/>
                 
<xs:element name="reportedAmount" type="v170dt:amount"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
       
<xs:unique name="otcCashTransactionsLineId">
         
<xs:selector xpath=".//v170:reportedLine/v170:id"/>
         
<xs:field xpath="v170:operationType"/>
         
<xs:field xpath="v170:currency"/>
         
<xs:field xpath="v170:metric"/>
       
</xs:unique>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element V170/content/otcCashTransactions
diagram V170_p4.png
namespace http://www.bcl.lu/2021/V1.70
properties
minOcc 0
maxOcc 1
content complex
children reportedLine
identity constraints
  Name  Refer  Selector  Field(s)  Annotation
unique  otcCashTransactionsLineId    .//v170:reportedLine/v170:id  v170:operationType  
v170:currency  
v170:metric  
annotation
documentation
Over-the-counter (OTC) cash transactions
source <xs:element name="otcCashTransactions" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Over-the-counter (OTC) cash transactions</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence maxOccurs="unbounded">
     
<xs:element name="reportedLine">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="id" type="otcCashTransactionsLineID"/>
           
<xs:element name="reportedAmount" type="v170dt:amount"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
 
<xs:unique name="otcCashTransactionsLineId">
   
<xs:selector xpath=".//v170:reportedLine/v170:id"/>
   
<xs:field xpath="v170:operationType"/>
   
<xs:field xpath="v170:currency"/>
   
<xs:field xpath="v170:metric"/>
 
</xs:unique>
</xs:element>

element V170/content/otcCashTransactions/reportedLine
diagram V170_p5.png
namespace http://www.bcl.lu/2021/V1.70
properties
content complex
children id reportedAmount
source <xs:element name="reportedLine">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="id" type="otcCashTransactionsLineID"/>
     
<xs:element name="reportedAmount" type="v170dt:amount"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element V170/content/otcCashTransactions/reportedLine/id
diagram V170_p6.png
namespace http://www.bcl.lu/2021/V1.70
type otcCashTransactionsLineID
properties
content complex
children operationType currency metric
source <xs:element name="id" type="otcCashTransactionsLineID"/>

element V170/content/otcCashTransactions/reportedLine/reportedAmount
diagram V170_p7.png
namespace http://www.bcl.lu/2021/V1.70
type amount
properties
content simple
facets
Kind Value Annotation
fractionDigits 5
pattern .+
source <xs:element name="reportedAmount" type="v170dt:amount"/>

complexType header
diagram V170_p8.png
namespace http://www.bcl.lu/2021/V1.70
children endMonthDate closingDate reporterID declarantID reportingCurrency layout
used by
element V170/header
annotation
documentation
study header
source <xs:complexType name="header">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">study header</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="endMonthDate" type="xs:date">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">end of period date</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="closingDate" type="xs:date">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">closing date</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="reporterID" type="reporterID">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">reporter identification</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="declarantID" type="declarantID">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">declarant identification</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="reportingCurrency" type="v170dt:currency">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">reporting currency</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="layout" type="v170dt:layout">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">layout</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element header/endMonthDate
diagram V170_p9.png
namespace http://www.bcl.lu/2021/V1.70
type xs:date
properties
content simple
annotation
documentation
end of period date
source <xs:element name="endMonthDate" type="xs:date">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">end of period date</xs:documentation>
 
</xs:annotation>
</xs:element>

element header/closingDate
diagram V170_p10.png
namespace http://www.bcl.lu/2021/V1.70
type xs:date
properties
content simple
annotation
documentation
closing date
source <xs:element name="closingDate" type="xs:date">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">closing date</xs:documentation>
 
</xs:annotation>
</xs:element>

element header/reporterID
diagram V170_p11.png
namespace http://www.bcl.lu/2021/V1.70
type reporterID
properties
content complex
children type code
annotation
documentation
reporter identification
source <xs:element name="reporterID" type="reporterID">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">reporter identification</xs:documentation>
 
</xs:annotation>
</xs:element>

element header/declarantID
diagram V170_p12.png
namespace http://www.bcl.lu/2021/V1.70
type declarantID
properties
content complex
children type code
annotation
documentation
declarant identification
source <xs:element name="declarantID" type="declarantID">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">declarant identification</xs:documentation>
 
</xs:annotation>
</xs:element>

element header/reportingCurrency
diagram V170_p13.png
namespace http://www.bcl.lu/2021/V1.70
type currency
properties
content simple
facets
Kind Value Annotation
length 3
pattern [A-Z]{3}
annotation
documentation
reporting currency
source <xs:element name="reportingCurrency" type="v170dt:currency">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">reporting currency</xs:documentation>
 
</xs:annotation>
</xs:element>

element header/layout
diagram V170_p14.png
namespace http://www.bcl.lu/2021/V1.70
type layout
properties
content simple
facets
Kind Value Annotation
pattern .+
annotation
documentation
layout
source <xs:element name="layout" type="v170dt:layout">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">layout</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType declarantID
diagram V170_p15.png
namespace http://www.bcl.lu/2021/V1.70
children type code
used by
element header/declarantID
annotation
documentation
declarant identification
source <xs:complexType name="declarantID">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">declarant identification</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="type" type="v170dt:institutionType">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">institution type</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="code" type="v170dt:institutionCode">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">institution code</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element declarantID/type
diagram V170_p16.png
namespace http://www.bcl.lu/2021/V1.70
type institutionType
properties
content simple
facets
Kind Value Annotation
length 2
pattern [0-9]{2}
annotation
documentation
institution type
source <xs:element name="type" type="v170dt:institutionType">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">institution type</xs:documentation>
 
</xs:annotation>
</xs:element>

element declarantID/code
diagram V170_p17.png
namespace http://www.bcl.lu/2021/V1.70
type institutionCode
properties
content simple
facets
Kind Value Annotation
pattern .+
annotation
documentation
institution code
source <xs:element name="code" type="v170dt:institutionCode">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">institution code</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType otcCashTransactionsLineID
diagram V170_p18.png
namespace http://www.bcl.lu/2021/V1.70
children operationType currency metric
used by
element V170/content/otcCashTransactions/reportedLine/id
annotation
documentation
reported line identifier for over-the-counter (OTC) cash transactions
source <xs:complexType name="otcCashTransactionsLineID">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">reported line identifier for over-the-counter (OTC) cash transactions</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="operationType" type="v170dt:operationType">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">Operation type</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="currency" type="v170dt:bclCurrency">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">Currency</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="metric" type="v170dt:metric">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">Metric</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element otcCashTransactionsLineID/operationType
diagram V170_p19.png
namespace http://www.bcl.lu/2021/V1.70
type operationType
properties
content simple
facets
Kind Value Annotation
pattern [A-Z0-9]{4}
annotation
documentation
Operation type
source <xs:element name="operationType" type="v170dt:operationType">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Operation type</xs:documentation>
 
</xs:annotation>
</xs:element>

element otcCashTransactionsLineID/currency
diagram V170_p20.png
namespace http://www.bcl.lu/2021/V1.70
type bclCurrency
properties
content simple
annotation
documentation
Currency
source <xs:element name="currency" type="v170dt:bclCurrency">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Currency</xs:documentation>
 
</xs:annotation>
</xs:element>

element otcCashTransactionsLineID/metric
diagram V170_p21.png
namespace http://www.bcl.lu/2021/V1.70
type metric
properties
content simple
facets
Kind Value Annotation
pattern [A-Z0-9]{4}
annotation
documentation
Metric
source <xs:element name="metric" type="v170dt:metric">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Metric</xs:documentation>
 
</xs:annotation>
</xs:element>

complexType reporterID
diagram V170_p22.png
namespace http://www.bcl.lu/2021/V1.70
children type code
used by
element header/reporterID
annotation
documentation
reporter identification
source <xs:complexType name="reporterID">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">reporter identification</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="type" type="v170dt:institutionType">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">institution type</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="code" type="v170dt:institutionCode">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">institution code</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element reporterID/type
diagram V170_p23.png
namespace http://www.bcl.lu/2021/V1.70
type institutionType
properties
content simple
facets
Kind Value Annotation
length 2
pattern [0-9]{2}
annotation
documentation
institution type
source <xs:element name="type" type="v170dt:institutionType">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">institution type</xs:documentation>
 
</xs:annotation>
</xs:element>

element reporterID/code
diagram V170_p24.png
namespace http://www.bcl.lu/2021/V1.70
type institutionCode
properties
content simple
facets
Kind Value Annotation
pattern .+
annotation
documentation
institution code
source <xs:element name="code" type="v170dt:institutionCode">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">institution code</xs:documentation>
 
</xs:annotation>
</xs:element>

simpleType amount
namespace http://www.bcl.lu/2021/V1.70/datatypes
type restriction of xs:decimal
properties
base xs:decimal
used by
element V170/content/otcCashTransactions/reportedLine/reportedAmount
facets
Kind Value Annotation
fractionDigits 5
pattern .+
annotation
documentation
amount
source <xs:simpleType name="amount">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">amount</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:decimal">
   
<xs:fractionDigits value="5"/>
   
<xs:pattern value=".+"/>
 
</xs:restriction>
</xs:simpleType>

simpleType bclCurrency
namespace http://www.bcl.lu/2021/V1.70/datatypes
type union of (currency, restriction of xs:string)
used by
element otcCashTransactionsLineID/currency
annotation
documentation
BCL codification for currency
source <xs:simpleType name="bclCurrency">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">BCL codification for currency</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>

simpleType currency
namespace http://www.bcl.lu/2021/V1.70/datatypes
type restriction of xs:string
properties
base xs:string
used by
element header/reportingCurrency
simpleType bclCurrency
facets
Kind Value Annotation
length 3
pattern [A-Z]{3}
annotation
documentation
currency (ISO 4217)
source <xs:simpleType name="currency">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">currency (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>

simpleType institutionCode
namespace http://www.bcl.lu/2021/V1.70/datatypes
type restriction of xs:string
properties
base xs:string
used by
elements declarantID/code reporterID/code
facets
Kind Value Annotation
pattern .+
annotation
documentation
institution code
source <xs:simpleType name="institutionCode">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">institution code</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:pattern value=".+"/>
 
</xs:restriction>
</xs:simpleType>

simpleType institutionType
namespace http://www.bcl.lu/2021/V1.70/datatypes
type restriction of xs:string
properties
base xs:string
used by
elements declarantID/type reporterID/type
facets
Kind Value Annotation
length 2
pattern [0-9]{2}
annotation
documentation
institution type
source <xs:simpleType name="institutionType">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">institution type</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:length value="2"/>
   
<xs:pattern value="[0-9]{2}"/>
 
</xs:restriction>
</xs:simpleType>

simpleType layout
namespace http://www.bcl.lu/2021/V1.70/datatypes
type restriction of xs:int
properties
base xs:int
used by
element header/layout
facets
Kind Value Annotation
pattern .+
annotation
documentation
layout
source <xs:simpleType name="layout">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">layout</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:int">
   
<xs:pattern value=".+"/>
 
</xs:restriction>
</xs:simpleType>

simpleType metric
namespace http://www.bcl.lu/2021/V1.70/datatypes
type restriction of xs:string
properties
base xs:string
used by
element otcCashTransactionsLineID/metric
facets
Kind Value Annotation
pattern [A-Z0-9]{4}
annotation
documentation
Metric
source <xs:simpleType name="metric">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Metric</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:pattern value="[A-Z0-9]{4}"/>
 
</xs:restriction>
</xs:simpleType>

simpleType operationType
namespace http://www.bcl.lu/2021/V1.70/datatypes
type restriction of xs:string
properties
base xs:string
used by
element otcCashTransactionsLineID/operationType
facets
Kind Value Annotation
pattern [A-Z0-9]{4}
annotation
documentation
Operation type
source <xs:simpleType name="operationType">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Operation type</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:pattern value="[A-Z0-9]{4}"/>
 
</xs:restriction>
</xs:simpleType>


XML Schema documentation generated by XMLSpy Schema Editor http://www.altova.com/xmlspy