diff options
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/mzs/app2mzs.xsd | 47 |
1 files changed, 19 insertions, 28 deletions
diff --git a/src/main/resources/mzs/app2mzs.xsd b/src/main/resources/mzs/app2mzs.xsd index 74a63db..05a9ea4 100644 --- a/src/main/resources/mzs/app2mzs.xsd +++ b/src/main/resources/mzs/app2mzs.xsd @@ -92,7 +92,14 @@ <xs:element name="X509" type="xs:base64Binary" minOccurs="0"/> </xs:sequence> </xs:complexType> - <xs:element name="DeliveryResponse" type="msg:DeliveryRequestStatusType"/> + <xs:element name="DeliveryResponse" type="DeliveryResponseType"/> + <xs:complexType name="DeliveryResponseType"> + <xs:choice> + <xs:element ref="PartialSuccess"/> + <xs:element ref="Success"/> + <xs:element ref="Error"/> + </xs:choice> + </xs:complexType> <xs:element name="DeliveryNotification" type="DeliveryNotificationType"> <xs:annotation> <xs:documentation>asynchronous communication moazs2app</xs:documentation> @@ -102,8 +109,6 @@ <xs:choice> <xs:element ref="Success"/> <xs:element ref="Error"/> - <xs:element name="DeliveryConfirmation" type="xs:base64Binary"/> - <xs:element ref="DeliveryStatement"/> </xs:choice> </xs:complexType> <xs:element name="DeliveryNotificationACK" type="DeliveryNotificationACKType"> @@ -114,7 +119,6 @@ <xs:complexType name="DeliveryNotificationACKType"> <xs:sequence> <xs:element ref="AppDeliveryID"/> - <xs:element ref="MZSDeliveryID"/> </xs:sequence> </xs:complexType> <xs:element name="AppDeliveryID" nillable="false"> @@ -125,7 +129,6 @@ </xs:restriction> </xs:simpleType> </xs:element> - <xs:element name="MZSDeliveryID" type="xs:string"/> <xs:element name="Success" type="SuccessType"> <xs:annotation> <xs:documentation>Zustellstück was successfully delivered to MOA-ZS</xs:documentation> @@ -133,7 +136,12 @@ </xs:element> <xs:complexType name="SuccessType"> <xs:complexContent> - <xs:extension base="MessageType"/> + <xs:extension base="MessageType"> + <xs:sequence> + <xs:element ref="msg:DeliveryTimestamp"/> + <xs:element ref="msg:RelayedViaERV" minOccurs="0"/> + </xs:sequence> + </xs:extension> </xs:complexContent> </xs:complexType> <xs:element name="PartialSuccess" type="PartialSuccessType"> @@ -157,27 +165,7 @@ <xs:sequence> <xs:element name="Code" type="xs:integer"/> <xs:element name="Text" type="xs:string"/> - <xs:element name="DocumentReference" type="xs:anyURI" minOccurs="0"> - <xs:annotation> - <xs:documentation>download of callback attachment failed</xs:documentation> - </xs:annotation> - </xs:element> - </xs:sequence> - </xs:extension> - </xs:complexContent> - </xs:complexType> - <xs:element name="DeliveryStatement" type="DeliveryStatementType"> - <xs:annotation> - <xs:documentation>Zustellstück was successfully forwarded to the Zustellserver</xs:documentation> - </xs:annotation> - </xs:element> - <xs:complexType name="DeliveryStatementType"> - <xs:complexContent> - <xs:extension base="MessageType"> - <xs:sequence> - <xs:element name="DeliveryServer" type="xs:anyURI"/> - <xs:element name="ZSDeliveryID" type="xs:token"/> - <xs:element name="Timestamp" type="xs:dateTime"/> + <xs:element ref="msg:PreAdviceNoteSent" minOccurs="0"/> </xs:sequence> </xs:extension> </xs:complexContent> @@ -188,7 +176,10 @@ </xs:annotation> <xs:sequence> <xs:element ref="AppDeliveryID"/> - <xs:element ref="MZSDeliveryID"/> + <xs:element ref="msg:DeliverySystem"/> + <xs:element ref="msg:ZSDeliveryID" /> + <xs:element ref="msg:GZ" minOccurs="0"/> + <xs:element name="SignedDeliveryRequestStatus" type="xs:base64Binary" minOccurs="0"/> </xs:sequence> </xs:complexType> |