<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema targetNamespace="urn:espa:v6:ws:common" elementFormDefault="qualified" xmlns:common="urn:espa:v6:ws:common" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	<!-- ELEMENT DEFINITIONS -->
	<xsd:element name="ValidationErrors">
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="Error" type="common:ErrorType" maxOccurs="unbounded"/>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<!-- TYPE DEFINITIONS -->
	<xsd:simpleType name="BooleanType">
		<xsd:annotation>
			<xsd:documentation>1=Ναι, 0=Όχι</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:unsignedByte">
			<xsd:enumeration value="1"/>
			<xsd:enumeration value="0"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="String10Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="10"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="String12Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="12"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="String20Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="20"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="String30Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="30"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="String50Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="50"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="String100Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="100"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="String120Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="120"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="String250Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="250"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="String255Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="255"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="String300Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="300"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="String500Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="500"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="String2000Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="2000"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="String4000Type">
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="4000"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:complexType name="ErrorType">
		<xsd:sequence>
			<xsd:element name="ErrorCode" type="common:String50Type"/>
			<xsd:element name="ErrorMessage" type="common:String4000Type"/>
			<xsd:element name="Sevirity" type="xsd:unsignedShort" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:simpleType name="DateType">
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="20[0-4]\d-(0|1)\d-[0-3]\d(T[0-2]\d(:[0-5]\d){2})*"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="YearRangeType">
		<xsd:restriction base="xsd:unsignedShort">
			<xsd:minInclusive value="2021"/>
			<xsd:maxInclusive value="2029"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="EmailFormatType">
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="[\p{L}0-9_\-\+%\.]+(\.[\p{L}0-9_\-]+)*@[\p{L}0-9_-]+(\.[\p{L}0-9_-]+)+"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="PositiveDecimalType">
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="(([+]|([0-9]*))([0-9]*)((([.0-9])([0-9]{2}))|(([.0-9])([0-9]))|(([.0-9]))))"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="PosostoType">
		<xsd:restriction base="xsd:decimal">
			<xsd:minInclusive value="0"/>
			<xsd:maxInclusive value="100"/>
		</xsd:restriction>
	</xsd:simpleType>
</xsd:schema>