<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2025 (x64) (https://www.altova.com) by CGI IT CZECH REPUBLIC S.R.O. (CGI IT CZECH REPUBLIC S.R.O.) -->
<xsd:schema xmlns="http://www.ote-cr.cz/schema/cds/gaspof" xmlns:ote="http://www.ote-cr.cz/schema/globals" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.ote-cr.cz/schema/cds/gaspof" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xsd:import namespace="http://www.ote-cr.cz/schema/globals" schemaLocation="./ote_globals.xsd"/>
	<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="./xmldsig-core-schema.xsd"/>
	<xsd:element name="CDSGASPOF">
		<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="TimeStamp" minOccurs="0">
					<xsd:complexType>
						<xsd:attribute name="msg-dateTime" type="xsd:dateTime">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Datum a čas zpracování</xsd:documentation>
							</xsd:annotation>
						</xsd:attribute>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="Reference" type="ote:ReferenceType" minOccurs="0">
					<xsd:annotation>
						<xsd:documentation xml:lang="CS">Reference na předešlou zprávu</xsd:documentation>
						<xsd:documentation xml:lang="EN">Reference to the previous message</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
				<xsd:element name="invoice" type="Invoice"/>
				<xsd:element ref="ds:Signature" minOccurs="0"/>
			</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="GP1">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Data pro fakturaci distibuce (POF)</xsd:documentation>
								<xsd:documentation xml:lang="EN">Data for grid usage invouicing (POF) - incoming message</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="GP6">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Zpráva s daty pro fakturaci (POF)</xsd:documentation>
								<xsd:documentation xml:lang="EN">Data for grid usage invouicing (POF) - outgoing message</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:attribute name="answer-required" type="xsd:boolean" use="required">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Indikace požadavku na odpověď</xsd:documentation>
					<xsd:documentation xml:lang="EN">Indication of request for response</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
	<xsd:simpleType name="Invoice.Type">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="INV">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Pravidelná fakturace</xsd:documentation>
					<xsd:documentation xml:lang="EN">Regular invoicing</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="COR">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Opravná fakturace (od 1.7.2011 nahrazeno hodnotou atributu corReason)</xsd:documentation>
					<xsd:documentation xml:lang="EN">Correction invoicing (since 1.7.2011 replaced by to corReason attribute value)</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="EXI">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Mimořádná fakturace</xsd:documentation>
					<xsd:documentation xml:lang="EN">Extra invoicing</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="CAN">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Storno fakturace</xsd:documentation>
					<xsd:documentation xml:lang="EN">Cancel invoicing</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="EOC">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Ukončení smlouvy</xsd:documentation>
					<xsd:documentation xml:lang="EN">End of contract</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="HST">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Historické hodnoty fakturace</xsd:documentation>
					<xsd:documentation xml:lang="EN">Historical values of invoicing</xsd:documentation>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="Invoice.Attachment">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="FALSE"/>
			<xsd:enumeration value="TRUE"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="Invoice.ReadingType">
		<xsd:restriction base="xsd:string">
			<xsd:enumeration value="00">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Nespecifikováno</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="01">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Odečet utilitní společností</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="02">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Odečet zákazníkem</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="03">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Automatický odhad</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="04">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Odečet odvozen</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="05">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Nový odhad po nadměrném odhadu</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="06">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Odečet pomocí Internetu</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="10">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Migrace</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="11">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Odečteno pracovníkem</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="12">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Oznámeno telefonicky měř. spol.</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="13">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Lístek za dveřmi měř. spol.</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="14">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Multimediem</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="15">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Samoodečet dopisem měř. spol.</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="16">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Odečítačem</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="17">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Odečteno PSION</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="18">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Manuálně zadaný odhad</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="19">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Nasazen odhad (systémový odhad)</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="22">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Oznámeno telefonicky</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="23">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Lístek za dveřmi</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="25">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Samoodečet dopisem</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="2B">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Sděleno zákazníkem</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="A">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Čárovým kódem</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="B">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Sděleno zákazníkem měř. spol.</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="D">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Dálkově</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="I">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Samoodečet Internet</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="K">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Korekce pracovníkem</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="O">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Odběrový diagram</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="S">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Samoodečet SMS</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
			<xsd:enumeration value="Z">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Záznamník</xsd:documentation>
					<xsd:documentation xml:lang="EN"/>
				</xsd:annotation>
			</xsd:enumeration>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:complexType name="Invoice">
		<xsd:sequence>
			<xsd:element name="head" type="Invoice.Head" minOccurs="0"/>
			<xsd:element name="body" type="Invoice.Body" minOccurs="0"/>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="Invoice.Head">
		<xsd:sequence>
			<xsd:element name="subjects" minOccurs="0">
				<xsd:complexType>
					<xsd:attribute name="opm" type="ote:pod_id"/>
				</xsd:complexType>
			</xsd:element>
			<xsd:element name="attributes" minOccurs="0">
				<xsd:complexType>
					<xsd:attribute name="segment" type="Invoice.Type" use="required"/>
					<xsd:attribute name="number" use="required">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:maxLength value="15"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:attribute>
					<xsd:attribute name="anumber">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:maxLength value="25"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:attribute>
					<xsd:attribute name="corReason">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:length value="2"/>
								<xsd:enumeration value="01">
									<xsd:annotation>
										<xsd:documentation xml:lang="CS">Oprava na základě chyby zjištěné provozovatelem distribuční soustavy</xsd:documentation>
										<xsd:documentation xml:lang="EN">Correction based on mistake traced by distribution system operator</xsd:documentation>
									</xsd:annotation>
								</xsd:enumeration>
								<xsd:enumeration value="02">
									<xsd:annotation>
										<xsd:documentation xml:lang="CS">Oprava na základě reklamace</xsd:documentation>
										<xsd:documentation xml:lang="EN">Correction based on complaint</xsd:documentation>
									</xsd:annotation>
								</xsd:enumeration>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:attribute>
					<xsd:attribute name="complId">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:maxLength value="16"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:attribute>
					<xsd:attribute name="SCNumber">
						<xsd:simpleType>
							<xsd:restriction base="xsd:string">
								<xsd:maxLength value="15"/>
							</xsd:restriction>
						</xsd:simpleType>
					</xsd:attribute>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
		<xsd:attribute name="pofId">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:maxLength value="15"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="version">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:maxLength value="15"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="priceTotal" use="required">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="-?\d{1,12}(\.\d{1,2})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="priceTotalDph">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="-?\d{1,12}(\.\d{1,2})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="periodFrom" type="xsd:dateTime" use="required"/>
		<xsd:attribute name="periodTo" type="xsd:dateTime" use="required"/>
		<xsd:attribute name="cancelled" type="xsd:boolean"/>
		<xsd:attribute name="yearReCalculatedValue">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="\d{1,14}(\.\d{1,2})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
	</xsd:complexType>
	<xsd:complexType name="Invoice.Body">
		<xsd:sequence>
			<xsd:choice minOccurs="0" maxOccurs="unbounded">
				<xsd:element name="instrumentReading" minOccurs="0">
					<xsd:complexType>
						<xsd:sequence>
							<xsd:element name="distributionSum" type="Invoice.Days" minOccurs="0" maxOccurs="unbounded"/>
						</xsd:sequence>
						<xsd:attribute name="unitPrice" use="required">
							<xsd:simpleType>
								<xsd:restriction base="xsd:double">
									<xsd:pattern value="\d{1,9}(\.\d{1,5})?"/>
								</xsd:restriction>
							</xsd:simpleType>
						</xsd:attribute>
						<xsd:attribute name="MOSettlementUnitPrice" use="required">
							<xsd:simpleType>
								<xsd:restriction base="xsd:double">
									<xsd:pattern value="\d{1,9}(\.\d{1,5})?"/>
								</xsd:restriction>
							</xsd:simpleType>
						</xsd:attribute>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="instrumentReadingC" type="Invoice.InstrumentReadingCCM" minOccurs="0"/>
				<xsd:element name="meters" minOccurs="0">
					<xsd:complexType>
						<xsd:sequence>
							<xsd:element name="meter" minOccurs="0" maxOccurs="unbounded">
								<xsd:complexType>
									<xsd:complexContent>
										<xsd:extension base="Invoice.Meter">
											<xsd:sequence>
												<xsd:element name="dayConsumption" type="Invoice.Consumption" minOccurs="0" maxOccurs="unbounded"/>
											</xsd:sequence>
										</xsd:extension>
									</xsd:complexContent>
								</xsd:complexType>
							</xsd:element>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="contractValueC" type="Invoice.ContractValueCCM" minOccurs="0"/>
				<xsd:element name="contractValue" minOccurs="0">
					<xsd:complexType>
						<xsd:sequence>
							<xsd:element name="year" type="Invoice.YearContract" minOccurs="0"/>
							<xsd:element name="month" type="Invoice.MonthContract" minOccurs="0" maxOccurs="unbounded"/>
							<xsd:element name="slide" type="Invoice.SlideContract" minOccurs="0" maxOccurs="unbounded"/>
							<xsd:element name="overSize" type="Invoice.OverSize" minOccurs="0"/>
							<xsd:element name="maxHistory" type="Invoice.YearContract" minOccurs="0"/>
							<xsd:element name="yearInterruptibleCapacity" type="Invoice.YearContract" minOccurs="0"/>
							<xsd:element name="monthInterruptibleCapacity" type="Invoice.MonthContract" minOccurs="0" maxOccurs="unbounded"/>
						</xsd:sequence>
					</xsd:complexType>
				</xsd:element>
				<xsd:element name="metersC" type="Invoice.MetersCCM" minOccurs="0"/>
				<xsd:element name="otherItems" type="Invoice.OtherItems" minOccurs="0" maxOccurs="unbounded"/>
			</xsd:choice>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="Invoice.Days">
		<xsd:attribute name="day" type="xsd:dateTime" use="required"/>
		<xsd:attribute name="quantity" use="required">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="-?\d{1,14}(\.\d{1,3})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
	</xsd:complexType>
	<xsd:complexType name="Invoice.InstrumentReadingCCM">
		<xsd:sequence>
			<xsd:element name="distributionSum" minOccurs="0" maxOccurs="unbounded">
				<xsd:complexType>
					<xsd:complexContent>
						<xsd:extension base="Invoice.Interval">
							<xsd:attribute name="distributionSum">
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:pattern value="-?\d{1,14}(\.\d{1,2})?"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="unitPrice" use="required">
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:pattern value="\d{1,9}(\.\d{1,5})?"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="MOSettlementUnitPrice" use="required">
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:pattern value="\d{1,9}(\.\d{1,5})?"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
						</xsd:extension>
					</xsd:complexContent>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="Invoice.Interval">
		<xsd:attribute name="from" type="xsd:dateTime"/>
		<xsd:attribute name="to" type="xsd:dateTime"/>
	</xsd:complexType>
	<xsd:complexType name="Invoice.Meter">
		<xsd:complexContent>
			<xsd:extension base="Invoice.Interval">
				<xsd:attribute name="rateId">
					<xsd:simpleType>
						<xsd:restriction base="xsd:string">
							<xsd:maxLength value="15"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:attribute>
				<xsd:attribute name="rateType">
					<xsd:simpleType>
						<xsd:restriction base="xsd:string">
							<xsd:maxLength value="15"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:attribute>
				<xsd:attribute name="meterName">
					<xsd:simpleType>
						<xsd:restriction base="xsd:string">
							<xsd:maxLength value="15"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:attribute>
				<xsd:attribute name="meterId">
					<xsd:simpleType>
						<xsd:restriction base="xsd:string">
							<xsd:maxLength value="15"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:attribute>
				<xsd:attribute name="meterType" use="required">
					<xsd:simpleType>
						<xsd:restriction base="xsd:string">
							<xsd:maxLength value="20"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:attribute>
				<xsd:attribute name="startState">
					<xsd:simpleType>
						<xsd:restriction base="xsd:string">
							<xsd:pattern value="\d{1,14}"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:attribute>
				<xsd:attribute name="endState" use="required">
					<xsd:simpleType>
						<xsd:restriction base="xsd:string">
							<xsd:pattern value="\d{1,14}"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:attribute>
				<xsd:attribute name="sumGasM3">
					<xsd:simpleType>
						<xsd:restriction base="xsd:string">
							<xsd:pattern value="-?\d{1,14}(\.\d{1,4})?"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:attribute>
				<xsd:attribute name="sumGaskWh">
					<xsd:simpleType>
						<xsd:restriction base="xsd:string">
							<xsd:pattern value="-?\d{1,14}(\.\d{1,2})?"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:attribute>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="Invoice.Consumption">
		<xsd:attribute name="gasDay" type="xsd:dateTime"/>
		<xsd:attribute name="gasConsumption">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="-?\d{1,14}"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="reductionFactor">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="\d{1,10}(\.\d{1,4})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="reductionConsumption">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="-?\d{1,14}(\.\d{1,4})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="flueGasHeat" use="required">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="\d{1,10}(\.\d{1,4})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="sumGas">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="-?\d{1,14}(\.\d{1,3})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
	</xsd:complexType>
	<xsd:complexType name="Invoice.ContractValueCCM">
		<xsd:sequence>
			<xsd:element name="period" minOccurs="0" maxOccurs="unbounded">
				<xsd:complexType>
					<xsd:complexContent>
						<xsd:extension base="Invoice.Interval">
							<xsd:sequence>
								<xsd:element name="capacity" minOccurs="0">
									<xsd:complexType>
										<xsd:attribute name="volume">
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:pattern value="\d{1,14}(\.\d{1,3})?"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="effect">
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:pattern value="\d{1,12}(\.\d{1,12})?"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="percentage-effect">
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:pattern value="\d{1,12}(\.\d{1,12})?"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="price">
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:pattern value="\d{1,12}(\.\d{1,2})?"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
									</xsd:complexType>
								</xsd:element>
								<xsd:element name="payment" minOccurs="0">
									<xsd:complexType>
										<xsd:attribute name="effect">
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:pattern value="\d{1,12}(\.\d{1,12})?"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="percentage-effect">
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:pattern value="\d{1,12}(\.\d{1,12})?"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="rent">
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:pattern value="\d{1,12}(\.\d{1,2})?"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
									</xsd:complexType>
								</xsd:element>
							</xsd:sequence>
						</xsd:extension>
					</xsd:complexContent>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="Invoice.YearContract">
		<xsd:attribute name="size">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="\d{1,14}(\.\d{1,3})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="effect">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="\d{1,12}(\.\d{1,12})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="percentage-effect">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="\d{1,12}(\.\d{1,12})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="price">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="\d{1,12}(\.\d{1,2})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
	</xsd:complexType>
	<xsd:complexType name="Invoice.MonthContract">
		<xsd:complexContent>
			<xsd:extension base="Invoice.YearContract">
				<xsd:attribute name="relevanceFrom" type="xsd:dateTime"/>
				<xsd:attribute name="relevanceTo" type="xsd:dateTime"/>
				<xsd:attribute name="monthFactor">
					<xsd:simpleType>
						<xsd:restriction base="xsd:string">
							<xsd:pattern value="\d{1,12}(\.\d{1,7})?"/>
						</xsd:restriction>
					</xsd:simpleType>
				</xsd:attribute>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="Invoice.SlideContract">
		<xsd:complexContent>
			<xsd:extension base="Invoice.MonthContract">
				<xsd:attribute name="monthRelevanceFrom" type="xsd:dateTime"/>
				<xsd:attribute name="monthRelevanceTo" type="xsd:dateTime"/>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
	<xsd:complexType name="Invoice.OverSize">
		<xsd:attribute name="maxSize">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="\d{1,14}"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="overDate" type="xsd:dateTime"/>
		<xsd:attribute name="monthFactor">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="\d{1,12}(\.\d{1,7})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="unitPrice">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="\d{1,12}(\.\d{1,2})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
	</xsd:complexType>
	<xsd:complexType name="Invoice.MetersCCM">
		<xsd:sequence>
			<xsd:element name="meter" minOccurs="0" maxOccurs="unbounded">
				<xsd:complexType>
					<xsd:complexContent>
						<xsd:extension base="Invoice.Interval">
							<xsd:sequence>
								<xsd:element name="consumption" minOccurs="0" maxOccurs="unbounded">
									<xsd:complexType>
										<xsd:attribute name="from" type="xsd:dateTime"/>
										<xsd:attribute name="to" type="xsd:dateTime"/>
										<xsd:attribute name="consumption">
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:pattern value="-?\d{1,14}"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="factor" use="required">
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:pattern value="\d{1,10}(\.\d{1,4})?"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="renumVolume">
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:pattern value="-?\d{1,12}(\.\d{1,4})?"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="flueGasHead">
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:pattern value="\d{1,10}(\.\d{1,4})?"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="distribVolume">
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:pattern value="-?\d{1,12}(\.\d{1,4})?"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="addBillConsumption">
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:pattern value="-?\d{1,14}"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
									</xsd:complexType>
								</xsd:element>
							</xsd:sequence>
							<xsd:attribute name="rateId">
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:maxLength value="15"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="rateType">
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:maxLength value="15"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="meterName">
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:maxLength value="15"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="meterId">
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:maxLength value="15"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="meterType" use="required">
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:maxLength value="20"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="startState">
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:pattern value="\d{1,14}"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="startReading" type="xsd:dateTime"/>
							<xsd:attribute name="endState" use="required">
								<xsd:simpleType>
									<xsd:restriction base="xsd:string">
										<xsd:pattern value="\d{1,14}"/>
									</xsd:restriction>
								</xsd:simpleType>
							</xsd:attribute>
							<xsd:attribute name="readingEnd" type="xsd:dateTime"/>
							<xsd:attribute name="readingType" type="Invoice.ReadingType"/>
						</xsd:extension>
					</xsd:complexContent>
				</xsd:complexType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="Invoice.OtherItems">
		<xsd:attribute name="itemType" use="required">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:maxLength value="4"/>
					<xsd:enumeration value="FXIV">
						<xsd:annotation>
							<xsd:documentation xml:lang="CS">Poplatek za mimořádnou fakturaci</xsd:documentation>
							<xsd:documentation xml:lang="EN">Extra invoice fee</xsd:documentation>
						</xsd:annotation>
					</xsd:enumeration>
					<xsd:enumeration value="FXMR">
						<xsd:annotation>
							<xsd:documentation xml:lang="CS">Poplatek za mimořádný odečet</xsd:documentation>
							<xsd:documentation xml:lang="EN">Extra meter reading fee</xsd:documentation>
						</xsd:annotation>
					</xsd:enumeration>
					<xsd:enumeration value="DFLD">
						<xsd:annotation>
							<xsd:documentation xml:lang="CS">Sleva povodně</xsd:documentation>
							<xsd:documentation xml:lang="EN">Flood discount</xsd:documentation>
						</xsd:annotation>
					</xsd:enumeration>
					<xsd:enumeration value="DDSC">
						<xsd:annotation>
							<xsd:documentation xml:lang="CS">Sleva přerušení</xsd:documentation>
							<xsd:documentation xml:lang="EN">Disruptions discount</xsd:documentation>
						</xsd:annotation>
					</xsd:enumeration>
					<xsd:enumeration value="FNOP">
						<xsd:annotation>
							<xsd:documentation xml:lang="CS">Neoprávněný odběr</xsd:documentation>
							<xsd:documentation xml:lang="EN">Unauthorised offtake</xsd:documentation>
						</xsd:annotation>
					</xsd:enumeration>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="periodFrom" type="xsd:dateTime" use="required"/>
		<xsd:attribute name="periodTo" type="xsd:dateTime" use="required"/>
		<xsd:attribute name="quantity" use="required">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="-?\d{1,14}(\.\d{1,3})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="unit" use="required">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:maxLength value="6"/>
					<xsd:enumeration value="pc">
						<xsd:annotation>
							<xsd:documentation xml:lang="CS">Kus</xsd:documentation>
							<xsd:documentation xml:lang="EN">Piece</xsd:documentation>
						</xsd:annotation>
					</xsd:enumeration>
					<xsd:enumeration value="m3">
						<xsd:annotation>
							<xsd:documentation xml:lang="CS">Metr krychlový</xsd:documentation>
							<xsd:documentation xml:lang="EN">Cubic meter</xsd:documentation>
						</xsd:annotation>
					</xsd:enumeration>
					<xsd:enumeration value="kWh">
						<xsd:annotation>
							<xsd:documentation xml:lang="CS">Kilowatthodina</xsd:documentation>
							<xsd:documentation xml:lang="EN">Kilowatt hour</xsd:documentation>
						</xsd:annotation>
					</xsd:enumeration>
					<xsd:enumeration value=" ">
						<xsd:annotation>
							<xsd:documentation xml:lang="CS">Neuvedeno</xsd:documentation>
							<xsd:documentation xml:lang="EN">Not specified</xsd:documentation>
						</xsd:annotation>
					</xsd:enumeration>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="effect" use="optional">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="-?\d{1,12}(\.\d{1,12})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="percentage-effect" use="optional">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="-?\d{1,12}(\.\d{1,12})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="unitPrice">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="\d{1,9}(\.\d{1,5})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
		<xsd:attribute name="itemPrice" use="required">
			<xsd:simpleType>
				<xsd:restriction base="xsd:string">
					<xsd:pattern value="-?\d{1,12}(\.\d{1,2})?"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
	</xsd:complexType>
</xsd:schema>