<?xml version="1.0" encoding="utf-8"?>
<xs:schema 
    targetNamespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v4_0/POG_5C.xsd"
    xmlns:xs="http://www.w3.org/2001/XMLSchema" 
    xmlns:pog5c="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v4_0/POG_5C.xsd"
    xmlns:tp4="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v4_0/Types.xsd" 
    xmlns:tr="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v4_0/Trader.xsd"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified"
    version="4_0"
    xml:lang="pl">

	<xs:import namespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v4_0/Types.xsd" schemaLocation="Types_Z2.xsd" />
	<xs:import namespace="http://www.e-clo.pl/ZEFIR2/eZefir2/xsd/v4_0/Trader.xsd" schemaLocation="Trader_Z2.xsd" />

	<xs:annotation>
		<xs:documentation source="doc" xml:lang="pl">ZAŁĄCZNIK DO DEKLARACJI POG-5 DLA PODATKU OD GIER</xs:documentation>
		<xs:documentation source="doc" xml:lang="pl">Formularz
            przeznaczony jest dla podatników podatku od gier:
            - prowadzących
            kasyna gry i salony gry bingo pieniężne oraz
            urządzających zakłady
            wzajemne, loterie pieniężne, grę telebingo i
            loterie audioteksowe,
            -
            urządzających gry liczbowe,
            - urządzających grę bingo fantowe i
            loterię fantową.
		</xs:documentation>
	</xs:annotation>
	<xs:element name="POG5C">
		<xs:annotation>
			<xs:documentation source="doc" xml:lang="pl">ELEMENT GŁÓWNY</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="Header">
					<xs:annotation>
						<xs:documentation source="doc" xml:lang="pl">NAGłÓWEK DEKLARACJI</xs:documentation>
					</xs:annotation>
					<xs:complexType>
						<xs:sequence>
							<xs:element name="Monopoly" type="tp4:ZStateMonopoly" minOccurs="0" maxOccurs="1">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">DANE
                                                            O REALIZACJI MONOPOLU PAŃSTWA
									</xs:documentation>
									<xs:documentation source="box">C</xs:documentation>
								</xs:annotation>
							</xs:element>
							<xs:element name="CalculationOfTaxOnGame" type="tp4:ZCalculationOfTaxOnGameC" minOccurs="1" maxOccurs="14">
								<xs:annotation>
									<xs:documentation source="doc" xml:lang="pl">OBLICZENIE
                                                            PODATKU OD GIER
									</xs:documentation>
									<xs:documentation source="box">D</xs:documentation>
								</xs:annotation>
							</xs:element>
						</xs:sequence>
						<xs:attribute name="identifier" type="tp4:ZIdentification" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">Identyfikator podatnika (NIP).</xs:documentation>
								<xs:documentation source="box">1</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="period" type="tp4:ZPeriod" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">
                                    Data w formacie rok i miesiąc (RRRR-MM) ,gdzie RRRR - oznacza rok, MM - oznacza miesiąc.
								</xs:documentation>
								<xs:documentation source="box">5,6</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="formNo" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">Numer załącznika.</xs:documentation>
								<xs:documentation source="box">4</xs:documentation>
							</xs:annotation>
							<xs:simpleType>
								<xs:restriction base="tp4:ZFormNo">
									<xs:enumeration value="1"/>
								</xs:restriction>
							</xs:simpleType>
						</xs:attribute>
						<xs:attribute name="taxPaid" type="tp4:ZAmountC" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">
                                    Suma wpłat dziennych wpłaconego podatku należnego za okres, którego	dotyczy deklaracja.
								</xs:documentation>
								<xs:documentation source="box">11</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="totalAmountOfTax" type="tp4:ZAmountC" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">Razem kwota podatku.</xs:documentation>
								<xs:documentation source="box">13</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="Regon" type="tp4:ZNrREGON" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">Numer identyfikacyjny REGON.</xs:documentation>
								<xs:documentation source="box">8</xs:documentation>
							</xs:annotation>
						</xs:attribute>
						<xs:attribute name="fullName" type="tp4:ZCharacter" use="required">
							<xs:annotation>
								<xs:documentation source="doc" xml:lang="pl">
                                    Pełna nazwa firmy lub nazwisko i pierwsze imię Podatnika składającego deklarację.
								</xs:documentation>
								<xs:documentation source="box">7</xs:documentation>
							</xs:annotation>
						</xs:attribute>
					</xs:complexType>
				</xs:element>
			</xs:sequence>
			<xs:attribute name="version" type="tp4:ZVersion" use="required">
				<xs:annotation>
					<xs:documentation source="doc" xml:lang="pl">Wersja schematu, z którą zgodny jest komunikat.</xs:documentation>
				</xs:annotation>
			</xs:attribute>
		</xs:complexType>
	</xs:element>

</xs:schema>
