<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://www.ote-cr.cz/schema/sfvot/gasclaim" 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#" targetNamespace="http://www.ote-cr.cz/schema/sfvot/gasclaim" 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="SFVOTGASCLAIM">
		<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="TradeType" maxOccurs="unbounded">
											<xs:annotation>
												<xs:documentation xml:lang="CS">Informace o zúčtování</xs:documentation>
												<xs:documentation xml:lang="EN">Settlement information</xs:documentation>
											</xs:annotation>
											<xs:complexType>
												<xs:sequence>
													<xs:element name="Data" maxOccurs="unbounded">
														<xs:complexType>
															<xs:attribute name="origAmountCzk" 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="origAmountEur" 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="origAmountNetCzk" 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="origAmountNetEur" 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="tradeDate" type="xs:date">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Datum obchodu</xs:documentation>
																	<xs:documentation xml:lang="EN">Trade date</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="type">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Typ zúčtování (1 měsíční, 2 reklamace)</xs:documentation>
																	<xs:documentation xml:lang="EN">Settlement type (1 monthly, 2 claims)</xs:documentation>
																</xs:annotation>
																<xs:simpleType>
																	<xs:restriction base="xs:integer">
																		<xs:enumeration value="1"/>
																		<xs:enumeration value="2"/>
																	</xs:restriction>
																</xs:simpleType>
															</xs:attribute>
															<xs:attribute name="valueDate" type="xs:date">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Datum splatnosti</xs:documentation>
																	<xs:documentation xml:lang="EN">Value date</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="varSymb" type="xs:string">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Variabilní symbol</xs:documentation>
																	<xs:documentation xml:lang="EN">Reference #</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="vatRate" type="xs:integer">
																<xs:annotation>
																	<xs:documentation xml:lang="CS">Sazba DPH</xs:documentation>
																	<xs:documentation xml:lang="EN">The VAT rate</xs:documentation>
																</xs:annotation>
															</xs:attribute>
															<xs:attribute name="volume" type="xs:decimal">
																<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="origAmountCzk" 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="origAmountEur" 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="origAmountNetCzk" 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="origAmountNetEur" 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="volume" type="xs:decimal">
																<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:sequence>
												<xs:attribute name="curr">
													<xs:annotation>
														<xs:documentation xml:lang="CS">Měna zúčtování</xs:documentation>
														<xs:documentation xml:lang="EN">The settlement currency</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:enumeration value="CZK"/>
															<xs:enumeration value="EUR"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="tradeType">
													<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:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="dic" type="xs:string">
										<xs:annotation>
											<xs:documentation xml:lang="CS">DIČ</xs:documentation>
											<xs:documentation xml:lang="EN">TAX number</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="eic" type="xs:string">
										<xs:annotation>
											<xs:documentation xml:lang="CS">EIC identifikace participanta</xs:documentation>
											<xs:documentation xml:lang="EN">EIC participant identification</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="ico" type="xs:string">
										<xs:annotation>
											<xs:documentation xml:lang="CS">IČ</xs:documentation>
											<xs:documentation xml:lang="EN">Registration number</xs:documentation>
										</xs:annotation>
									</xs:attribute>
									<xs:attribute name="id" type="xs:integer">
										<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:attribute name="name" type="xs:string">
										<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:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="date" type="xs:dateTime" 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:dateTime" 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:dateTime" 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) jedna se o Podklady pro fakturaci OTE, v opacnem pripade (0, false) o Podklady pro fakturaci</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 pozadavku na odpoved</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 cas zpravy</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">Rezervovano pro pristi verze. Zatim 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">Rezervovano pro prist verze. Zatim 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">Identifikator zpravy</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="GF8">
							<xs:annotation>
								<xs:documentation xml:lang="CS">Přehled plateb a reklamací</xs:documentation>
								<xs:documentation xml:lang="EN">Payments and refunds overview</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
						<xs:enumeration value="GFB">
							<xs:annotation>
								<xs:documentation xml:lang="CS">Přehled plateb a reklamací OTE</xs:documentation>
								<xs:documentation xml:lang="EN">OTE Payments and refunds overview</xs:documentation>
							</xs:annotation>
						</xs:enumeration>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
</xs:schema>
