0% found this document useful (0 votes)
28 views

Untitled

The document is an XML schema that defines the structure for a tax declaration document. It outlines the elements that can be included in the document such as description of the document, parties involved (individuals or institutions), addresses, tax classifications, taxable items and amounts, exemptions, attachments, and signatures. The schema imports definitions from other XML schemas and defines complex element types and their child elements to enforce the document structure.

Uploaded by

mojagmina
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
28 views

Untitled

The document is an XML schema that defines the structure for a tax declaration document. It outlines the elements that can be included in the document such as description of the document, parties involved (individuals or institutions), addresses, tax classifications, taxable items and amounts, exemptions, attachments, and signatures. The schema imports definitions from other XML schemas and defines complex element types and their child elements to enforce the document structure.

Uploaded by

mojagmina
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 8

Zacznik Nr 2 do Uchway Nr XX/356/11 Rady Miasta Gdaska z dnia 24 listopada 2011 r.

<?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:meta="http://crd.gov.pl/xml/schematy/meta/2009/03/06/" xmlns:oso="http://crd.gov.pl/xml/schematy/osoba/2009/03/06/" xmlns:inst="http://crd.gov.pl/xml/schematy/instytucja/2009/03/06/" xmlns:adr="http://crd.gov.pl/xml/schematy/adres/2009/03/06/" xmlns:str="http://crd.gov.pl/xml/schematy/struktura/2009/03/06/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:wnio="http://epuap.gov.pl/FeResourceServlet/wzor_lokalny/UMGDA/deklaracja-dn1/" targetNamespace="http://epuap.gov.pl/FeResourceServlet/wzor_lokalny/UMGDA/deklaracja-dn1/" elementFormDefault="qualified" attributeFormDefault="unqualified"> <xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/> <xs:import namespace="http://crd.gov.pl/xml/schematy/meta/2009/03/06/" schemaLocation="http://crd.gov.pl/xml/schematy/meta/2009/03/06/meta.xsd"/> <xs:import namespace="http://crd.gov.pl/xml/schematy/osoba/2009/03/06/" schemaLocation="http://crd.gov.pl/xml/schematy/osoba/2009/03/06/osoba.xsd"/> <xs:import namespace="http://crd.gov.pl/xml/schematy/instytucja/2009/03/06/" schemaLocation="http://crd.gov.pl/xml/schematy/instytucja/2009/03/06/instytucja.xsd"/> <xs:import namespace="http://crd.gov.pl/xml/schematy/adres/2009/03/06/" schemaLocation="http://crd.gov.pl/xml/schematy/adres/2009/03/06/adres.xsd"/> <xs:import namespace="http://crd.gov.pl/xml/schematy/struktura/2009/03/06/" schemaLocation="http://crd.gov.pl/xml/schematy/struktura/2009/03/06/struktura.xsd"/> <xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd"/> <xs:import namespace="http://www.w3.org/2001/XMLSchema" schemaLocation="http://www.w3.org/2001/XMLSchema.xsd"/> <xs:complexType name="DokumentTyp"> <xs:sequence> <xs:element name="OpisDokumentu" type="str:OpisDokumentuTyp"/> <xs:element name="DaneDokumentu" type="str:DaneDokumentuTyp"/> <xs:element name="TrescDokumentu" type="wnio:TrescDokumentuTyp"/> <xs:element ref="ds:Signature" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> </xs:complexType> <xs:element name="Dokument" type="wnio:DokumentTyp"/> <xs:complexType name="TrescDokumentuTyp"> <xs:complexContent> <xs:extension base="str:TrescDokumentuTyp"> <xs:sequence> <xs:element name="Wartosc" type="wnio:WartoscTyp"/> <xs:element name="Deklaracja"> <xs:complexType> <xs:sequence> <xs:element name="Rok"/> <xs:element name="Typ"/> <xs:element name="Miesiac"/> <xs:element name="RodzajPodmiotu"/> <xs:element name="Podmiot"> <xs:complexType> <xs:choice>

<xs:element name="Osoba" type="wnio:OsobaTyp" minOccurs="0"/> <xs:element name="Instytucja" type="wnio:InstytucjaTyp" minOccurs="0"/> </xs:choice> <xs:attribute name="rodzaj"/> </xs:complexType> </xs:element> <xs:element name="Opodatkowanie" type="wnio:OpodatkowanieTyp"/> <xs:element name="PrzedmiotyOpodatkowania" type="wnio:PrzedmiotyTyp"/> <xs:element name="PrzedmiotyZwolnienia" type="wnio:PrzedmiotyTyp"/> <xs:element name="Zwolnienia"> <xs:complexType> <xs:sequence maxOccurs="unbounded"> <xs:element name="Zwolnienie"> <xs:complexType> <xs:sequence> <xs:element name="Inne" minOccurs="0"/> <xs:element name="Grunty" minOccurs="0"/> <xs:element name="Budynki" minOccurs="0"/> <xs:element name="Budowle" minOccurs="0"/> <xs:element name="Kwota" minOccurs="0"/> </xs:sequence> <xs:attribute name="kod"/> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="razemGruntyBezUchwal"/> <xs:attribute name="razemBudynkiBezUchwal"/> <xs:attribute name="razemBudowleBezUchwal"/> <xs:attribute name="razemKwotaBezUchwal"/> <xs:attribute name="razemGrunty"/> <xs:attribute name="razemBudynki"/>

<xs:attribute name="razemBudowle"/> <xs:attribute name="razemKwota"/> </xs:complexType> </xs:element> <xs:element name="Zalaczniki"> <xs:complexType> <xs:attribute name="liczba"/> </xs:complexType> </xs:element> <xs:element name="OswiadczeniaOsob"> <xs:complexType> <xs:sequence> <xs:element name="Osoba"> <xs:complexType> <xs:sequence> <xs:element name="Nazwa"/> <xs:element ref="adr:Telefon"/> <xs:element name="Reprezentant"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="ZgodaNaKorespElek"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:extension> </xs:complexContent> </xs:complexType> <xs:complexType name="WartoscTyp"> <xs:sequence> <xs:element name="RodzajWniosku" type="wnio:RodzajWnioskuTyp"/> <xs:element name="TrescWniosku"> <xs:complexType> <xs:sequence> <xs:element name="NaglowekTresci"/> <xs:element name="ZawartoscTresci"/> </xs:sequence> </xs:complexType> </xs:element>

<xs:element ref="str:Zalaczniki"/> <xs:element ref="wnio:ZalacznikiEx"> <xs:annotation> <xs:documentation>Stanowi rozszerzenie str:Zalaczniki. Niezbdne do rejestracji: - potwierdzenia, o zgodnoci zaacznikw z oryginaami - potwierdzenia aktualnoci poszczeglnych zaacznikw - informacji o typie (id, nazwa) zacznika</xs:documentation> </xs:annotation> </xs:element> </xs:sequence> </xs:complexType> <xs:complexType name="RodzajWnioskuTyp"> <xs:sequence> <xs:element name="DataDokumentu" type="meta:DataTyp" minOccurs="0"/> <xs:element name="TytulDokumentu" type="xs:string" minOccurs="0"/> <xs:element name="OpisRodzajuDokumentu" type="xs:string" minOccurs="0"/> <xs:element name="MiejscowoscDokumentu" type="adr:MiejscowoscTyp" minOccurs="0"/> </xs:sequence> </xs:complexType> <xs:complexType name="ZalacznikiExTyp"> <xs:sequence> <xs:element ref="wnio:Zalacznik" minOccurs="0" maxOccurs="unbounded"/> </xs:sequence> <xs:attribute name="zgodnoscZOryginalem" type="xs:boolean" default="false"> <xs:annotation> <xs:documentation>Potwierdzenie zgodnoci zacznikw z oryginalnymi dokumentami, jeli zaczony dokument nie jest oryginaem podpisanym cyfrowo</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> <xs:element name="Zalacznik" type="wnio:ZalacznikTyp"/> <xs:complexType name="ZalacznikTyp"> <xs:all> <xs:element name="RodzajId" type="xs:string"> <xs:annotation> <xs:documentation>Identyfikator typu zacznika</xs:documentation> </xs:annotation> </xs:element> <xs:element name="RodzajNazwa"> <xs:annotation> <xs:documentation>Nazwa typu zacznika</xs:documentation> </xs:annotation> </xs:element> </xs:all> <xs:attribute name="aktualny" type="xs:string"> <xs:annotation> <xs:documentation>Potwierdzenie, e zaaczony dokument jest aktualny</xs:documentation> </xs:annotation> </xs:attribute> </xs:complexType> <xs:element name="ZalacznikiEx" type="wnio:ZalacznikiExTyp"/> <xs:complexType name="OpodatkowanieTyp">

<xs:sequence> <xs:element name="Grunty"> <xs:complexType> <xs:sequence> <xs:element name="Grunt" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="Powierzchnia"/> <xs:element name="Stawka"/> <xs:element name="Kwota"/> </xs:sequence> <xs:attribute name="kod"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Budynki"> <xs:complexType> <xs:sequence> <xs:element name="Budynek" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="Powierzchnia"/> <xs:element name="Stawka"/> <xs:element name="Kwota"/> </xs:sequence> <xs:attribute name="kod"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Budowle"> <xs:complexType> <xs:sequence> <xs:element name="Budowla" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="Podstawa"/> <xs:element name="Stawka"/> <xs:element name="Kwota"/> </xs:sequence> <xs:attribute name="kod"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Raty"> <xs:complexType> <xs:sequence> <xs:element name="Rata" maxOccurs="unbounded"/> </xs:sequence>

</xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="razem"/> </xs:complexType> <xs:complexType name="ZalacznikiDeklaracjiTyp"> <xs:sequence/> </xs:complexType> <xs:complexType name="InstytucjaTyp"> <xs:sequence> <xs:element name="Identyfikatory" type="wnio:IdentyfikatoryTyp"/> <xs:element name="Cechy" type="wnio:CechyTyp" minOccurs="0"/> <xs:element ref="inst:NazwaInstytucji"/> <xs:element ref="adr:Adres"/> <xs:element name="NazwaSkrInstytucji" type="inst:NazwaInstytucjiTyp"/> </xs:sequence> </xs:complexType> <xs:complexType name="OsobaTyp"> <xs:sequence> <xs:element name="Identyfikatory" type="wnio:IdentyfikatoryTyp"/> <xs:element name="Cechy" type="wnio:CechyTyp" minOccurs="0"/> <xs:element ref="oso:Imie"/> <xs:element ref="oso:ImieDrugie"/> <xs:element ref="oso:Nazwisko" maxOccurs="3"/> <xs:element ref="oso:ImieOjca"/> <xs:element ref="oso:ImieMatki"/> <xs:element name="DataUrodzenia"/> <xs:element ref="adr:Adres"/> </xs:sequence> </xs:complexType> <xs:element name="Typ"> <xs:complexType/> </xs:element> <xs:element name="Klasyfikacje"> <xs:complexType> <xs:sequence> <xs:element name="Klasyfikacja"> <xs:complexType> <xs:sequence> <xs:element name="Wartosc"/> </xs:sequence> <xs:attribute name="kod"/> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:complexType name="PrzedmiotOpodatkowaniaTyp"> <xs:sequence> <xs:element name="Polozenie"/> <xs:element name="FormaWladania"/> <xs:element name="NrKsiegiWieczystej"/> <xs:element name="Obreb"/> <xs:element name="NrDzialki"/> <xs:element name="NrEwidencyjny"/> <xs:element name="NazwaBudowli"/>

<xs:element name="WartoscBudowli" minOccurs="0"/> <xs:element name="PowierzchniaGruntow" minOccurs="0"/> <xs:element name="PowierzchniaBudynkow" minOccurs="0"/> <xs:element name="TytulZwolnienia" minOccurs="0"/> </xs:sequence> </xs:complexType> <xs:complexType name="IdentyfikatoryTyp"> <xs:sequence> <xs:element name="PESEL" minOccurs="0"/> <xs:element name="NIP" minOccurs="0"/> <xs:element name="REGON" minOccurs="0"/> <xs:element name="KRS" minOccurs="0"/> </xs:sequence> </xs:complexType> <xs:complexType name="PrzedmiotyTyp"> <xs:sequence> <xs:element name="Grunty"> <xs:complexType> <xs:sequence> <xs:element name="PrzedmiotGrunt" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="Polozenie"/> <xs:element name="NrObrebu"/> <xs:element name="NrDzialki"/> <xs:element name="NrKW"/> <xs:element name="TytulPrawny"/> <xs:element name="Powierzchnia"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> <xs:element name="Budynki"> <xs:complexType> <xs:sequence> <xs:element name="PrzedmiotBudynek" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="Polozenie"/> <xs:element name="NrObrebu"/> <xs:element name="NrDzialki"/> <xs:element name="NrKW"/> <xs:element name="TytulPrawny"/> <xs:element name="Powierzchnia"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence>

</xs:complexType> </xs:element> <xs:element name="Budowle"> <xs:complexType> <xs:sequence> <xs:element name="PrzedmiotBudowla" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> <xs:sequence> <xs:element name="Polozenie"/> <xs:element name="NrEwidencyjny"/> <xs:element name="Nazwa"/> <xs:element name="TytulPrawny"/> <xs:element name="Wartosc"/> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> </xs:complexType> </xs:element> </xs:sequence> <xs:attribute name="razem"/> </xs:complexType> <xs:complexType name="CechyTyp"> <xs:sequence> <xs:element name="PKD" minOccurs="0"/> </xs:sequence> </xs:complexType> </xs:schema>

You might also like