<?xml version="1.0" encoding="WINDOWS-1250"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
	<xs:element name="ARSO_VHOD_DOK">
		<xs:complexType>
			<xs:sequence>
				<xs:element ref="ODPADKI_LETNO_POROCILO"/>
			</xs:sequence>
			<xs:attribute name="PODROCJE" type="PODROCJEType"/>
			<xs:attribute name="TIP" type="TIPType"/>
			<xs:attribute name="VERZIJA" type="VERZIJAType"/>
		</xs:complexType>
	</xs:element>
	<xs:element name="ODPADKI_LETNO_POROCILO">
		<xs:complexType>
			<xs:sequence>

				<xs:element name="ZAVEZANEC_MATICNA_ST" type="NotNullStringType"/>
				<xs:element name="TIP_POROCILA" type="ReportType"/>
				<xs:element name="POROCANJE_ZA_LETO" type="NotNullLongType"/>

				<xs:element name="POROCILO_IZPOLNIL" nillable="true" minOccurs="0"/>
				<xs:element name="TELEFON" nillable="true" minOccurs="0"/>
				<xs:element name="E_POSTA" nillable="true" minOccurs="0"/>
				<xs:element name="KRAJ_DATUM" nillable="true" minOccurs="0"/>
				<xs:element name="OPOMBE" nillable="true" minOccurs="0"/>
				<xs:element name="POSLOVNA_SKRIVNOST" type="daneType" nillable="false"/>

				<xs:element name="ODPP_TABELA1">
					<xs:complexType>
						<xs:sequence minOccurs="1" maxOccurs="unbounded">
							<xs:element name="ODPADEK">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="STAT_REGIJA" type="NotNullStringType" nillable="false"/>
										<xs:element name="ODP_ST_VHOD" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
										<xs:element name="ODP_ST_NASTALI" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
										<xs:element name="ONS_OEEO_IV" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
										<xs:element name="SNOV_PREDMET_PO_OBDELAVI" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
										<xs:element name="SNOV_PREDMET_DRUGO" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
										<xs:element name="KOLICINA_SKLAD_01012025" type="CanBeNullLongType"  nillable="false"/>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>

				<xs:element name="ODPP_TABELA2">
					<xs:complexType>
						<xs:sequence minOccurs="1" maxOccurs="unbounded">
							<xs:element name="ODPADEK">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="STAT_REGIJA" type="NotNullStringType" nillable="false"/>
										<xs:element name="ODP_ST" type="NotNullStringType" nillable="false"/>
										<xs:element name="ONS_OEEO_IV" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
										<xs:element name="KOLICINA_PREVZETA" type="CanBeNullLongType" nillable="true" minOccurs="0"/>
										<xs:element name="PREVZETO_OD" type="NotNullStringType" nillable="false"/>
										<xs:element name="PREVZETO_OD_MSO" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
                    <xs:element name="NAZIV_TUJEGA_POSILJATELJA" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
                    <xs:element name="DRZAVA_IZVORA" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
										<xs:element name="POSTOPEK_OBDELAVE" type="NotNullStringType" nillable="true" minOccurs="0"/>	
										<xs:element name="DOKAZILO_TUJINA" type="CanBeNullStringType" nillable="true" minOccurs="0"/>											
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>
				
				<xs:element name="ODPP_TABELA2a">
					<xs:complexType>
						<xs:sequence minOccurs="1" maxOccurs="unbounded">
							<xs:element name="ODPADEK">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="STAT_REGIJA" type="NotNullStringType" nillable="false"/>
										<xs:element name="STEVILO_PREVZETIH_IV" type="NotNullLongType" nillable="false" minOccurs="0"/>
										<xs:element name="MASA_PREVZETIH_IV" type="NotNullLongType" nillable="false" minOccurs="0"/>
										<xs:element name="KOLICINA_PONOVNA_UPORABA" type="CanBeNullLongType" nillable="true" minOccurs="0"/>
										<xs:element name="KOLICINA_RECIKLIRANJE" type="CanBeNullLongType" nillable="true" minOccurs="0"/>
										<xs:element name="KOLICINA_PREDELAVA" type="CanBeNullLongType" nillable="true" minOccurs="0"/>
										<xs:element name="KOLICINA_ODSTRANJEVANJE" type="CanBeNullLongType" nillable="true" minOccurs="0"/>
										<xs:element name="STEVILO_IV_DROBLJENJE" type="CanBeNullLongType" nillable="true" minOccurs="0"/>
										<xs:element name="MASA_IV_DROBLJENJE" type="CanBeNullLongType" nillable="true" minOccurs="0"/>										
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>				

				<xs:element name="ODPP_TABELA3">
					<xs:complexType>
						<xs:sequence minOccurs="1" maxOccurs="unbounded">
							<xs:element name="ODPADEK">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="STAT_REGIJA" type="NotNullStringType" nillable="false"/>
										<xs:element name="NAPRAVA" type="NotNullStringType" nillable="false"/>
										<xs:element name="ODP_ST" type="NotNullStringType" nillable="false"/>
										<xs:element name="ONS_OEEO_IV" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
										<xs:element name="KOLICINA_VHOD" type="NotNullLongType" nillable="true" minOccurs="0"/>
										<xs:element name="POSTOPEK_OBDELAVE" type="NotNullStringType" nillable="false"/>
										<xs:element name="OPIS_POSTOPKA_OBDELAVE" type="NotNullStringType" nillable="false"/>	
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>

				<xs:element name="ODPP_TABELA4">
					<xs:complexType>
						<xs:sequence minOccurs="1" maxOccurs="unbounded">
							<xs:element name="ODPADEK">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="STAT_REGIJA" type="NotNullStringType" nillable="false"/>
										<xs:element name="ODP_ST" type="NotNullStringType" nillable="false"/>
										<xs:element name="ONS_OEEO_IV" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
                    <xs:element name="POSTOPEK_OBDELAVE" type="NotNullStringType" nillable="false"/>
                    <xs:element name="ODP_ST_NASTAL_ALI_NEOBDELAN" type="NotNullStringType" nillable="false"/>
                    <xs:element name="KOLICINA_NASTAL_ALI_NEOBDELAN" type="NotNullLongType" nillable="true" minOccurs="0"/>                                        
										<xs:element name="ODDANO_KOMU" type="NotNullStringType" nillable="false"/>
										<xs:element name="ODDANO_KOMU_MSO_SLO" type="CanBeNullStringType" nillable="true"/>	
										<xs:element name="ODDANO_KOMU_PREVZEMNIK_TUJINA" type="CanBeNullStringType" nillable="true"/>
										<xs:element name="DRZAVA_OBDELAVE_TUJINA" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
                    <xs:element name="NADALJNI_POSTOPEK_OBDELAVE" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
										<xs:element name="DOKAZILO_TUJINA" type="CanBeNullStringType" nillable="true" minOccurs="0"/>								
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>	

				<xs:element name="ODPP_TABELA4a">
					<xs:complexType>
						<xs:sequence minOccurs="1" maxOccurs="unbounded">
							<xs:element name="ODPADEK">
								<xs:complexType>
									<xs:sequence>
					<xs:element name="STAT_REGIJA" type="NotNullStringType" nillable="false"/>
                    <xs:element name="ODP_ST" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
                    <xs:element name="POSTOPEK_OBDELAVE" type="NotNullStringType" nillable="false"/>
                    <xs:element name="SNOV_PREDMET_PO_OBDELAVI" type="NotNullStringType" nillable="false"/>
                    <xs:element name="SNOV_PREDMET_DRUGO" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
                    <xs:element name="KOLICINA_SNOV_PREDMET" type="NotNullLongType" nillable="true" minOccurs="0"/>
                    <xs:element name="KOMU_DANO_TRG_UPORABO" type="NotNullStringType" nillable="false"/>
                    <xs:element name="ODDANO_KOMU_MSO_SLO" type="CanBeNullStringType" nillable="true"/>
                    <xs:element name="ODDANO_KOMU_UPORABNIK_TUJINA" type="CanBeNullStringType" nillable="true"/>
										<xs:element name="DRZAVA_PREVZEMA_TUJINA" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>	

			    <xs:element name="ODPP_TABELA4b">
					<xs:complexType>
						<xs:sequence minOccurs="1" maxOccurs="unbounded">
							<xs:element name="ODPADEK">
								<xs:complexType>
									<xs:sequence>
                                      <xs:element name="IZVAJALEC_DROBLJENJA_MSO" type="NotNullStringType" nillable="false"/>									
                                      <xs:element name="ODP_ST" type="NotNullStringType" nillable="false"/>
                                      <xs:element name="KOLICINA" type="NotNullLongType" nillable="false"/>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>

				<xs:element name="ODPP_TABELA5">
					<xs:complexType>
						<xs:sequence minOccurs="1" maxOccurs="unbounded">
							<xs:element name="ODPADEK">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="ODP_ST" type="NotNullStringType" nillable="false"/>
										<xs:element name="KOLICINA_20_03_01" type="NotNullLongType" nillable="false"/>
										<xs:element name="SIFRA_OBCINE_IZVORA" type="NotNullStringType" nillable="false"/>										
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>				

				<xs:element name="ODPP_TABELA6">
					<xs:complexType>
						<xs:sequence minOccurs="1" maxOccurs="unbounded">
							<xs:element name="ODPADEK">
								<xs:complexType>
									<xs:sequence>
									    <xs:element name="STAT_REGIJA" type="NotNullStringType" nillable="false"/>
										<xs:element name="ODP_ST" type="NotNullStringType" nillable="false"/>
										<xs:element name="ONS_OEEO_IV" type="CanBeNullStringType" nillable="true" minOccurs="0"/>
                    <xs:element name="POSTOPEK_OBDELAVE" type="NotNullStringType" nillable="false"/>
										<xs:element name="KOLICINA_SPREMEMBA_MASE" type="NotNullLongType"  nillable="false"/>
                    <xs:element name="RAZLOG_SPREMEMBA_MASE" type="NotNullStringType" nillable="false"/>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>	

				<xs:element name="ODPP_TABELA7">
					<xs:complexType>
						<xs:sequence minOccurs="1" maxOccurs="unbounded">
							<xs:element name="ODPADEK">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="SIFRA_ODLAGALISCA" type="NotNullStringType" nillable="false"/>
										<xs:element name="ZVOLM3" type="NotNullLongType" nillable="false"/>									
										<xs:element name="ZPOVM2" type="NotNullLongType" nillable="false"/>									
										<xs:element name="PVOLM3" type="NotNullLongType" nillable="false"/>									
										<xs:element name="PPOVM2" type="NotNullLongType" nillable="true" minOccurs="0"/>									
										<xs:element name="CELOTNAZMOGLJIVOSTT" type="NotNullLongType" nillable="false"/>									
										<xs:element name="PREOSTALAZMOGLJIVOST0101T" type="NotNullLongType" nillable="false"/>	
										<xs:element name="PREOSTALAZMOGLJIVOST3112T" type="NotNullLongType" nillable="false"/>	
										<xs:element name="DATZACETKAODL" type="SLODateType" nillable="false"/>
										<xs:element name="DATKONCAODL" type="SLODateType" nillable="false"/>	
										<xs:element name="METODAODL" type="NotNullStringType" nillable="false"/>											
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>		

				<xs:element name="ODPP_TABELA8">
					<xs:complexType>
						<xs:sequence minOccurs="1" maxOccurs="unbounded">
							<xs:element name="ODPADEK">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="SIFRA_ODLAGALISCA" type="NotNullStringType" nillable="false"/>
										<xs:element name="ODP_ST" type="NotNullStringType" nillable="false"/>
										<xs:element name="KOLICINA_PREVZETA" type="NotNullLongType" nillable="false"/>									
										<xs:element name="KOLICINA_BREZ_OCENE_KG" type="CanBeNullLongType" nillable="true" minOccurs="0"/>									
										<xs:element name="KOLICINA_ODLOZENI_KG" type="CanBeNullLongType" nillable="true" minOccurs="0"/>	
										<xs:element name="KOLICINA_ODLOZENI_NEVARNI_KG" type="CanBeNullLongType" nillable="true" minOccurs="0"/>	
										<xs:element name="KOLICINA_ODLOZENI_NENEVARNI_KG" type="CanBeNullLongType" nillable="true" minOccurs="0"/>	
										<xs:element name="KOLICINA_ODLOZENI_INERTNI_KG" type="CanBeNullLongType" nillable="true" minOccurs="0"/>	
										<xs:element name="KOLGRADNJAKG" type="CanBeNullLongType" nillable="true" minOccurs="0"/>
										<xs:element name="KOLDNEVNOPREKRIVANJEKG" type="CanBeNullLongType" nillable="true" minOccurs="0"/>
										<xs:element name="KOLZAVRNJENIKG" type="CanBeNullLongType" nillable="true" minOccurs="0"/>
                    <xs:element name="SKLADISCENJE_ZAVRNJENIH_DA_NE" type="daneType" nillable="true" minOccurs="0"/>
                    <xs:element name="DAT_SKLADISCENJE_ZAVRNJENIH" type="SLODateType" nillable="true" minOccurs="0"/>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>

        <xs:element name="ODPP_TABELA9">
          <xs:complexType>
            <xs:sequence minOccurs="1" maxOccurs="unbounded">
              <xs:element name="ODPADEK">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element name="SIFRA_ODLAGALISCA" type="NotNullStringType" nillable="false"/>
                    <xs:element name="ODP_ST" type="NotNullStringType" nillable="false"/>
                    <xs:element name="SIFRA_OBCINE" type="NotNullStringType" nillable="false"/>
                    <xs:element name="ODLOZENA_KOLICINA_KG" type="NotNullLongType" nillable="false"/>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>

        <xs:element name="ODPP_TABELA10">
					<xs:complexType>
						<xs:sequence minOccurs="1" maxOccurs="unbounded">
							<xs:element name="ODPADEK">
								<xs:complexType>
									<xs:sequence>
										<xs:element name="TIP_KOMPOST_DIGESTAT" type="NotNullStringType" nillable="false"/>
                    <xs:element name="KAKOVOSTNI_RAZRED" type="NotNullStringType" nillable="false"/>
										<xs:element name="PROIZVEDENA_KOLICINA_KG" type="NotNullStringType" nillable="false"/>
                    <xs:element name="ODDANA_KOLICINA_KG" type="NotNullStringType" nillable="false"/>
                    <xs:element name="VRSTA_UPORABE" type="NotNullStringType" nillable="false"/>
									</xs:sequence>
								</xs:complexType>
							</xs:element>
						</xs:sequence>
					</xs:complexType>
				</xs:element>

                <xs:element name="ODPP_TABELA11">
                  <xs:complexType>
                    <xs:sequence minOccurs="1" maxOccurs="unbounded">
                      <xs:element name="ODPADEK">
                        <xs:complexType>
                          <xs:sequence>
                            <xs:element name="TIP_KOMPOST_DIGESTAT" type="NotNullStringType" nillable="true" minOccurs="0"/>
                            <xs:element name="KAKOVOSTNI_RAZRED" type="NotNullStringType" nillable="true" minOccurs="0"/>
                            <xs:element name="DAT_VNOSA" type="SLODateType" nillable="true" minOccurs="0"/>
                            <xs:element name="VNESENA_KOLICINA_M3" type="NotNullLongType" nillable="true" minOccurs="0"/>
                            <xs:element name="LOKACIJA_ZEMLJISCA" type="NotNullStringType" nillable="true" minOccurs="0"/>
                            <xs:element name="RABA_ZEMLJISCA" type="NotNullStringType" nillable="true" minOccurs="0"/>
                            <xs:element name="GERK_PID" type="NotNullStringType" nillable="true" minOccurs="0"/>
                          </xs:sequence>
                        </xs:complexType>
                      </xs:element>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>        

                <xs:element name="ODPP_TABELA12">
                  <xs:complexType>
                    <xs:sequence minOccurs="1" maxOccurs="unbounded">
                      <xs:element name="ODPADEK">
                        <xs:complexType>
                          <xs:sequence>
                            <xs:element name="ODP_ST" type="NotNullStringType" nillable="false"/>
							<xs:element name="DATUM_VZORCENJA" type="SLODateType" nillable="false"/>
							<xs:element name="DATUM_MERITVE" type="SLODateType" nillable="false"/>						
                            <xs:element name="VSEBNOST_VODE_PROC" type="DoubleType" nillable="false"/>
                            <xs:element name="VSEBNOST_PCB_MGKG" type="DoubleType" nillable="false"/>
                            <xs:element name="ZAVRNJENA_KOLICINA_PCB_KG" type="NotNullLongType" nillable="false"/>
                          </xs:sequence>
                        </xs:complexType>
                      </xs:element>
                    </xs:sequence>
                  </xs:complexType>
                </xs:element>	

      </xs:sequence>
		</xs:complexType>
	</xs:element>

	<xs:simpleType name="ReportType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ODP-P"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="DANEType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="DA"/>
			<xs:enumeration value="NE"/>
		</xs:restriction>
	</xs:simpleType>	

	<xs:simpleType name="VERZIJAType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="1.0.0"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="TIPType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="LETNO_POROCILO"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="PODROCJEType">
		<xs:restriction base="xs:string">
			<xs:enumeration value="ODPADKI"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="NotNullStringType">
		<xs:restriction base="xs:string">
			<xs:minLength value="1"/>
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="CanBeNullStringType">
		<xs:restriction base="xs:string">
			<xs:minLength value="0"/>
		</xs:restriction>
	</xs:simpleType>	

	<xs:simpleType name="NotNullLongType">
		<xs:restriction base="xs:long">
			<xs:minInclusive value="-9223372036854775808"/>
			<xs:maxInclusive value="9223372036854775807"/>
		</xs:restriction>
	</xs:simpleType>

    <xs:simpleType name="DoubleType">
      <xs:restriction base="xs:string">
        <xs:pattern value="\d+(,\d+)?"/>
      </xs:restriction>
    </xs:simpleType>
	

	<xs:simpleType name="CanBeNullLongType">
		<xs:union>
			<xs:simpleType>
				<xs:restriction base='xs:string'>
					<xs:length value="0"/>
				</xs:restriction>
			</xs:simpleType>
			<xs:simpleType>
				<xs:restriction base='xs:long' />
			</xs:simpleType>
		</xs:union>
	</xs:simpleType>


	<xs:simpleType name="SLODateType">
		<xs:restriction base="xs:string">
			<xs:pattern value="(((((0[1-9]|[1-2][0-9]|3[0-1])\.(0[1-9]|1[0-2])))\.\d{4}))" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="daneType">
       <xs:restriction base="xs:string">
         <xs:enumeration value="da"/>
         <xs:enumeration value="ne"/>
       </xs:restriction>
	</xs:simpleType>

</xs:schema>