Commit 17542de8 authored by canterburym's avatar canterburym
Browse files

Extended example

parent 9659f877
Pipeline #12056 passed with stage
in 19 seconds
<?xml version="1.0" encoding="utf-8"?>
<handoverItem xmlns="http://uri.etsi.org/03707/2020/02" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<header>
<applicationCorrelation>
<applicationLevelID>123</applicationLevelID>
<applicationSequenceNumber>456</applicationSequenceNumber>
</applicationCorrelation>
</header>
<payload xsi:type="GenericPayload">
<coreParameters>
<sender>
<identifiers>
<identifier>someone@example.com</identifier>
</identifiers>
</sender>
<receivers>
<recipient>
<identifiers>
<identifier>someone-else-alias1@example.com</identifier>
<identifier>someone-else-alias2@example.com</identifier>
<identifier>someone-else-alias3@example.com</identifier>
</identifiers>
</recipient>
<recipient>
<identifiers>
<identifier>target@example.com</identifier>
</identifiers>
<isTargetedParty>true</isTargetedParty>
</recipient>
</receivers>
<timestamp>2019-10-17T06:42:23.000000+01:00</timestamp>
</coreParameters>
<cspDefinedParameters>
<cspDefinedMetadata>
<schemaDetails>
<schemaIdentifier>http://FooServiceSchema.example.com/schema/v1.1.1/</schemaIdentifier>
<schemaContent>
<schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://FooServiceSchema.example.com/schema/v1.1.1/">
<xs:element name="fooServiceDefinedParameters" type="FooServiceDefinedParameters"></xs:element>
<xs:complexType name="FooServiceDefinedParameters">
<xs:sequence>
<xs:element name="item1" type="ItemType"></xs:element>
<xs:element name="item2" type="ItemType"></xs:element>
<xs:element name="item3" type="ItemType"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="ItemType">
<xs:restriction base="xs:string">
<xs:enumeration value="Foo"></xs:enumeration>
<xs:enumeration value="Bar"></xs:enumeration>
<xs:enumeration value="Baz"></xs:enumeration>
</xs:restriction>
</xs:simpleType>
</schema>
</schemaContent>
</schemaDetails>
<xmlData>
<fooServiceDefinedParameters xmlns="http://FooServiceSchema.example.com/schema/v1.1.1/">
<item1>Foo</item1>
<item2>Bar</item2>
<item3>Baz</item3>
</fooServiceDefinedParameters>
</xmlData>
</cspDefinedMetadata>
</cspDefinedParameters>
</payload>
</handoverItem>
\ No newline at end of file
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