TS_103_707.xsd 7 KB
Newer Older
1
2
3
4
5
<?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"
canterburym's avatar
canterburym committed
6
           version="1.3.1"
7
8
9
10
11
           elementFormDefault="qualified">

  <xs:import namespace="http://uri.etsi.org/03280/common/2017/07"/>

  <!-- ************************************************************************************* -->
12
  <!-- Handover Item definitions including header (clause 5.3) -->
13
14
15
  <!-- ************************************************************************************* -->

  <xs:element name="handoverItem" type="HandoverItem"></xs:element>
canterburym's avatar
canterburym committed
16
17
  <xs:element name="handoverItemCollection" type="HandoverItemCollection"></xs:element>

18
19
20
21
22
23
  <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>
canterburym's avatar
canterburym committed
24
25
26
27
28
29
  
  <xs:complexType name="HandoverItemCollection">
    <xs:sequence>
      <xs:element name="handoverItem" maxOccurs="unbounded"></xs:element>
    </xs:sequence>
  </xs:complexType>
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62

  <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>


  
  <!-- ************************************************************************************* -->
63
  <!-- Core parameters (Clause 5.4) -->
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
  <!-- ************************************************************************************* -->
  
  <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>

  

  <!-- ************************************************************************************* -->
119
  <!-- Glossary (Clause 5.5) -->
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
  <!-- ************************************************************************************* -->

  <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>



  <!-- ************************************************************************************* -->
137
  <!-- CSP-defined container (Clause 5.6) -->
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
  <!-- ************************************************************************************* -->

  <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>