Schema Name: Online_Customer_Account.xsd
Target Namespace: https://www.gamingcommission.gov.gr
XPath Default Namespace: https://www.gamingcommission.gov.gr
Collapse XSD Schema Code:

<!--Created with Liquid Studio 2021 (https://www.liquid-technologies.com)-->
<xs:schema xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:mstns="https://www.gamingcommission.gov.gr" elementFormDefault="qualified" targetNamespace="https://www.gamingcommission.gov.gr" version="1.0" xpathDefaultNamespace="https://www.gamingcommission.gov.gr" vc:minVersion="1.1" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:include schemaLocation=".\CommonElements.xsd" />
    <xs:element name="Batch">
        <xs:annotation>
            <xs:documentation>Συχνότητα καταγραφής στο SAFE / Frequency:
(1) Όποτε προστίθενται νέοι Παίκτες.
(1) Whenever new Players are added.

(2) Όποτε υπάρχουν αλλαγές σε δεδομένα Παικτών.
(2) Whenever information regarding Players, changes.
</xs:documentation>
        </xs:annotation>
        <xs:complexType>
            <xs:sequence>
                <xs:element name="BatchHeader" type="mstns:BatchHeader" />
                <xs:element name="Online_Customer_Account" maxOccurs="unbounded">
                    <xs:complexType>
                        <xs:sequence>
                            <xs:element name="RecordID" type="mstns:RecordID" />
                            <xs:choice>
                                <xs:element name="CancelledRecordData">
                                    <xs:complexType>
                                        <xs:sequence>
                                            <xs:element name="CancelledRecordID" type="mstns:RecordID" />
                                            <xs:element name="CancelledRecordDate" type="mstns:dateTimeUTC" />
                                            <xs:element name="CancelledRecordReason" type="mstns:LongString" />
                                        </xs:sequence>
                                    </xs:complexType>
                                </xs:element>
                                <xs:sequence>
                                    <xs:element name="ReplacedRecordID" type="mstns:RecordID" minOccurs="0" />
                                    <xs:element name="PlayerID" type="mstns:PlayerID" />
                                    <xs:element name="CustomerAccount">
                                        <xs:complexType>
                                            <xs:sequence>
                                                <xs:element name="Username" type="mstns:LongStringPreserve">
                                                    <xs:annotation>
                                                        <xs:documentation>Αναγνωριστικό Παίκτη:
Το μοναδικό αναγνωριστικό του Παίκτη στα συστήματα του Κατόχου Άδειας.

Player's Username:
The username used by the Player to login in Licensee's systems</xs:documentation>
                                                    </xs:annotation>
                                                </xs:element>
                                                <xs:element name="AccountType">
                                                    <xs:annotation>
                                                        <xs:documentation>
                                                    Τύπος Ηλεκτρονικού Λογαριασμού Παίκτη:
Κατηγοριοποίηση Ηλεκτρονικών Λογαριασμών Παικτών. Οι τιμές καθορίζονται από την Ε.Ε.Ε.Π.. Επιτρεπόμενες τιμές:
(1) = Ηλεκτρονικός Λογαριασμός Παίκτη 
(2) = Ηλεκτρονικός Λογαριασμός Περιαγωγής σε Παίκτες που επισκέπτονται την Ελλάδα

Player Account Type:
What type account is used by the player. Roaming or regular Greek account.  Values are granted by HGC. Allowed values:
(1) = Greek Account
(2) = Roaming Account
                                                </xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:positiveInteger">
                                                            <xs:enumeration value="1" />
                                                            <xs:enumeration value="2" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="AccountStatus">
                                                    <xs:annotation>
                                                        <xs:documentation>Κατάσταση του Ηλεκτρονικού Λογαριασμού Παίκτη:
Η κατάσταση του Ηλεκτρονικού Λογαριασμού Παίκτη. Οι τιμές καθορίζονται από την Ε.Ε.Ε.Π.. Επιτρεπόμενες τιμές:
(1) = Προσωρινός
(2) = Ενεργός
(3) = Ανενεργός 
(4) = Σε Φραγή
(5) = Κλειστός
(0) = Άλλο 

Player's Status:
The status of the Player's account. Values are granted by HGC. Allowed Values:
(1) = Temporary
(2) = Active
(3) = Inactive
(4) = Blocked
(5) = Closed
(0) = Other</xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:nonNegativeInteger">
                                                            <xs:enumeration value="0" />
                                                            <xs:enumeration value="1" />
                                                            <xs:enumeration value="2" />
                                                            <xs:enumeration value="3" />
                                                            <xs:enumeration value="4" />
                                                            <xs:enumeration value="5" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="AccountStatusDate" type="mstns:dateTimeUTC">
                                                    <xs:annotation>
                                                        <xs:documentation>Ημερομηνία Κατάστασης Ηλεκτρονικού Λογαριασμού Παίκτη:
Η ημερομηνία και ώρα που ενεργοποιήθηκε η κατάσταση του Ηλεκτρονικού Λογαριασμού Παίκτη (UTC).

Player's Account Status Date:
Date and time the status of the Player's account changed (UTC).</xs:documentation>
                                                    </xs:annotation>
                                                </xs:element>
                                                <xs:element name="AccountStatusReason">
                                                    <xs:annotation>
                                                        <xs:documentation>Αιτιολογία Κατάστασης του Ηλεκτρονικού Λογαριασμού Παίκτη:
Αν η Κατάσταση Ηλεκτρονικού Λογαριασμού Παίκτη είναι (5):
(1) = Αίτηση Παίκτη για κλείσιμο του Λογαριασμού
(2) = Μη επιβεβαίωση στοιχείων Παίκτη
(3) = Αίτηση Παίκτη για οριστικό αποκλεισμό από τα Παίγνια
(4) = Αιτιολογημένες ενδείξεις για αναληθείς ή ανακριβείς πληροφορίες για το άνοιγμα του ΗΛΠ
(5) =Παραβίαση όρων  Σύμβασης Προσχώρησης
(6) = Αίτημα της ΕΕΕΠ για οριστικό αποκλεισμό Παίκτη από τα Παίγνια
(7) = Κλείσιμο Ηλεκτρονικού Λογαριασμού Περιαγωγής
(8) = Παρήλθαν 24 μήνες από τη θέση του ΗΛΠ στην κατάσταση (4) Σε Φραγή
(9) = Παρήλθαν 12 μήνες από τη θέση του ΗΛΠ στην κατάσταση (3) Ανενεργός
(10) = Άλλο

Αν η Κατάσταση Ηλεκτρονικού Λογαριασμού Παίκτη είναι (4):
(11) = Αίτηση Παίκτη για προσωρινό αποκλεισμό από τα Παίγνια (για τουλάχιστον 1 μήνα)
(12) = Αίτηση Παίκτη για προσωρινή αποχή 24 ωρών από τα Παίγνια
(13) = Εισαγγελική παραγγελία
(14) = Ο Κάτοχος Άδειας κρίνει ότι έχουν παραβιαστεί όροι της Σύμβασης Προσχώρησης
(15) = Αίτημα της ΕΕΕΠ για ανάγκη Φραγής ΗΛΠ
(20) = Άλλο

Αν η Κατάσταση Ηλεκτρονικού Λογαριασμού Παίκτη είναι (0) ή (1) ή (2) ή (3):
(0) = Κενό

Player's Account Status Reason:
The reason of the status of the Player's account. Values are granted by HGC. Allowed Values:
When the field 'AccountStatus' is equal to (5):
(1) = Receipt of an application from Player to close Account.
(2) = The information the Player has submitted, for completing Player authentication, has not been confirmed.
(3) = Receipt of an application from the Player for final exclusion from Games.
(4) = Well-founded indications that information provided by the Player to open the Online Account is untrue or inaccurate.
(5) = On other grounds specifically cited in the terms of the Standard Form Contract.
(6) = Informed by HGC to exclude Player from Games.
(7) = Closing Roaming Account.
(8) = 24 months have passed since the Player’s account was in status (4) Blocked.
(9) = 12 months have passed since the Player’s account was in status (3) Inactive.
(10) = Other.

When the field 'AccountStatus' is equal to (4):
(11) = Receipt of an application from Player for temporary exclusion from Games (at least for 1 month).
(12) = Receipt of an application from Player for a 24-hour temporary absence from the Games.
(13) = Prosecutor's order.
(14) = On other grounds specifically cited in the terms of the Standard Form Contract.
(15) = Informed by HGC to block Player from Games.
(20) = Other

When the field 'AccountStatus' is equal to (0) or (1) or (2) or (3):
(0) = Blank  </xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:nonNegativeInteger">
                                                            <xs:enumeration value="0" />
                                                            <xs:enumeration value="1" />
                                                            <xs:enumeration value="2" />
                                                            <xs:enumeration value="3" />
                                                            <xs:enumeration value="4" />
                                                            <xs:enumeration value="5" />
                                                            <xs:enumeration value="6" />
                                                            <xs:enumeration value="7" />
                                                            <xs:enumeration value="8" />
                                                            <xs:enumeration value="9" />
                                                            <xs:enumeration value="10" />
                                                            <xs:enumeration value="11" />
                                                            <xs:enumeration value="12" />
                                                            <xs:enumeration value="13" />
                                                            <xs:enumeration value="14" />
                                                            <xs:enumeration value="15" />
                                                            <xs:enumeration value="20" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="Gender">
                                                    <xs:annotation>
                                                        <xs:documentation>
                                                  Φύλο Παίκτη: 
Οι τιμές καθορίζονται από την Ε.Ε.Ε.Π.. Επιτρεπόμενες τιμές:
(1) = Άρρεν
(2) = Θήλυ
(0) = Άλλο

Player's Gender:
The gender of the Player. Values are granted by HGC. Allowed values:
(1) = Μale
(2) = Female
(0) = Other
                                                </xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:nonNegativeInteger">
                                                            <xs:enumeration value="0" />
                                                            <xs:enumeration value="1" />
                                                            <xs:enumeration value="2" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="Surname">
                                                    <xs:annotation>
                                                        <xs:documentation>Επώνυμο Παίκτη:
Το επώνυμο (last name) του Παίκτη. Λατινικοί κεφαλαίοι χαρακτήρες, όπως αναγράφονται στο ταυτοποιητικό έγγραφο. Σε περίπτωση που δεν αναγράφονται λατινικοί χαρακτήρες, επιλέγεται το πρότυπο ΕΛΟΤ 743. Διπλά ονόματα χωρίζονται με παύλα (-).

Player's Surname:
The surname/last name of the Player. Latin upper case characters, as stated in the identification document. In the case of characters not belonging to the Latin alphabet, the transcription shall be based on the ELOT-743 standard. Double names are separated by a hyphen (-)</xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:string">
                                                            <xs:minLength value="1" />
                                                            <xs:maxLength value="40" />
                                                            <xs:pattern value="[A-Z]+(-[A-Z]+)*" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="MiddleName" minOccurs="0">
                                                    <xs:annotation>
                                                        <xs:documentation>Πατρώνυμο Παίκτη:
Το πατρώνυμο (Father's Name) του Παίκτη.  Λατινικοί κεφαλαίοι χαρακτήρες, όπως αναγράφονται στο ταυτοποιητικό έγγραφο. Σε περίπτωση που δεν αναγράφονται λατινικοί χαρακτήρες, επιλέγεται το πρότυπο ΕΛΟΤ 743.
(εάν υφίσταται)

Player's Middle Name:
The middle name of the Player. Latin upper case characters, as stated in the identification document. In the case of characters not belonging to the Latin alphabet, the transcription shall be based on the ELOT-743 standard.
(if applicable)</xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:string">
                                                            <xs:minLength value="1" />
                                                            <xs:maxLength value="40" />
                                                            <xs:pattern value="[Α-ΩA-Z\- ]+" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="FirstName">
                                                    <xs:annotation>
                                                        <xs:documentation>Όνομα Παίκτη:
Το όνομα (first name) του Παίκτη. Λατινικοί κεφαλαίοι χαρακτήρες, όπως αναγράφονται στο ταυτοποιητικό έγγραφο. Σε περίπτωση που δεν αναγράφονται λατινικοί χαρακτήρες, επιλέγεται το πρότυπο ΕΛΟΤ 743. Διπλά ονόματα χωρίζονται με παύλα (-).

Player's First Name:
The first name of the Player. Latin upper case characters, as stated in the identification document. In the case of characters not belonging to the Latin alphabet, the transcription shall be based on the ELOT-743 standard. Double names are separated by a hyphen (-)</xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:string">
                                                            <xs:minLength value="1" />
                                                            <xs:maxLength value="40" />
                                                            <xs:pattern value="[A-Z]+(-[A-Z]+)*" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="Nationality">
                                                    <xs:annotation>
                                                        <xs:documentation>Ιθαγένεια/Εθνικότητα:                                                           
Η Ιθαγένεια/Εθνικότητα του Παίκτη (Κεφαλαίοι Χαρακτήρες)

Citizenship/Nationality:
The Citizenship/Nationality of the Player (Upper case characters).
                                                        </xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:string">
                                                            <xs:minLength value="1" />
                                                            <xs:maxLength value="40" />
                                                            <xs:whiteSpace value="collapse" />
                                                            <xs:pattern value="[\p{Lu} \.'\-]+" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="IdDocKind">
                                                    <xs:annotation>
                                                        <xs:documentation>Είδος Εγγράφου Ταυτοποίησης Παίκτη
Επιτρεπόμενες τιμές:
(1) = Δελτίο Ταυτότητας
(3) = Διαβατήριο
(4) = Στρατιωτική ταυτότητα
(5) = Ταυτότητα Σώματος Ασφαλείας
(9) = Άλλο

Player ID Kind 
Allowed Values: 
(1) = Greek Identity Card 
(3) = Passport 
(4) = Military Identity Card
(5) = Law Enforcement Identity Card
(9) = Other
                                                        </xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:positiveInteger">
                                                            <xs:enumeration value="1" />
                                                            <xs:enumeration value="3" />
                                                            <xs:enumeration value="4" />
                                                            <xs:enumeration value="5" />
                                                            <xs:enumeration value="9" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="IdDocNumber">
                                                    <xs:annotation>
                                                        <xs:documentation>
Αριθμός  Εγγράφου Ταυτοποίησης Παίκτη:
Ο Αριθμός του Εγγράφου Ταυτοποίησης του Παίκτη. Λατινικοί κεφαλαίοι (στο αλφαβητικό μέρος) χαρακτήρες, χωρίς κενά ανάμεσα στο αριθμητικό και αλφαβητικό μέρος, σύμφωνα με την Οδηγία 4/2023.

Player’s Identification Document Number: 
Number of identification document under Article 3 of the Directive No 4/2023. Latin upper case characters (in the alphabetical part), without spaces between the numerical and the alphabetical parts.
                                                        </xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:string">
                                                            <xs:pattern value="[A-Z0-9]+" />
                                                            <xs:minLength value="1" />
                                                            <xs:maxLength value="20" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="CountryIssueID" type="mstns:CountryCode">
                                                    <xs:annotation>
                                                        <xs:documentation>Χώρα έκδοσης  Εγγράφου Ταυτοποίησης:
Ο τριψήφιος ISO (ISO 3166-1, alpha 3 code) κωδικός της κάθε χώρας.

Country of issue of identification document:
The three-digit ISO code (ISO 3166-1, alpha 3 code) of the country.</xs:documentation>
                                                    </xs:annotation>
                                                </xs:element>
                                                <xs:element name="ExpiryDateID" type="mstns:dateTimeUTC">
                                                    <xs:annotation>
                                                        <xs:documentation>
Ημερομηνία λήξης εγγράφου ταυτοποίησης:
εεεε-μμ-ηη 00:00:00 ή η τιμή 2999-01-01 00:00:00 σε περίπτωση για αορίστου διάρκειας, σε UTC format.

Expiry date of identification document:
Expiry date of the identification document in UTC format. Use value “2999-01-01 00:00:00” in UTC format where the effective term is indefinite.
                                                        </xs:documentation>
                                                    </xs:annotation>
                                                </xs:element>
                                                <xs:element name="BirthDate" type="mstns:dateTimeUTC">
                                                    <xs:annotation>
                                                        <xs:documentation>
Ημερομηνία γέννησης:
Ημερομηνία γέννησης σε UTC format.

Birth date:
Birth date in UTC format.
                                                        </xs:documentation>
                                                    </xs:annotation>
                                                </xs:element>
                                                <xs:element name="CPNΝumber" type="mstns:ExtraSmallString" minOccurs="0">
                                                    <xs:annotation>
                                                        <xs:documentation>
Προσωπικός Αριθμός του Πολίτη (όταν τεθεί σε εφαρμογή):
Σύμφωνα τις προδιαγραφές της εφαρμογής του στα νέα δελτία ταυτότητας.
(εάν υφίσταται)

Citizen Personal Number (when it enters into effect):
In accordance with the specifications for its application in the new identity cards.
(if applicable)
                                                        </xs:documentation>
                                                    </xs:annotation>
                                                </xs:element>
                                                <xs:element name="Address">
                                                    <xs:annotation>
                                                        <xs:documentation>
Διεύθυνση κατοικίας Ελλάδας:
Θα πρέπει να περιλαμβάνεται η οδός και ο αριθμός με Κεφαλαίους χαρακτήρες. Στο συγκεκριμένο πεδίο θα πρέπει να περιλαμβάνοινται και περιπτώσεις αλλοδαπών παικτών που διαμένουν προσωρινά στην Ελλάδα οι οποίοι έχουν μία χώρα μόνιμης κατοικίας διαφορετική από την Ελλάδα.

Home address in Greece:
Street and number in upper case characters. The values in the field “Home address in Greece” shall also include cases of foreign players temporarily residing in Greece who have a country of permanent residence other than Greece.
                                                        </xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:string">
                                                            <xs:minLength value="1" />
                                                            <xs:maxLength value="50" />
                                                            <xs:whiteSpace value="collapse" />
                                                            <xs:pattern value="[\p{Lu}0-9 \.'\-]+" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="AddressCity">
                                                    <xs:annotation>
                                                        <xs:documentation>
Πόλη:
Η πόλη της κύριας κατοικίας στην Ελλάδα (Κεφαλαίοι Χαρακτήρες).

City:
The city of home address in Greece (Upper case characters).
                                                        </xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:string">
                                                            <xs:minLength value="1" />
                                                            <xs:maxLength value="50" />
                                                            <xs:whiteSpace value="collapse" />
                                                            <xs:pattern value="[\p{Lu} \.'\-]+" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="PostCode">
                                                    <xs:annotation>
                                                        <xs:documentation>Ταχυδρομικός Κωδικός Παίκτη:
Ο Ταχυδρομικός κωδικός της διεύθυνσης που έχει δηλωθεί από τον Παίκτη στα συστήματα του Κατόχου Άδειας, χωρίς κενά.

Players Post Code:
The post code of Player's address, as it has been declared in Licensee's systems. (No spaces)</xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:string">
                                                            <xs:pattern value="[0-9]+" />
                                                            <xs:maxLength value="15" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="ResidenceCountry" type="mstns:CountryCode">
                                                    <xs:annotation>
                                                        <xs:documentation>
Κωδικός Χώρας Μόνιμης Κατοικίας Παίκτη:
Ο τριψήφιος ISO (ISO 3166-1, alpha 3 code) κωδικός της χώρας διαμονής του Παίκτη.

Country of permanent residence:
The ISO (ISO 3166-1, alpha 3 code) code of the Player's country of residence.
                                                        </xs:documentation>
                                                    </xs:annotation>
                                                </xs:element>
                                                <xs:element name="EmailAddress">
                                                    <xs:annotation>
                                                        <xs:documentation>Διεύθυνση Ηλεκτρονικού Ταχυδρομείου Παίκτη

Player's email address</xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:string">
                                                            <xs:pattern value="\S+@\S+\.\S+" />
                                                            <xs:maxLength value="255" />
                                                            <xs:whiteSpace value="collapse" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="KYCDate" type="mstns:dateTimeUTC" minOccurs="0">
                                                    <xs:annotation>
                                                        <xs:documentation>Ημερομηνία Ταυτοποίησης Παίκτη:
Η ημερομηνία και ώρα που ταυτοποιήθηκε ο Παίκτης από τον Κάτοχο Άδειας (UTC).

Players KYC Date:
Date and time that the Player's identity has been confirmed by the Licensee, through a "know your customer" (KYC) process (UTC).</xs:documentation>
                                                    </xs:annotation>
                                                </xs:element>
                                                <xs:element name="PlayerRisk">
                                                    <xs:annotation>
                                                        <xs:documentation>
                                                            Κατηρορία Ρίσκου
Η κατηγορία ρίσκου που έχει χαρακτηριστεί ο παίκτης από τον Κάτοχο Άδειας. Επιτρέπονται ακέραιες τιμές από 1 μέχρι το 4, όπου 1 = Χαμηλό ρίσκο και 4 = Πολύ Υψηλό.

Risk Category
The risk category that the player has been categorised by the Licensee. Suggested values: Positive integers from 1 to 4, which 1 = Low Risk and 4 = Very Hight Risk.
                                                        </xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:positiveInteger">
                                                            <xs:enumeration value="1" />
                                                            <xs:enumeration value="2" />
                                                            <xs:enumeration value="3" />
                                                            <xs:enumeration value="4" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                                <xs:element name="ExclusionType" minOccurs="0">
                                                    <xs:annotation>
                                                        <xs:documentation>Τύπος Αποκλεισμού:
Οι τιμές καθορίζονται από την Ε.Ε.Ε.Π.. Επιτρεπόμενες τιμές:
(1) = Αποκλεισμός
(2) = Αυτοαποκλεισμός
(0) = Άλλο
(εάν υφίσταται)

Exclusion Type:
Values are granted by HGC. Allowed values:
(1) = Exclusion
(2) = Self Exclusion
(0) = Other
(if applicable)</xs:documentation>
                                                    </xs:annotation>
                                                    <xs:simpleType>
                                                        <xs:restriction base="xs:nonNegativeInteger">
                                                            <xs:enumeration value="0" />
                                                            <xs:enumeration value="1" />
                                                            <xs:enumeration value="2" />
                                                        </xs:restriction>
                                                    </xs:simpleType>
                                                </xs:element>
                                            </xs:sequence>
                                            <xs:assert test="if (AccountStatus = 1) then not(exists(KYCDate)) else if (AccountStatus = 2 or AccountStatus = 3) then exists(KYCDate) else if (AccountStatus = 0 or AccountStatus = 4 or AccountStatus = 5) then true() else false()" />
                                            <xs:assert test="if (AccountStatus = 5) then (AccountStatusReason ge 1 and AccountStatusReason le 10) else if(AccountStatus=4) then (AccountStatusReason ge 11 and AccountStatusReason le 15 or AccountStatusReason=20)else if(AccountStatus=0 or AccountStatus=1 or AccountStatus=2 or AccountStatus=3)then (AccountStatusReason=0) else false()" />
                                        </xs:complexType>
                                    </xs:element>
                                </xs:sequence>
                            </xs:choice>
                        </xs:sequence>
                    </xs:complexType>
                </xs:element>
            </xs:sequence>
        </xs:complexType>
        <xs:unique name="UniqueRecord">
            <xs:selector xpath="mstns:Online_Customer_Account" />
            <xs:field xpath="mstns:RecordID" />
        </xs:unique>
    </xs:element>
</xs:schema>
Collapse Elements: