Commit c41eeee5 authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Merge branch 'cr/104112/001' into 'meeting/LI69'

TR 104112 CR 001 - TSC examples

See merge request !213
parents 86b80780 411bc6b5
Loading
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns="http://MessagingServiceSchema.example.com/schema/v1.1.1/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://MessagingServiceSchema.example.com/schema/v1.1.1/" elementFormDefault="qualified">
    <xs:element name="messagingServiceDefinedParameters" type="MessagingServiceDefinedParameters"/>
    <xs:complexType name="MessagingServiceDefinedParameters">
        <xs:sequence>
            <xs:element name="messageID" type="xs:string"/>
            <xs:element name="messageContent" type="xs:string"/>
            <xs:element name="attachment" type="MessageAttachment" minOccurs="0"/>
        </xs:sequence>
    </xs:complexType>
    <xs:complexType name="MessageAttachment">
        <xs:sequence>
            <xs:element name="attachmentType" type="xs:string"/>
            <xs:element name="attachmentData" type="xs:base64Binary"/>
        </xs:sequence>
    </xs:complexType>
</xs:schema>
+101 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<HI1Message xmlns="http://uri.etsi.org/03120/common/2019/10/Core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:task="http://uri.etsi.org/03120/common/2020/09/Task" xmlns:delivery="http://uri.etsi.org/03120/common/2019/10/Delivery" xmlns:common="http://uri.etsi.org/03120/common/2016/02/Common" xmlns:msg="http://uri.etsi.org/03707/2020/02">
    <Header>
        <SenderIdentifier>
            <CountryCode>XX</CountryCode>
            <UniqueIdentifier>ACTOR02</UniqueIdentifier>
        </SenderIdentifier>
        <ReceiverIdentifier>
            <CountryCode>XX</CountryCode>
            <UniqueIdentifier>ACTOR01</UniqueIdentifier>
        </ReceiverIdentifier>
        <TransactionIdentifier>8854cfad-44ac-43b8-99ae-530b690b43da</TransactionIdentifier>
        <Timestamp>2025-04-04T13:37:37.000000Z</Timestamp>
        <Version>
            <ETSIVersion>V1.18.1</ETSIVersion>
            <NationalProfileOwner>XX</NationalProfileOwner>
            <NationalProfileVersion>v1.0</NationalProfileVersion>
        </Version>
    </Header>
    <Payload>
        <RequestPayload>
            <ActionRequests>
                <ActionRequest>
                    <ActionIdentifier>0</ActionIdentifier>
                    <DELIVER>
                        <Identifier>71ff52ca-bcea-4fa3-b34e-1b89dcfb0d9e</Identifier>
                        <HI1Object xsi:type="delivery:DeliveryObject">
                            <ObjectIdentifier>71ff52ca-bcea-4fa3-b34e-1b89dcfb0d9e</ObjectIdentifier>
                            <AssociatedObjects>
                                <AssociatedObject>2b36a78b-b628-416d-bd22-404e68a0cd36</AssociatedObject>
                            </AssociatedObjects>
                            <delivery:Reference>
                                <delivery:LDID>XX-ACTOR01-1234</delivery:LDID>
                            </delivery:Reference>
                            <delivery:DeliveryID>d1079830-8e9a-4731-8fb7-36b9b961eb73</delivery:DeliveryID>
                            <delivery:SequenceNumber>1</delivery:SequenceNumber>
                            <delivery:LastSequence>true</delivery:LastSequence>
                            <delivery:Manifest>
                                <delivery:Specification>
                                    <common:Owner>ETSI</common:Owner>
                                    <common:Name>ManifestSpecification</common:Name>
                                    <common:Value>TS103707</common:Value>
                                </delivery:Specification>
                            </delivery:Manifest>
                            <delivery:Delivery>
                                <delivery:XMLData>
                                    <msg:handoverItem>
                                        <msg:header/>
                                        <msg:payload xsi:type="msg:MessagingPayload">
                                            <msg:coreParameters>
                                                <msg:messageSender>
                                                    <msg:identifiers>
                                                        <msg:qualifiedIdentifier>
                                                            <msg:formatType>
                                                                <task:FormatOwner>ETSI</task:FormatOwner>
                                                                <task:FormatName>EmailAddress</task:FormatName>
                                                            </msg:formatType>
                                                            <msg:value>PartyA@example.com</msg:value>
                                                        </msg:qualifiedIdentifier>
                                                    </msg:identifiers>
                                                    <msg:isTargetedParty>true</msg:isTargetedParty>
                                                </msg:messageSender>
                                                <msg:messageReceivers>
                                                    <msg:recipient>
                                                        <msg:identifiers>
                                                            <msg:qualifiedIdentifier>
                                                                <msg:formatType>
                                                                    <task:FormatOwner>ETSI</task:FormatOwner>
                                                                    <task:FormatName>EmailAddress</task:FormatName>
                                                                </msg:formatType>
                                                                <msg:value>PartyA@example.com</msg:value>
                                                            </msg:qualifiedIdentifier>
                                                        </msg:identifiers>
                                                    </msg:recipient>
                                                </msg:messageReceivers>
                                                <msg:timestamp>2025-04-04T13:37:37.000000+00:00</msg:timestamp>
                                            </msg:coreParameters>
                                            <msg:cspDefinedParameters>
                                                <msg:cspDefinedMetadata>
                                                    <msg:schemaDetails>
                                                        <msg:schemaIdentifier>http://MessagingServiceSchema.example.com/schema/v1.1.1/</msg:schemaIdentifier>
                                                    </msg:schemaDetails>
                                                    <msg:xmlData>
                                                        <example:messagingServiceDefinedParameters xmlns:example="http://MessagingServiceSchema.example.com/schema/v1.1.1/">
                                                            <example:messageID>633523913219</example:messageID>
                                                            <example:messageContent>Foo for you</example:messageContent>
                                                        </example:messagingServiceDefinedParameters>
                                                    </msg:xmlData>
                                                </msg:cspDefinedMetadata>
                                            </msg:cspDefinedParameters>
                                        </msg:payload>
                                    </msg:handoverItem>
                                </delivery:XMLData>
                            </delivery:Delivery>
                        </HI1Object>
                    </DELIVER>
                </ActionRequest>
            </ActionRequests>
        </RequestPayload>
    </Payload>
</HI1Message>
+112 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="UTF-8"?>
<HI1Message xmlns="http://uri.etsi.org/03120/common/2019/10/Core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:task="http://uri.etsi.org/03120/common/2020/09/Task" xmlns:delivery="http://uri.etsi.org/03120/common/2019/10/Delivery" xmlns:common="http://uri.etsi.org/03120/common/2016/02/Common" xmlns:msg="http://uri.etsi.org/03707/2020/02">
    <Header>
        <SenderIdentifier>
            <CountryCode>XX</CountryCode>
            <UniqueIdentifier>ACTOR02</UniqueIdentifier>
        </SenderIdentifier>
        <ReceiverIdentifier>
            <CountryCode>XX</CountryCode>
            <UniqueIdentifier>ACTOR01</UniqueIdentifier>
        </ReceiverIdentifier>
        <TransactionIdentifier>8854cfad-44ac-43b8-99ae-530b690b43da</TransactionIdentifier>
        <Timestamp>2025-04-04T13:37:37.000000Z</Timestamp>
        <Version>
            <ETSIVersion>V1.18.1</ETSIVersion>
            <NationalProfileOwner>XX</NationalProfileOwner>
            <NationalProfileVersion>v1.0</NationalProfileVersion>
        </Version>
    </Header>
    <Payload>
        <RequestPayload>
            <ActionRequests>
                <ActionRequest>
                    <ActionIdentifier>0</ActionIdentifier>
                    <DELIVER>
                        <Identifier>71ff52ca-bcea-4fa3-b34e-1b89dcfb0d9e</Identifier>
                        <HI1Object xsi:type="delivery:DeliveryObject">
                            <ObjectIdentifier>71ff52ca-bcea-4fa3-b34e-1b89dcfb0d9e</ObjectIdentifier>
                            <AssociatedObjects>
                                <AssociatedObject>2b36a78b-b628-416d-bd22-404e68a0cd36</AssociatedObject>
                            </AssociatedObjects>
                            <delivery:Reference>
                                <delivery:LDID>XX-ACTOR01-1234</delivery:LDID>
                            </delivery:Reference>
                            <delivery:DeliveryID>d1079830-8e9a-4731-8fb7-36b9b961eb73</delivery:DeliveryID>
                            <delivery:SequenceNumber>1</delivery:SequenceNumber>
                            <delivery:LastSequence>true</delivery:LastSequence>
                            <delivery:Manifest>
                                <delivery:Specification>
                                    <common:Owner>ETSI</common:Owner>
                                    <common:Name>ManifestSpecification</common:Name>
                                    <common:Value>TS103707</common:Value>
                                </delivery:Specification>
                            </delivery:Manifest>
                            <delivery:Delivery>
                                <delivery:XMLData>
                                    <msg:handoverItem>
                                        <msg:header/>
                                        <msg:payload xsi:type="msg:MessagingPayload">
                                            <msg:coreParameters>
                                                <msg:messageSender>
                                                    <msg:identifiers>
                                                        <msg:qualifiedIdentifier>
                                                            <msg:formatType>
                                                                <task:FormatOwner>ETSI</task:FormatOwner>
                                                                <task:FormatName>EmailAddress</task:FormatName>
                                                            </msg:formatType>
                                                            <msg:value>PartyA@example.com</msg:value>
                                                        </msg:qualifiedIdentifier>
                                                    </msg:identifiers>
                                                    <msg:isTargetedParty>true</msg:isTargetedParty>
                                                </msg:messageSender>
                                                <msg:messageReceivers>
                                                    <msg:recipient>
                                                        <msg:identifiers>
                                                            <msg:qualifiedIdentifier>
                                                                <msg:formatType>
                                                                    <task:FormatOwner>ETSI</task:FormatOwner>
                                                                    <task:FormatName>EmailAddress</task:FormatName>
                                                                </msg:formatType>
                                                                <msg:value>PartyB@example.com</msg:value>
                                                            </msg:qualifiedIdentifier>
                                                        </msg:identifiers>
                                                    </msg:recipient>
                                                    <msg:recipient>
                                                        <msg:identifiers>
                                                            <msg:qualifiedIdentifier>
                                                                <msg:formatType>
                                                                    <task:FormatOwner>ETSI</task:FormatOwner>
                                                                    <task:FormatName>EmailAddress</task:FormatName>
                                                                </msg:formatType>
                                                                <msg:value>PartyC@example.com</msg:value>
                                                            </msg:qualifiedIdentifier>
                                                        </msg:identifiers>
                                                    </msg:recipient>
                                                </msg:messageReceivers>
                                                <msg:timestamp>2025-04-04T13:37:37.000000+00:00</msg:timestamp>
                                            </msg:coreParameters>
                                            <msg:cspDefinedParameters>
                                                <msg:cspDefinedMetadata>
                                                    <msg:schemaDetails>
                                                        <msg:schemaIdentifier>http://MessagingServiceSchema.example.com/schema/v1.1.1/</msg:schemaIdentifier>
                                                    </msg:schemaDetails>
                                                    <msg:xmlData>
                                                        <example:messagingServiceDefinedParameters xmlns:example="http://MessagingServiceSchema.example.com/schema/v1.1.1/">
                                                            <example:messageID>633523913219</example:messageID>
                                                            <example:messageContent>Foo for the group</example:messageContent>
                                                        </example:messagingServiceDefinedParameters>
                                                    </msg:xmlData>
                                                </msg:cspDefinedMetadata>
                                            </msg:cspDefinedParameters>
                                        </msg:payload>
                                    </msg:handoverItem>
                                </delivery:XMLData>
                            </delivery:Delivery>
                        </HI1Object>
                    </DELIVER>
                </ActionRequest>
            </ActionRequests>
        </RequestPayload>
    </Payload>
</HI1Message>
+6 −3
Original line number Diff line number Diff line
@@ -72,13 +72,16 @@
            "103120/schema/xsd/ts_103120_Common.xsd",
            "103120/schema/xsd/ts_103120_Core.xsd",
            "103120/schema/xsd/ts_103120_Config.xsd",
            "103120/schema/xsd/ts_103120_Delivery.xsd",
            "103120/dictionaries/ts_103120_Dictionaries.xsd",
            "103120/schema/xsd/ts_103120_Task.xsd",
            "testing/deps/xmldsig/xmldsig-core-schema.xsd",
            "103707/examples/FooServiceSchema.xsd"
            "103707/examples/FooServiceSchema.xsd",
            "104112/examples/xml/MessagingServiceSchema.xsd"
        ],
        "exampleFiles" : [
            "103707/examples"
            "103707/examples",
            "104112/examples"
        ]
    },
    {