notebookvb
This commit is contained in:
@@ -0,0 +1,107 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns="http://xmlns.gemsystem.cz/CommonB2B"
|
||||
targetNamespace="http://xmlns.gemsystem.cz/CommonB2B"
|
||||
elementFormDefault="qualified">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>$Revision: 33136 $</xsd:documentation>
|
||||
<xsd:documentation>$Date: 2011-02-13 20:57:15 +0100 (ne, 13 II 2011) $</xsd:documentation>
|
||||
<xsd:documentation>$Author: msklenar $</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:simpleType name="IdZpravyTyp">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Datový typ pro identifikátory zpráv protokolu AS2.
|
||||
Povolenými hodnotami jsou řetězce délky max. 12 obsahující výhradně
|
||||
alfanumerické znaky.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:pattern value="[0-9A-Za-z]{1,12}"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="IdSubjektuTyp">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Datový typ pro identifikátory subjektů. Nejdelším identifikátorem
|
||||
subjektu je číslo pojištěnce (včetně příznaku), tj. 12 znaků.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:minLength value="1"/>
|
||||
<xsd:maxLength value="12"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="TypSubjektuTyp">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
Datový typ pro typ subjektu. Je definován jako enumerace povolených
|
||||
hodnot.
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="poj"/>
|
||||
<xsd:enumeration value="osvc"/>
|
||||
<xsd:enumeration value="zam"/>
|
||||
<xsd:enumeration value="zp"/>
|
||||
<xsd:enumeration value="si"/>
|
||||
<xsd:enumeration value="se"/>
|
||||
<xsd:enumeration value="fr"/>
|
||||
<xsd:enumeration value="zzp"/>
|
||||
<xsd:enumeration value="partner"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="UzemniPracovisteTyp">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:pattern value="[1-9][0-9]00"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="CisloPojistenceTyp">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:pattern value="\d{9,10}"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="NazevSouboruTyp">
|
||||
<xsd:restriction base="NonemptyString">
|
||||
<xsd:maxLength value="20"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="MimeTypeTyp">
|
||||
<xsd:restriction base="NonemptyString">
|
||||
<xsd:maxLength value="50"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="NonemptyString">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:minLength value="1"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:simpleType name="StavVyrizeniPozadavkuTyp">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
<li>0: Data nenalezena</li>
|
||||
<li>1: Nalezen jeden záznam nebo obecná návratová hodnota OK</li>
|
||||
<li>2: Požadavek byl úspěšně přijat, zpracování bude pokračovat, očekávejte další odpověď</li>
|
||||
<li>9: Nalezeno více záznamů</li>
|
||||
<li>-1: Technická chyba</li>
|
||||
<li>-2: Chyba vstupních dat</li>
|
||||
<li>-3: Role nemá oprávnění odesílat data</li>
|
||||
<li>-4: Duplicitní identifikace požadavku</li>
|
||||
<li>-9: Služba přijala požadavek, který bude zpracován později</li>
|
||||
<li>-10: Zpráva je určena pro jiné prostředí</li>
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:restriction base="xsd:integer">
|
||||
<xsd:enumeration value="0"/>
|
||||
<xsd:enumeration value="1"/>
|
||||
<xsd:enumeration value="2"/>
|
||||
<xsd:enumeration value="9"/>
|
||||
<xsd:enumeration value="-1"/>
|
||||
<xsd:enumeration value="-2"/>
|
||||
<xsd:enumeration value="-3"/>
|
||||
<xsd:enumeration value="-4"/>
|
||||
<xsd:enumeration value="-9"/>
|
||||
<xsd:enumeration value="-10"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:schema>
|
||||
@@ -0,0 +1,114 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns="http://xmlns.gemsystem.cz/KontrolaPrilohyEP2B2B"
|
||||
targetNamespace="http://xmlns.gemsystem.cz/KontrolaPrilohyEP2B2B"
|
||||
xmlns:cmn="http://xmlns.gemsystem.cz/CommonB2B"
|
||||
elementFormDefault="qualified">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>$Revision: 52524 $</xsd:documentation>
|
||||
<xsd:documentation>$Date: 2012-05-28 16:50:45 +0200 (po, 28 5 2012) $</xsd:documentation>
|
||||
<xsd:documentation>$Author: msklenar $</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
<xsd:import namespace="http://xmlns.gemsystem.cz/CommonB2B"
|
||||
schemaLocation="CommonB2B.xsd"/>
|
||||
<xsd:simpleType name="formatDokumentuType">
|
||||
<xsd:restriction base="xsd:string">
|
||||
<xsd:enumeration value="application/pdf"/>
|
||||
<xsd:enumeration value="text/xml"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
<xsd:complexType name="dokumentType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="mime" type="formatDokumentuType">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Označuje typ dokumentu dle mime/type.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="obsah" type="xsd:base64Binary">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Obsah dokumentu v base64.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:element name="kontrolaPrilohyEP2B2BPozadavek">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="idZpravy" type="cmn:IdZpravyTyp">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>klientské ID zprávy pro potřeby zpětné korelace
|
||||
zpráv na straně klienta. VZP vrací v odpovědi zde
|
||||
uvedené ID v položce korelaceZpravy. idZpravy
|
||||
může obsahovat pouze číslice a písmena bez mezer
|
||||
a speciálních znaků: pomlčky, čárky, tečky a
|
||||
dalších znaků. Maximální délka idZprávy je celkem
|
||||
12 znaků.</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="idSubjektu" type="cmn:IdSubjektuTyp">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Identifikační číslo zdravotnického zařízení, pro
|
||||
které má být dokument vygenerován (IČZ)</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="typSubjektu" type="cmn:TypSubjektuTyp">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Typ subjektu ("zp")</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="dokument" type="dokumentType">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Předávaný dokument</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="kontrolaPrilohyEP2B2BOdpoved">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="korelaceZpravy" type="cmn:IdZpravyTyp">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Návratový parametr pro spárování požadavku a
|
||||
odpovědi na straně partnera</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="protokol" type="protokolType" minOccurs="0">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>Obsahuje kompletní protokol o kontrole vkládaného
|
||||
dokumentu</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="stavVyrizeniPozadavku"
|
||||
type="cmn:StavVyrizeniPozadavkuTyp"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:complexType name="protokolType">
|
||||
<xsd:sequence>
|
||||
<xsd:element name="kodValidace" type="kodValidaceType">
|
||||
<xsd:annotation>
|
||||
<xsd:documentation>
|
||||
0 - Warning
|
||||
1 - OK
|
||||
-1 - Error
|
||||
</xsd:documentation>
|
||||
</xsd:annotation>
|
||||
</xsd:element>
|
||||
<xsd:element name="chyby" minOccurs="0">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="text" maxOccurs="unbounded" type="xsd:string"/>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:sequence>
|
||||
</xsd:complexType>
|
||||
<xsd:simpleType name="kodValidaceType">
|
||||
<xsd:restriction base="xsd:integer">
|
||||
<xsd:enumeration value="-1"/>
|
||||
<xsd:enumeration value="0"/>
|
||||
<xsd:enumeration value="1"/>
|
||||
</xsd:restriction>
|
||||
</xsd:simpleType>
|
||||
</xsd:schema>
|
||||
Reference in New Issue
Block a user