﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="XML"
		targetNamespace="http://tempuri.org/XML.xsd"
		elementFormDefault="qualified"
		xmlns="http://tempuri.org/XML.xsd"
		xmlns:mstns="http://tempuri.org/XML.xsd"
		xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
	<xs:element name="Cases">
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Case" maxOccurs="unbounded">
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Parties">
								<xs:complexType>
									<xs:annotation>
										<xs:documentation>Subjekty případu</xs:documentation>
									</xs:annotation>
									<xs:sequence>
										<xs:element name="Party" maxOccurs="unbounded">
											<xs:complexType>
												<xs:annotation>
													<xs:documentation>Subjekt případu oprávněný / povinný</xs:documentation>
												</xs:annotation>
												<xs:attribute name="C_POR">
													<!-- Pořadové číslo v rámci sekce Parties. Začíná se od 1-->
													<xs:simpleType>
														<xs:restriction base="xs:integer">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="TYP_PAR">
													<!-- O - opravneny, P - povinny, Z - zastupce-->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="C_POR_Z">
													<!-- Pořadové číslo v Parties zastupované strany (Pouze u právního zástupce); 1 pro TYP_PAR=’Z’ -->
													<xs:simpleType>
														<xs:restriction base="xs:integer">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="C_PAR">
													<!-- IČO -->
													<xs:simpleType>
														<xs:restriction base="xs:integer">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="DIC_PAR">
													<!-- DIČ -->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="RC_PAR">
													<!-- Rodné číslo -->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
                        <xs:attribute name="DN_PAR">
                          <!-- datum narození yyyy-MM-dd -->
                          <xs:simpleType>
                            <xs:restriction base="xs:string">
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:attribute>
												<xs:attribute name="NZ_PAR">
													<!-- název firmy nebo celé jméno (příjmení křestní_jméno) osoby typu podnikatel-->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="AD_PAR">
													<!-- ulice + čp (trvalá)-->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="PSC_PAR">
													<!-- PSČ (trvalá) -->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="SD_PAR">
													<!-- Město (trvalá) -->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ZEME_PAR">
													<!-- stát (trvalá) -->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="P_F_PAR">
													<!-- Právní forma (typ) (1-právnická, 2-fyzická podnikatel, 3-soukromá občan -->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="AD_PAR_D">
													<!-- ulice + čp (doručovací) -->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="PSC_PAR_D">
													<!-- psč (doručovací) -->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="SD_PAR_D">
													<!-- město (doručovací) -->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ZEME_PAR_D">
													<!-- stát (doručovací); název atributu bez háčku -->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="JM_PAR">
													<!-- jméno fyzické osoby (typ 3) -->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="PRIJ_PAR">
													<!-- příjmení fyzické osoby (typ 3) -->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="Count">
										<!-- počet subjektů v případu (oprávněných a povinných) -->
										<xs:simpleType>
											<xs:restriction base="xs:integer">
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="Titles">
								<xs:complexType>
									<xs:annotation>
										<xs:documentation>Exekuční tituly</xs:documentation>
									</xs:annotation>
									<xs:sequence>
										<xs:element name="Title" maxOccurs="unbounded">
											<xs:complexType>
												<xs:attribute name="C_POR">
                          <!-- Pořadí exekučního titulu.  Začíná se od 1 -->
													<xs:simpleType>
														<xs:restriction base="xs:integer">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ET_T">
													<xs:simpleType>
														<!-- Typ exekučního titulu (platební rozkaz / usnesení)-->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ET_C">
													<xs:simpleType>
														<!-- číslo exekučního titulu -->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ET_DT">
													<xs:simpleType>
														<!-- Datum vydání ex. titulu (YYYY-MM-DD) -->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ET_VYD">
													<xs:simpleType>
														<!-- Název soudu, který vydal exekuční titul -->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ET_PM">
													<xs:simpleType>
														<!-- Datum právní moci ex. titulu (YYYY-MM-DD) -->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ET_VYK">
													<xs:simpleType>
														<!-- Datum vykonatelnosti ex. titulu (YYYY-MM-DD) -->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="Count">
										<xs:simpleType>
											<!--počet titulů v případu -->
											<xs:restriction base="xs:integer">
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="FinItems">
								<xs:complexType>
									<xs:annotation>
										<xs:documentation>Finance</xs:documentation>
									</xs:annotation>
									<xs:sequence>
										<xs:element name="FinItem" maxOccurs="unbounded">
											<xs:complexType>
												<xs:attribute name="C_POR">
													<xs:simpleType>
														<!-- Pořadové číslo FinItem. Začíná se od 1 -->
														<xs:restriction base="xs:integer">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="F_TYP">
													<xs:simpleType>
														<!-- Typ položky (J - jistina, U - úrok roční, UC - úrok částkou, P - náklady soudního řízení, JPP - jiné příslušenství pohledávky, Z - náklady právního zastoupení (ruční zadání), Z2 - náklady právního zastoupení dle tarifu 2013, Z3 - dle tarifu 2014, Z4 - dle tarifu 2025). Jiná hodnota se přeskočí. -->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="F_CASTKA">
													<xs:simpleType>
														<!-- Částka plnění / základ (Částka dle F_TYP) - v případě Z, Z2, Z3 a Z4 částka bez DPH; desetinná čárka i tečka, bez oddělovače tisíců -->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="F_PROC">
													<xs:simpleType>
														<!-- Procento úroku plneni (Vyplněno pouze pro úrok); desetinná čárka i tečka -->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="F_NZ">
													<!-- Vlastní název položky (UC, JPP, Z, Z2, Z3, Z4); bez hodnoty se použije výchozí název -->
													<xs:simpleType>
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="F_DT_OD">
													<xs:simpleType>
														<!-- Datum pro úrok plnění - od (Vyplněno pouze pro úrok; YYYY-MM-DD) -->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="F_DT_DO">
													<xs:simpleType>
														<!-- Datum pro úrok plnění - do (Vyplněno pouze pro kapitalizovaný úrok (úrok do data);YYYY-MM-DD) -->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="IND_RS">
													<xs:simpleType>
														<!-- Indikace použití repo sazby (A nebo nevyplněno) -->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="Z_PROC">
													<xs:simpleType>
														<!-- Procento základní sazby nad repo (Procento vyplněno pouze v případě použití repo sazby; Pro IND_RS=A uvedeno 7; bez hodnoty se použije 7. Popis položky v Evoliu vždy uvádí „navýšenou o 7%-ních bodů“, výpočet ale použije Z_PROC) -->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
                        <xs:attribute name="F_PODTYP">
                          <xs:simpleType>
                            <!-- Náklady práního zastoupení 2013 - pod typ Náklady práního zastoupení 
                            HodnotaTxt	PoleText1
0NIC	<nezadáno>
A1-001	Návrh na předběžné opatření, dojde-li k němu po zahájení řízení, návrh na zajištění důkazů nebo dědictví
A1-002	Návrh na opravu odůvodnění rozhodnutí, na odstranění následků zmeškání lhůty a na změnu rozhodnutí odsuzujícího k plnění v budoucnu splatných dávek nebo k plnění ve splátkách
A1-003	Odvolání proti rozhodnutí, pokud nejde o rozhodnutí ve věci samé, a vyjádření k takovému odvolání
A1-004	Návrhy a stížnosti ve věcech, ve kterých se rozhoduje ve veřejném zasedání, a vyjádření k nim, s výjimkou odvolání, návrhu na obnovu řízení a podnětu ke stížnosti pro porušení zákona
A1-005	Jde-li o výkon rozhodnutí, za první poradu s klientem včetně převzetí a přípravy zastoupení, za sepsání návrhu na zahájení řízení, vyjádření k návrhu, zastupování při jednání a sepsání odvolání proti rozhodnutí
A1-006	Účast při jednání, při kterém došlo pouze k vyhlášení rozhodnutí
A1-007	Účast při přípravě jednání
A1-008	Jednoduchá výzva k plnění
A1-009	Převzetí a příprava zastoupení nebo obhajoby na základě smlouvy o poskytnutí právních služeb
A1-010	První porada s klientem včetně převzetí a přípravy zastoupení nebo obhajoby, je-li klientovi zástupce nebo obhájce ustanoven soudem
A1-011	Další porada s klientem přesahující jednu hodinu
A1-012	Písemné podání nebo návrh ve věci samé, výzva k plnění se základním skutkovým a právním rozborem předcházející návrhu ve věci samé
A1-013	Účast při vyšetřovacích úkonech v přípravném řízení, a to každé započaté dvě hodiny
A1-014	Prostudování spisu při skončení vyšetřování, a to každé započaté dvě hodiny
A1-015	Účast při úkonu správního nebo jiného orgánu, účast na jednání před soudem nebo jiným orgánem, a to každé započaté dvě hodiny
A1-016	Sepsání právního rozboru věci
A1-017	Jednání s protistranou, a to každé dvě započaté hodiny
A1-018	Návrh na předběžné opatření, dojde-li k němu před zahájením řízení, odvolání proti rozhodnutí o předběžném opatření a vyjádření k nim
A1-019	Odvolání, dovolání, návrh na obnovu řízení, popřípadě stížnost proti rozhodnutí o návrhu na obnovu řízení a vyjádření k nim
A1-020	Podnět k podání stížnosti pro porušení zákona a vyjádření ke stížnosti pro porušení zákona
A1-021	Sepsání listiny o právním úkonu
                            -->
                            <xs:restriction base="xs:string">
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:attribute>
                        <xs:attribute name="F_ZAKLAD">
                          <xs:simpleType>
                            <!-- Náklady práního zastoupení 2013 - základ nákladu práního zastoupení -->
                            <xs:restriction base="xs:string">
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:attribute>
                        <xs:attribute name="F_POCETUKONU">
                          <xs:simpleType>
                            <!-- Náklady práního zastoupení 2013 - počet provedených úkonů -->
                            <xs:restriction base="xs:string">
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:attribute>
                        <xs:attribute name="F_REZIJNIPOPLATEK">
                          <xs:simpleType>
                            <!-- Náklady práního zastoupení 2013 - výše režijního poplatku -->
                            <xs:restriction base="xs:string">
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:attribute>
                        <xs:attribute name="F_POCETOSOB">
                          <xs:simpleType>
                            <!-- Náklady práního zastoupení 2013 - počet zastupovaných osob-->
                            <xs:restriction base="xs:string">
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:attribute>
                        <xs:attribute name="F_POLOVICNIODMENA">
                          <xs:simpleType>
                            <!-- Náklady práního zastoupení 2013 - poloviční odměna-->
                            <xs:restriction base="xs:string">
                            </xs:restriction>
                          </xs:simpleType>
                        </xs:attribute>
												<xs:attribute name="F_DPH">
													<xs:simpleType>
														<!-- reálné číslo - DPH pro položky Náklady práního zastoupení  a Náklady práního zastoupení 2013-->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="ET_C">
													<xs:simpleType>
														<!-- text - číslo exekučního titulu z elementu Title, se kterým položka souvisí-->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="VS">
													<xs:simpleType>
														<!-- text - Variabilní symbol pro položku -->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="Count">
										<xs:simpleType>
											<!-- počet finačních položek -->
											<xs:restriction base="xs:integer">
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
							<xs:element name="Attachments">
								<xs:complexType>
									<!-- dokumenty -->
									<xs:sequence>
										<xs:element name="Attachment" maxOccurs="unbounded">
											<xs:complexType>
												<xs:attribute name="C_POR">
													<xs:simpleType>
														<!-- Pořadové číslo přílohy.  Začíná se od 1-->
														<xs:restriction base="xs:integer">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
												<xs:attribute name="FILENAME">
													<xs:simpleType>
														<!-- název Soubor (bez path - cesty)-->
														<xs:restriction base="xs:string">
														</xs:restriction>
													</xs:simpleType>
												</xs:attribute>
											</xs:complexType>
										</xs:element>
									</xs:sequence>
									<xs:attribute name="Count">
										<xs:simpleType>
											<!-- počet dokumentů v případu -->
											<xs:restriction base="xs:integer">
											</xs:restriction>
										</xs:simpleType>
									</xs:attribute>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="C_POR">
							<!-- Pořadové číslo případu  Začíná se od 1-->
							<xs:simpleType>
								<xs:restriction base="xs:integer">
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="DT_NAV">
							<!-- datum zahájení případu ve formátu (yyyy-MM-dd)-->
							<xs:simpleType>
								<xs:restriction base="xs:string">
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="ZNACKA">
							<!-- jednoznačná značka spisu (text). Podle této hodnoty se identifikuje, jestli spis již existuje v systému Evolio či nikoliv.-->
							<xs:simpleType>
								<xs:restriction base="xs:string">
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="ET_C">
							<!-- Číslo exekučního titulu -->
							<xs:simpleType>
								<xs:restriction base="xs:string">
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="POZN">
							<!-- poznámka k případu -->
							<xs:simpleType>
								<xs:restriction base="xs:string">
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
            <xs:attribute name="VS">
              <!-- variabilní symbol případu -->
              <xs:simpleType>
                <xs:restriction base="xs:string">
                </xs:restriction>
              </xs:simpleType>
            </xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="NAME">
				<!-- číslo exekutora -->
				<xs:simpleType>
					<xs:restriction base="xs:string"> 
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="Date">
				<!-- datum vytvoření XML ve formátu (yyyy-MM-dd) -->
				<xs:simpleType>
					<xs:restriction base="xs:string">
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
			<xs:attribute name="CasesCount">
				<!-- počet případů v XML -->
				<xs:simpleType>
					<xs:restriction base="xs:integer">
					</xs:restriction>
				</xs:simpleType>
			</xs:attribute>
		</xs:complexType>
	</xs:element>
</xs:schema>
