kreta/Kreta.Client/Service References/Kir2Service/edu_core.xsd
2024-03-13 00:33:46 +01:00

1045 lines
No EOL
41 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns="http://www.educatio.hu/common" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.educatio.hu/common" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:attributeGroup name="ClientAuthAttributes">
<xs:annotation>
<xs:documentation>kliens alkalmazás és az esetlegesen benne értelmezett felhasználó azonosító</xs:documentation>
</xs:annotation>
<xs:attribute name="clientApp" use="required">
<xs:annotation>
<xs:documentation>a kliens alkalmazás, amely a szolgáltatást igénybe szeretné venni</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="128" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="clientAuthNs" use="optional">
<xs:annotation>
<xs:documentation>a kliens alkalmazásban értelmezett felhasználó névtere (amennyiben ez létezik). Csak debug információként használja ezt a szolgáltatás.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="512" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="clientAuthName" use="optional">
<xs:annotation>
<xs:documentation>a kliens alkalmazásban értelmezett felhasználó neve (amennyiben ez létezik). Csak debug információként használja ezt a szolgáltatás.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="128" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:attributeGroup>
<xs:simpleType name="IgenNemType">
<xs:annotation>
<xs:documentation>egyszerű igen/nem típus (I: igen, N: nem)</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="I" />
<xs:enumeration value="N" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="IrszamType">
<xs:annotation>
<xs:documentation>irányítószám formátuma (4)</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TelefonType">
<xs:annotation>
<xs:documentation> Telefonszám típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string" />
</xs:simpleType>
<xs:simpleType name="PIRType">
<xs:annotation>
<xs:documentation>A MÁK által használt PIR-kód típusa</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="6" />
<xs:maxLength value="6" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FaxType">
<xs:annotation>
<xs:documentation>Fax típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string" />
</xs:simpleType>
<xs:simpleType name="EmailType">
<xs:annotation>
<xs:documentation>email típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="\w[-+._\w]+@\w[-.\w]+\.\w[-.\w]+" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TelefonszamType">
<xs:annotation>
<xs:documentation>telefonszám típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[+]?\d+([\\/-]\d+)*" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="OktazonType">
<xs:annotation>
<xs:documentation>oktazon szám formátuma (11 számból áll)</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:integer">
<xs:totalDigits value="11" />
<xs:minInclusive value="70000000000" />
<xs:maxInclusive value="99999999999" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="FOmKodType">
<xs:annotation>
<xs:documentation>Felsőoktatási OM kód típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="7" />
<xs:minLength value="7" />
<xs:whiteSpace value="collapse" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="KOmKodType">
<xs:annotation>
<xs:documentation>Közoktatási OM kód típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
<xs:minLength value="6" />
<xs:whiteSpace value="collapse" />
<xs:pattern value="\d{6}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TelephelySorszamType">
<xs:annotation>
<xs:documentation>Közoktatási intézmények esetén értelmezett telephely sorszámát leíró típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="3" />
<xs:minLength value="3" />
<xs:whiteSpace value="collapse" />
<xs:pattern value="\d{3}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NemType">
<xs:annotation>
<xs:documentation>személyek nem típusa (N:nő, F: férfi, X: ismeretlen)</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="N" />
<xs:enumeration value="F" />
<xs:enumeration value="X" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NevSorrendType">
<xs:annotation>
<xs:documentation>a nevek sorrendje vezetéknév-keresztnév vagy fordított</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="VEZETEKNEV">
<xs:annotation>
<xs:documentation>A név első része a vezetéknév</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="KERESZTNEV">
<xs:annotation>
<xs:documentation>A név első része a keresztnév</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="DatumPontossagType">
<xs:annotation>
<xs:documentation>egy adott dátum pontosságát meghatározó érték (P: pontos, H: hóhelyes, E: évhelyes, X: nem ismert)</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="P" />
<xs:enumeration value="H" />
<xs:enumeration value="E" />
<xs:enumeration value="X" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="TAJType">
<xs:annotation>
<xs:documentation>A TAJ szám formátuma (9 számból áll)</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="9" />
<xs:minLength value="9" />
<xs:pattern value="\d{9}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="OkmanyTipusType">
<xs:annotation>
<xs:documentation>okmány típus (D: diákigazolvány, S: Személyi, U: utlevél, T: tartózkodási engedély)</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="D" />
<xs:enumeration value="S" />
<xs:enumeration value="U" />
<xs:enumeration value="T" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="NEKAzonositoType">
<xs:annotation>
<xs:documentation>Nemzeti Egységes Kártyarendszer Azonosító</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:length value="16" />
<xs:whiteSpace value="collapse" />
<xs:pattern value="\d{2}(0[1-9]|1[012])(0[1-9]|[12][0-9]|3[01])[a-zA-Z]{3}\d{3}\d{4}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="MunkarendType">
<xs:annotation>
<xs:documentation>az igénylő a megadott képzési formában vesz részt az adott intézményben</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="N">
<xs:annotation>
<xs:documentation>Nappali tagozatos igénylő</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="E">
<xs:annotation>
<xs:documentation>Esti képzésben részt vevő igénylő</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="L">
<xs:annotation>
<xs:documentation>Levelező képzésben részt vevő igénylő</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="T">
<xs:annotation>
<xs:documentation>Távoktatásban részt vevő igénylő</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="AdoszamType">
<xs:annotation>
<xs:documentation>Adószám formátuma</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="13" />
<xs:maxLength value="13" />
<xs:pattern value="\d{8}(-){0,1}\d{1}(-){0,1}\d{2}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="BankSzamlaSzamType">
<xs:annotation>
<xs:documentation>Bankszámlaszám típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="\d{8}-\d{8}(-\d{8}){0,1}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="KerelemMuveletType">
<xs:annotation>
<xs:documentation>kérelem művelet típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="LETREHOZ" />
<xs:enumeration value="MODOSIT" />
<xs:enumeration value="TOROL" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="uuid">
<xs:annotation>
<xs:documentation>Uuid típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="\{[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}\}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="ExternalIdType">
<xs:annotation>
<xs:documentation>A küldő rendszer megadhat egy saját kérés azonosítót, amit a fogadó rendszernek vissza kell adnia a kérésre adott válaszban</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="stringWithId">
<xs:annotation>
<xs:documentation>olyan szöveges típus, amelyhez azonosító érték is tartozhat</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:unsignedLong">
<xs:annotation>
<xs:documentation>ha az adott elemnek van azonositoja</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="stringWithStringId">
<xs:annotation>
<xs:documentation>olyan szöveges típus, amelyhez azonosító érték is tartozhat</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:string">
<xs:annotation>
<xs:documentation>ha az adott elemnek van azonositoja</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="stringWithRequiredId">
<xs:annotation>
<xs:documentation>Id-vel azonosítható típus, amelynek van szöveges megfelelője is, de az ID megadása mindenképp kötelező</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:unsignedLong" use="required">
<xs:annotation>
<xs:documentation>az adott elem azonositoja</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="stringWithRequiredStringId">
<xs:annotation>
<xs:documentation>Id-vel azonosítható típus, amelynek van szöveges megfelelője is, de az ID megadása mindenképp kötelező</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="id" type="xs:string" use="required">
<xs:annotation>
<xs:documentation>az adott elem azonositoja</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="SzotarType">
<xs:annotation>
<xs:documentation>a szótár hosszú neve az elem tartalma</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="SzotarTipus">
<xs:annotation>
<xs:documentation>a szótár elem típusa</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="RovidNev" use="required">
<xs:annotation>
<xs:documentation>a szótár elem rövid neve</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
<xs:minLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Torolt" type="xs:boolean">
<xs:annotation>
<xs:documentation>a szótár elem törölt-e</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="SzotarLekerdezesType">
<xs:annotation>
<xs:documentation>Szótárelem megadása a requestekben</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="SzotarTipus">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="RovidNev" use="required">
<xs:annotation>
<xs:documentation>a szótár elem rövid neve, ha üres sztring, akkor a hosszú névre keresünk (ha az adott szolgáltatás implementálja ezt a funkciót!)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
<xs:minLength value="0" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="Torolt" type="xs:boolean" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="CimAdatokType">
<xs:annotation>
<xs:documentation>címadatok (kirint: fenntartó, telephely, kikfir)</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="Irszam" type="IrszamType" />
<xs:element minOccurs="0" name="Helyseg" type="stringWithStringId">
<xs:annotation>
<xs:documentation>helység
szótárazandó: HelysegType</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Utca" type="xs:string" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="CimType">
<xs:annotation>
<xs:documentation>cím típus</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Orszag" type="stringWithRequiredId">
<xs:annotation>
<xs:documentation>ország</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Regio" type="xs:string">
<xs:annotation>
<xs:documentation>melyik régióban található az adott cím</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Telepules" type="stringWithId">
<xs:annotation>
<xs:documentation>település neve
szótárazandó: HelysegType</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="IranyitoSzam" nillable="true" type="IrszamType">
<xs:annotation>
<xs:documentation>irányítószám</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Postafiok" nillable="true" type="xs:string">
<xs:annotation>
<xs:documentation>postafiok</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="KozteruletNev" nillable="true" type="xs:string">
<xs:annotation>
<xs:documentation>közterület megnevezése</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="KozteruletJelleg" nillable="true" type="xs:string">
<xs:annotation>
<xs:documentation>milyen típusú a közterület (utca, tér stb.)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Hazszam" nillable="true" type="xs:string">
<xs:annotation>
<xs:documentation>házszám</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Pontositas" nillable="true" type="xs:string">
<xs:annotation>
<xs:documentation>esetleges cím pontosítás</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ElerhetosegType">
<xs:annotation>
<xs:documentation>elérhetőség típus</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="Telefon" type="xs:string">
<xs:annotation>
<xs:documentation>telefonszám</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Email" type="xs:string">
<xs:annotation>
<xs:documentation>emailcím</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Mobil" type="xs:string">
<xs:annotation>
<xs:documentation>mobil telefonszám</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Fax" type="xs:string">
<xs:annotation>
<xs:documentation>faxszám</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NevType">
<xs:annotation>
<xs:documentation>személyek nevének tárolására szolgáló adattípus</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="Elonev" type="xs:string">
<xs:annotation>
<xs:documentation>a személy előneve (pl. id., dr., Dr., özv., stb.)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Vezeteknev">
<xs:annotation>
<xs:documentation>a személy vezetékneve (a középső nevek is ide kerülnek)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:pattern value="[^\d_+*?!%/\\:;&quot;()]*" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Keresztnev">
<xs:annotation>
<xs:documentation>a személy keresztneve (egynevű személy esetén ide kerül a neve)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1" />
<xs:pattern value="[^\d_+*?!%/\\:;&quot;()]*" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NevSorrend" type="NevSorrendType">
<xs:annotation>
<xs:documentation>a vezetéknév és a keresztnév leírásának sorrendjére vonatkozó információ</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="RegiNevType">
<xs:annotation>
<xs:documentation>régebben használt név típus (név, knstart, vezetéknév-keresztnév sorrend, előnév, dr)</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Nev">
<xs:annotation>
<xs:documentation>a személy neve</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NevKnstart" type="xs:short">
<xs:annotation>
<xs:documentation>az utónév kezdő pozíciója a néven belül (1-től kezdődő pozícionálással)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NevSorrend" type="NevSorrendType">
<xs:annotation>
<xs:documentation>A névben található vezetéknév és keresztnév sorrendje.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="NevElotag" type="xs:string">
<xs:annotation>
<xs:documentation>ha a névhez valamilyen külön előtag tartozik (például: ifjabb, idősebb stb.)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="NevDr" type="xs:string">
<xs:annotation>
<xs:documentation>ha a névhez doktori fokozat is tartozik, akkor azt ezen mező jelzi</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ErtesitesType">
<xs:annotation>
<xs:documentation>Az értesítési kontroller által visszaadott értesítések általános formátuma</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="RekordsyncDeltaListResponse">
<xs:complexType>
<xs:sequence>
<xs:element name="Service">
<xs:complexType>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Record">
<xs:complexType>
<xs:sequence>
<xs:element name="ErtesitesAzonosito" type="xs:string" />
<xs:element name="ErtesitesAdatok" type="xs:anyType" />
</xs:sequence>
<xs:attribute name="Lastupd" type="xs:date" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="Id" type="xs:string" use="required" />
<xs:attribute name="Version" type="xs:int" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="TranId" type="xs:int" use="required" />
<xs:attribute name="TimeStamp" type="xs:string" use="required" />
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="AbstractAdatModositasType">
<xs:annotation>
<xs:documentation>Módosítás típusú adatkérések esetén a kérés ezen altípusból származik le</xs:documentation>
</xs:annotation>
<xs:attribute name="muvelet" type="KerelemMuveletType">
<xs:annotation>
<xs:documentation>Amennyiben nincs megadva a művelet értéke, úgy a kérelmet feldolgozó egységnek nem kell foglalkozni az adott kérelem szakasszal.</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
<xs:complexType name="OrszagType">
<xs:annotation>
<xs:documentation>Ország típus</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Kod" type="xs:string">
<xs:annotation>
<xs:documentation>ország kódja</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Kod2" type="xs:string">
<xs:annotation>
<xs:documentation>ország másodlagos kódja</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Nev" type="xs:string">
<xs:annotation>
<xs:documentation>ország neve</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Allampolgarsag" type="xs:string">
<xs:annotation>
<xs:documentation>országhoz tartozó állampolgárság neve</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Sorszam" type="xs:int">
<xs:annotation>
<xs:documentation>rendezési sorszám</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="MessageSeverityType">
<xs:annotation>
<xs:documentation>az üzenet szintje (info, error, stb.)</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:enumeration value="INFO" />
<xs:enumeration value="WARNING" />
<xs:enumeration value="ERROR" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="MessageType">
<xs:annotation>
<xs:documentation>Üzenet típus: üzleti hibák, figyelmeztetések és információk visszaadására használjuk</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Type" type="MessageSeverityType">
<xs:annotation>
<xs:documentation>Típus: hiba/figyelmeztetés/információ</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Source">
<xs:annotation>
<xs:documentation>Az üzenetet előállító forrás rendszer neve </xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Code">
<xs:annotation>
<xs:documentation>Az üzenet kódja a forrás rendszerben</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Text" type="xs:string">
<xs:annotation>
<xs:documentation>Az üzenet szövege</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="unbounded" name="OtherInfo" type="stringWithStringId">
<xs:annotation>
<xs:documentation>Egyéb adatok az üzenettel kapcsolatban</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="OperationFaultType">
<xs:annotation>
<xs:documentation>Hibakezelés típusa (SOAP fault operation). A különböző szolgáltatásokban egységesen használt hiba típus</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ErrorCode" type="xs:int">
<xs:annotation>
<xs:documentation>hiba kódja</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ErrorMessage" type="xs:string">
<xs:annotation>
<xs:documentation>hibaüzenet (a kliens felé beszédesnek kell lennie)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" name="Time" type="xs:dateTime">
<xs:annotation>
<xs:documentation>időpont</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="unbounded" name="OtherInfo" type="stringWithStringId">
<xs:annotation>
<xs:documentation>egyéb hiba leíró információk</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="OperationFault" type="OperationFaultType">
<xs:annotation>
<xs:documentation>Hibakezelés típusa (SOAP fault operation)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="SystemFaultType">
<xs:annotation>
<xs:documentation>A rendszerhibákat reprezentáló típus, ezt kell használni a jövőben rendszerhibák jelzésére, viszont az üzleti hibákat tilos ezzel jelezni</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="ErrorSource">
<xs:annotation>
<xs:documentation>A hibát dobó forrás rendszer neve</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="20" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ErrorCode">
<xs:annotation>
<xs:documentation>A rhiba kódja a forrás rendszerben</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="10" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="ErrorMessage" type="xs:string">
<xs:annotation>
<xs:documentation>A hiba szövege (a kliens felé egyértelműnek és beszédesnek kell lennie)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OccuredAt" type="xs:dateTime">
<xs:annotation>
<xs:documentation>A hba megtörténtének időpontja</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element minOccurs="0" maxOccurs="unbounded" name="OtherInfo" type="stringWithStringId">
<xs:annotation>
<xs:documentation>Egyéb a hibával kapcsolatos adatok</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="SystemFault" type="SystemFaultType">
<xs:annotation>
<xs:documentation>Rendszerhiba SOAP fault</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Nev" type="NevType" />
<xs:complexType name="RequestBaseType" abstract="true">
<xs:annotation>
<xs:documentation>Edu kérés base type, minden Edu-s kérést ebből kell származtatni a jövőben</xs:documentation>
</xs:annotation>
<xs:attribute name="externalId" type="ExternalIdType">
<xs:annotation>
<xs:documentation>A küldő rendszer megadhat egy saját kérés azonosítót, amit a fogadó rendszernek vissza kell adnia a kérésre adott válaszban</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="version" use="required">
<xs:annotation>
<xs:documentation>az igénybevett szolgáltatás interfészének a verziószáma</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="128" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attributeGroup ref="ClientAuthAttributes" />
</xs:complexType>
<xs:complexType name="ResponseBaseType" abstract="true">
<xs:annotation>
<xs:documentation>Edu válasz base type,minden Edu-s választ ebből kell származtatni a jövőben</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" maxOccurs="unbounded" name="Messages" type="MessageType" />
</xs:sequence>
<xs:attribute name="isSuccess" type="xs:boolean" use="required">
<xs:annotation>
<xs:documentation>Sikeres-e a válasz</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="createdAt" type="xs:dateTime" use="required">
<xs:annotation>
<xs:documentation>A válasz összeállításának időpontja</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="externalId" type="ExternalIdType">
<xs:annotation>
<xs:documentation>A küldő rendszer megadhat egy saját kérés azonosítót, amit a fogadó rendszernek vissza kell adnia a kérésre adott válaszban</xs:documentation>
</xs:annotation>
</xs:attribute>
<xs:attribute name="version" use="required">
<xs:annotation>
<xs:documentation>a kiszolgáló szolgáltatás interfészének verziószáma</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="128" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
<xs:complexType name="SearchRequestBaseType">
<xs:annotation>
<xs:documentation>kereséseknél használható alap kérés típus</xs:documentation>
</xs:annotation>
<xs:complexContent mixed="false">
<xs:extension base="RequestBaseType">
<xs:attribute name="pageSize">
<xs:annotation>
<xs:documentation>maximálisan visszaadandó elemek száma (page megadása esetén annyi)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1" />
<xs:maxInclusive value="10000" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="pageNumber">
<xs:annotation>
<xs:documentation>hányadik lapra vagyunk kíváncsiak az eredményhalmazból (ha nincs megadva, akkor nem lesz lapozható a keresési kérés, így a válaszaban nem kötelező visszaadni az összes találat számát)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="SearchResponseBaseType">
<xs:annotation>
<xs:documentation>kereséseknél használható alap válasz típus</xs:documentation>
</xs:annotation>
<xs:complexContent mixed="false">
<xs:extension base="ResponseBaseType">
<xs:attribute name="total">
<xs:annotation>
<xs:documentation>a keresés eredményének tényleges mérete (csak pageing esetén kerül kötelezően kitöltésre)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:long">
<xs:minInclusive value="0" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="pageSize">
<xs:annotation>
<xs:documentation>amennyiben a találati elemszám szűkítésre került, akkor a szűkítés mértékét tartalmazza ez az attribútum</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1" />
<xs:maxInclusive value="10000" />
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:simpleType name="OSZNYOktatasiAzonositoType">
<xs:restriction base="xs:string">
<xs:pattern value="[7-9]\d{10}" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="OSZNYNevType">
<xs:annotation>
<xs:documentation>személyek nevének tárolására szolgáló adattípus</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element minOccurs="0" name="Elonev">
<xs:annotation>
<xs:documentation>a személy előneve (pl. id., dr., Dr., özv., stb.)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="15" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="Vezeteknev">
<xs:annotation>
<xs:documentation>a személy vezetékneve (a középső nevek is ide kerülnek)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="0" />
<xs:maxLength value="200" />
<xs:pattern value="[^\d_+*?!%/\\:;&quot;()]*" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Utonev">
<xs:annotation>
<xs:documentation>a személy utóneve (egynevű személy esetén ide kerül a neve)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:minLength value="0" />
<xs:maxLength value="100" />
<xs:pattern value="[^\d_+*?!%/\\:;&quot;()]*" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element minOccurs="0" name="Utonev2">
<xs:annotation>
<xs:documentation>a személy további utónevei (ha az utónevek bontására vonatkozó információ rendelkezésre áll)</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="50" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="NevSorrend" type="OSZNYNevSorrendType">
<xs:annotation>
<xs:documentation>a vezetéknév és a keresztnév leírásának sorrendjére vonatkozó információ: VU - vezetéknév elöl; UV - utónév elöl</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="OSZNYNevSorrendType">
<xs:restriction base="xs:string">
<xs:enumeration value="VU" />
<xs:enumeration value="UV" />
</xs:restriction>
</xs:simpleType>
<xs:complexType name="OSZNYSzuletesiHelyType">
<xs:annotation>
<xs:documentation>személyek születési helyének tárolására szolgáló adattípus</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="Magyarorszag" type="OSZNYMagyarorszagiSzuletesiHelyType" />
<xs:element name="Kulfold" type="OSZNYKulfoldiSzuletesiHelyType" />
</xs:choice>
</xs:complexType>
<xs:complexType name="OSZNYKulfoldiSzuletesiHelyType">
<xs:annotation>
<xs:documentation>külföldön született személyek születési helyének tárolására szolgáló adattípus</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="OrszagID" type="xs:long">
<xs:annotation>
<xs:documentation>az ország azonosítója (törzsadat kulcs -&gt; ORSZAG)</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Telepules">
<xs:annotation>
<xs:documentation>a település neve</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="OSZNYMagyarorszagiSzuletesiHelyType">
<xs:annotation>
<xs:documentation>Magyarországon született személyek születési helyének tárolására szolgáló adattípus</xs:documentation>
</xs:annotation>
<xs:choice>
<xs:element name="Telepules">
<xs:annotation>
<xs:documentation>a település neve</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="TelepulesID" type="xs:long">
<xs:annotation>
<xs:documentation>a település azonosítója (törzsadat kulcs -&gt; TELEPULES)</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:simpleType name="AdoAzonositoType">
<xs:annotation>
<xs:documentation>Adóazonosító típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="\d{10}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="SZAZType">
<xs:annotation>
<xs:documentation>Személyazonosító szám típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="\d{11}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="SZIGSzamType">
<xs:annotation>
<xs:documentation>Személyi igazolvány szám típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z0-9]{8}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="UtlevelSzamType">
<xs:annotation>
<xs:documentation>Útlevél szám típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z0-9]{9}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="VezetoiEngedelySzamType">
<xs:annotation>
<xs:documentation>Vezetői engedély szám típus</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:pattern value="[A-Z0-9]{8}" />
</xs:restriction>
</xs:simpleType>
</xs:schema>