Schema V1210.xsd


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


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


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


element V1210
diagram V1210_p1.png
namespace http://www.bcl.lu/2021/V1.210
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 terminals by terminal type
source <xs:element name="V1210">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Stock of terminals by terminal type</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="stockTerminals" minOccurs="0">
             
<xs:annotation>
               
<xs:documentation xml:lang="EN">Stock of terminals by terminal type</xs:documentation>
             
</xs:annotation>
             
<xs:complexType>
               
<xs:sequence maxOccurs="unbounded">
                 
<xs:element name="reportedLine">
                   
<xs:complexType>
                     
<xs:sequence>
                       
<xs:element name="id" type="stockTerminalsLineID"/>
                       
<xs:element name="reportedAmount" type="v1210dt:amount"/>
                     
</xs:sequence>
                   
</xs:complexType>
                 
</xs:element>
               
</xs:sequence>
             
</xs:complexType>
             
<xs:unique name="stockTerminalsLineId">
               
<xs:selector xpath=".//v1210:reportedLine/v1210:id"/>
               
<xs:field xpath="v1210:terminalType"/>
               
<xs:field xpath="v1210:terminalCountry"/>
               
<xs:field xpath="v1210: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 V1210/@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 V1210/@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 V1210/header
diagram V1210_p2.png
namespace http://www.bcl.lu/2021/V1.210
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 V1210/content
diagram V1210_p3.png
namespace http://www.bcl.lu/2021/V1.210
properties
content complex
children stockTerminals
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="stockTerminals" minOccurs="0">
       
<xs:annotation>
         
<xs:documentation xml:lang="EN">Stock of terminals by terminal type</xs:documentation>
       
</xs:annotation>
       
<xs:complexType>
         
<xs:sequence maxOccurs="unbounded">
           
<xs:element name="reportedLine">
             
<xs:complexType>
               
<xs:sequence>
                 
<xs:element name="id" type="stockTerminalsLineID"/>
                 
<xs:element name="reportedAmount" type="v1210dt:amount"/>
               
</xs:sequence>
             
</xs:complexType>
           
</xs:element>
         
</xs:sequence>
       
</xs:complexType>
       
<xs:unique name="stockTerminalsLineId">
         
<xs:selector xpath=".//v1210:reportedLine/v1210:id"/>
         
<xs:field xpath="v1210:terminalType"/>
         
<xs:field xpath="v1210:terminalCountry"/>
         
<xs:field xpath="v1210:metric"/>
       
</xs:unique>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element V1210/content/stockTerminals
diagram V1210_p4.png
namespace http://www.bcl.lu/2021/V1.210
properties
minOcc 0
maxOcc 1
content complex
children reportedLine
identity constraints
  Name  Refer  Selector  Field(s)  Annotation
unique  stockTerminalsLineId    .//v1210:reportedLine/v1210:id  v1210:terminalType  
v1210:terminalCountry  
v1210:metric  
annotation
documentation
Stock of terminals by terminal type
source <xs:element name="stockTerminals" minOccurs="0">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Stock of terminals by terminal type</xs:documentation>
 
</xs:annotation>
 
<xs:complexType>
   
<xs:sequence maxOccurs="unbounded">
     
<xs:element name="reportedLine">
       
<xs:complexType>
         
<xs:sequence>
           
<xs:element name="id" type="stockTerminalsLineID"/>
           
<xs:element name="reportedAmount" type="v1210dt:amount"/>
         
</xs:sequence>
       
</xs:complexType>
     
</xs:element>
   
</xs:sequence>
 
</xs:complexType>
 
<xs:unique name="stockTerminalsLineId">
   
<xs:selector xpath=".//v1210:reportedLine/v1210:id"/>
   
<xs:field xpath="v1210:terminalType"/>
   
<xs:field xpath="v1210:terminalCountry"/>
   
<xs:field xpath="v1210:metric"/>
 
</xs:unique>
</xs:element>

element V1210/content/stockTerminals/reportedLine
diagram V1210_p5.png
namespace http://www.bcl.lu/2021/V1.210
properties
content complex
children id reportedAmount
source <xs:element name="reportedLine">
 
<xs:complexType>
   
<xs:sequence>
     
<xs:element name="id" type="stockTerminalsLineID"/>
     
<xs:element name="reportedAmount" type="v1210dt:amount"/>
   
</xs:sequence>
 
</xs:complexType>
</xs:element>

element V1210/content/stockTerminals/reportedLine/id
diagram V1210_p6.png
namespace http://www.bcl.lu/2021/V1.210
type stockTerminalsLineID
properties
content complex
children terminalType terminalCountry metric
source <xs:element name="id" type="stockTerminalsLineID"/>

element V1210/content/stockTerminals/reportedLine/reportedAmount
diagram V1210_p7.png
namespace http://www.bcl.lu/2021/V1.210
type amount
properties
content simple
facets
Kind Value Annotation
fractionDigits 5
pattern .+
source <xs:element name="reportedAmount" type="v1210dt:amount"/>

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

element header/endMonthDate
diagram V1210_p9.png
namespace http://www.bcl.lu/2021/V1.210
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 V1210_p10.png
namespace http://www.bcl.lu/2021/V1.210
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 V1210_p11.png
namespace http://www.bcl.lu/2021/V1.210
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 V1210_p12.png
namespace http://www.bcl.lu/2021/V1.210
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 V1210_p13.png
namespace http://www.bcl.lu/2021/V1.210
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="v1210dt:currency">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">reporting currency</xs:documentation>
 
</xs:annotation>
</xs:element>

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

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

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

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

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

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

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

complexType stockTerminalsLineID
diagram V1210_p21.png
namespace http://www.bcl.lu/2021/V1.210
children terminalType terminalCountry metric
used by
element V1210/content/stockTerminals/reportedLine/id
annotation
documentation
reported line identifier for stock of terminals by terminal type
source <xs:complexType name="stockTerminalsLineID">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">reported line identifier for stock of terminals by terminal type</xs:documentation>
 
</xs:annotation>
 
<xs:sequence>
   
<xs:element name="terminalType" type="v1210dt:terminalType">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">Terminal type</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="terminalCountry" type="v1210dt:bclCountry">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">Country of terminal</xs:documentation>
     
</xs:annotation>
   
</xs:element>
   
<xs:element name="metric" type="v1210dt:metric">
     
<xs:annotation>
       
<xs:documentation xml:lang="EN">Metric</xs:documentation>
     
</xs:annotation>
   
</xs:element>
 
</xs:sequence>
</xs:complexType>

element stockTerminalsLineID/terminalType
diagram V1210_p22.png
namespace http://www.bcl.lu/2021/V1.210
type terminalType
properties
content simple
facets
Kind Value Annotation
pattern [A-Z0-9]{4}
annotation
documentation
Terminal type
source <xs:element name="terminalType" type="v1210dt:terminalType">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Terminal type</xs:documentation>
 
</xs:annotation>
</xs:element>

element stockTerminalsLineID/terminalCountry
diagram V1210_p23.png
namespace http://www.bcl.lu/2021/V1.210
type bclCountry
properties
content simple
annotation
documentation
Country of terminal
source <xs:element name="terminalCountry" type="v1210dt:bclCountry">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Country of terminal</xs:documentation>
 
</xs:annotation>
</xs:element>

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

simpleType amount
namespace http://www.bcl.lu/2021/V1.210/datatypes
type restriction of xs:decimal
properties
base xs:decimal
used by
element V1210/content/stockTerminals/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 bclCountry
namespace http://www.bcl.lu/2021/V1.210/datatypes
type union of (country, restriction of xs:string)
used by
element stockTerminalsLineID/terminalCountry
annotation
documentation
BCL codification for country
source <xs:simpleType name="bclCountry">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">BCL codification for country</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>

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

simpleType currency
namespace http://www.bcl.lu/2021/V1.210/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.210/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.210/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.210/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.210/datatypes
type restriction of xs:string
properties
base xs:string
used by
element stockTerminalsLineID/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 terminalType
namespace http://www.bcl.lu/2021/V1.210/datatypes
type restriction of xs:string
properties
base xs:string
used by
element stockTerminalsLineID/terminalType
facets
Kind Value Annotation
pattern [A-Z0-9]{4}
annotation
documentation
Terminal type
source <xs:simpleType name="terminalType">
 
<xs:annotation>
   
<xs:documentation xml:lang="EN">Terminal 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