Schema V1220.xsd


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


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


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


element V1220
diagram V1220_p1.png
namespace http://www.bcl.lu/2021/V1.220
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
Stock of accounts (except e-money accounts)
source <xs:element name="V1220">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Stock of accounts (except e-money accounts)</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="stockAccounts" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation xml:lang="EN">Stock of accounts (except e-money accounts)</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence maxOccurs="unbounded">
                 
<xs:element name="reportedLine">
                   
<xs:complexType>
                     
<xs:sequence>
                       
<xs:element name="id" type="stockAccountsLineID"/>
                       
<xs:element name="reportedAmount" type="v1220dt:amount"/>
                     
</xs:sequence>
                   
</xs:complexType>
                 
</xs:element>
               
</xs:sequence>
             
</xs:complexType>
             
<xs:unique name="stockAccountsLineId">
               
<xs:selector xpath=".//v1220:reportedLine/v1220:id"/>
               
<xs:field xpath="v1220:accountType"/>
               
<xs:field xpath="v1220:customerCategory"/>
               
<xs:field xpath="v1220: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 V1220/@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 V1220/@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 V1220/header
diagram V1220_p2.png
namespace http://www.bcl.lu/2021/V1.220
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 V1220/content
diagram V1220_p3.png
namespace http://www.bcl.lu/2021/V1.220
properties
content complex
children stockAccounts
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="stockAccounts" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation xml:lang="EN">Stock of accounts (except e-money accounts)</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence maxOccurs="unbounded">
           
<xs:element name="reportedLine">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="id" type="stockAccountsLineID"/>
                 
<xs:element name="reportedAmount" type="v1220dt:amount"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
       
<xs:unique name="stockAccountsLineId">
         
<xs:selector xpath=".//v1220:reportedLine/v1220:id"/>
         
<xs:field xpath="v1220:accountType"/>
         
<xs:field xpath="v1220:customerCategory"/>
         
<xs:field xpath="v1220:metric"/>
       
</xs:unique>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element V1220/content/stockAccounts
diagram V1220_p4.png
namespace http://www.bcl.lu/2021/V1.220
properties
minOcc 0
maxOcc 1
content complex
children reportedLine
identity constraints
  Name  Refer  Selector  Field(s)  Annotation
unique  stockAccountsLineId    .//v1220:reportedLine/v1220:id  v1220:accountType  
v1220:customerCategory  
v1220:metric  
annotation
documentation
Stock of accounts (except e-money accounts)
source <xs:element name="stockAccounts" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Stock of accounts (except e-money accounts)</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence maxOccurs="unbounded">
     
<xs:element name="reportedLine">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="id" type="stockAccountsLineID"/>
           
<xs:element name="reportedAmount" type="v1220dt:amount"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
 
<xs:unique name="stockAccountsLineId">
   
<xs:selector xpath=".//v1220:reportedLine/v1220:id"/>
   
<xs:field xpath="v1220:accountType"/>
   
<xs:field xpath="v1220:customerCategory"/>
   
<xs:field xpath="v1220:metric"/>
 
</xs:unique>
</xs:element>

element V1220/content/stockAccounts/reportedLine
diagram V1220_p5.png
namespace http://www.bcl.lu/2021/V1.220
properties
content complex
children id reportedAmount
source <xs:element name="reportedLine">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="id" type="stockAccountsLineID"/>
     
<xs:element name="reportedAmount" type="v1220dt:amount"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element V1220/content/stockAccounts/reportedLine/id
diagram V1220_p6.png
namespace http://www.bcl.lu/2021/V1.220
type stockAccountsLineID
properties
content complex
children accountType customerCategory metric
source <xs:element name="id" type="stockAccountsLineID"/>

element V1220/content/stockAccounts/reportedLine/reportedAmount
diagram V1220_p7.png
namespace http://www.bcl.lu/2021/V1.220
type amount
properties
content simple
facets
Kind Value Annotation
fractionDigits 5
pattern .+
source <xs:element name="reportedAmount" type="v1220dt:amount"/>

complexType header
diagram V1220_p8.png
namespace http://www.bcl.lu/2021/V1.220
children endMonthDate closingDate reporterID declarantID reportingCurrency layout
used by
element V1220/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="v1220dt:currency">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">reporting currency</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="layout" type="v1220dt:layout">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">layout</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element header/endMonthDate
diagram V1220_p9.png
namespace http://www.bcl.lu/2021/V1.220
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 V1220_p10.png
namespace http://www.bcl.lu/2021/V1.220
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 V1220_p11.png
namespace http://www.bcl.lu/2021/V1.220
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 V1220_p12.png
namespace http://www.bcl.lu/2021/V1.220
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 V1220_p13.png
namespace http://www.bcl.lu/2021/V1.220
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="v1220dt:currency">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">reporting currency</xs:documentation>
 
</xs:annotation>
</xs:element>

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

complexType declarantID
diagram V1220_p15.png
namespace http://www.bcl.lu/2021/V1.220
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="v1220dt:institutionType">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">institution type</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="code" type="v1220dt:institutionCode">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">institution code</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element declarantID/type
diagram V1220_p16.png
namespace http://www.bcl.lu/2021/V1.220
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="v1220dt:institutionType">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">institution type</xs:documentation>
 
</xs:annotation>
</xs:element>

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

complexType reporterID
diagram V1220_p18.png
namespace http://www.bcl.lu/2021/V1.220
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="v1220dt:institutionType">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">institution type</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="code" type="v1220dt:institutionCode">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">institution code</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element reporterID/type
diagram V1220_p19.png
namespace http://www.bcl.lu/2021/V1.220
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="v1220dt:institutionType">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">institution type</xs:documentation>
 
</xs:annotation>
</xs:element>

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

complexType stockAccountsLineID
diagram V1220_p21.png
namespace http://www.bcl.lu/2021/V1.220
children accountType customerCategory metric
used by
element V1220/content/stockAccounts/reportedLine/id
annotation
documentation
reported line identifier for stock of accounts (except e-money accounts)
source <xs:complexType name="stockAccountsLineID">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">reported line identifier for stock of accounts (except e-money accounts)</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="accountType" type="v1220dt:accountType">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">Account type</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="customerCategory" type="v1220dt:customerCategory">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">Customer category</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="metric" type="v1220dt:metric">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">Metric</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element stockAccountsLineID/accountType
diagram V1220_p22.png
namespace http://www.bcl.lu/2021/V1.220
type accountType
properties
content simple
facets
Kind Value Annotation
pattern [A-Z0-9]{4}
annotation
documentation
Account type
source <xs:element name="accountType" type="v1220dt:accountType">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Account type</xs:documentation>
 
</xs:annotation>
</xs:element>

element stockAccountsLineID/customerCategory
diagram V1220_p23.png
namespace http://www.bcl.lu/2021/V1.220
type customerCategory
properties
content simple
facets
Kind Value Annotation
pattern [A-Z0-9]{4}
annotation
documentation
Customer category
source <xs:element name="customerCategory" type="v1220dt:customerCategory">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Customer category</xs:documentation>
 
</xs:annotation>
</xs:element>

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

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

simpleType amount
namespace http://www.bcl.lu/2021/V1.220/datatypes
type restriction of xs:decimal
properties
base xs:decimal
used by
element V1220/content/stockAccounts/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.220/datatypes
type union of (currency, restriction of xs:string)
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.220/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 customerCategory
namespace http://www.bcl.lu/2021/V1.220/datatypes
type restriction of xs:string
properties
base xs:string
used by
element stockAccountsLineID/customerCategory
facets
Kind Value Annotation
pattern [A-Z0-9]{4}
annotation
documentation
Customer category
source <xs:simpleType name="customerCategory">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Customer category</xs:documentation>
 
</xs:annotation>
 
<xs:restriction base="xs:string">
   
<xs:pattern value="[A-Z0-9]{4}"/>
 
</xs:restriction>
</xs:simpleType>

simpleType institutionCode
namespace http://www.bcl.lu/2021/V1.220/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.220/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.220/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.220/datatypes
type restriction of xs:string
properties
base xs:string
used by
element stockAccountsLineID/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>


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