<?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/idis" 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/idis" 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="CDSIDIS">
		<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="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="OPM" maxOccurs="unbounded">
					<xsd:annotation>
						<xsd:documentation xml:lang="CS">OPM</xsd:documentation>
						<xsd:documentation xml:lang="EN">PDT</xsd:documentation>
					</xsd:annotation>
					<xsd:complexType>
						<xsd:choice>
							<xsd:sequence>
								<xsd:element name="Pmax" type="pmax_type" minOccurs="0">
									<xsd:annotation>
										<xsd:documentation xml:lang="CS">Max. příkon</xsd:documentation>
										<xsd:documentation xml:lang="EN">Max. power input</xsd:documentation>
									</xsd:annotation>
								</xsd:element>
								<xsd:element name="ResCap" minOccurs="0">
									<xsd:annotation>
										<xsd:documentation xml:lang="CS">Rezervovaná kapacita</xsd:documentation>
										<xsd:documentation xml:lang="EN">Reserved capacity</xsd:documentation>
									</xsd:annotation>
									<xsd:complexType>
										<xsd:attribute name="rescap-month" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Rezervovaná kapacita - měsíční</xsd:documentation>
												<xsd:documentation xml:lang="EN">Reserved capacity - month</xsd:documentation>
											</xsd:annotation>
											<xsd:simpleType>
												<xsd:restriction base="qty_type"/>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="rescap-year" type="qty_type" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Rezervovaná kapacita - roční</xsd:documentation>
												<xsd:documentation xml:lang="EN">Reserved capacity - year</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
									</xsd:complexType>
								</xsd:element>
								<xsd:element name="SysServices" minOccurs="0">
									<xsd:annotation>
										<xsd:documentation xml:lang="CS">Systémové služby</xsd:documentation>
										<xsd:documentation xml:lang="EN">System services</xsd:documentation>
									</xsd:annotation>
									<xsd:complexType>
										<xsd:attribute name="cons-PSDS" type="qty_type" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Odebraná energie PS/DS nepodléhající platbě</xsd:documentation>
												<xsd:documentation xml:lang="EN">Consumed energy SP/DS - non-billable</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="cons-own" type="qty_type" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Spotřeba z vlastní výroby</xsd:documentation>
												<xsd:documentation xml:lang="EN">Energy consumption of own generation</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
									</xsd:complexType>
								</xsd:element>
								<xsd:element name="Ereact" type="ereact_type" minOccurs="0">
									<xsd:annotation>
										<xsd:documentation xml:lang="CS">Jalová energie</xsd:documentation>
										<xsd:documentation xml:lang="EN">Reactive energy</xsd:documentation>
									</xsd:annotation>
								</xsd:element>
								<xsd:element name="MP" minOccurs="0" maxOccurs="unbounded">
									<xsd:annotation>
										<xsd:documentation xml:lang="CS">Blok místo připojení v rámci DUF VO</xsd:documentation>
										<xsd:documentation xml:lang="EN">Segment Connection point within DGI ICS</xsd:documentation>
									</xsd:annotation>
									<xsd:complexType>
										<xsd:sequence>
											<xsd:element name="Pmax" type="pmax_type">
												<xsd:annotation>
													<xsd:documentation xml:lang="CS">Pmax</xsd:documentation>
													<xsd:documentation xml:lang="EN">Pmax</xsd:documentation>
												</xsd:annotation>
											</xsd:element>
										</xsd:sequence>
										<xsd:attribute name="id" type="xsd:string" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Číslo měřicího místa</xsd:documentation>
												<xsd:documentation xml:lang="EN">Number of metering point</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="name" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Název</xsd:documentation>
												<xsd:documentation xml:lang="EN">Name</xsd:documentation>
											</xsd:annotation>
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:maxLength value="12"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="qty" type="qty_type" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Odběr (-) / dodávka(+)</xsd:documentation>
												<xsd:documentation xml:lang="EN">Consumption (-) / generation (+)</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="tg-fi" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Hodnota učiníku</xsd:documentation>
												<xsd:documentation xml:lang="EN">Power factor value</xsd:documentation>
											</xsd:annotation>
											<xsd:simpleType>
												<xsd:restriction base="xsd:decimal">
													<xsd:fractionDigits value="5" fixed="false"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
									</xsd:complexType>
								</xsd:element>
							</xsd:sequence>
							<xsd:sequence>
								<xsd:element name="DataMO" minOccurs="0">
									<xsd:annotation>
										<xsd:documentation xml:lang="CS">Data OPM pro DUF MO</xsd:documentation>
										<xsd:documentation xml:lang="EN">Data of PDT for DGI RCS</xsd:documentation>
									</xsd:annotation>
									<xsd:complexType>
										<xsd:attribute name="inv_id" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Identifikátor faktury</xsd:documentation>
												<xsd:documentation xml:lang="EN">Invoice identification</xsd:documentation>
											</xsd:annotation>
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:maxLength value="10"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="qty-VT" type="qty_type" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Suma práce ve VT [kWh]</xsd:documentation>
												<xsd:documentation xml:lang="EN">Sum of energy in HT [kWh]</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="qty-NT" type="qty_type" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Suma práce ve NT  [kWh]</xsd:documentation>
												<xsd:documentation xml:lang="EN">Sum of energy in LT [kWh]</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="cir-breaker" type="qty_type" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Hodnota hlavního jističe [A] </xsd:documentation>
												<xsd:documentation xml:lang="EN">Main circuit breaker value [A] </xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="am-enVT" type="qty_type" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Platba za OPM VT</xsd:documentation>
												<xsd:documentation xml:lang="EN">Payment for PDT - HT</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="am-enNT" type="qty_type" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Platba za OPM NT</xsd:documentation>
												<xsd:documentation xml:lang="EN">Payment for PDT - LT</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="am-rescap" type="qty_type" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Celková platba za rezervovanou kapacitu v Kč bez DPH (jistič)</xsd:documentation>
												<xsd:documentation xml:lang="EN">Total payment for reserved capacity in Kč excluding VAT (circuit breaker)</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="am-renresource" type="qty_type" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Platba za obnovitelné zdroje (Kč)</xsd:documentation>
												<xsd:documentation xml:lang="EN">Renewable resources payment (Kč)</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="am-comresource" type="qty_type" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Platba za kombinovanou výrobu tepla (Kč)</xsd:documentation>
												<xsd:documentation xml:lang="EN">Combined heat generation payment (Kč)</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="am-distservice" type="qty_type" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Celková platba za distribuci[Kč bez DPH]</xsd:documentation>
												<xsd:documentation xml:lang="EN">Total payment for distribution [Kč excluding VAT]</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="am-sysservice" type="qty_type" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Platba za systémové služby[Kč bez DPH]</xsd:documentation>
												<xsd:documentation xml:lang="EN">System services payment [Kč excluding VAT]</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="am-oteservice" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Platba za činnost zúčtování operátora trhu s elektřinou[Kč bez DPH]</xsd:documentation>
												<xsd:documentation xml:lang="EN">Settlement operations payment of Electricity Market Operator [Kč excluding VAT]</xsd:documentation>
											</xsd:annotation>
											<xsd:simpleType>
												<xsd:restriction base="qty_type"/>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="am-mrdservice" type="qty_type" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Poplatek za odečet [Kč bez DPH]</xsd:documentation>
												<xsd:documentation xml:lang="EN">Meter reading payment [Kč excluding VAT]</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="num-phase" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">počet fází (Pouze u jističe (1 nebo 3))</xsd:documentation>
												<xsd:documentation xml:lang="EN">Number of phases (only with circuit breaker (1 or 3))</xsd:documentation>
											</xsd:annotation>
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:enumeration value="1"/>
													<xsd:enumeration value="3"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="qty-prod" type="qty_type" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Výroba [kWh]</xsd:documentation>
												<xsd:documentation xml:lang="EN">Production [kWh]</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
									</xsd:complexType>
								</xsd:element>
								<xsd:element name="PmaxMO" type="pmax_type" minOccurs="0">
									<xsd:annotation>
										<xsd:documentation xml:lang="CS">Max. příkon</xsd:documentation>
										<xsd:documentation xml:lang="EN">Max. power input</xsd:documentation>
									</xsd:annotation>
								</xsd:element>
								<xsd:element name="METER" minOccurs="0" maxOccurs="unbounded">
									<xsd:annotation>
										<xsd:documentation xml:lang="CS">Blok elektroměr v rámci DUF MO</xsd:documentation>
										<xsd:documentation xml:lang="EN">Segment of electrometer within DGI RCS</xsd:documentation>
									</xsd:annotation>
									<xsd:complexType>
										<xsd:attribute name="id" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Označení přístroje</xsd:documentation>
												<xsd:documentation xml:lang="EN">Meter identification</xsd:documentation>
											</xsd:annotation>
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:maxLength value="20"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="inv-per-from" type="date-or-yearmonth" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Počátek fakturačního období</xsd:documentation>
												<xsd:documentation xml:lang="EN">Beginning of invoicing period</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="inv-per-to" type="xsd:date" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Konec fakturačního období</xsd:documentation>
												<xsd:documentation xml:lang="EN">End of invoicing period</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="mr-status" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Důvod odečtu</xsd:documentation>
												<xsd:documentation xml:lang="EN">Meter reading reason</xsd:documentation>
											</xsd:annotation>
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:enumeration value="STM">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Naměřeno = standardní odečet</xsd:documentation>
															<xsd:documentation xml:lang="EN">Metered = standard meter reading</xsd:documentation>
														</xsd:annotation>
													</xsd:enumeration>
													<xsd:enumeration value="EST">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Odhad spotřeby</xsd:documentation>
															<xsd:documentation xml:lang="EN">Consumption estimation</xsd:documentation>
														</xsd:annotation>
													</xsd:enumeration>
													<xsd:enumeration value="CCB">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Změna jističe</xsd:documentation>
															<xsd:documentation xml:lang="EN">Change of circuit breaker</xsd:documentation>
														</xsd:annotation>
													</xsd:enumeration>
													<xsd:enumeration value="CPR">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Změna ceny</xsd:documentation>
															<xsd:documentation xml:lang="EN">Change of price</xsd:documentation>
														</xsd:annotation>
													</xsd:enumeration>
													<xsd:enumeration value="REP">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Oprava</xsd:documentation>
															<xsd:documentation xml:lang="EN">Correction</xsd:documentation>
														</xsd:annotation>
													</xsd:enumeration>
													<xsd:enumeration value="SMR">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Samoodečet</xsd:documentation>
															<xsd:documentation xml:lang="EN">Self meter reading</xsd:documentation>
														</xsd:annotation>
													</xsd:enumeration>
													<xsd:enumeration value="CPM">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Změna primárního  násobitele</xsd:documentation>
															<xsd:documentation xml:lang="EN">Change of primary multiplier</xsd:documentation>
														</xsd:annotation>
													</xsd:enumeration>
													<xsd:enumeration value="CHS">
														<xsd:annotation>
															<xsd:documentation xml:lang="CS">Změna dodavatele</xsd:documentation>
															<xsd:documentation xml:lang="EN">Change of supplier</xsd:documentation>
														</xsd:annotation>
													</xsd:enumeration>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
										<xsd:attribute name="prim-multiplier" type="qty_type" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Primární násobitel</xsd:documentation>
												<xsd:documentation xml:lang="EN">Primary multiplier</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="qtyVT" type="qty_type" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Množství ve VT</xsd:documentation>
												<xsd:documentation xml:lang="EN">Quantity in high tarrif</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="qtyNT" type="qty_type" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Množství v NT</xsd:documentation>
												<xsd:documentation xml:lang="EN">Quantity in low tarriff</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="mr-readVTs" type="qty_type" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Počáteční stav VT</xsd:documentation>
												<xsd:documentation xml:lang="EN">Initial state HT</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="mr-readVTe" type="qty_type" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Koncový stav VT</xsd:documentation>
												<xsd:documentation xml:lang="EN">Final state HT</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="mr-readNTs" type="qty_type" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Počáteční stav NT</xsd:documentation>
												<xsd:documentation xml:lang="EN">Initial state LT</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="mr-readNTe" type="qty_type" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Koncový stav NT</xsd:documentation>
												<xsd:documentation xml:lang="EN">Final state LT</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="mr-addbillVT" type="qty_type" use="required">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Doúčtování práce VT</xsd:documentation>
												<xsd:documentation xml:lang="EN">Additional billing of HT work</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="mr-addbillNT" type="qty_type" use="optional">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Doúčtování práce NT</xsd:documentation>
												<xsd:documentation xml:lang="EN">Additional billing of LT work</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="up-enVT" type="unit_price_type">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Jednotková cena - platba za distribuované množství ve vysokém tarifu (Kč/MWh)</xsd:documentation>
												<xsd:documentation xml:lang="EN">Unit price - payment for distributed quantity in high tarriff (CZK/MWh)</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="up-enNT" type="unit_price_type">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Jednotková cena - platba za distribuované množství v nízkém tarifu (Kč/MWh)</xsd:documentation>
												<xsd:documentation xml:lang="EN">Unit price - payment for distributed quantity in low tarriff (CZK/MWh)</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="flatp-rescap" type="unit_price_type">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Jednotková cena - platba za příkon (jistič) - paušální cena za jistič</xsd:documentation>
												<xsd:documentation xml:lang="EN">Unit price - payment for circuit breaker - flat price for breaker
</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="up-rescap" type="unit_price_type">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Jednotková cena - platba za příkon (jistič) - cena za A (Kč/A)</xsd:documentation>
												<xsd:documentation xml:lang="EN">Unit price - payment for circuit breaker - price per A (CZK/A)</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="up-sysservice" type="unit_price_type">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Jednotková cena - platba za systémové služby (Kč/MWh)</xsd:documentation>
												<xsd:documentation xml:lang="EN">Unit price - payment for system services (CZK/MWh)</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="up-oteservice" type="unit_price_type">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Jednotková cena - platba za služby zúčtování OTE (Kč/MWh)</xsd:documentation>
												<xsd:documentation xml:lang="EN">Unit price - payment for MO  settlement service (CZK/MWh)</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="up-renressource" type="unit_price_type">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Jednotková cena - platba za obnovitelné zdroje (Kč/MWh)</xsd:documentation>
												<xsd:documentation xml:lang="EN">Unit price - payment for renewvable ressources (CZK/MWh)</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="up-comressource" type="unit_price_type">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Jednotková cena - platba za zdroje kombinované výroby elektřiny a tepla (Kč/MWh)</xsd:documentation>
												<xsd:documentation xml:lang="EN">Unit price - payment for combined heat and electricity ressources</xsd:documentation>
											</xsd:annotation>
										</xsd:attribute>
										<xsd:attribute name="dist-rate-type">
											<xsd:annotation>
												<xsd:documentation xml:lang="CS">Distribuční sazba </xsd:documentation>
												<xsd:documentation xml:lang="EN">Distribution tarriff rate type</xsd:documentation>
											</xsd:annotation>
											<xsd:simpleType>
												<xsd:restriction base="xsd:string">
													<xsd:minLength value="1"/>
													<xsd:maxLength value="8"/>
												</xsd:restriction>
											</xsd:simpleType>
										</xsd:attribute>
									</xsd:complexType>
								</xsd:element>
							</xsd:sequence>
						</xsd:choice>
						<xsd:attribute name="id" type="ote:ean18" use="required">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">EAN18 identifikující lokalitu (OPM)</xsd:documentation>
								<xsd:documentation xml:lang="EN">EAN18 - Locality (PDT) identification </xsd:documentation>
							</xsd:annotation>
						</xsd:attribute>
						<xsd:attribute name="qty" type="qty_type" use="optional">
							<xsd:annotation>
								<xsd:documentation>Množství</xsd:documentation>
							</xsd:annotation>
						</xsd:attribute>
						<xsd:attribute name="inv-per-from" type="date-or-yearmonth" use="required">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Počátek fakturačního období (pro status NEF u DUF MO interval od)</xsd:documentation>
								<xsd:documentation xml:lang="EN">Beginning of invoicing period (for status NEF in DGI RCS interval from)</xsd:documentation>
							</xsd:annotation>
						</xsd:attribute>
						<xsd:attribute name="inv-per-to" type="xsd:date" use="optional">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Konec fakturačního období (pro status NEF u DUF MO interval do)</xsd:documentation>
								<xsd:documentation xml:lang="EN">End of invoicing period (for status NEF in DGI RCS interval to)</xsd:documentation>
							</xsd:annotation>
						</xsd:attribute>
						<xsd:attribute name="name" use="optional">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Název</xsd:documentation>
								<xsd:documentation xml:lang="EN">Name</xsd:documentation>
							</xsd:annotation>
							<xsd:simpleType>
								<xsd:restriction base="xsd:string">
									<xsd:maxLength value="30"/>
								</xsd:restriction>
							</xsd:simpleType>
						</xsd:attribute>
						<xsd:attribute name="supplyDS-qty" type="qty_type" use="optional">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Dodávka do DS - množství</xsd:documentation>
								<xsd:documentation xml:lang="EN">DS supply - quantity</xsd:documentation>
							</xsd:annotation>
						</xsd:attribute>
						<xsd:attribute name="status" use="required">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Status zprávy (společný pro MO i VO)</xsd:documentation>
								<xsd:documentation xml:lang="EN">Message status (common for RCS and ICS)</xsd:documentation>
							</xsd:annotation>
							<xsd:simpleType>
								<xsd:restriction base="xsd:string">
									<xsd:enumeration value="INV">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Fakturace/První platná hodnota</xsd:documentation>
											<xsd:documentation xml:lang="EN">Invoicing/First valid value</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="ESP">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Ukončení odběru</xsd:documentation>
											<xsd:documentation xml:lang="EN">Consumption termination</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="COR">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Opravná fakturace/Oprava minulého období</xsd:documentation>
											<xsd:documentation xml:lang="EN">Correcting invoicing/Correction of previous period</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="CAN">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Zrušení (storno)</xsd:documentation>
											<xsd:documentation xml:lang="EN">Cancellation</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="EXI">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Mimořádný odečet</xsd:documentation>
											<xsd:documentation xml:lang="EN">Extra meter reading</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="NEF">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Informační – změna ceny- není fakturace OPM, jen informace a pro clearing</xsd:documentation>
											<xsd:documentation xml:lang="EN">Informative – change of price- PDT not invoiced, only for information and clearing</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="HST">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Změna dodavatele</xsd:documentation>
											<xsd:documentation xml:lang="EN">Change of supplier</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 v rámci procesu clearingu</xsd:documentation>
								<xsd:documentation xml:lang="EN">Data version within the clearing process</xsd:documentation>
							</xsd:annotation>
							<xsd:simpleType>
								<xsd:restriction base="xsd:string">
									<xsd:enumeration value="00">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Verze dat - data pro denní zúčtování</xsd:documentation>
											<xsd:documentation xml:lang="EN">Data version - data for daily settlement</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="01">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Verze dat - data pro předběžné měsíční zúčtování</xsd:documentation>
											<xsd:documentation xml:lang="EN">Data version - data for preliminary monthly settlement</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="10">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Verze dat - data pro měsíční zúčtování</xsd:documentation>
											<xsd:documentation xml:lang="EN">Data version - data for monthly settlement</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="11">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Verze dat - data pro měsíční clearing</xsd:documentation>
											<xsd:documentation xml:lang="EN">Data version - data for monthly clearing</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="20">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Verze dat - data pro závěrečné měsíční zúčtování</xsd:documentation>
											<xsd:documentation xml:lang="EN">Data version - data for final monthly settlement</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="21">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Verze dat - data pro závěrečný měsíční clearing</xsd:documentation>
											<xsd:documentation xml:lang="EN">Data version - data for final monthly clearing</xsd:documentation>
										</xsd:annotation>
									</xsd:enumeration>
									<xsd:enumeration value="30">
										<xsd:annotation>
											<xsd:documentation xml:lang="CS">Verze dat - data po provedení clearing zaslaná dodatečně v rámci reklamací DUF MO</xsd:documentation>
											<xsd:documentation xml:lang="EN">Data version - data sended after clearing proces due to the claim processes</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:complexType>
				</xsd:element>
				<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">Identifikátor zprávy</xsd:documentation>
					<xsd:documentation xml:lang="EN">Message identification</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
			<xsd:attribute name="message-code" use="required">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Kód zprávy upřesňující obsah zprávy.</xsd:documentation>
					<xsd:documentation xml:lang="EN">Message code specifying the message content.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:enumeration value="123">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Skutečná data pro fakturaci distribuce</xsd:documentation>
								<xsd:documentation xml:lang="EN">Base data of DGI ICS</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="126">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Podklady DUF MO</xsd:documentation>
								<xsd:documentation xml:lang="EN">Base data of DGI RCS</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="234">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Skutečná data pro fakturaci distribuce - výstup z CDS</xsd:documentation>
								<xsd:documentation xml:lang="EN">Base data of DGI ICS - output</xsd:documentation>
							</xsd:annotation>
						</xsd:enumeration>
						<xsd:enumeration value="240">
							<xsd:annotation>
								<xsd:documentation xml:lang="CS">Podklady DUF MO - výstupní zpráva CDS</xsd:documentation>
								<xsd:documentation xml:lang="EN">Base data of DGI RCS - output</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="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="interval" use="optional">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Interval platnosti dat</xsd:documentation>
					<xsd:documentation xml:lang="EN">Data validity interval</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:pattern value="\d{4}-\d\d-\d\dT\d\d:\d\d(:\d\d)?/\d{4}-\d\d-\d\dT\d\d:\d\d(:\d\d)?"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:attribute>
			<xsd:attribute name="dtd-version" type="xsd:string" use="required" fixed="1">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Rezervováno pro příští verze, zatím 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 příští verze, zatím 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="answer-required" type="xsd:boolean" use="required">
				<xsd:annotation>
					<xsd:documentation xml:lang="CS">Indikace požadavku na odpověď (1=ANO, 0=NE)</xsd:documentation>
					<xsd:documentation xml:lang="EN">Indication of request for response (1=YES, 0=NO)</xsd:documentation>
				</xsd:annotation>
			</xsd:attribute>
		</xsd:complexType>
	</xsd:element>
	<xsd:complexType name="pmax_type">
		<xsd:annotation>
			<xsd:documentation xml:lang="CS">Typ pro element Pmax</xsd:documentation>
			<xsd:documentation xml:lang="EN">Type of Pmax element</xsd:documentation>
		</xsd:annotation>
		<xsd:attribute name="date-time" type="date-hour-minute" use="required">
			<xsd:annotation>
				<xsd:documentation xml:lang="CS">Datum a čas periody</xsd:documentation>
				<xsd:documentation xml:lang="EN">Date and time of period</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="qty" use="required">
			<xsd:annotation>
				<xsd:documentation xml:lang="CS">Max. příkon (Pmax) / zpětná dodávka (Preact)</xsd:documentation>
				<xsd:documentation xml:lang="EN">Max. power input (Pmax) / return delivery (Preact)</xsd:documentation>
			</xsd:annotation>
			<xsd:simpleType>
				<xsd:restriction base="qty_type"/>
			</xsd:simpleType>
		</xsd:attribute>
	</xsd:complexType>
	<xsd:complexType name="ereact_type">
		<xsd:annotation>
			<xsd:documentation xml:lang="CS">Typ pro jalovou energii za OPM</xsd:documentation>
			<xsd:documentation xml:lang="EN">Reactive energy type per PDT</xsd:documentation>
		</xsd:annotation>
		<xsd:attribute name="date-time" type="xsd:dateTime" use="optional">
			<xsd:annotation>
				<xsd:documentation xml:lang="CS">Datum a čas</xsd:documentation>
				<xsd:documentation xml:lang="EN">Date and time</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="qty" type="qty_type" use="optional">
			<xsd:annotation>
				<xsd:documentation xml:lang="CS">Množství</xsd:documentation>
				<xsd:documentation xml:lang="EN">Quantity</xsd:documentation>
			</xsd:annotation>
		</xsd:attribute>
		<xsd:attribute name="tg-fi" use="optional">
			<xsd:annotation>
				<xsd:documentation xml:lang="CS">Hodnota učiníku</xsd:documentation>
				<xsd:documentation xml:lang="EN">Power factor value</xsd:documentation>
			</xsd:annotation>
			<xsd:simpleType>
				<xsd:restriction base="xsd:decimal">
					<xsd:fractionDigits value="5" fixed="false"/>
				</xsd:restriction>
			</xsd:simpleType>
		</xsd:attribute>
	</xsd:complexType>
	<xsd:simpleType name="qty_type">
		<xsd:annotation>
			<xsd:documentation xml:lang="CS">Desetinné číslo na max. tři des. místa (ne exponenciální tvar)</xsd:documentation>
			<xsd:documentation xml:lang="EN">Decimal number - max. 3 decimal places (not an exponential form)</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="16"/>
			<xsd:pattern value="-?\d+(\.\d{1,3})?"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="date-or-yearmonth" final="restriction">
		<xsd:annotation>
			<xsd:documentation xml:lang="CS">YYYY-MM-DD nebo YYYY-MM</xsd:documentation>
			<xsd:documentation xml:lang="EN">YYYY-MM-DD or YYYY-MM</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="\d\d\d\d-\d\d(-\d\d)?"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="date-hour-minute">
		<xsd:annotation>
			<xsd:documentation xml:lang="CS">Datum a čas s nepovinnými sekundami (formát YYYY-MM-DDThh:mm nebo YYYY-MM-DDThh:mm:ss)</xsd:documentation>
			<xsd:documentation xml:lang="EN">Date and time - seconds are optional (format YYYY-MM-DDThh:mm or YYYY-MM-DDThh:mm:ss)</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:pattern value="\d{4}-\d\d-\d\dT\d\d:\d\d(:\d\d)?"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="unit_price_type">
		<xsd:annotation>
			<xsd:documentation>Jednotková cena - desetinné číslo na max 14 des. míst</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="xsd:string">
			<xsd:maxLength value="31"/>
			<xsd:pattern value="\d+(\.\d{1,14})?"/>
		</xsd:restriction>
	</xsd:simpleType>
</xsd:schema>
