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 @@
</doc:DocumentType>
<doc:DocumentSignature>
<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:ApprovalTimestamp>2015-09-01T12:00:00Z</common:ApprovalTimestamp>
</doc:DocumentSignature>
......
......@@ -37,6 +37,7 @@
<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="ApproverIdentity" type="ApproverIdentity" minOccurs="0"></xs:element>
<xs:element name="ApproverContactDetails" type="ApproverContactDetails" minOccurs="0" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ApproverIdentity">
......@@ -44,6 +45,14 @@
<xs:element name="NationalApproverIdentity" type="NationalApproverIdentity"></xs:element>
</xs:choice>
</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:sequence>
<xs:element name="CountryCode" type="etsi:ISOCountryCode"></xs:element>
......
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