﻿<?xml version="1.0" encoding="utf-8" ?>
<!--Created with Liquid Studio 2018 (https://www.liquid-technologies.com)-->
<hgc:schema xmlns="https://www.gamingcommission.gov.gr" elementFormDefault="qualified" targetNamespace="https://www.gamingcommission.gov.gr" version="1.0" xmlns:hgc="http://www.w3.org/2001/XMLSchema">
    <hgc:element name="ComplaintsDocument">
        <hgc:complexType>
            <hgc:sequence>
                <hgc:element ref="Complaint" maxOccurs="unbounded" />
            </hgc:sequence>
        </hgc:complexType>
    </hgc:element>
    <hgc:element name="Complaint">
        <hgc:complexType>
            <hgc:sequence>
                <hgc:element ref="ClientInfo" />
                <hgc:element ref="ComplaintInfo" />
            </hgc:sequence>
            <hgc:attribute name="ComplaintID" use="required">
                <hgc:annotation>
                    <hgc:documentation xml:lang="en">
                        Must be in the format: Integer(0-99999)DDMMYYYY, ex. 145801012018(required)
                    </hgc:documentation>
                </hgc:annotation>
                <hgc:simpleType>
                    <hgc:restriction base="complaintID_Simple">
                        <hgc:minLength value="9" />
                        <hgc:maxLength value="13" />
                    </hgc:restriction>
                </hgc:simpleType>
            </hgc:attribute>
        </hgc:complexType>
    </hgc:element>
    <hgc:element name="ClientInfo">
        <hgc:complexType>
            <hgc:sequence>
                <hgc:element name="FirstName" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							Any string with no more than 100 characters (required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:whiteSpace value="collapse" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="LastName" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							Any string with no more than 100 characters (required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:whiteSpace value="collapse" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="FatherName" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							Any string with no more than 100 characters (required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:whiteSpace value="collapse" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="IDCard" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							Any string with no more than 100 characters (required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:whiteSpace value="collapse" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="Telephone" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							Any string with no more than 100 characters. Multiple telephone numbers must be separated with comma (required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:whiteSpace value="collapse" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="Fax" minOccurs="0" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							Any string with no more than 100 characters. Multiple telephone numbers must be separated with comma (not required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:whiteSpace value="collapse" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="Address" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							Any string with no more than 100 characters (required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:whiteSpace value="collapse" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="City" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
                        Any string with no more than 100 characters (required)
					</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:whiteSpace value="collapse" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="Postcode" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							Any string with no more than 10 characters (required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:whiteSpace value="collapse" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="10" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="email" minOccurs="0" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
                            Must be in the format: string1@string2.string3.string4 (ex. test.user@gamingcommission.gov.gr) (max length: 100 characters) (not required)
                        </hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="email_Simple">
                            <hgc:minLength value="5" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
            </hgc:sequence>
        </hgc:complexType>
    </hgc:element>
    <hgc:element name="ComplaintInfo">
        <hgc:complexType>
            <hgc:sequence>
                <hgc:element name="SubmissionDate" type="hgc:date" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							Must be in the format: YYYY-MM-DD (required)
						</hgc:documentation>
                    </hgc:annotation>
                </hgc:element>
                <hgc:element name="Casino" minOccurs="1" maxOccurs="1">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							The name of the casino (any of the predefined values) (required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:minLength value="1" />
                            <hgc:enumeration value="Θράκη" />
                            <hgc:enumeration value="Θεσσαλονίκη" />
                            <hgc:enumeration value="Κέρκυρα" />
                            <hgc:enumeration value="Λουτράκι" />
                            <hgc:enumeration value="Πάρνηθα" />
                            <hgc:enumeration value="Πόρτο Καρράς" />
                            <hgc:enumeration value="Πάτρα" />
                            <hgc:enumeration value="Ρόδος" />
                            <hgc:enumeration value="Σύρος" />
							<hgc:enumeration value="Φλώρινα" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="Game" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							The name of the game (any of the predefined values) (required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:enumeration value="Ρουλέτα" />
                            <hgc:enumeration value="Slot Machines" />
                            <hgc:enumeration value="Black Jack" />
                            <hgc:enumeration value="Banco Punto" />
                            <hgc:enumeration value="Mini Banco Punto" />
                            <hgc:enumeration value="American Dice" />
                            <hgc:enumeration value="Stud Poker" />
                            <hgc:enumeration value="Casino Poker" />
                            <hgc:enumeration value="Caribbean Stud Poker" />
                            <hgc:enumeration value="Texas Hold-em Poker" />
                            <hgc:enumeration value="Δεν αφορά παίγνιο" />
                            <hgc:enumeration value="Άλλο" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="ComplaintCategory" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							The name of the complaint's category (any of the predefined values) (required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:enumeration value="Τήρηση κανόνων παιγνίου" />
                            <hgc:enumeration value="Πληρωμή στοιχήματος" />
                            <hgc:enumeration value="Πληρωμή κερδών" />
                            <hgc:enumeration value="Λειτουργία παιγνιομηχανήματος" />
                            <hgc:enumeration value="Απαγόρευση εισόδου" />
                            <hgc:enumeration value="Αυτό-αποκλεισμός" />
                            <hgc:enumeration value="Εμπορική επικοινωνία (διαφήμιση)" />
                            <hgc:enumeration value="Είσοδος στο καζίνο" />
                            <hgc:enumeration value="Ταμείο" />
                            <hgc:enumeration value="Προσωπικό" />
                            <hgc:enumeration value="Άλλο" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="IncidentTime" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
                            Must be in the format: HH:MM (24 hours base) (required)
                        </hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="time_Simple">
                            <hgc:minLength value="5" />
                            <hgc:maxLength value="5" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="IncidentDate" type="hgc:date" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							Must be in the format: YYYY-MM-DD (required)
						</hgc:documentation>
                    </hgc:annotation>
                </hgc:element>
                <hgc:element name="IncidentShortDescription" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							A paragraph with no more than 1500 characters (required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:whiteSpace value="collapse" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="1500" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="PreviousComplaintIDs" minOccurs="0" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							Must be in the format: Integer(0-99999)DDMMYYYY, ex. 145801012018 (not required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="complaintID_Simple">
                            <hgc:minLength value="9" />
                            <hgc:maxLength value="13" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="ComplaintStatus" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							The complaint's status (any of the predefined values) (required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:enumeration value="Υποβολή" />
                            <hgc:enumeration value="Επεξεργασία" />
                            <hgc:enumeration value="Προώθηση" />
                            <hgc:enumeration value="Ικανοποιήθηκε" />
                            <hgc:enumeration value="Απορρίφθηκε" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
                <hgc:element name="ComplaintStatusDate" type="hgc:date" minOccurs="1" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							Must be in the format: YYYY-MM-DD (required)
						</hgc:documentation>
                    </hgc:annotation>
                </hgc:element>
                <hgc:element name="ComplaintChange" minOccurs="0" maxOccurs="1" nillable="false">
                    <hgc:annotation>
                        <hgc:documentation xml:lang="en">
							Indicates a change in a specific complaint referred in ComplaintID field (not required)
						</hgc:documentation>
                    </hgc:annotation>
                    <hgc:simpleType>
                        <hgc:restriction base="hgc:string">
                            <hgc:enumeration value="Μεταβολή" />
                            <hgc:minLength value="1" />
                            <hgc:maxLength value="100" />
                        </hgc:restriction>
                    </hgc:simpleType>
                </hgc:element>
            </hgc:sequence>
        </hgc:complexType>
    </hgc:element>
    <hgc:simpleType name="time_Simple">
        <hgc:restriction base="hgc:string">
            <hgc:pattern value="(0[0-9]|[1][0-9]|2[0-3]):([0-5][0-9])" />
        </hgc:restriction>
    </hgc:simpleType>
    <hgc:simpleType name="email_Simple">
        <hgc:restriction base="hgc:string">
            <hgc:pattern value="[a-zA-Z0-9_.+-]+@[a-zA-Z0-9-]+.[a-zA-Z0-9\-.]+" />
        </hgc:restriction>
    </hgc:simpleType>
    <hgc:simpleType name="complaintID_Simple">
        <hgc:restriction base="hgc:string">
            <hgc:pattern value="[0-9]{1,5}(0[1-9]|1[0-9]|2[0-9]|3[0-1])(0[1-9]|1[0-2])((19|20)\d{2})" />
        </hgc:restriction>
    </hgc:simpleType>
</hgc:schema>