Commit 186019fc authored by SvS's avatar SvS Committed by canterburym
Browse files

- Update Common to change ApproverEmailAddress/ApproverPhoneNumber into ApproverContactDetails

- Update examples/request3.xml to use multiple ApproverContactDetails
- Remove whitespace from examples
parent 2191fef1
...@@ -39,7 +39,16 @@ ...@@ -39,7 +39,16 @@
</doc:DocumentType> </doc:DocumentType>
<doc:DocumentSignature> <doc:DocumentSignature>
<common:ApproverDetails> <common:ApproverDetails>
<common:ApproverName>Approver</common:ApproverName> <common:ApproverName>John Doe</common:ApproverName>
<common:ApproverContactDetails>
<common:ApproverEmailAddress>john.doe@example.com</common:ApproverEmailAddress>
<common:ApproverPhoneNumber>442079460223</common:ApproverPhoneNumber>
</common:ApproverContactDetails>
<common:ApproverContactDetails>
<common:ApproverAlternateName>Jane Doe</common:ApproverAlternateName>
<common:ApproverEmailAddress>jane.doe@example.com</common:ApproverEmailAddress>
<common:ApproverPhoneNumber>442079461110</common:ApproverPhoneNumber>
</common:ApproverContactDetails>
</common:ApproverDetails> </common:ApproverDetails>
<common:ApprovalTimestamp>2015-09-01T12:00:00Z</common:ApprovalTimestamp> <common:ApprovalTimestamp>2015-09-01T12:00:00Z</common:ApprovalTimestamp>
</doc:DocumentSignature> </doc:DocumentSignature>
......
...@@ -94,11 +94,11 @@ ...@@ -94,11 +94,11 @@
<task:InvalidReason> <task:InvalidReason>
<ErrorCode>3000</ErrorCode> <ErrorCode>3000</ErrorCode>
<ErrorDescription>The associated Authorisation is in an Invalid state</ErrorDescription> <ErrorDescription>The associated Authorisation is in an Invalid state</ErrorDescription>
</task:InvalidReason> </task:InvalidReason>
</HI1Object> </HI1Object>
</GETResponse> </GETResponse>
</ActionResponse> </ActionResponse>
</ActionResponses> </ActionResponses>
</ResponsePayload> </ResponsePayload>
</Payload> </Payload>
</HI1Message> </HI1Message>
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<HI1Message xmlns="http://uri.etsi.org/03120/common/2019/10/Core" <HI1Message xmlns="http://uri.etsi.org/03120/common/2019/10/Core"
xmlns:xs="xmlns:xs=http://www.w3.org/2001/XMLSchema" xmlns:xs="xmlns:xs=http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:task="http://uri.etsi.org/03120/common/2020/09/Task" xmlns:task="http://uri.etsi.org/03120/common/2020/09/Task"
xmlns:delivery="http://uri.etsi.org/03120/common/2019/10/Delivery" xmlns:delivery="http://uri.etsi.org/03120/common/2019/10/Delivery"
xmlns:common="http://uri.etsi.org/03120/common/2016/02/Common"> xmlns:common="http://uri.etsi.org/03120/common/2016/02/Common">
<Header> <Header>
<SenderIdentifier> <SenderIdentifier>
......
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
<xs:element name="ApproverName" type="etsi:LongString" minOccurs="0"></xs:element> <xs:element name="ApproverName" type="etsi:LongString" minOccurs="0"></xs:element>
<xs:element name="ApproverRole" type="etsi:LongString" minOccurs="0"></xs:element> <xs:element name="ApproverRole" type="etsi:LongString" minOccurs="0"></xs:element>
<xs:element name="ApproverIdentity" type="ApproverIdentity" minOccurs="0"></xs:element> <xs:element name="ApproverIdentity" type="ApproverIdentity" minOccurs="0"></xs:element>
<xs:element name="ApproverContactDetails" type="ApproverContactDetails" minOccurs="0" maxOccurs="unbounded"></xs:element>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
<xs:complexType name="ApproverIdentity"> <xs:complexType name="ApproverIdentity">
...@@ -44,6 +45,14 @@ ...@@ -44,6 +45,14 @@
<xs:element name="NationalApproverIdentity" type="NationalApproverIdentity"></xs:element> <xs:element name="NationalApproverIdentity" type="NationalApproverIdentity"></xs:element>
</xs:choice> </xs:choice>
</xs:complexType> </xs:complexType>
<xs:complexType name="ApproverContactDetails">
<xs:sequence>
<xs:element name="ApproverAlternateName" type="etsi:LongString" minOccurs="0"></xs:element>
<xs:element name="ApproverEmailAddress" type="etsi:InternationalizedEmailAddress" minOccurs="0"></xs:element>
<xs:element name="ApproverPhoneNumber" type="etsi:InternationalE164" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="NationalApproverIdentity" abstract="true"> <xs:complexType name="NationalApproverIdentity" abstract="true">
<xs:sequence> <xs:sequence>
<xs:element name="CountryCode" type="etsi:ISOCountryCode"></xs:element> <xs:element name="CountryCode" type="etsi:ISOCountryCode"></xs:element>
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:etsi="http://uri.etsi.org/03280/common/2017/07" xmlns:etsi="http://uri.etsi.org/03280/common/2017/07"
xmlns:common="http://uri.etsi.org/03120/common/2016/02/Common" xmlns:common="http://uri.etsi.org/03120/common/2016/02/Common"
xmlns:digsig="http://www.w3.org/2000/09/xmldsig#" xmlns:digsig="http://www.w3.org/2000/09/xmldsig#"
xmlns="http://uri.etsi.org/03120/common/2019/10/Core" xmlns="http://uri.etsi.org/03120/common/2019/10/Core"
targetNamespace="http://uri.etsi.org/03120/common/2019/10/Core" targetNamespace="http://uri.etsi.org/03120/common/2019/10/Core"
elementFormDefault="qualified" elementFormDefault="qualified"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment