diff options
author | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-04-08 11:08:05 +0200 |
---|---|---|
committer | Christof Rabensteiner <christof.rabensteiner@iaik.tugraz.at> | 2019-04-08 11:08:05 +0200 |
commit | f11e7c2dad183e573633249c6ae6233864e62d0f (patch) | |
tree | 91235f8948df466871d4ea9bae7c13e293c76fc1 /src/main/resources | |
parent | a8bd62ade64937e554e977c755e2989a798161cc (diff) | |
download | moa-zs-f11e7c2dad183e573633249c6ae6233864e62d0f.tar.gz moa-zs-f11e7c2dad183e573633249c6ae6233864e62d0f.tar.bz2 moa-zs-f11e7c2dad183e573633249c6ae6233864e62d0f.zip |
Update mzs:DeliveryRequest/Receiver Schema to fit zusemsg needs
- add choice between Identification and Person/Address
- add AdditionalCriteria and PreAdvice not
Diffstat (limited to 'src/main/resources')
-rw-r--r-- | src/main/resources/mzs/app2mzs.xsd | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/main/resources/mzs/app2mzs.xsd b/src/main/resources/mzs/app2mzs.xsd index bf5d421..b0584fb 100644 --- a/src/main/resources/mzs/app2mzs.xsd +++ b/src/main/resources/mzs/app2mzs.xsd @@ -43,7 +43,21 @@ </xs:sequence> </xs:complexType> </xs:element> - <xs:element name="Receiver" type="p:PersonDataType"/> + <xs:element name="Receiver"> + <xs:complexType> + <xs:sequence> + <xs:choice> + <xs:element ref="p:Identification"/> + <xs:sequence> + <xs:element ref="p:Person"/> + <xs:element ref="p:Address" minOccurs="0" maxOccurs="unbounded"/> + </xs:sequence> + </xs:choice> + <xs:element ref="msg:AdditionalCriteria" minOccurs="0"/> + <xs:element ref="msg:PreAdviceNote" minOccurs="0"/> + </xs:sequence> + </xs:complexType> + </xs:element> <xs:element name="MetaData" ref="msg:MetaData" /> <xs:element name="Payload" minOccurs="0" maxOccurs="unbounded"> <xs:complexType> |