ds_ido-4.02.40.xsd
 1 <?xml version="1.0" encoding="utf-8" ?>
 2 <xs:schema targetNamespace="urn:cz-mzcr:ns:dasta:ds4:ds_ido" 
 3   xmlns:dsido="urn:cz-mzcr:ns:dasta:ds4:ds_ido" 
 4   xmlns:dsComm="urn:cz-mzcr:ns:dasta:ds4:ds_type"
 5   xmlns:dsip="urn:cz-mzcr:ns:dasta:ds4:ds_ip"
 6   xmlns:xs="http://www.w3.org/2001/XMLSchema"
 7   elementFormDefault="qualified">
 8 <!-- Import common element types. -->
 9     <xs:import namespace="urn:cz-mzcr:ns:dasta:ds4:ds_type" schemaLocation="ds_type-4.02.21.xsd"/>
10     <xs:import namespace="urn:cz-mzcr:ns:dasta:ds4:ds_ip" schemaLocation="ds_ip-4.15.06.xsd"/>
11     <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="https://www.w3.org/2001/03/xml.xsd"/>
12     <!--                  end                 -->
13     <!--
14   ****************************
15    IDO
16   ****************************
17   -->
18 
19     <xs:complexType name="zzs_luzkaType">
20         <xs:attribute name="vl_sum" type="dsComm:number3d" use="required"/>
21         <xs:attribute name="vl_vent" type="dsComm:number2d"/>
22         <xs:attribute name="vl_sum_uv" type="dsComm:number2d"/>
23         <xs:attribute name="vl_vent_uv" type="dsComm:number2d"/>
24     </xs:complexType>
25 
26     <xs:complexType name="zzs_vl_osType">
27         <xs:sequence>
28             <xs:element name="pocet" type="dsComm:number3d" minOccurs="0"/>
29         </xs:sequence>
30         <xs:attribute name="typ_prac" type="dsComm:str3e" use="required"/>
31     </xs:complexType>
32 
33     <xs:complexType name="zzs_vl_oType">
34         <xs:sequence>
35             <xs:element name="zzs_vl_os" type="dsido:zzs_vl_osType" minOccurs="0" maxOccurs="unbounded"/>
36             <xs:element name="text" type="dsip:textType" minOccurs="0"/>
37             <xs:element name="dat_vb" type="dsComm:dat_xxType"/>
38             <xs:element name="zzs_vl_oAny" type="dsComm:AnyType" minOccurs="0"/>
39         </xs:sequence>
40         <xs:attribute name="typ_zadosti" use="required">
41             <xs:simpleType>
42                 <xs:restriction base="xs:string">
43                     <xs:enumeration value="VLP"/>
44                     <xs:enumeration value="VLS"/>
45                 </xs:restriction>
46             </xs:simpleType>
47         </xs:attribute>
48     </xs:complexType>
49 
50     <xs:complexType name="zzs_vl_zType">
51         <xs:sequence>
52             <xs:element name="pracoviste" type="dsip:pracovisteType"/>
53             <xs:choice>
54                 <xs:element name="zzs_luzka" type="dsido:zzs_luzkaType" minOccurs="0"/>
55                 <xs:element name="zzs_chyba" type="dsComm:str3e" minOccurs="0" maxOccurs="unbounded"/>
56             </xs:choice>
57             <xs:element name="text" type="dsip:textType" minOccurs="0"/>
58             <xs:element name="garant_dat" type="dsComm:garant_datType" minOccurs="0"/>
59             <xs:element name="zzs_vl_zAny" type="dsComm:AnyType" minOccurs="0"/>
60         </xs:sequence>
61         <xs:attribute name="stav_prac" use="required">
62             <xs:simpleType>
63                 <xs:restriction base="xs:string">
64                     <xs:enumeration value="P"/>
65                     <xs:enumeration value="N"/>
66                     <xs:enumeration value="Z"/>
67                 </xs:restriction>
68             </xs:simpleType>
69         </xs:attribute>
70         <xs:attribute name="dat_vb" type="xs:dateTime"/>
71         <xs:attribute name="dat_stav_prac" type="xs:dateTime"/>
72         <xs:attribute name="dat_ab" type="xs:dateTime" use="required"/>
73     </xs:complexType>
74 
75     <xs:element name="ido">
76         <xs:complexType>
77             <xs:choice>
78                 <xs:element name="zzs_vl_o" type="dsido:zzs_vl_oType" minOccurs="0"/>
79                 <xs:element name="zzs_vl_z" type="dsido:zzs_vl_zType" maxOccurs="unbounded"/>
80             </xs:choice>
81         </xs:complexType>
82     </xs:element>
83 </xs:schema>