Commit 8b8ccec0 authored by canterburym's avatar canterburym

TS 103 707 v1.1.1 (2020-03-23) agreed at LI#53 (Sophia-Antipolis, 2020-02-04)

parent 9ce0173a
Pipeline #4197 failed with stage
in 6 seconds
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:etsi103280="http://uri.etsi.org/03280/common/2017/07"
xmlns="http://uri.etsi.org/03707/2020/02"
targetNamespace="http://uri.etsi.org/03707/2020/02"
version="1.1.1"
elementFormDefault="qualified">
<xs:import namespace="http://uri.etsi.org/03280/common/2017/07"/>
<!-- ************************************************************************************* -->
<!-- Handover Item definitions including header (clause 5.4) -->
<!-- ************************************************************************************* -->
<xs:element name="handoverItem" type="HandoverItem"></xs:element>
<xs:complexType name="HandoverItem">
<xs:sequence>
<xs:element name="header" type="Header"></xs:element>
<xs:element name="payload" type="Payload"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Header">
<xs:sequence>
<xs:element name="applicationCorrelation" type="ApplicationCorrelation" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ApplicationCorrelation">
<xs:sequence>
<xs:element name="applicationLevelID" type="xs:nonNegativeInteger"></xs:element>
<xs:element name="applicationSequenceNumber" type="xs:nonNegativeInteger"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Payload" abstract="true">
<xs:sequence></xs:sequence>
</xs:complexType>
<xs:complexType name="MessagingPayload" abstract="false">
<xs:complexContent>
<xs:extension base="Payload">
<xs:sequence>
<xs:element name="coreParameters" type="MessagingCoreParameters"></xs:element>
<xs:element name="additionalParameters" type="MessagingAdditionalParameters" minOccurs="0"></xs:element>
<xs:element name="cspDefinedParameters" type="CSPDefinedParameters" minOccurs="0"></xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- ************************************************************************************* -->
<!-- Core parameters (Clause 5.5) -->
<!-- ************************************************************************************* -->
<xs:complexType name="MessagingCoreParameters">
<xs:sequence>
<xs:element name="messageSender" type="MessagingParty" minOccurs="0"></xs:element>
<xs:element name="messageReceivers" type="RecipientList" minOccurs="0"></xs:element>
<xs:element name="timestamp" type="etsi103280:QualifiedMicrosecondDateTime"></xs:element>
<xs:element name="associatedBinaryData" type="BinaryObjects" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="RecipientList">
<xs:sequence>
<xs:element name="recipient" type="MessagingParty" minOccurs="1" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MessagingParty">
<xs:sequence>
<xs:element name="identifiers" type="MessagingPartyIdentifiers"></xs:element>
<xs:element name="isTargetedParty" type="xs:boolean" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MessagingPartyIdentifiers">
<xs:sequence>
<xs:element name="identifier" type="MessagingPartyIdentifier" minOccurs="1" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="MessagingPartyIdentifier">
<xs:restriction base="etsi103280:LongString"></xs:restriction>
</xs:simpleType>
<xs:complexType name="BinaryObjects">
<xs:sequence>
<xs:element name="binaryObject" type="BinaryObject" minOccurs="1" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BinaryObject">
<xs:sequence>
<xs:element name="url" type="xs:anyURI"></xs:element>
<xs:element name="contentLength" type="xs:nonNegativeInteger" minOccurs="0"></xs:element>
<xs:element name="contentType" type="etsi103280:LongString" minOccurs="0"></xs:element>
<xs:element name="expiry" type="etsi103280:QualifiedMicrosecondDateTime" minOccurs="0"></xs:element>
<xs:element name="checksum" type="etsi103280:LongString" minOccurs="0"></xs:element>
<xs:element name="originalFilename" type="etsi103280:LongString" minOccurs="0"></xs:element>
<xs:element name="cspDefinedIdentifier" type="etsi103280:LongString" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<!-- ************************************************************************************* -->
<!-- Messaging glossary (Clause 5.6) -->
<!-- ************************************************************************************* -->
<xs:complexType name="MessagingAdditionalParameters">
<xs:sequence>
<xs:element name="messagingAdditionalParameter" type="MessagingAdditionalParameter" minOccurs="1" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MessagingAdditionalParameter">
<xs:choice minOccurs="0">
<!-- currently no glossary entries are defined -->
</xs:choice>
</xs:complexType>
<!-- ************************************************************************************* -->
<!-- CSP-defined container (Clause 5.7) -->
<!-- ************************************************************************************* -->
<xs:complexType name="CSPDefinedParameters">
<xs:sequence>
<xs:element name="cspDefinedMetadata" type="CSPDefinedData" minOccurs="0"></xs:element>
<xs:element name="cspDefinedContent" type="CSPDefinedData" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CSPDefinedData">
<xs:sequence>
<xs:element name="schemaDetails" type="SchemaDetails"></xs:element>
<xs:element name="xmlData" type="XMLData"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SchemaDetails">
<xs:sequence>
<xs:element name="schemaIdentifier" type="CSPSchemaIdentifier"></xs:element>
<xs:element name="schemaURL" type="xs:anyURI" minOccurs="0"></xs:element>
<xs:element name="schemaContent" type="SchemaContent" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="CSPSchemaIdentifier">
<xs:restriction base="xs:token"></xs:restriction>
</xs:simpleType>
<xs:complexType name="SchemaContent">
<xs:sequence>
<xs:element name="schema" xmlns="http://www.w3.org/2001/XMLSchema"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XMLData">
<xs:sequence>
<xs:any namespace="##other" minOccurs="1" maxOccurs="unbounded"></xs:any>
</xs:sequence>
</xs:complexType>
</xs:schema>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://FooServiceSchema.example.com/schema/v1.1.1/"
elementFormDefault="qualified"
xmlns="http://FooServiceSchema.example.com/schema/v1.1.1/"
xmlns:mstns="http://tempuri.org/XMLSchema.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
<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>
</xs:schema>
<?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></header>
<payload xsi:type="MessagingPayload">
<coreParameters>
<messageSender>
<identifiers>
<identifier>target@example.com</identifier>
</identifiers>
<isTargetedParty>true</isTargetedParty>
</messageSender>
<messageReceivers>
<recipient>
<identifiers>
<identifier>someoneelse@example.com</identifier>
</identifiers>
</recipient>
</messageReceivers>
<timestamp>2019-10-17T06:42:23.000000+01:00</timestamp>
<associatedBinaryData>
<binaryObject>
<url>https://example.com/binaryData/e71d2da5-774a-4bca-8748-2a00b2e17892</url>
<contentLength>1024</contentLength>
<contentType>image/jpeg</contentType>
<expiry>2019-10-17T06:42:53.000000+01:00</expiry>
<checksum>8b7df143d91c716ecfa5fc1730022f6b421b05cedee8fd52b1fc65a96030ad52</checksum>
<originalFilename>cat.jpeg</originalFilename>
<cspDefinedIdentifier>e71d2da5-774a-4bca-8748-2a00b2e17892</cspDefinedIdentifier>
</binaryObject>
</associatedBinaryData>
</coreParameters>
<cspDefinedParameters>
<cspDefinedMetadata>
<schemaDetails>
<schemaIdentifier>http://FooServiceSchema.example.com/schema/v1.1.1/</schemaIdentifier>
</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
<?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="MessagingPayload">
<coreParameters>
<messageSender>
<identifiers>
<identifier>someone@example.com</identifier>
</identifiers>
</messageSender>
<messageReceivers>
<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>
</messageReceivers>
<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
<?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></header>
<payload xsi:type="MessagingPayload">
<coreParameters>
<messageSender>
<identifiers>
<identifier>target@example.com</identifier>
</identifiers>
<isTargetedParty>true</isTargetedParty>
</messageSender>
<messageReceivers>
<recipient>
<identifiers>
<identifier>someoneelse@example.com</identifier>
</identifiers>
</recipient>
</messageReceivers>
<timestamp>2019-10-17T06:42:23.000000+01:00</timestamp>
</coreParameters>
<cspDefinedParameters>
<cspDefinedMetadata>
<schemaDetails>
<schemaIdentifier>http://FooServiceSchema.example.com/schema/v1.1.1/</schemaIdentifier>
</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
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:etsi103280="http://uri.etsi.org/03280/common/2017/07"
xmlns="http://uri.etsi.org/03707/2020/02"
targetNamespace="http://uri.etsi.org/03707/2020/02"
version="1.1.1"
elementFormDefault="qualified">
<xs:import namespace="http://uri.etsi.org/03280/common/2017/07"/>
<!-- ************************************************************************************* -->
<!-- Handover Item definitions including header (clause 5.4) -->
<!-- ************************************************************************************* -->
<xs:element name="handoverItem" type="HandoverItem"></xs:element>
<xs:complexType name="HandoverItem">
<xs:sequence>
<xs:element name="header" type="Header"></xs:element>
<xs:element name="payload" type="Payload"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Header">
<xs:sequence>
<xs:element name="applicationCorrelation" type="ApplicationCorrelation" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ApplicationCorrelation">
<xs:sequence>
<xs:element name="applicationLevelID" type="xs:nonNegativeInteger"></xs:element>
<xs:element name="applicationSequenceNumber" type="xs:nonNegativeInteger"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="Payload" abstract="true">
<xs:sequence></xs:sequence>
</xs:complexType>
<xs:complexType name="MessagingPayload" abstract="false">
<xs:complexContent>
<xs:extension base="Payload">
<xs:sequence>
<xs:element name="coreParameters" type="MessagingCoreParameters"></xs:element>
<xs:element name="additionalParameters" type="MessagingAdditionalParameters" minOccurs="0"></xs:element>
<xs:element name="cspDefinedParameters" type="CSPDefinedParameters" minOccurs="0"></xs:element>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<!-- ************************************************************************************* -->
<!-- Core parameters (Clause 5.5) -->
<!-- ************************************************************************************* -->
<xs:complexType name="MessagingCoreParameters">
<xs:sequence>
<xs:element name="messageSender" type="MessagingParty" minOccurs="0"></xs:element>
<xs:element name="messageReceivers" type="RecipientList" minOccurs="0"></xs:element>
<xs:element name="timestamp" type="etsi103280:QualifiedMicrosecondDateTime"></xs:element>
<xs:element name="associatedBinaryData" type="BinaryObjects" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="RecipientList">
<xs:sequence>
<xs:element name="recipient" type="MessagingParty" minOccurs="1" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MessagingParty">
<xs:sequence>
<xs:element name="identifiers" type="MessagingPartyIdentifiers"></xs:element>
<xs:element name="isTargetedParty" type="xs:boolean" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MessagingPartyIdentifiers">
<xs:sequence>
<xs:element name="identifier" type="MessagingPartyIdentifier" minOccurs="1" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="MessagingPartyIdentifier">
<xs:restriction base="etsi103280:LongString"></xs:restriction>
</xs:simpleType>
<xs:complexType name="BinaryObjects">
<xs:sequence>
<xs:element name="binaryObject" type="BinaryObject" minOccurs="1" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="BinaryObject">
<xs:sequence>
<xs:element name="url" type="xs:anyURI"></xs:element>
<xs:element name="contentLength" type="xs:nonNegativeInteger" minOccurs="0"></xs:element>
<xs:element name="contentType" type="etsi103280:LongString" minOccurs="0"></xs:element>
<xs:element name="expiry" type="etsi103280:QualifiedMicrosecondDateTime" minOccurs="0"></xs:element>
<xs:element name="checksum" type="etsi103280:LongString" minOccurs="0"></xs:element>
<xs:element name="originalFilename" type="etsi103280:LongString" minOccurs="0"></xs:element>
<xs:element name="cspDefinedIdentifier" type="etsi103280:LongString" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<!-- ************************************************************************************* -->
<!-- Messaging glossary (Clause 5.6) -->
<!-- ************************************************************************************* -->
<xs:complexType name="MessagingAdditionalParameters">
<xs:sequence>
<xs:element name="messagingAdditionalParameter" type="MessagingAdditionalParameter" minOccurs="1" maxOccurs="unbounded"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="MessagingAdditionalParameter">
<xs:choice minOccurs="0">
<!-- currently no glossary entries are defined -->
</xs:choice>
</xs:complexType>
<!-- ************************************************************************************* -->
<!-- CSP-defined container (Clause 5.7) -->
<!-- ************************************************************************************* -->
<xs:complexType name="CSPDefinedParameters">
<xs:sequence>
<xs:element name="cspDefinedMetadata" type="CSPDefinedData" minOccurs="0"></xs:element>
<xs:element name="cspDefinedContent" type="CSPDefinedData" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="CSPDefinedData">
<xs:sequence>
<xs:element name="schemaDetails" type="SchemaDetails"></xs:element>
<xs:element name="xmlData" type="XMLData"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SchemaDetails">
<xs:sequence>
<xs:element name="schemaIdentifier" type="CSPSchemaIdentifier"></xs:element>
<xs:element name="schemaURL" type="xs:anyURI" minOccurs="0"></xs:element>
<xs:element name="schemaContent" type="SchemaContent" minOccurs="0"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="CSPSchemaIdentifier">
<xs:restriction base="xs:token"></xs:restriction>
</xs:simpleType>
<xs:complexType name="SchemaContent">
<xs:sequence>
<xs:element name="schema" xmlns="http://www.w3.org/2001/XMLSchema"></xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XMLData">
<xs:sequence>
<xs:any namespace="##other" minOccurs="1" maxOccurs="unbounded"></xs:any>
</xs:sequence>
</xs:complexType>
</xs:schema>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?>
<xs:schema targetNamespace="http://FooServiceSchema.example.com/schema/v1.1.1/"
elementFormDefault="qualified"
xmlns="http://FooServiceSchema.example.com/schema/v1.1.1/"
xmlns:mstns="http://tempuri.org/XMLSchema.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
>
<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>
</xs:schema>
<?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></header>
<payload xsi:type="MessagingPayload">
<coreParameters>
<messageSender>
<identifiers>
<identifier>target@example.com</identifier>
</identifiers>
<isTargetedParty>true</isTargetedParty>
</messageSender>
<messageReceivers>
<recipient>
<identifiers>
<identifier>someoneelse@example.com</identifier>
</identifiers>
</recipient>
</messageReceivers>
<timestamp>2019-10-17T06:42:23.000000+01:00</timestamp>
<associatedBinaryData>
<binaryObject>
<url>https://example.com/binaryData/e71d2da5-774a-4bca-8748-2a00b2e17892</url>
<contentLength>1024</contentLength>
<contentType>image/jpeg</contentType>
<expiry>2019-10-17T06:42:53.000000+01:00</expiry>
<checksum>8b7df143d91c716ecfa5fc1730022f6b421b05cedee8fd52b1fc65a96030ad52</checksum>
<originalFilename>cat.jpeg</originalFilename>
<cspDefinedIdentifier>e71d2da5-774a-4bca-8748-2a00b2e17892</cspDefinedIdentifier>
</binaryObject>
</associatedBinaryData>
</coreParameters>
<cspDefinedParameters>
<cspDefinedMetadata>
<schemaDetails>
<schemaIdentifier>http://FooServiceSchema.example.com/schema/v1.1.1/</schemaIdentifier>
</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
<?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="MessagingPayload">
<coreParameters>
<messageSender>
<identifiers>
<identifier>someone@example.com</identifier>
</identifiers>
</messageSender>
<messageReceivers>
<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>
</messageReceivers>
<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
<?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></header>
<payload xsi:type="MessagingPayload">
<coreParameters>
<messageSender>
<identifiers>
<identifier>target@example.com</identifier>
</identifiers>
<isTargetedParty>true</isTargetedParty>
</messageSender>
<messageReceivers>
<recipient>
<identifiers>
<identifier>someoneelse@example.com</identifier>
</identifiers>
</recipient>
</messageReceivers>
<timestamp>2019-10-17T06:42:23.000000+01:00</timestamp>
</coreParameters>
<cspDefinedParameters>
<cspDefinedMetadata>
<schemaDetails>
<schemaIdentifier>http://FooServiceSchema.example.com/schema/v1.1.1/</schemaIdentifier>
</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
import glob
import sys
from pathlib import Path
from pprint import pprint
if __name__ == '__main__':
if sys.version_info <= (3, 5):
sys.exit('ERROR: You need at least Python 3.5 to run this tool')