Advertisement
Guest User

Untitled

a guest
Mar 18th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 7.71 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
  3.   <xs:element name="karta">
  4.     <xs:complexType>
  5.       <xs:sequence>
  6.         <xs:element ref="dane"/>
  7.         <xs:element ref="adres_zameldowania"/>
  8.         <xs:element ref="adres_korespondencyjny"/>
  9.         <xs:element ref="kontakt"/>
  10.         <xs:element ref="wyksztalcenie"/>
  11.         <xs:element ref="jezyki_obce"/>
  12.         <xs:element ref="rodzaj_ukonczonej_aplikacji"/>
  13.         <xs:element ref="aktywnosc_zawodowa"/>
  14.         <xs:element ref="specjalizacja_w_dziedzinie_prawa"/>
  15.         <xs:element ref="kancelaria"/>
  16.         <xs:element ref="spolka_lub_filia_kancelarii"/>
  17.         <xs:element ref="miejsce_pracy"/>
  18.       </xs:sequence>
  19.     </xs:complexType>
  20.   </xs:element>
  21.   <xs:element name="dane">
  22.     <xs:complexType>
  23.       <xs:sequence>
  24.         <xs:choice maxOccurs="unbounded">
  25.           <xs:element ref="drugie_imie"/>
  26.           <xs:element ref="imie"/>
  27.           <xs:element ref="nazwisko"/>
  28.         </xs:choice>
  29.         <xs:element ref="imie_matki"/>
  30.         <xs:element ref="imie_ojca"/>
  31.         <xs:element ref="data_ur"/>
  32.         <xs:element ref="miejsce_urodzenia"/>
  33.         <xs:element ref="nr_nip"/>
  34.         <xs:element ref="nr_pesel"/>
  35.         <xs:element ref="plec"/>
  36.         <xs:element ref="stan_cywilny"/>
  37.         <xs:element ref="nr_wpisu"/>
  38.       </xs:sequence>
  39.     </xs:complexType>
  40.   </xs:element>
  41.   <xs:element name="drugie_imie" type="xs:NCName"/>
  42.   <xs:element name="imie" type="xs:NCName"/>
  43.   <xs:element name="nazwisko">
  44.     <xs:complexType>
  45.       <xs:simpleContent>
  46.         <xs:extension base="xs:NCName">
  47.           <xs:attribute name="typ" type="xs:NCName"/>
  48.         </xs:extension>
  49.       </xs:simpleContent>
  50.     </xs:complexType>
  51.   </xs:element>
  52.   <xs:element name="imie_matki" type="xs:NCName"/>
  53.   <xs:element name="imie_ojca" type="xs:NCName"/>
  54.   <xs:element name="data_ur" type="xs:NMTOKEN"/>
  55.   <xs:element name="miejsce_urodzenia" type="xs:NCName"/>
  56.   <xs:element name="nr_nip" type="xs:integer"/>
  57.   <xs:element name="nr_pesel" type="xs:integer"/>
  58.   <xs:element name="plec" type="xs:integer"/>
  59.   <xs:element name="stan_cywilny" type="xs:NCName"/>
  60.   <xs:element name="nr_wpisu" type="xs:NMTOKEN"/>
  61.   <xs:element name="adres_zameldowania">
  62.     <xs:complexType>
  63.       <xs:sequence>
  64.         <xs:element ref="ulica"/>
  65.         <xs:element ref="dom"/>
  66.         <xs:element ref="lokal"/>
  67.         <xs:element ref="miasto"/>
  68.         <xs:element ref="kod_pocztowy"/>
  69.       </xs:sequence>
  70.     </xs:complexType>
  71.   </xs:element>
  72.   <xs:element name="adres_korespondencyjny">
  73.     <xs:complexType>
  74.       <xs:sequence>
  75.         <xs:element ref="ulica"/>
  76.         <xs:element ref="dom"/>
  77.         <xs:element ref="lokal"/>
  78.         <xs:element ref="miasto"/>
  79.         <xs:element ref="kod_pocztowy"/>
  80.       </xs:sequence>
  81.     </xs:complexType>
  82.   </xs:element>
  83.   <xs:element name="kontakt">
  84.     <xs:complexType>
  85.       <xs:sequence>
  86.         <xs:element maxOccurs="unbounded" ref="telefon"/>
  87.         <xs:element ref="tel_kom"/>
  88.         <xs:element ref="e_mail"/>
  89.       </xs:sequence>
  90.     </xs:complexType>
  91.   </xs:element>
  92.   <xs:element name="tel_kom" type="xs:NMTOKEN"/>
  93.   <xs:element name="e_mail" type="xs:string"/>
  94.   <xs:element name="wyksztalcenie">
  95.     <xs:complexType>
  96.       <xs:sequence>
  97.         <xs:element ref="tytul_naukowy"/>
  98.         <xs:element ref="ukonczone_uczelnie"/>
  99.       </xs:sequence>
  100.     </xs:complexType>
  101.   </xs:element>
  102.   <xs:element name="tytul_naukowy" type="xs:integer"/>
  103.   <xs:element name="ukonczone_uczelnie">
  104.     <xs:complexType>
  105.       <xs:sequence>
  106.         <xs:element maxOccurs="unbounded" ref="uczelnia"/>
  107.       </xs:sequence>
  108.     </xs:complexType>
  109.   </xs:element>
  110.   <xs:element name="uczelnia">
  111.     <xs:complexType>
  112.       <xs:simpleContent>
  113.         <xs:extension base="xs:NCName">
  114.           <xs:attribute name="nr" use="required" type="xs:integer"/>
  115.         </xs:extension>
  116.       </xs:simpleContent>
  117.     </xs:complexType>
  118.   </xs:element>
  119.   <xs:element name="jezyki_obce">
  120.     <xs:complexType>
  121.       <xs:sequence>
  122.         <xs:element maxOccurs="unbounded" ref="jezyk"/>
  123.       </xs:sequence>
  124.     </xs:complexType>
  125.   </xs:element>
  126.   <xs:element name="jezyk">
  127.     <xs:complexType>
  128.       <xs:simpleContent>
  129.         <xs:extension base="xs:NCName">
  130.           <xs:attribute name="nr" use="required" type="xs:integer"/>
  131.           <xs:attribute name="stopien" use="required" type="xs:integer"/>
  132.         </xs:extension>
  133.       </xs:simpleContent>
  134.     </xs:complexType>
  135.   </xs:element>
  136.   <xs:element name="rodzaj_ukonczonej_aplikacji">
  137.     <xs:complexType>
  138.       <xs:sequence>
  139.         <xs:element ref="aplikacja"/>
  140.       </xs:sequence>
  141.     </xs:complexType>
  142.   </xs:element>
  143.   <xs:element name="aplikacja" type="xs:integer"/>
  144.   <xs:element name="aktywnosc_zawodowa">
  145.     <xs:complexType>
  146.       <xs:sequence>
  147.         <xs:element ref="aktywnosc"/>
  148.       </xs:sequence>
  149.     </xs:complexType>
  150.   </xs:element>
  151.   <xs:element name="aktywnosc" type="xs:integer"/>
  152.   <xs:element name="specjalizacja_w_dziedzinie_prawa">
  153.     <xs:complexType>
  154.       <xs:sequence>
  155.         <xs:element ref="specjalizacja"/>
  156.       </xs:sequence>
  157.     </xs:complexType>
  158.   </xs:element>
  159.   <xs:element name="specjalizacja">
  160.     <xs:complexType>
  161.       <xs:simpleContent>
  162.         <xs:extension base="xs:NCName">
  163.           <xs:attribute name="nr" use="required" type="xs:integer"/>
  164.         </xs:extension>
  165.       </xs:simpleContent>
  166.     </xs:complexType>
  167.   </xs:element>
  168.   <xs:element name="kancelaria">
  169.     <xs:complexType>
  170.       <xs:sequence>
  171.         <xs:element ref="nazwa"/>
  172.         <xs:element ref="ulica"/>
  173.         <xs:element ref="dom"/>
  174.         <xs:element ref="miasto"/>
  175.         <xs:element ref="kod_pocztowy"/>
  176.         <xs:element ref="telefon"/>
  177.         <xs:element ref="fax"/>
  178.         <xs:element ref="data_otwarcia"/>
  179.       </xs:sequence>
  180.     </xs:complexType>
  181.   </xs:element>
  182.   <xs:element name="data_otwarcia" type="xs:NMTOKEN"/>
  183.   <xs:element name="spolka_lub_filia_kancelarii">
  184.     <xs:complexType>
  185.       <xs:sequence>
  186.         <xs:element ref="nazwa"/>
  187.         <xs:element ref="ulica"/>
  188.         <xs:element ref="dom"/>
  189.         <xs:element ref="miasto"/>
  190.         <xs:element ref="kod_pocztowy"/>
  191.         <xs:element ref="telefon"/>
  192.         <xs:element ref="fax"/>
  193.         <xs:element ref="data_wpisu"/>
  194.         <xs:element ref="nuemr_w_rejestrze"/>
  195.         <xs:element ref="status_prawny"/>
  196.       </xs:sequence>
  197.     </xs:complexType>
  198.   </xs:element>
  199.   <xs:element name="data_wpisu" type="xs:NMTOKEN"/>
  200.   <xs:element name="nuemr_w_rejestrze" type="xs:integer"/>
  201.   <xs:element name="status_prawny" type="xs:integer"/>
  202.   <xs:element name="miejsce_pracy">
  203.     <xs:complexType>
  204.       <xs:sequence>
  205.         <xs:element ref="nazwa"/>
  206.         <xs:element ref="ulica"/>
  207.         <xs:element ref="dom"/>
  208.         <xs:element ref="lokal"/>
  209.         <xs:element ref="kod_pocztowy"/>
  210.         <xs:element ref="miasto"/>
  211.         <xs:element ref="telefon"/>
  212.         <xs:element ref="fax"/>
  213.       </xs:sequence>
  214.     </xs:complexType>
  215.   </xs:element>
  216.   <xs:element name="ulica" type="xs:NCName"/>
  217.   <xs:element name="dom" type="xs:integer"/>
  218.   <xs:element name="lokal" type="xs:NMTOKEN"/>
  219.   <xs:element name="miasto" type="xs:NCName"/>
  220.   <xs:element name="kod_pocztowy" type="xs:NMTOKEN"/>
  221.   <xs:element name="telefon">
  222.     <xs:complexType>
  223.       <xs:simpleContent>
  224.         <xs:extension base="xs:integer">
  225.           <xs:attribute name="nr" type="xs:integer"/>
  226.         </xs:extension>
  227.       </xs:simpleContent>
  228.     </xs:complexType>
  229.   </xs:element>
  230.   <xs:element name="nazwa" type="xs:string"/>
  231.   <xs:element name="fax" type="xs:integer"/>
  232. </xs:schema>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement