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

92 lines
No EOL
3.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://www.educatio.hu/kretaif" xmlns:common="http://www.educatio.hu/common" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.educatio.hu/kretaif" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:import schemaLocation="../../edu_core.xsd" namespace="http://www.educatio.hu/common">
<xs:annotation>
<xs:documentation>
Az Educatio által definiált általános típusok minden interfész leíróban használhatóak.
</xs:documentation>
</xs:annotation>
</xs:import>
<xs:element name="KIR2AuthHeader" type="tns:KIR2AuthHeaderType" />
<xs:complexType name="KIR2AuthHeaderType">
<xs:annotation>
<xs:documentation>KIRSec bemeneti adattípusa</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="Intezmeny" type="common:KOmKodType">
<xs:annotation>
<xs:documentation>Az intézmény OMKódja, melynek adatain a felhasználó a kívánt funkciót el akarja érni</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Felhasznalo" type="tns:FelhasznaloType" />
</xs:sequence>
</xs:complexType>
<xs:complexType name="FelhasznaloType">
<xs:choice>
<xs:element name="IntezmenyiFelhasznalo" type="tns:IntezmenyiFelhasznaloType">
<xs:annotation>
<xs:documentation>Azonosító adatok a KIR-TOKEN rendszer használatával</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="KretaToken" type="tns:KretaTokenType">
<xs:annotation>
<xs:documentation>Automatikus adatfrissítéshez lesz használható</xs:documentation>
</xs:annotation>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:complexType name="IntezmenyiFelhasznaloType">
<xs:annotation>
<xs:documentation>KIR-TOKEN alapú azonosító adatok típusa</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="FelhasznaloNev" type="xs:string" />
<xs:element name="KIRToken" type="xs:string">
<xs:annotation>
<xs:documentation>A KIR-TOKEN rendszerben kapott karaktersorozat</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="KretaTokenType">
<xs:annotation>
<xs:documentation>Athentikációs token formátuma</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:maxLength value="800" />
<xs:whiteSpace value="collapse" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="KretaKodType">
<xs:annotation>
<xs:documentation>kréta kód formátuma</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:string">
<xs:minLength value="16" />
<xs:maxLength value="16" />
<xs:whiteSpace value="collapse" />
<xs:pattern value="[A-Z]{6}\d{10}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="IARAzonositoType">
<xs:annotation>
<xs:documentation>iar azonosító formátuma</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:normalizedString">
<xs:minLength value="13" />
<xs:maxLength value="13" />
<xs:whiteSpace value="collapse" />
<xs:pattern value="[A-Z]{3}\d{6}[\-]\d{3}" />
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="KontenerIDType">
<xs:annotation>
<xs:documentation>iar konténer id formátuma</xs:documentation>
</xs:annotation>
<xs:restriction base="xs:normalizedString">
<xs:minLength value="25" />
<xs:maxLength value="25" />
<xs:whiteSpace value="collapse" />
</xs:restriction>
</xs:simpleType>
</xs:schema>