<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2013 sp1 (x64) (http://www.altova.com) by Uporabnik BS (Bank of Slovenia) -->
<!-- *****************  Shema  BSZV  *******************
    datum = 2025-05-07
    verzija = 1.0
    status = TEST
    opis = "Shema za ZV poročanje"
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:ut="http://www.bsi.si/zv/util" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bsad="http://www.bsi.si/BS/admin" xmlns:ns="http://www.bsi.si/zv/BSZV" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.bsi.si/zv/BSZV" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
	<xs:import namespace="http://www.bsi.si/zv/util" schemaLocation="http://www.bsi.si/zv/util/BSZVJAM1util.xsd"/>
	<xs:import namespace="http://www.bsi.si/BS/admin" schemaLocation="http://www.bsi.si/BS/admin/BSadmin.xsd"/>
	<xs:complexType name="ZVPorocilo">
		<xs:annotation>
			<xs:documentation>Poročilo ZV (Zajamčene vloge)</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="BSAdmin" type="bsad:BSAdminTip"/>
			<xs:element name="ZVAdmin" type="ns:ZVAdminType"/>
			<xs:element name="Vlagatelji" type="ns:VlagateljiType">
				<xs:annotation>
					<xs:documentation>Podatki o vlagateljih</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element ref="ds:Signature" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ZVAdminType">
		<xs:annotation>
			<xs:documentation>Poročilo ZV Admin del</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="IDPorocila" type="xs:int">
				<xs:annotation>
					<xs:documentation>Pri vseh datotekah, ki spadajo skupaj je ID isti, če je ID nov, pomeni, da gre za popravke prejšnjega poročila; vsak paket popravkov mora imeti višjo številko</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DatumPorocila" type="ut:Date" minOccurs="1">
				<xs:annotation>
					<xs:documentation>Datum poročanja</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="TipPorocila">
				<xs:annotation>
					<xs:documentation>N - nepopolno poročilo (manjkajo podatki  v A delu pri FIR), P - popolno poročilo</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PresecniDatum" type="ut:Date" minOccurs="1">
				<xs:annotation>
					<xs:documentation>Presečni datum za izplačilo zajamčenih vlog</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ZapStev">
				<xs:annotation>
					<xs:documentation>Zaporedna št.datoteke v okviru poročila npr. 2/5 (druga datoteka od petih)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="SteviloVlagateljev" type="xs:int">
				<xs:annotation>
					<xs:documentation>Število vlagateljev v datoteki</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ZastopnikiType">
		<xs:annotation>
			<xs:documentation>Seznam zastopnikov/imetnikov FIR računa</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Zastopnik" type="ns:ZastopType" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Podatki o zastopniku/imetniku FIR računa</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="VlagateljiType">
		<xs:annotation>
			<xs:documentation>Seznam vlagateljev</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Vlagatelj" type="ns:VlagateljVlgType" minOccurs="1" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Podatki o vlagatelju</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="VlagateljVlgType">
		<xs:annotation>
			<xs:documentation>Vlagatelj + vloge</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="VlagPod" type="ns:VlagateljType">
				<xs:annotation>
					<xs:documentation>Vlagatelj osnovni podatki</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Vloge" type="ns:VlogeType">
				<xs:annotation>
					<xs:documentation>Vloge vlagatelja</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="ZastopType">
		<xs:annotation>
			<xs:documentation>Zastopnik - podatki o imetniku FIR računa ali zakonitem zastopniku</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Tip" type="ut:Niz2" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>ZZ - Zakoniti zastopnik fizične osebe
IF - Imetnik FIR računa</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Davcna" type="ut:Niz30" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Davčna številka </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Naziv" type="ut:Niz300" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Polno ime</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Naslov" type="ut:Niz300" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Ulica in hišna št.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Kraj" type="ut:Niz300" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Kraj (vključno s poštno številko za tujino)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PostaSt" type="ut:NizSt4" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Poštna številka - Če je država vlagatelja Slovenija (705) se navede  poštna številka, v drugih primerih se navede 0000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Email" type="ut:Niz300" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Email</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Tel" type="ut:Niz300" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Telefonska številka</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="VlagateljType">
		<xs:annotation>
			<xs:documentation>Podatki na nivoju vlagatelja</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Davcna" type="ut:NizSt8" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Davčna številka</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DrzRez" type="ut:NizSt3" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Država - država davčnega rezidentstva</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DavcnaTuj" type="ut:Niz30" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Davčna številka tuje osebe</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="EnolicnaOzn" type="ut:Niz30" nillable="false">
				<xs:annotation>
					<xs:documentation>Enolična oznaka vlagatelja</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Maticna" type="ut:Niz10" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Matična statistična številka za PO</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Vrsta" type="ut:Niz2" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Vrsta vlagatelja (FO,PO,SK)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Naziv" type="ut:Niz300" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Naziv  za PO, SK (Se ne izpolni za FO)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Priimek" type="ut:Niz100" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Se izpolni samo za FO</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Ime" type="ut:Niz100" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Se izpolni samo za FO</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Naslov" type="ut:Niz300" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Ulica in hišna št.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Kraj" type="ut:Niz300" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Kraj (vključno s poštno številko za tujino), V  primeru tujine je vpis v formatu: KRAJ_POŠTNA ŠTEVILKA (npr. Zagreb 1000)</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="PostaSt" type="ut:NizSt4" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Poštna številka - Če je država vlagatelja Slovenija (705) se navede  poštna številka, v drugih primerih se navede 0000</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DrzVlg" type="ut:NizSt3" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Država vlagatelja</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="DatRoj" type="ut:Date" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Datum rojstva - Identifikacijski podatek pri FO</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Email" type="ut:Niz300" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Email, kjer vlagatelj dovoljuje obveščanje</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Tel" type="ut:Niz300" nillable="false" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Telefonska številka, kjer vlagatelj dovoljuje obveščanje</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Zastopniki" minOccurs="0">
				<xs:annotation>
					<xs:documentation>Podatki o zastopnikih na nivoju vlagatelja</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Zastopnik" type="ns:ZastopType" maxOccurs="unbounded"/>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
			<xs:element name="ZnVlgProst" type="ut:Decimal_15_2" nillable="false">
				<xs:annotation>
					<xs:documentation>Znesek za izplačilo</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="ZnVlgZadr" type="ut:Decimal_15_2" nillable="false">
				<xs:annotation>
					<xs:documentation>Potencialni dodatni znesek za izplačilo</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="IndZadr" type="ut:NizDaNe" nillable="false">
				<xs:annotation>
					<xs:documentation>DA/NE - Obstoj elementov na podlagi katerih se izplačilo vloge zadrži delno ali v celoti</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="VlgRazpolaga" type="ut:Niz2" nillable="false">
				<xs:annotation>
					<xs:documentation>DA - vlagatelj samostojno razpolaga s sredstvi na računu/partiji
MO  - mladoletna oseba
SO - sklep sodišča ali CSD  </xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="Sporocilo" type="ut:Niz3000" minOccurs="0"/>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="VlogeType">
		<xs:annotation>
			<xs:documentation>Podatki na nivoju računa/partije</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="Vloga" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Vloga na nivoju računa/partije</xs:documentation>
				</xs:annotation>
				<xs:complexType>
					<xs:sequence>
						<xs:element name="Partija" type="ut:Niz30" nillable="false">
							<xs:annotation>
								<xs:documentation>Številka računa, pogodbe</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="VrstaPosla" type="ut:Niz3" nillable="false">
							<xs:annotation>
								<xs:documentation>Oznaka za vrsto vloge/obveznosti (TRR, HVL, DEP, POT, OVL, VAR) </xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="NacJam" type="ut:Niz3" nillable="false">
							<xs:annotation>
								<xs:documentation>način jamčenja (OBJ Običajno jamstvo / JRA Jamstvo po računu)</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="Aktivna" type="ut:NizDaNe" minOccurs="0">
							<xs:annotation>
								<xs:documentation>DA -  v obdobju 24 mesecev pred presečnim datumom je bila aktivnost na vlogi
NE - v obdobju 24 mesecev pred presečnim datumom ni bilo aktivnosti na vlogi</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="Val" type="ut:Niz3" nillable="false">
							<xs:annotation>
								<xs:documentation>Oznaka valute, alfa numerična (npr.EUR)</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="StanjeVal" type="ut:DecimalPoz_15_2" nillable="false">
							<xs:annotation>
								<xs:documentation>BRUTO Stanje upravičene vloge v valuti na posameznem računu na presečni datum. Znesek ne sme biti manjši od 0.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="StanjeEurBruto" type="ut:DecimalPoz_15_2" nillable="false">
							<xs:annotation>
								<xs:documentation>BRUTO Protivrednost upravičene vloge v EUR na posameznem računu na presečni datum. Znesek ne sme biti manjši od 0.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="ObvZapNepor" type="ut:DecimalPoz_15_2" nillable="false">
							<xs:annotation>
								<xs:documentation>Znesek zapadlih neporavnanih obveznosti vlagatelja do banke v EUR, ki so se v skladu z ZSJV in ob upoštevanju veljavne pogodbene ureditve ali predpisov, ki se uporabljajo za banko, pobotale s  terjatvijo vlagatelja iz naslova vloge, če to ni bilo izvedeno na dan nastanka obveznosti. </xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="StanjeEurNeto" type="ut:DecimalPoz_15_2" nillable="false">
							<xs:annotation>
								<xs:documentation>NETO Protivrednost upravičene vloge v EUR na posameznem računu na presečni datum. Znesek ne sme biti manjši od 0.</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IzplZadr1" type="ut:Niz3" nillable="false">
							<xs:annotation>
								<xs:documentation>Razlog zadržanja izplačila - šifra (PRO, ZAV, IZV, STE, UMR, OME, TOZ, PPD, DRU, NIP)</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="IzplZadr2" type="ut:Niz3" nillable="false" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Razlog zadržanja izplačila - šifra (PRO, ZAV, IZV, STE, UMR, OME, TOZ, PPD, DRU, NIP)</xs:documentation>
							</xs:annotation>
						</xs:element>
						<xs:element name="Zastopniki" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Podatki o zastopnikih in imetnikih FIR računa na nivoju vloge / partije</xs:documentation>
							</xs:annotation>
							<xs:complexType>
								<xs:sequence>
									<xs:element name="Zastopnik" type="ns:ZastopType" maxOccurs="unbounded"/>
								</xs:sequence>
							</xs:complexType>
						</xs:element>
						<xs:element name="Opombe" minOccurs="0">
							<xs:annotation>
								<xs:documentation>Vsebina opombe</xs:documentation>
							</xs:annotation>
						</xs:element>
					</xs:sequence>
				</xs:complexType>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:element name="ZVPorocilo" type="ns:ZVPorocilo">
		<xs:annotation>
			<xs:documentation>Poročilo ZV - element</xs:documentation>
		</xs:annotation>
	</xs:element>
</xs:schema>
