<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- edited with XMLSpy v2008 sp1 (http://www.altova.com) by Martin Hnizdil (DELINFO, spol. s r.o.) -->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://www.w3.org/XML/1998/namespace"/>
	<xs:element name="dasta">
		<xs:annotation>
			<xs:documentation>Sada</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="zdroj_is">
					<xs:annotation>
						<xs:documentation>zdroj</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:attribute name="kod_firmy" type="String8" use="required">
							<xs:annotation>
								<xs:documentation>kód firmy</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="kod_prog" type="StringMax8" use="required">
							<xs:annotation>
								<xs:documentation>kód programu</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="verze_prog" type="StringMax8">
							<xs:annotation>
								<xs:documentation>verze programu</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="liccis_prog" type="StringMax8">
							<xs:annotation>
								<xs:documentation>licenční číslo programu</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:element name="pm">
					<xs:annotation>
						<xs:documentation>příjemce</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="as" type="AdresaSpojeni">
								<xs:annotation>
									<xs:documentation>adresa spojení</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="a" type="Adresa" minOccurs="0"/>
						</xs:sequence>
						<xs:attribute name="ico" type="String8">
							<xs:annotation>
								<xs:documentation>identifikační číslo organizace</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
				<xs:choice>
					<xs:element name="is">
						<xs:annotation>
							<xs:documentation>zasílaná data</xs:documentation>
						</xs:annotation>
						<xs:complexType>
							<xs:sequence>
								<xs:element name="as" type="AdresaSpojeni">
									<xs:annotation>
										<xs:documentation>adresa spojení</xs:documentation>
									</xs:annotation>
								</xs:element>
								<xs:element name="a" type="Adresa" minOccurs="0"/>
								<xs:element name="ihe">
									<xs:annotation>
										<xs:documentation>hygiena a epidemiologie</xs:documentation>
									</xs:annotation>
									<xs:complexType>
										<xs:sequence>
											<xs:element name="idv">
												<xs:annotation>
													<xs:documentation>jakost vody</xs:documentation>
												</xs:annotation>
												<xs:complexType>
													<xs:choice>
														<xs:element name="vzv" maxOccurs="unbounded">
															<xs:annotation>
																<xs:documentation>vzorek vody</xs:documentation>
															</xs:annotation>
															<xs:complexType>
																<xs:sequence>
																	<xs:element name="a" type="Adresa">
																		<xs:annotation>
																			<xs:documentation>adresa místa odběru</xs:documentation>
																		</xs:annotation>
																	</xs:element>
																	<xs:choice>
																		<xs:element name="mo">
																			<xs:annotation>
																				<xs:documentation>místo odběru (profil)</xs:documentation>
																			</xs:annotation>
																			<xs:complexType>
																				<xs:attribute name="kmo" use="required">
																					<xs:annotation>
																						<xs:documentation>kód místa odběru</xs:documentation>
																					</xs:annotation>
																					<xs:simpleType>
																						<xs:restriction base="xs:string">
																							<xs:maxLength value="20"/>
																						</xs:restriction>
																					</xs:simpleType>
																				</xs:attribute>
																				<xs:attribute name="utj">
																					<xs:annotation>
																						<xs:documentation>kód územně technické jednotky</xs:documentation>
																					</xs:annotation>
																					<xs:simpleType>
																						<xs:restriction base="xs:string">
																							<xs:length value="6"/>
																						</xs:restriction>
																					</xs:simpleType>
																				</xs:attribute>
																				<xs:attribute name="mol">
																					<xs:annotation>
																						<xs:documentation>kód místa odběru použitý v LIS</xs:documentation>
																					</xs:annotation>
																					<xs:simpleType>
																						<xs:restriction base="xs:string">
																							<xs:maxLength value="16"/>
																						</xs:restriction>
																					</xs:simpleType>
																				</xs:attribute>
																			</xs:complexType>
																		</xs:element>
																		<xs:element name="rmo">
																			<xs:annotation>
																				<xs:documentation>registrace místa odběru - lokalita</xs:documentation>
																			</xs:annotation>
																			<xs:complexType>
																				<xs:sequence>
																					<xs:element name="rmob" minOccurs="0">
																						<xs:annotation>
																							<xs:documentation>místo odběru </xs:documentation>
																						</xs:annotation>
																						<xs:complexType>
																							<xs:attribute name="nadr_id">
																								<xs:annotation>
																									<xs:documentation>identifikátor nádrže</xs:documentation>
																								</xs:annotation>
																								<xs:simpleType>
																									<xs:restriction base="xs:string">
																										<xs:length value="12"/>
																									</xs:restriction>
																								</xs:simpleType>
																							</xs:attribute>
																							<xs:attribute name="zs">
																								<xs:annotation>
																									<xs:documentation>zeměpisná šířka</xs:documentation>
																								</xs:annotation>
																								<xs:simpleType>
																									<xs:restriction base="xs:string">
																										<xs:length value="8"/>
																										<xs:pattern value="[NS]\s([0-8][0-9])|(90)([0-5][0-9]){2}"/>
																									</xs:restriction>
																								</xs:simpleType>
																							</xs:attribute>
																							<xs:attribute name="zd">
																								<xs:annotation>
																									<xs:documentation>zeměpisná délka</xs:documentation>
																								</xs:annotation>
																								<xs:simpleType>
																									<xs:restriction base="xs:string">
																										<xs:length value="8"/>
																										<xs:pattern value="[WE]\s[0-9]{2}([0-5][0-9]){2}"/>
																									</xs:restriction>
																								</xs:simpleType>
																							</xs:attribute>
																							<xs:attribute name="pvz">
																								<xs:annotation>
																									<xs:documentation>počet vzorků</xs:documentation>
																								</xs:annotation>
																								<xs:simpleType>
																									<xs:restriction base="xs:string">
																										<xs:length value="1"/>
																										<xs:pattern value="[1-9]"/>
																									</xs:restriction>
																								</xs:simpleType>
																							</xs:attribute>
																							<xs:attribute name="pna">
																								<xs:annotation>
																									<xs:documentation>projektovaná denní návštěvnost</xs:documentation>
																								</xs:annotation>
																								<xs:simpleType>
																									<xs:restriction base="xs:string">
																										<xs:maxLength value="6"/>
																										<xs:pattern value="\d"/>
																									</xs:restriction>
																								</xs:simpleType>
																							</xs:attribute>
																						</xs:complexType>
																					</xs:element>
																				</xs:sequence>
																				<xs:attribute name="klo" type="StringMax35">
																					<xs:annotation>
																						<xs:documentation>kód lokality</xs:documentation>
																					</xs:annotation>
																				</xs:attribute>
																				<xs:attribute name="utj">
																					<xs:annotation>
																						<xs:documentation>kód územně technické jednotky</xs:documentation>
																					</xs:annotation>
																					<xs:simpleType>
																						<xs:restriction base="xs:string">
																							<xs:length value="6"/>
																						</xs:restriction>
																					</xs:simpleType>
																				</xs:attribute>
																				<xs:attribute name="mol" use="required">
																					<xs:annotation>
																						<xs:documentation>kód místa odběru použitý v LIS</xs:documentation>
																					</xs:annotation>
																					<xs:simpleType>
																						<xs:restriction base="xs:string">
																							<xs:maxLength value="16"/>
																						</xs:restriction>
																					</xs:simpleType>
																				</xs:attribute>
																				<xs:attribute name="mon" use="required">
																					<xs:annotation>
																						<xs:documentation>název odběrného místa</xs:documentation>
																					</xs:annotation>
																					<xs:simpleType>
																						<xs:restriction base="xs:string">
																							<xs:maxLength value="64"/>
																						</xs:restriction>
																					</xs:simpleType>
																				</xs:attribute>
																				<xs:attribute name="uvp">
																					<xs:annotation>
																						<xs:documentation>ulice</xs:documentation>
																					</xs:annotation>
																					<xs:simpleType>
																						<xs:restriction base="xs:string">
																							<xs:maxLength value="48"/>
																						</xs:restriction>
																					</xs:simpleType>
																				</xs:attribute>
																				<xs:attribute name="cp">
																					<xs:annotation>
																						<xs:documentation>číslo popisné</xs:documentation>
																					</xs:annotation>
																					<xs:simpleType>
																						<xs:restriction base="xs:string">
																							<xs:maxLength value="4"/>
																							<xs:pattern value="[1-9][0-9]*"/>
																						</xs:restriction>
																					</xs:simpleType>
																				</xs:attribute>
																				<xs:attribute name="cor">
																					<xs:annotation>
																						<xs:documentation>číslo orientační</xs:documentation>
																					</xs:annotation>
																					<xs:simpleType>
																						<xs:restriction base="xs:string">
																							<xs:maxLength value="10"/>
																						</xs:restriction>
																					</xs:simpleType>
																				</xs:attribute>
																				<xs:attribute name="mop">
																					<xs:annotation>
																						<xs:documentation>upřesnění místa</xs:documentation>
																					</xs:annotation>
																					<xs:simpleType>
																						<xs:restriction base="xs:string">
																							<xs:maxLength value="250"/>
																						</xs:restriction>
																					</xs:simpleType>
																				</xs:attribute>
																				<xs:attribute name="mot" use="required">
																					<xs:annotation>
																						<xs:documentation>typ místa odběru</xs:documentation>
																					</xs:annotation>
																					<xs:simpleType>
																						<xs:restriction base="xs:string">
																							<xs:length value="1"/>
																						</xs:restriction>
																					</xs:simpleType>
																				</xs:attribute>
																			</xs:complexType>
																		</xs:element>
																	</xs:choice>
																	<xs:element name="hu" maxOccurs="unbounded">
																		<xs:annotation>
																			<xs:documentation>hodnota ukazatele</xs:documentation>
																		</xs:annotation>
																		<xs:complexType>
																			<xs:sequence>
																				<xs:element name="hodnota" type="HodnotaTyp">
																					<xs:annotation>
																						<xs:documentation>naměřená hodnota</xs:documentation>
																					</xs:annotation>
																				</xs:element>
																				<xs:element name="pozn" type="PoznTyp" minOccurs="0"/>
																				<xs:element name="hsu" minOccurs="0" maxOccurs="unbounded">
																					<xs:annotation>
																						<xs:documentation>hodnota složky ukazatele</xs:documentation>
																					</xs:annotation>
																					<xs:complexType>
																						<xs:sequence>
																							<xs:element name="hodnota" type="HodnotaTyp">
																								<xs:annotation>
																									<xs:documentation>naměřená hodnota</xs:documentation>
																								</xs:annotation>
																							</xs:element>
																							<xs:element name="pozn" type="PoznTyp" minOccurs="0"/>
																						</xs:sequence>
																						<xs:attributeGroup ref="AtributyUkazatele"/>
																					</xs:complexType>
																				</xs:element>
																			</xs:sequence>
																			<xs:attributeGroup ref="AtributyUkazatele"/>
																		</xs:complexType>
																	</xs:element>
																</xs:sequence>
																<xs:attribute name="ivz" type="StringMax32" use="required">
																	<xs:annotation>
																		<xs:documentation>identifikace vzorku</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="idl" type="StringMax32" use="required">
																	<xs:annotation>
																		<xs:documentation>označení vzorku</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="idk">
																	<xs:annotation>
																		<xs:documentation>číslo kusu vzorku</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:length value="1"/>
																			<xs:pattern value="\d"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
																<xs:attribute name="odd" type="type_dat" use="required">
																	<xs:annotation>
																		<xs:documentation>datum a čas odběru</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="odjm" type="StringMax24" use="required">
																	<xs:annotation>
																		<xs:documentation>odebral - jméno</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="odpr" type="StringMax35" use="required">
																	<xs:annotation>
																		<xs:documentation>odebral - příjmení</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="pda" type="type_dat">
																	<xs:annotation>
																		<xs:documentation>datum a čas příjmu</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="prjm" type="StringMax24">
																	<xs:annotation>
																		<xs:documentation>přijal - jméno</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="prpr" type="StringMax35">
																	<xs:annotation>
																		<xs:documentation>přijal - příjmení</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="dan" type="type_dat" use="required">
																	<xs:annotation>
																		<xs:documentation>datum a čas analýzy</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="duv" use="required">
																	<xs:annotation>
																		<xs:documentation>důvod odběru</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:length value="1"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
																<xs:attribute name="puv" use="required">
																	<xs:annotation>
																		<xs:documentation>původce dat</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:length value="1"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
																<xs:attribute name="roz" use="required">
																	<xs:annotation>
																		<xs:documentation>typ rozboru</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:length value="1"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
																<xs:attribute name="ico" use="required">
																	<xs:annotation>
																		<xs:documentation>objednatel rozboru</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:maxLength value="10"/>
																			<xs:minLength value="8"/>
																			<xs:pattern value="[0-9]{8}|[0-9]{10}"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
															</xs:complexType>
														</xs:element>
														<xs:element name="vzvp" maxOccurs="unbounded">
															<xs:annotation>
																<xs:documentation>potvrzení zpracování vzorku</xs:documentation>
															</xs:annotation>
															<xs:complexType>
																<xs:sequence>
																	<xs:element name="mop" minOccurs="0">
																		<xs:annotation>
																			<xs:documentation>potvrzení registrace MO</xs:documentation>
																		</xs:annotation>
																		<xs:complexType>
																			<xs:attribute name="kmo" use="required">
																				<xs:annotation>
																					<xs:documentation>kód místa odběru</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:maxLength value="20"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																			<xs:attribute name="stv" use="required">
																				<xs:annotation>
																					<xs:documentation>stav zpracování</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:length value="3"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																			<xs:attribute name="mol" use="required">
																				<xs:annotation>
																					<xs:documentation>kód místa odběru použitý v LIS</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:maxLength value="16"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																		</xs:complexType>
																	</xs:element>
																	<xs:element name="hup" minOccurs="0" maxOccurs="unbounded">
																		<xs:annotation>
																			<xs:documentation>potvrzení hodnoty ukazatele</xs:documentation>
																		</xs:annotation>
																		<xs:complexType>
																			<xs:attribute name="uka" use="required">
																				<xs:annotation>
																					<xs:documentation>kód ukazatele</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:maxLength value="16"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																			<xs:attribute name="stv" use="required">
																				<xs:annotation>
																					<xs:documentation>stav</xs:documentation>
																				</xs:annotation>
																				<xs:simpleType>
																					<xs:restriction base="xs:string">
																						<xs:length value="3"/>
																					</xs:restriction>
																				</xs:simpleType>
																			</xs:attribute>
																		</xs:complexType>
																	</xs:element>
																</xs:sequence>
																<xs:attribute name="idv" type="StringMax32" use="required">
																	<xs:annotation>
																		<xs:documentation>identifikátor vzorku</xs:documentation>
																	</xs:annotation>
																</xs:attribute>
																<xs:attribute name="stv" use="required">
																	<xs:annotation>
																		<xs:documentation>stav zpracování</xs:documentation>
																	</xs:annotation>
																	<xs:simpleType>
																		<xs:restriction base="xs:string">
																			<xs:length value="3"/>
																		</xs:restriction>
																	</xs:simpleType>
																</xs:attribute>
															</xs:complexType>
														</xs:element>
													</xs:choice>
													<xs:attribute name="ids" type="StringMax32" use="required">
														<xs:annotation>
															<xs:documentation>identifikace sady</xs:documentation>
														</xs:annotation>
													</xs:attribute>
												</xs:complexType>
											</xs:element>
										</xs:sequence>
									</xs:complexType>
								</xs:element>
							</xs:sequence>
							<xs:attribute name="ico" type="String8">
								<xs:annotation>
									<xs:documentation>identifikační číslo organizace</xs:documentation>
								</xs:annotation>
							</xs:attribute>
							<xs:attribute name="oavl">
								<xs:annotation>
									<xs:documentation>osvědčení o autorizaci vydaného laboratoři</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="11"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:attribute>
						</xs:complexType>
					</xs:element>
					<xs:element name="pd">
						<xs:annotation>
							<xs:documentation>potvrzení doručení (Sada E)</xs:documentation>
						</xs:annotation>
						<xs:complexType>
							<xs:sequence>
								<xs:element name="chyba_pd" minOccurs="0" maxOccurs="unbounded">
									<xs:annotation>
										<xs:documentation>popis chyby</xs:documentation>
									</xs:annotation>
									<xs:complexType>
										<xs:simpleContent>
											<xs:extension base="xs:string">
												<xs:attribute name="kod" use="required">
													<xs:annotation>
														<xs:documentation>kód chyby</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:maxLength value="3"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="lokalizace">
													<xs:annotation>
														<xs:documentation>specifikace, případně lokalizace chyby v souboru</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:maxLength value="64"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="osetreni">
													<xs:annotation>
														<xs:documentation>ošetření chyby</xs:documentation>
													</xs:annotation>
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:length value="1"/>
															<xs:enumeration value="O"/>
															<xs:enumeration value="I"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="popis" type="StringMax255">
													<xs:annotation>
														<xs:documentation>popis chyby</xs:documentation>
													</xs:annotation>
												</xs:attribute>
											</xs:extension>
										</xs:simpleContent>
									</xs:complexType>
								</xs:element>
								<xs:element name="as" type="AdresaSpojeni">
									<xs:annotation>
										<xs:documentation>adresa spojení</xs:documentation>
									</xs:annotation>
								</xs:element>
								<xs:element name="dat_ps">
									<xs:annotation>
										<xs:documentation>datum a čas přijetí původního zaslaného souboru</xs:documentation>
									</xs:annotation>
									<xs:complexType>
										<xs:simpleContent>
											<xs:extension base="type_dat">
												<xs:attribute name="format">
													<xs:simpleType>
														<xs:restriction base="xs:string">
															<xs:maxLength value="3"/>
															<xs:enumeration value="D"/>
															<xs:enumeration value="DT"/>
															<xs:enumeration value="DTS"/>
															<xs:enumeration value="MR"/>
															<xs:enumeration value="R"/>
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
											</xs:extension>
										</xs:simpleContent>
									</xs:complexType>
								</xs:element>
							</xs:sequence>
							<xs:attribute name="id_soubor" use="required">
								<xs:annotation>
									<xs:documentation>identifikace přijatého souboru</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:maxLength value="40"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:attribute>
							<xs:attribute name="stav" use="required">
								<xs:annotation>
									<xs:documentation>stav přijetí</xs:documentation>
								</xs:annotation>
								<xs:simpleType>
									<xs:restriction base="xs:string">
										<xs:length value="1"/>
										<xs:enumeration value="A"/>
										<xs:enumeration value="N"/>
										<xs:enumeration value="O"/>
									</xs:restriction>
								</xs:simpleType>
							</xs:attribute>
						</xs:complexType>
					</xs:element>
				</xs:choice>
			</xs:sequence>
			<xs:attribute name="id_soubor" use="required">
				<xs:annotation>
					<xs:documentation>jednoznačná vnitřní identifikace souboru</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="40"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="verze_ds" use="required">
				<xs:annotation>
					<xs:documentation>verze datové struktury</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="String8">
						<xs:pattern value="[0-9]{2}.[0-9]{2}.[0-9]{2}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="verze_nclp" use="required">
				<xs:annotation>
					<xs:documentation>verze používaného NČLP</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="String8">
						<xs:pattern value="[0-9]{2}.[0-9]{2}.[0-9]{2}"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="bin_priloha" use="required">
				<xs:annotation>
					<xs:documentation>binární datové bloky</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="1"/>
						<xs:enumeration value="T"/>
						<xs:enumeration value="B"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="ur" use="required">
				<xs:annotation>
					<xs:documentation>určení (H = PiVo)</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="1"/>
						<xs:enumeration value="H"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="typ_odesm" use="required">
				<xs:annotation>
					<xs:documentation>typ odesílajícího místa</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="2"/>
						<xs:enumeration value="LL"/>
						<xs:enumeration value="LJ"/>
						<xs:enumeration value="XX"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="ozn_soub" use="required">
				<xs:annotation>
					<xs:documentation>doplňující označení odesílaného souboru </xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="5"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="potvrzeni" default="N">
				<xs:annotation>
					<xs:documentation>požadavek na potvrzení přijetí souboru</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:length value="1"/>
						<xs:enumeration value="N"/>
						<xs:enumeration value="P"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="dat_vb" type="xs:dateTime" use="required">
				<xs:annotation>
					<xs:documentation>datum a čas vytvoření bloku </xs:documentation>
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
	<xs:simpleType name="StringMax8">
		<xs:annotation>
			<xs:documentation>Textový řetězec o maximálně 8 znacích.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="8"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="StringMax255">
		<xs:annotation>
			<xs:documentation>Textový řetězec o maximálně 255 znacích.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="255"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="String8">
		<xs:annotation>
			<xs:documentation>Textový řetězec délky 8 znaků.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:length value="8"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="StringMax35">
		<xs:annotation>
			<xs:documentation>Textový řetězec o maximálně 35 znaků.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="35"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="type_dat">
		<xs:annotation>
			<xs:documentation>Typ formalizovaného data a/nebo času.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="19"/>
			<xs:pattern value="((19)|(2[01]))[0-9]{2}-((0[0-9])|(1[012]))-(([0-2][0-9])|(3[01]))(T(([01][0-9])|(2[0-4]))(:[0-5][0-9]){1,2}){0,1}"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="StringMax32">
		<xs:annotation>
			<xs:documentation>Textový řetězec o maximálně 32 znacích.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="32"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="StringMax24">
		<xs:annotation>
			<xs:documentation>Textový řetězec o maximálně 24 znacích.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:maxLength value="24"/>
		</xs:restriction>
	</xs:simpleType>
	<xs:simpleType name="PoznTyp">
		<xs:annotation>
			<xs:documentation>Typ poznámka - textový řetězec max. 255 znaků.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="StringMax255"/>
	</xs:simpleType>
	<xs:simpleType name="HodnotaTyp">
		<xs:annotation>
			<xs:documentation>Typ hodnoty - textový řetězec max 8 znaků.</xs:documentation>
		</xs:annotation>
		<xs:restriction base="StringMax8"/>
	</xs:simpleType>
	<xs:attributeGroup name="AtributyUkazatele">
		<xs:annotation>
			<xs:documentation>Seznam atributů ukazatele</xs:documentation>
		</xs:annotation>
		<xs:attribute name="uka" use="required">
			<xs:annotation>
				<xs:documentation>kód ukazatele</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="16"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="drh" use="required">
			<xs:annotation>
				<xs:documentation>druh hodnoty</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="frh" use="required">
			<xs:annotation>
				<xs:documentation>formát hodnoty</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="jed">
			<xs:annotation>
				<xs:documentation>jednotka</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="16"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="met" type="StringMax32">
			<xs:annotation>
				<xs:documentation>použitá metoda</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="md">
			<xs:annotation>
				<xs:documentation>mez detekce použité metody</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="ms">
			<xs:annotation>
				<xs:documentation>mez stanovitelnosti použité metody</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:maxLength value="10"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
		<xs:attribute name="odh" type="StringMax8">
			<xs:annotation>
				<xs:documentation>nejistota měření, odchylka</xs:documentation>
			</xs:annotation>
		</xs:attribute>
		<xs:attribute name="odt">
			<xs:annotation>
				<xs:documentation>typ nejistoty</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:attributeGroup>
	<xs:complexType name="AdresaSpojeni">
		<xs:annotation>
			<xs:documentation>Struktura adresy spojení.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="obsah" type="StringMax255" minOccurs="0"/>
			<xs:element name="vnitrni" type="StringMax255" minOccurs="0"/>
			<xs:element name="sdeleni" type="StringMax255" minOccurs="0"/>
		</xs:sequence>
		<xs:attribute name="typ" use="required">
			<xs:annotation>
				<xs:documentation>typ adresy</xs:documentation>
			</xs:annotation>
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
					<xs:enumeration value="D"/>
					<xs:enumeration value="E"/>
					<xs:enumeration value="F"/>
					<xs:enumeration value="I"/>
					<xs:enumeration value="M"/>
					<xs:enumeration value="S"/>
					<xs:enumeration value="T"/>
					<xs:enumeration value="X"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
	<xs:complexType name="Adresa">
		<xs:annotation>
			<xs:documentation>Struktura adresy.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="jmeno" type="StringMax255">
				<xs:annotation>
					<xs:documentation>jméno nebo název</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="adr" type="StringMax35" minOccurs="0"/>
			<xs:element name="dop1" type="StringMax35" minOccurs="0"/>
			<xs:element name="dop2" type="StringMax35" minOccurs="0"/>
			<xs:element name="psc" minOccurs="0">
				<xs:annotation>
					<xs:documentation>poštovní směrovací číslo</xs:documentation>
				</xs:annotation>
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="9"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
			<xs:element name="mesto" minOccurs="0">
				<xs:simpleType>
					<xs:restriction base="xs:string">
						<xs:maxLength value="48"/>
					</xs:restriction>
				</xs:simpleType>
			</xs:element>
		</xs:sequence>
		<xs:attribute name="typ" use="required">
			<xs:simpleType>
				<xs:restriction base="xs:string">
					<xs:length value="1"/>
					<xs:enumeration value="L"/>
					<xs:enumeration value="X"/>
					<xs:enumeration value="P"/>
					<xs:enumeration value="O"/>
				</xs:restriction>
			</xs:simpleType>
		</xs:attribute>
	</xs:complexType>
</xs:schema>
