<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2010 (http://www.altova.com) by Vaclav Snasel (Logica Czech Republic s.r.o.) -->
<!-- edited with XMLSpy v2007 sp2 (http://www.altova.com) by Tomas Silar (LogicaCMG s.r.o.) -->
<!-- edited with XMLSPY v2004 rel. 4 U (http://www.xmlspy.com) by Jakub Jicha (LogicaCMG s.r.o.) -->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.ote-cr.cz/schema/cds/gasreq" xmlns:ote="http://www.ote-cr.cz/schema/globals" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.ote-cr.cz/schema/cds/gasreq" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xsd:import namespace="http://www.ote-cr.cz/schema/globals" schemaLocation="./ote_globals.xsd"/>
	<xsd:element name="CDSGASREQ">
		<xsd:annotation>
			<xsd:documentation xml:lang="CS">Rootovský element obsahující základní údaje o zprávě</xsd:documentation>
			<xsd:documentation xml:lang="EN">Root element containing basic message data</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence>
				<xsd:element name="SenderIdentification" type="ote:SenderIdentificationType">
					<xsd:annotation>
						<xsd:documentation xml:lang="CS">Identifikace odesílatele zprávy</xsd:documentation>
						<xsd:documentation xml:lang="EN">Message sender identification</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="ReceiverIdentification" type="ote:ReceiverIdentificationType">
					<xsd:annotation>
						<xsd:documentation xml:lang="CS">Identifikace příjemce zprávy</xsd:documentation>
						<xsd:documentation xml:lang="EN">Message receiver identification</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="Document" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation xml:lang="CS">Informace o požadovaném dokumentu.
Pokud není tento tag přítomen, očekává se jednorázová odpověď. Pokud je přítomen, atribut periodic určuje, jestli se nastavuje nebo ruší periodické zasílání dat.</xsd:documentation>
						<xsd:documentation xml:lang="EN">Information about requested documentation.
If the tag is not present, single-shot answer is expected. If it's present, attribute periodic determine the periodic or non-periodic data sending.</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:attribute name="periodic" use="optional">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Indikace periodického/neperiodického zasílání dat</xsd:documentation>
								<xsd:documentation xml:lang="EN">Indication of periodic/non-periodic data sending.</xsd:documentation>
							</xsd:annotation>
							<xsd:simpleType>
								<xsd:restriction base="xsd:string">
									<xsd:enumeration value="1">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Periodický požadavek na data</xsd:documentation>
											<xsd:documentation xml:lang="EN">Periodic data request</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="0">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Zrušení periodického požadavku na data</xsd:documentation>
											<xsd:documentation xml:lang="EN">Cancellation of periodic data request</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="X">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Jednorázový požadavek na data</xsd:documentation>
											<xsd:documentation xml:lang="EN">Single-shot data request</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
								</xsd:restriction>
							</xsd:simpleType>
						</xsd:attribute>
					</xsd:complexType>
				</xsd:element>
				<xsd:choice>
					<xsd:annotation>
						<xsd:documentation xml:lang="CS">Další část xml dokumentu obsahuje buď informace o OPM nebo obchodu v IS OTE</xsd:documentation>
						<xsd:documentation xml:lang="EN">Following part of xml document contains either PDT information or IS OTE trade information</xsd:documentation>
					</xsd:annotation>
					<xsd:element name="Location" maxOccurs="unbounded">
						<xsd:annotation>
							<xsd:documentation xml:lang="CS">Identifikace OPM a intervalu</xsd:documentation>
							<xsd:documentation xml:lang="EN">PDT and interval identification</xsd:documentation>
						</xsd:annotation>
						<xsd:complexType>
							<xsd:attribute name="ext-ui" type="ote:pod_id" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">EIC16 identifikující lokalitu (OPM)</xsd:documentation>
									<xsd:documentation xml:lang="EN">EIC16 - Locality (PDT) identification </xsd:documentation>
								</xsd:annotation>
							</xsd:attribute>
							<xsd:attribute name="date-time-from" type="xsd:dateTime" use="required">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Plynárenský den - počátek období, pro které jsou požadována data</xsd:documentation>
									<xsd:documentation xml:lang="EN">Gas day - start of period, the data are requested for</xsd:documentation>
								</xsd:annotation>
							</xsd:attribute>
							<xsd:attribute name="date-time-to" type="xsd:dateTime" use="required">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Plynárenský den - konec období, pro které jsou požadována data</xsd:documentation>
									<xsd:documentation xml:lang="EN">Gas day - end of period, the data are requested for</xsd:documentation>
								</xsd:annotation>
							</xsd:attribute>
							<xsd:attribute name="typm" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Typ měření</xsd:documentation>
									<xsd:documentation xml:lang="EN">Metering type</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:minLength value="1"/>
										<xsd:maxLength value="2"/>
										<xsd:enumeration value="A">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Typ měření A - průběhové</xsd:documentation>
												<xsd:documentation xml:lang="EN">Metering type A</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="B">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Typ měření B - průbehové</xsd:documentation>
												<xsd:documentation xml:lang="EN">Metering type B</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="C">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Typ měření C - neprůběhové</xsd:documentation>
												<xsd:documentation xml:lang="EN">Metering type C</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="CM">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Typ měření C - neprůběhové s měsíčním odečtovým cyklem</xsd:documentation>
												<xsd:documentation xml:lang="EN">Metering type C - with one-month reading cycle </xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="grid-id" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Síť</xsd:documentation>
									<xsd:documentation xml:lang="EN">Grid</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:pattern value="\d{1,10}"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="anlart" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Druh OPM</xsd:documentation>
									<xsd:documentation xml:lang="EN">PDT type</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:length value="4"/>
										<xsd:enumeration value="1001">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">OPM výroba</xsd:documentation>
												<xsd:documentation xml:lang="EN">OPM generation</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="1002">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">OPM spotřeba</xsd:documentation>
												<xsd:documentation xml:lang="EN">POD consumption</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="1004">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Vituální OPM za SZ</xsd:documentation>
												<xsd:documentation xml:lang="EN">Virtual POD for subject of settlement</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="1005">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Virtuální OPM za síť</xsd:documentation>
												<xsd:documentation xml:lang="EN">Virtual POD for grid</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="1007">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Virtuální OPM za SZ a síť</xsd:documentation>
												<xsd:documentation xml:lang="EN">Virtual POD for sofs and grid</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="1011">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Těžební plynovod výrobce</xsd:documentation>
												<xsd:documentation xml:lang="EN">Producer´s extractive gas-line</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="1021">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Virtuální prodejní bod</xsd:documentation>
												<xsd:documentation xml:lang="EN">Virtual selling point</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="1022">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Podzemní zásobník plynu</xsd:documentation>
												<xsd:documentation xml:lang="EN">Underground gas tank</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="1023">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Předávací místo DS/DS</xsd:documentation>
												<xsd:documentation xml:lang="EN">Point of transfer DS/DS</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="1024">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Hraniční bod (HPS,PPL)</xsd:documentation>
												<xsd:documentation xml:lang="EN">Border point (BTP, BGL)</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="1025">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Předávací místo PS/DS</xsd:documentation>
												<xsd:documentation xml:lang="EN">Point of transfer TS/DS</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="1027">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">OPM spotřeba s nominací přepravy</xsd:documentation>
												<xsd:documentation xml:lang="EN">PDT consumption with transport nomination</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="1099">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Virtuální OPM TDD (koeficienty)</xsd:documentation>
												<xsd:documentation xml:lang="EN">Virtual POD for LP (koeficients)</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="tdd-class" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Třída TDD</xsd:documentation>
									<xsd:documentation xml:lang="EN">LP class</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:maxLength value="2"/>
										<xsd:minLength value="1"/>
										<xsd:enumeration value="1">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">DOM1</xsd:documentation>
												<xsd:documentation xml:lang="EN">DOM1</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="2">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">DOM2</xsd:documentation>
												<xsd:documentation xml:lang="EN">DOM2</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="3">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">DOM3</xsd:documentation>
												<xsd:documentation xml:lang="EN">DOM3</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="4">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">DOM4</xsd:documentation>
												<xsd:documentation xml:lang="EN">DOM4</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="5">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">MO1</xsd:documentation>
												<xsd:documentation xml:lang="EN">MO1</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="6">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">MO2</xsd:documentation>
												<xsd:documentation xml:lang="EN">MO2</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="7">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">MO3</xsd:documentation>
												<xsd:documentation xml:lang="EN">MO3</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="8">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">MO4</xsd:documentation>
												<xsd:documentation xml:lang="EN">MO4</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="9">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">SO1</xsd:documentation>
												<xsd:documentation xml:lang="EN">SO1</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="10">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">SO2</xsd:documentation>
												<xsd:documentation xml:lang="EN">SO2</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="11">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">SO3</xsd:documentation>
												<xsd:documentation xml:lang="EN">SO3</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="12">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">SO4</xsd:documentation>
												<xsd:documentation xml:lang="EN">SO4</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="version" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Verze dat POF</xsd:documentation>
									<xsd:documentation xml:lang="EN">POF data version</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:enumeration value="00">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Verze dat - všechny verze</xsd:documentation>
												<xsd:documentation xml:lang="EN">Data version - all versions</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="99">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Verze dat - aktuální verze dat</xsd:documentation>
												<xsd:documentation xml:lang="EN">Data version - actual data version</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="pof-id">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Číslo POF</xsd:documentation>
									<xsd:documentation xml:lang="EN">POF id</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:minLength value="1"/>
										<xsd:maxLength value="12"/>
										<xsd:pattern value="\d+"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="claim-method">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Metoda reklamace (vlastní, veřejné, ke zpracování)</xsd:documentation>
									<xsd:documentation xml:lang="EN">Claim method (privat, public, for processing)</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:enumeration value="PRI">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Vlastní reklamace</xsd:documentation>
												<xsd:documentation xml:lang="EN">Private claims</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="PUB">
											<xsd:annotation>
												<xsd:documentation/>
												<xsd:documentation xml:lang="CS">Veřejné reklamace</xsd:documentation>
												<xsd:documentation xml:lang="EN">Public claims</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="PROC">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Ke zpracování</xsd:documentation>
												<xsd:documentation xml:lang="EN">For processing</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="claim-id">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Id reklamace</xsd:documentation>
									<xsd:documentation xml:lang="EN">Claim id</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:minLength value="1"/>
										<xsd:maxLength value="20"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="status">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Status reklamace</xsd:documentation>
									<xsd:documentation xml:lang="EN">Claim status</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:enumeration value="NEW"/>
										<xsd:enumeration value="PROC"/>
										<xsd:enumeration value="AUTA"/>
										<xsd:enumeration value="CLOSED"/>
										<xsd:enumeration value="CONF"/>
										<xsd:enumeration value="REJ"/>
										<xsd:enumeration value="OBS"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="seance">
								<xsd:annotation>
									<xsd:documentation>Seance</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:enumeration value="AM">
											<xsd:annotation>
												<xsd:documentation/>
												<xsd:documentation xml:lang="CS">Dopolední</xsd:documentation>
												<xsd:documentation xml:lang="EN">AM</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="PM">
											<xsd:annotation>
												<xsd:documentation/>
												<xsd:documentation xml:lang="CS">Odpolední</xsd:documentation>
												<xsd:documentation xml:lang="EN">PM</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="import-date-time-from" type="xsd:dateTime" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Import od - datum a čas importu dat od (pouze zprávy POF)</xsd:documentation>
									<xsd:documentation xml:lang="EN">Import from - import date and time from (POF only)</xsd:documentation>
								</xsd:annotation>
							</xsd:attribute>
							<xsd:attribute name="import-date-time-to" type="xsd:dateTime" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Import do - datum a čas importu dat do (pouze zprávy POF)</xsd:documentation>
									<xsd:documentation xml:lang="EN">Import to - import date and time to (POF only)</xsd:documentation>
								</xsd:annotation>
							</xsd:attribute>
							<xsd:attribute name="ps-dod" type="ote:mp_id" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Primární dodavatel</xsd:documentation>
									<xsd:documentation xml:lang="EN">Supplier</xsd:documentation>
								</xsd:annotation>
							</xsd:attribute>
							<xsd:attribute name="ps-sz" type="ote:mp_id" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Subjekt zúčtování</xsd:documentation>
									<xsd:documentation xml:lang="EN">Subject of settlement</xsd:documentation>
								</xsd:annotation>
							</xsd:attribute>
							<xsd:attribute name="ps-poz" type="ote:mp_id" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Dohlížitel</xsd:documentation>
									<xsd:documentation xml:lang="EN">Guardian</xsd:documentation>
								</xsd:annotation>
							</xsd:attribute>
							<xsd:attribute name="ps-obs" type="ote:mp_id" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Pozorovatel</xsd:documentation>
									<xsd:documentation xml:lang="EN">Observer</xsd:documentation>
								</xsd:annotation>
							</xsd:attribute>
							<xsd:attribute name="chs-status" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Status požadavku změny dodavatele</xsd:documentation>
									<xsd:documentation xml:lang="EN">Status of change of supplier request</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:minLength value="1"/>
										<xsd:maxLength value="3"/>
										<xsd:enumeration value="ANY">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Status změnového požadavku - schválen</xsd:documentation>
												<xsd:documentation xml:lang="EN">Status of change request - confirmed</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="ANN">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Status změnového požadavku - zamítnut</xsd:documentation>
												<xsd:documentation xml:lang="EN">Status of change request - rejected</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="ANP">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Status změnového požadavku - návrh</xsd:documentation>
												<xsd:documentation xml:lang="EN">Status of change request - proposal</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="categ-cust" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Kategorie zákazníka</xsd:documentation>
									<xsd:documentation xml:lang="EN">Customer category</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:enumeration value="VO">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Velkoodběratel</xsd:documentation>
												<xsd:documentation xml:lang="EN"/>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="SO">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Střední odběratel</xsd:documentation>
												<xsd:documentation xml:lang="EN"/>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="MO">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Maloodběratel</xsd:documentation>
												<xsd:documentation xml:lang="EN"/>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="DOM">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Domácnost</xsd:documentation>
												<xsd:documentation xml:lang="EN"/>
											</xsd:annotation>
										</xsd:enumeration>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="categ-emer" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Skupina zákazníka pro účely stavů nouze</xsd:documentation>
									<xsd:documentation xml:lang="EN">Customer group for state of emergency</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:enumeration value="A"/>
										<xsd:enumeration value="B1"/>
										<xsd:enumeration value="B2"/>
										<xsd:enumeration value="C"/>
										<xsd:enumeration value="C1"/>
										<xsd:enumeration value="C2"/>
										<xsd:enumeration value="D"/>
										<xsd:enumeration value="D1"/>
										<xsd:enumeration value="D2"/>
										<xsd:enumeration value="E"/>
										<xsd:enumeration value="F"/>
										<xsd:enumeration value="X">
													<xsd:annotation>
														<xsd:documentation xml:lang="CS">OPM zajišťující bezpečný provoz plyn. zařízení provozovatele</xsd:documentation>
														<xsd:documentation xml:lang="EN"/>
													</xsd:annotation>
												</xsd:enumeration>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="service" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Druh služby</xsd:documentation>
									<xsd:documentation xml:lang="EN">Service</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:enumeration value="101">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Dodavatel</xsd:documentation>
												<xsd:documentation xml:lang="EN">Supplier</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="111">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Subjekt zúčtování</xsd:documentation>
												<xsd:documentation xml:lang="EN">Subject of settlement</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="113">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">PDS/PPS</xsd:documentation>
												<xsd:documentation xml:lang="EN">DSO/TSO</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="inv-sender" type="ote:mp_id" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Odesílatel elektronické faktury</xsd:documentation>
									<xsd:documentation xml:lang="EN">Electronic invoice sender</xsd:documentation>
								</xsd:annotation>
							</xsd:attribute>
							<xsd:attribute name="inv-type" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Typ dokladu elektronické faktury</xsd:documentation>
									<xsd:documentation xml:lang="EN">Electronic invoice document type</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:enumeration value="A01">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaná fa -  krycí list</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated invoice - cover sheet</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="A02">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaná záloha -  krycí list</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated budget-billing - cover sheet</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="B01">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - řádná MODOM</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated invoice - part document - periodical households</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="B02">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - řádná VOSO</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated invoice - part document - periodical large and middle consumption </xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="B03">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - mimořádná MODOM</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated invoice - part document - extra households</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="B04">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - mimořádná VOSO</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated invoice - part document - extra lage and middle consumption</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="B05">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - dobropis MODOM</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated invoice - part document - credit note - households</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="B06">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - dobropis VOSO</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated invoice - part document - credit note - large and middle consumption</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="B07">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - vrubopis MODOM</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated invoice - part document - debit note - households</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="B08">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - vrubopis VOSO</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated invoice - part document - debit note - large and middle consumption</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="B09">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - konečná MODOM</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated invoice - part document -  final households</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="B10">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaná faktura – dílčí doklad - konečná VOSO</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated invoice - part document - final large and middle consumption</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="B11">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaný předpis záloh - dílčí doklad - MODOM</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated budget billing assessment – component document - households</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="B12">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Agregovaný předpis záloh – dílčí doklad – VOSO</xsd:documentation>
												<xsd:documentation xml:lang="EN">Aggregated budget billing assessment – component document – large and middle consumption</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="C01">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Individuální faktura – řádná MODOM</xsd:documentation>
												<xsd:documentation xml:lang="EN">Individual invoice - periodical households</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="C02">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Individuální faktura – řádná VOSO</xsd:documentation>
												<xsd:documentation xml:lang="EN">Individual invoice - periodical large and middle consumption</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="C03">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Individuální faktura – mimořádná MODOM</xsd:documentation>
												<xsd:documentation xml:lang="EN">Individual invoice -  extra households</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="C04">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Individuální faktura –  mimořádná VOSO</xsd:documentation>
												<xsd:documentation xml:lang="EN">Individual invoice - part document -  extra large and middle consuption</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="C05">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Individuální faktura – dobropis MODOM</xsd:documentation>
												<xsd:documentation xml:lang="EN">Individual invoice - credit note - households</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="C06">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Individuální faktura – dobropis VOSO</xsd:documentation>
												<xsd:documentation xml:lang="EN">Individual invoice - credit note - large and middle consumption</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="C07">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Individuální faktura – vrubopis MODOM</xsd:documentation>
												<xsd:documentation xml:lang="EN">Individual invoice - debit note - households</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="C08">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Individuální faktura –  vrubopis VOSO</xsd:documentation>
												<xsd:documentation xml:lang="EN">Individual invoice - debit note - large and middle consumption</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="C09">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Konečná faktura - MODOM</xsd:documentation>
												<xsd:documentation xml:lang="EN">Final invoice - households</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="C10">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Konečná faktura - VOSO</xsd:documentation>
												<xsd:documentation xml:lang="EN">Final invoice - large and middle consumption</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="C11">
											<xsd:annotation>
												<xsd:documentation>Individuální předpis záloh MODOM </xsd:documentation>
												<xsd:documentation>Individual budget billing assessment - households</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="C12">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Individuální předpis záloh VOSO </xsd:documentation>
												<xsd:documentation xml:lang="EN">Individual budget billing assessment – commercial customers</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="D01">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Přijatá platba - krycí list</xsd:documentation>
												<xsd:documentation xml:lang="EN">Payment - cover sheet</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="E01">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Faktura za služby OTE</xsd:documentation>
												<xsd:documentation xml:lang="EN">Invoice for OTE services</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="E02">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Dobropis za služby OTE</xsd:documentation>
												<xsd:documentation xml:lang="EN">Credit note for OTE services</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="E03">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Vrubopis za služby OTE</xsd:documentation>
												<xsd:documentation xml:lang="EN">Debit note for OTE services</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="inv-doc-id" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Číslo dokladu elektronické faktury</xsd:documentation>
									<xsd:documentation xml:lang="EN">Electronic invoice document id</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:minLength value="1"/>
										<xsd:maxLength value="12"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="rut-service" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Druh služby poskytovatele</xsd:documentation>
									<xsd:documentation xml:lang="EN">Sender service type</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:enumeration value="101">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Dodavatel primární</xsd:documentation>
												<xsd:documentation xml:lang="EN">Supplier</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="111">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Subjekt zúčtování</xsd:documentation>
												<xsd:documentation xml:lang="EN">SofS</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="113">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">PDS/PPS</xsd:documentation>
												<xsd:documentation xml:lang="EN">DSO/TSO</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="119">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Pozorovatel</xsd:documentation>
												<xsd:documentation xml:lang="EN"/>
											</xsd:annotation>
										</xsd:enumeration>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="rut-identification" type="ote:mp_id" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">EIC poskytovatele</xsd:documentation>
									<xsd:documentation xml:lang="EN">Provider EIC</xsd:documentation>
								</xsd:annotation>
							</xsd:attribute>
							<xsd:attribute name="select-method" use="optional">
								<xsd:annotation>
									<xsd:documentation xml:lang="CS">Metoda výběru (pouze GRB)</xsd:documentation>
									<xsd:documentation xml:lang="EN">Method of selection (GRB only)</xsd:documentation>
								</xsd:annotation>
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:enumeration value="1">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Aktivní služba</xsd:documentation>
												<xsd:documentation xml:lang="EN">Active service</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
										<xsd:enumeration value="2">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Přístup dle BSD</xsd:documentation>
												<xsd:documentation xml:lang="EN">Access according to Secutity of supply</xsd:documentation>
											</xsd:annotation>
										</xsd:enumeration>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
						</xsd:complexType>
					</xsd:element>
				</xsd:choice>
			</xsd:sequence>
			<xsd:attribute name="id" type="ote:msg-id" use="required">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Jednoznačný identifikátor zprávy</xsd:documentation>
					<xsd:documentation xml:lang="EN">Unique message identification</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="message-code" use="required">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Upřesnění obsahu zprávy</xsd:documentation>
					<xsd:documentation xml:lang="EN">Message content specification</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:enumeration value="GAR">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Požadavek na zaslání stavu změny dodavatele</xsd:documentation>
								<xsd:documentation xml:lang="EN">Request for sending an extract of state of change of supplier processing</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="GB6">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Dotaz na předání odpovědnosti za odchylku</xsd:documentation>
								<xsd:documentation xml:lang="EN">Request for imbalance responsibility transfer</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="GBJ">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Dotaz na data o přiřazených pozorovatelích</xsd:documentation>
								<xsd:documentation xml:lang="EN">Request for assigned observers data</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="GC4">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Dotaz na data reklamace</xsd:documentation>
								<xsd:documentation xml:lang="EN">Request for claim data</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="GC8">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Dotaz na zprávy OTE</xsd:documentation>
								<xsd:documentation xml:lang="EN">Request for OTE information</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="GP4">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Dotaz na data pro fakturaci distribuce (POF)</xsd:documentation>
								<xsd:documentation xml:lang="EN">Request for grid-usage invoicing data (POF)</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="GP9">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Dotaz na zprávu elektronické faktury</xsd:documentation>
								<xsd:documentation xml:lang="EN">Request for electronic invoice</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="GPC">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Dotaz na informaci o předání elektronické faktury</xsd:documentation>
								<xsd:documentation xml:lang="EN">Request for informaction about electronic invoice handover</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="GR4">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Požadavek na data OPM</xsd:documentation>
								<xsd:documentation xml:lang="EN">Request for PDT master data</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="GRB">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Požadavek na data OPM pro BSD</xsd:documentation>
								<xsd:documentation xml:lang="EN">Request for PDT master data for Security of supply</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="GRE">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Požadavek na zkrácený výpis OPM dle služby</xsd:documentation>
								<xsd:documentation xml:lang="EN">Request for list of PDT according to service</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:attribute>
			<xsd:attribute name="date-time" type="xsd:dateTime" use="required">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Datum a čas zprávy</xsd:documentation>
					<xsd:documentation xml:lang="EN">Date and time of message</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="dtd-version" type="xsd:string" use="required" fixed="1">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Rezervováno pro pozdější verze. Nyní konstanta '1'</xsd:documentation>
					<xsd:documentation xml:lang="EN">Reserved for incoming versions. So far a constant '1'</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="dtd-release" type="xsd:string" use="required" fixed="1">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Rezervováno pro pozdější verze. Nyní konstanta '1'</xsd:documentation>
					<xsd:documentation xml:lang="EN">Reserved for incoming versions. So far a constant '1'</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="language" type="ote:language" use="optional">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Jazyk zprávy</xsd:documentation>
					<xsd:documentation xml:lang="EN">Message language</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
</xsd:schema>
