<?xml version="1.0" encoding="utf-8"?>
<xsd:schema targetNamespace="http://skilagrein.is/FundPayment" elementFormDefault="qualified" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://skilagrein.is/FundPayment">
	<xsd:element name="FundPayments">
		<xsd:annotation>
			<xsd:documentation>Rót skilagreina, listi greiðsla</xsd:documentation>
		</xsd:annotation>
		<xsd:complexType>
			<xsd:sequence maxOccurs="unbounded">
				<xsd:element name="Payment" type="PaymentType">
					<xsd:annotation>
						<xsd:documentation>Greiðsla</xsd:documentation>
					</xsd:annotation>
				</xsd:element>
			</xsd:sequence>
		</xsd:complexType>
	</xsd:element>
	<xsd:complexType name="PaymentEntriesType">
		<xsd:annotation>
			<xsd:documentation>Listi greiðslufærsla</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence maxOccurs="unbounded">
			<xsd:element name="Entry" type="PaymentEntryType">
				<xsd:annotation>
					<xsd:documentation>Ein greiðslufærsla.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="SummaryType">
		<xsd:annotation>
			<xsd:documentation>Sundurliðun</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element ref="EntityType"/>
			<xsd:element ref="EntityNo"/>
			<xsd:element name="PersonAmountSum">
				<xsd:annotation>
					<xsd:documentation>Summa upphæða undir  liðnum Entry/PersonAmount afmarkað eftir sjóði/félagi og launagreiðanda</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:decimal">
						<xsd:fractionDigits value="2"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="EmployerAmountSum">
				<xsd:annotation>
					<xsd:documentation>Summa upphæða undir  liðnum Entry/EmployerAmount afmarkað eftir sjóði/félagi og launagreiðanda</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:decimal">
						<xsd:fractionDigits value="2"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="EmployerType">
		<xsd:annotation>
			<xsd:documentation>Launagreiðandi</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="EmployerSSN">
				<xsd:annotation>
					<xsd:documentation>Kennitala launagreiðanda, án bandstriks.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:minLength value="10"/>
						<xsd:maxLength value="10"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="Name">
				<xsd:annotation>
					<xsd:documentation>Nafn launagreiðanda.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:maxLength value="255"/>
						<xsd:whiteSpace value="preserve"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="SummariesType">
		<xsd:annotation>
			<xsd:documentation>Listi sundurliðana</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence maxOccurs="unbounded">
			<xsd:element name="Summary" type="SummaryType">
				<xsd:annotation>
					<xsd:documentation>Summufærsla.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="PaymentEntryType">
		<xsd:annotation>
			<xsd:documentation>Greiðslufærsla</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element ref="EntityType"/>
			<xsd:element ref="EntityNo"/>
			<xsd:element name="PersonSSN">
				<xsd:annotation>
					<xsd:documentation>Kennitala launþega, án bandstriks.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:minLength value="10"/>
						<xsd:maxLength value="10"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="MonthYear" type="xsd:gYearMonth" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Ár og mánuður sem greitt er fyrir, á sniðinu YYYY-MM</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="PeriodFrom" type="xsd:date" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Tímabil frá.  Ef iðgjaldið á ekki við ákevðinn ármánuð heldur tímabil, þá skal tilgreina það hér.  Ritháttur er YYYY-MM-DD.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="PeriodTo" type="xsd:date" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Tímabil til.  Ef iðgjaldið á ekki við ákevðinn ármánuð heldur tímabil, þá skal tilgreina það hér.  Ritháttur er YYYY-MM-DD.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="Date" type="xsd:date" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Dagsetning útborgunar, á sniðinu YYYY-MM-DD.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="PersonAmount">
				<xsd:annotation>
					<xsd:documentation>Upphæð iðgjalds/félagsgjalds launþega í krónum og aurum.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:decimal">
						<xsd:fractionDigits value="2"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="EmployerAmount">
				<xsd:annotation>
					<xsd:documentation>Upphæð mótframlags launagreiðanda í krónum og aurum.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:decimal">
						<xsd:fractionDigits value="2"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="DaysAtSea" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Fjöldi daga vegna sjómanna.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:nonNegativeInteger">
						<xsd:minInclusive value="1"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="EmploymentRatio">
				<xsd:annotation>
					<xsd:documentation>Starfshlutfall í prósentum. Gildi með allt að tveimur aukastöfum, ritað með punkti.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:decimal">
						<xsd:minInclusive value="0"/>
						<xsd:maxInclusive value="100"/>
						<xsd:fractionDigits value="2"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="PrivateFundPersonPercentage" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Hlutfall séreignar launþega í prósentum. Gildi með allt að tveimur aukastöfum, ritað með punkti.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:decimal">
						<xsd:minInclusive value="0"/>
						<xsd:maxInclusive value="100"/>
						<xsd:fractionDigits value="2"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="PrivateFundEmployerPercentage" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Hlutfall séreignar launagreiðenda í prósentum. Gildi með allt að tveimur aukastöfum, ritað með punkti.</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:decimal">
						<xsd:minInclusive value="0"/>
						<xsd:maxInclusive value="100"/>
						<xsd:fractionDigits value="2"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="SalaryTable" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Launatafla sem greitt er samkvæmt, aðeins fyrir B-deild LSR (valkvætt)</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:maxLength value="4"/>
						<xsd:minLength value="1"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="SalaryCategory" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Launaflokkur sem greitt er samkvæmt, aðeins fyrir B-deild LSR (valkvætt)</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:maxLength value="2"/>
						<xsd:minLength value="1"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="SalarySubcategory" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Launaþrep sem greitt er samkvæmt, aðeins fyrir B-deild LSR (valkvætt)</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:string">
						<xsd:maxLength value="3"/>
						<xsd:minLength value="1"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
			<xsd:element name="AdditionalAmount" minOccurs="0">
				<xsd:annotation>
					<xsd:documentation>Upphæð viðbótariðgjalds í krónum og aurum, aðeins fyrir B-deild LSR (valkvætt)</xsd:documentation>
				</xsd:annotation>
				<xsd:simpleType>
					<xsd:restriction base="xsd:decimal">
						<xsd:fractionDigits value="2"/>
					</xsd:restriction>
				</xsd:simpleType>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:complexType name="PaymentType">
		<xsd:annotation>
			<xsd:documentation>Greiðsla</xsd:documentation>
		</xsd:annotation>
		<xsd:sequence>
			<xsd:element name="Employer" type="EmployerType">
				<xsd:annotation>
					<xsd:documentation>Launagreiðandi.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="Entries" type="PaymentEntriesType">
				<xsd:annotation>
					<xsd:documentation>Listi greiðslufærsla.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
			<xsd:element name="Summaries" type="SummariesType">
				<xsd:annotation>
					<xsd:documentation>Summufærslur.</xsd:documentation>
				</xsd:annotation>
			</xsd:element>
		</xsd:sequence>
	</xsd:complexType>
	<xsd:element name="EntityType">
		<xsd:annotation>
			<xsd:documentation>Tegund sjóðafærslu: L sameign), X (séreign) F (stéttarfélag),  S (sjúkrasjóður), O (orlofsheimilasjóður) E (starfsmenntasjóður) eða H (félagsheimilasjóður).</xsd:documentation>
		</xsd:annotation>
		<xsd:simpleType>
			<xsd:restriction base="xsd:string">
				<xsd:minLength value="1"/>
				<xsd:maxLength value="1"/>
			</xsd:restriction>
		</xsd:simpleType>
	</xsd:element>
	<xsd:element name="EntityNo">
		<xsd:annotation>
			<xsd:documentation>Númer lífeyrissjóðs skv. merkingum SAL eða númer stéttarfélags skv. merkingum Kjararannsóknarnefndar (sjá http:// www.skilagrein.is)</xsd:documentation>
		</xsd:annotation>
		<xsd:simpleType>
			<xsd:restriction base="xsd:nonNegativeInteger"/>
		</xsd:simpleType>
	</xsd:element>
</xsd:schema>
