<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.ote-cr.cz/schema/sfvot/gasclaim/sum" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ote="http://www.ote-cr.cz/schema/globals" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ns1="http://www.ote-cr.cz/schema/sfvot/report/claim/gas/sum" targetNamespace="http://www.ote-cr.cz/schema/sfvot/gasclaim/sum" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://www.ote-cr.cz/schema/globals" schemaLocation="./ote_globals.xsd"/>
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="./xmldsig-core-schema.xsd"/>
	<xs:element name="SFVOTGASCLAIMSUM">
		<xs:annotation>
			<xs:documentation xml:lang="CS">Hlavní element společný pro všechny finanční reporty</xs:documentation>
			<xs:documentation xml:lang="EN">Root element containing basic message data</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="SenderIdentification" type="ote:SenderIdentificationType">
					<xs:annotation>
						<xs:documentation xml:lang="CS">Identifikace odesílatele zprávy, tzn. OTE, a.s.</xs:documentation>
						<xs:documentation xml:lang="EN">EAN13 Sender identification - OTE, a.s.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="ReceiverIdentification" type="ote:ReceiverIdentificationType">
					<xs:annotation>
						<xs:documentation xml:lang="CS">Identifikace příjemce, resp. odesilatele požadavku</xs:documentation>
						<xs:documentation xml:lang="EN">Message receiver identification</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Reference" type="ote:ReferenceType" minOccurs="0">
					<xs:annotation>
						<xs:documentation xml:lang="CS">Reference na předešlou zprávu. Pokud není element obsažen v cílovém XML nebyl report generován na základě XML požadavku.</xs:documentation>
						<xs:documentation xml:lang="EN">Reference to the previous message, if any.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="Claim">
					<xs:annotation>
						<xs:documentation xml:lang="CS">Přehled plateb a reklamací</xs:documentation>
						<xs:documentation xml:lang="EN">Claim Report</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Rut" minOccurs="0" maxOccurs="unbounded">
								<xs:annotation>
									<xs:documentation xml:lang="CS">Data participanta</xs:documentation>
									<xs:documentation xml:lang="EN">Participant data</xs:documentation>
								</xs:annotation>
								<xs:complexType>
									<xs:sequence>
										<xs:element name="TradeGroup" maxOccurs="unbounded">
											<xs:annotation>
												<xs:documentation xml:lang="CS">Data skupiny obchodu</xs:documentation>
												<xs:documentation xml:lang="EN">Trade group data</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="Data" maxOccurs="unbounded">
														<xs:complexType>
															<xs:attribute name="amtNetCzk" type="xs:decimal">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Částka bez DPH</xs:documentation>
																	<xs:documentation xml:lang="EN">The amount without VAT</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="amtNetEur" type="xs:decimal">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Částka bez DPH</xs:documentation>
																	<xs:documentation xml:lang="EN">The amount without VAT</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="tradeType" use="required">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">
                                                Typ obchodu DD+ - Dopolední seance na DT s plynem - nákup,
                                               DD- - Dopolední seance na DT s plynem - prodej,
                                                DO+ - Odpolední seance na DT s plynem - nákup,
                                                DO- - Odpolední seance na DT s plynem - prodej,
                                                VP- - Vnitrodenní trh s plynem - prodej,
                                                VP+ - Vnitrodenní trh s plynem - nákup,
                                                DP2 - Skutečná odchylka - plyn,
                                                DP3 - Mimotoleranční odchylka - plyn,
                                                DP4 - Agregovaná hodnota plateb za bilanční plyn,
                                                DP5 - Agregovaná hodnota plateb za mimotoleranční odchylky,
                                                PL1 - Poplatek plyn – roční zúčtování,
                                                PL2 - Poplatek plyn – zúčtování odchylek,
                                                PL3 - Poplatek plyn - obchodování na DT,
                                                PL4 - Poplatek plyn – měsíční poskytování skutečných hodnot,
                                                PL5 - Poplatek plyn - obchodování na VDT,
                                                EMP - Stav nouze - plyn,
                                                R04 – Fixní poplatek REMIT,
                                                R05 - Poplatek REMIT reporting – transakce,
                                                R06 - Poplatek REMIT reporting – příkaz,
                                                DVM - Denni vyrov. mnozstvi
                                                DV4 - Saldo dennich vyrov. mnozstvi
                                                FL+ - Trh s kladnou flexibilitou
                                                FL- - Trh se zapornou flexibilitou
                                                IMG - Mesicni odchylka k vyrovnani
                                                IM4 - Saldo mesicnich odchylek k vyrovnani
                                                DV- - Sluzba vyrovnani
                                                                    </xs:documentation>
																	<xs:documentation xml:lang="EN">
                                                Trade type DD+ - Morning day-ahead gas market seance - buy,
                                                DD- - Morning day-ahead gas market seance - sell,
                                                DO+ - Afternoon day-ahead gas market seance - buy,
                                                DO- - Afternoon day-ahead gas market seance - sell,
                                                VP- - Intra-day gas market - sell,
                                                VP+ - Intra-day gas market - buy,
                                                DP2 - Imbalance real,
                                                DP3 - Off-tolerance deviation,
                                                DP4 - Aggreg. payment for balance gas,
                                                DP5 - Aggreg. payment for off-tolerance deviation,
                                                PL1 - Annual fee,
                                                PL2 - Settlement imbalance fee,
                                                PL3 - Day-ahead market fee,
                                                PL4 - Access metering data fee,
                                                PL5 - Intra-day fee,
                                                EMP - State of emergency - gas,
                                                R04 - REMIT fixed fee,
                                                R05 - REMIT transaction fee,
                                                R06 - REMIT order fee,
                                                DVM - Daily imbalance quantity
                                                DV4 - Balance of daily imbalance quantities
                                                FL+ - Positive flexibility market
                                                FL- - Negative flexibility market
                                                IMG - Settled monthly imbalance
                                                IM4 - Balance of settled monthly imbalances
                                                DV- - Service of grid balancing
                                                                    </xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:enumeration value="DD+"/>
																		<xs:enumeration value="DD-"/>
																		<xs:enumeration value="DO+"/>
																		<xs:enumeration value="DO-"/>
																		<xs:enumeration value="VP-"/>
																		<xs:enumeration value="VP+"/>
																		<xs:enumeration value="DP2"/>
																		<xs:enumeration value="DP3"/>
																		<xs:enumeration value="DP4"/>
																		<xs:enumeration value="DP5"/>
																		<xs:enumeration value="PL1"/>
																		<xs:enumeration value="PL2"/>
																		<xs:enumeration value="PL3"/>
																		<xs:enumeration value="PL4"/>
																		<xs:enumeration value="PL5"/>
																		<xs:enumeration value="EMP"/>
																		<xs:enumeration value="R04"/>
																		<xs:enumeration value="R05"/>
																		<xs:enumeration value="R06"/>
																		<xs:enumeration value="DVM"/>
																		<xs:enumeration value="DV4"/>
																		<xs:enumeration value="IMG"/>
																		<xs:enumeration value="IM4"/>
																		<xs:enumeration value="FL+"/>
																		<xs:enumeration value="FL-"/>
     														  	<xs:enumeration value="DV-"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="volume" type="xs:decimal" use="required">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Množství</xs:documentation>
																	<xs:documentation xml:lang="EN">Volume</xs:documentation>
																</xs:annotation>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
													<xs:element name="Summary">
														<xs:annotation>
															<xs:documentation xml:lang="CS">Sumární hodnoty</xs:documentation>
															<xs:documentation xml:lang="EN">Summary</xs:documentation>
														</xs:annotation>
														<xs:complexType>
															<xs:attribute name="amtCzk" type="xs:decimal">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Částka s daní</xs:documentation>
																	<xs:documentation xml:lang="EN">The amount with tax</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="amtEur" type="xs:decimal">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Částka s daní</xs:documentation>
																	<xs:documentation xml:lang="EN">The amount with tax</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="amtNetCzk" type="xs:decimal">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Částka bez DPH</xs:documentation>
																	<xs:documentation xml:lang="EN">The amount without VAT</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="amtNetEur" type="xs:decimal">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Částka bez DPH</xs:documentation>
																	<xs:documentation xml:lang="EN">The amount without VAT</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="diffCzk" type="xs:decimal">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Rozdíl plateb a reklamací</xs:documentation>
																	<xs:documentation xml:lang="EN">Difference of payments and claims</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="diffEur" type="xs:decimal">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Rozdíl plateb a reklamací</xs:documentation>
																	<xs:documentation xml:lang="EN">Difference of payments and claims</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="etaxCzk" type="xs:decimal">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Daň z elektřiny</xs:documentation>
																	<xs:documentation xml:lang="EN">Electricity tax</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="etaxEur" type="xs:decimal">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Daň z elektřiny</xs:documentation>
																	<xs:documentation xml:lang="EN">Electricity tax</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="refund" type="xs:decimal">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Vratka daně z eletřiny</xs:documentation>
																	<xs:documentation xml:lang="EN">Refund of electricity tax</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="tradeType" use="required">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Typ obchodu</xs:documentation>
																	<xs:documentation xml:lang="EN">Trade type</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:string">
																		<xs:enumeration value="TOTAL"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="vatCzk" type="xs:decimal">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">DPH</xs:documentation>
																	<xs:documentation xml:lang="EN">VAT</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="vatEur" type="xs:decimal">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">DPH</xs:documentation>
																	<xs:documentation xml:lang="EN">VAT</xs:documentation>
																</xs:annotation>
															</xs:attribute>
														</xs:complexType>
													</xs:element>
												</xs:sequence>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="name" type="xs:string" use="required">
										<xs:annotation>
											<xs:documentation xml:lang="CS">Zkrácený název účastníka trhu</xs:documentation>
											<xs:documentation xml:lang="EN">The participant's short name</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="particId" type="xs:integer" use="required">
										<xs:annotation>
											<xs:documentation xml:lang="CS">Jednoznačný identifikátor účastníka trhu</xs:documentation>
											<xs:documentation xml:lang="EN">The participant's unique id</xs:documentation>
										</xs:annotation>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="date" type="xs:date" use="required">
							<xs:annotation>
								<xs:documentation xml:lang="CS">Čas generování</xs:documentation>
								<xs:documentation xml:lang="EN">Production timestamp</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="dateFrom" type="xs:date" use="required">
							<xs:annotation>
								<xs:documentation xml:lang="CS">Datum od</xs:documentation>
								<xs:documentation xml:lang="EN">Date from</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="dateTo" type="xs:date" use="required">
							<xs:annotation>
								<xs:documentation xml:lang="CS">Datum do</xs:documentation>
								<xs:documentation xml:lang="EN">Date to</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="title" type="xs:string" use="required">
							<xs:annotation>
								<xs:documentation xml:lang="CS">Název reportu</xs:documentation>
								<xs:documentation xml:lang="EN">Report title</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="ote" type="xs:boolean" use="required">
							<xs:annotation>
								<xs:documentation xml:lang="CS">Je-li nastaveno (1, true) jedná se o Přehled plateb a reklamcí OTE, v opačném případě (0, false) o Přehled plateb a reklamcí</xs:documentation>
								<xs:documentation xml:lang="EN">If set (1, true) OTE is on debet side, otherwise (0, false) OTE is on credit side</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element ref="ds:Signature" minOccurs="0"/>
			</xs:sequence>
			<xs:attribute name="answer-required" type="xs:boolean" use="required">
				<xs:annotation>
					<xs:documentation xml:lang="CS">Indikace požadavku na odpověď</xs:documentation>
					<xs:documentation xml:lang="EN">Indication of request for response 1=YES, 0=NO</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="date-time" type="xs:dateTime" use="required">
				<xs:annotation>
					<xs:documentation xml:lang="CS">Datum a čas zprávy</xs:documentation>
					<xs:documentation xml:lang="EN">Date and time of message</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="dtd-release" type="xs:string" use="required" fixed="1">
				<xs:annotation>
					<xs:documentation xml:lang="CS">Rezervováno pro příští verze. Zatím konstanta '1'</xs:documentation>
					<xs:documentation xml:lang="EN">Reserved for incoming versions. So far a constant '1'</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="dtd-version" type="xs:unsignedByte" use="required" fixed="1">
				<xs:annotation>
					<xs:documentation xml:lang="CS">Rezervováno pro příští verze. Zatím konstanta '1'</xs:documentation>
					<xs:documentation xml:lang="EN">Reserved for incoming versions; so far a constant '1'</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="id" type="ote:msg-id" use="required">
				<xs:annotation>
					<xs:documentation xml:lang="CS">Identifikátor zprávy</xs:documentation>
					<xs:documentation xml:lang="EN">Message Identification</xs:documentation>
				</xs:annotation>
			</xs:attribute>
			<xs:attribute name="message-code" use="required">
				<xs:annotation>
					<xs:documentation xml:lang="CS">Kod zpravy upresnujici obsah zpravy.</xs:documentation>
					<xs:documentation xml:lang="EN">Message code that specifies the message content.</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:enumeration value="GFQ">
							<xs:annotation>
								<xs:documentation xml:lang="CS">Prehled reklamaci - souhrn ZMV</xs:documentation>
								<xs:documentation xml:lang="EN">Claim overview - summary</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="GFT">
							<xs:annotation>
								<xs:documentation xml:lang="CS">Prehled reklamaci OTE - souhrn ZMV</xs:documentation>
								<xs:documentation xml:lang="EN">OTE claim overview - summary</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
</xs:schema>
