-
Notifications
You must be signed in to change notification settings - Fork 253
/
TS26512_CommonData.yaml
384 lines (366 loc) · 12.4 KB
/
TS26512_CommonData.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
63
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
openapi: 3.0.0
info:
title: 5GMS Common Data Types
version: 3.0.0
description: |
5GMS Common Data Types
© 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
All rights reserved.
tags:
- name: 5GMS Common Data Types
description: '5G Media Streaming: Common Data Types'
externalDocs:
description: 'TS 26.512 V18.0.0; 5G Media Streaming (5GMS); Protocols'
url: 'https://www.3gpp.org/ftp/Specs/archive/26_series/26.512/'
paths: {}
components:
schemas:
#################################
# Clause 6.4.2: Simple data types
#################################
ResourceId:
type: string
description: String chosen by the 5GMS AF to serve as an identifier in a resource URI.
Percentage:
type: number
minimum: 0.0
maximum: 100.0
#DurationSec is defined in TS29571_CommonData
Duration:
type: string
format: duration
description: 'String with format "duration" as defined by JSON Schema (referencing IETF RFC 3339, appendix A and, ultimately, ISO 8601).'
#DateTime is defined in TS29571_CommonData
#Uri is defined in TS29571_CommonData
Url:
type: string
format: uri-reference
description: 'Uniform Resource Locator, conforming with the "URI-reference" production specified in IETF RFC 3986, section 4.1.'
RelativeUrl:
type: string
format: uri-reference
description: 'Relative Uniform Resource Locator, conforming with the "relative-ref" production specified in IETF RFC 3986, section 4.2. Note that both "query" and "fragment" suffixes are permitted by this production.'
AbsoluteUrl:
type: string
format: uri
description: 'Absolute Uniform Resource Locator, conforming with the "absolute-URI" production specified in IETF RFC 3986, section 4.3 in which the scheme part is "http" or "https". Note that the "query" suffix is permitted by this production but the "fragment" suffix is not.'
MediaDeliverySessionId:
type: string
description: 'A unique identifier for a media delivery session.'
#####################################
# Clause 6.4.3: Structured data types
#####################################
IpPacketFilterSet:
type: object
required:
- direction
properties:
srcIp:
type: string
dstIp:
type: string
protocol:
type: integer
srcPort:
type: integer
dstPort:
type: integer
toSTc:
type: string
flowLabel:
type: integer
spi:
type: integer
direction:
type: string
ServiceDataFlowDescription:
type: object
properties:
flowDescription:
$ref: '#/components/schemas/IpPacketFilterSet'
domainName:
type: string
M5QoSSpecification:
type: object
required:
- marBwDlBitRate
- marBwUlBitRate
- mirBwDlBitRate
- mirBwUlBitRate
properties:
marBwDlBitRate:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
marBwUlBitRate:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
minDesBwDlBitRate:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
minDesBwUlBitRate:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
mirBwDlBitRate:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
mirBwUlBitRate:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
desLatency:
type: integer
minimum: 0
desLoss:
type: integer
minimum: 0
M1QoSSpecification:
type: object
properties:
qosReference:
type: string
maxBtrUl:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
maxBtrDl:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
maxAuthBtrUl:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
maxAuthBtrDl:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
defPacketLossRateDl:
type: integer
minimum: 0
defPacketLossRateUl:
type: integer
minimum: 0
ChargingSpecification:
type: object
properties:
sponId:
type: string
sponStatus:
$ref: 'TS29514_Npcf_PolicyAuthorization.yaml#/components/schemas/SponsoringStatus'
gpsi:
type: array
items:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Gpsi'
TypedLocation:
type: object
required:
- locationIdentifierType
- location
properties:
locationIdentifierType:
$ref: '#/components/schemas/CellIdentifierType'
location:
type: string
OperationSuccessResponse:
type: object
required:
- success
properties:
success:
type: boolean
reason:
type: string
EndpointAddress:
type: object
required:
- portNumber
properties:
hostname:
type: string
ipv4Addr:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv4Addr'
ipv6Addr:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv6Addr'
portNumber:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uint16'
EdgeProcessingEligibilityCriteria:
type: object
required:
- serviceDataFlowDescriptions
- ueLocations
- timeWindows
- appRequest
properties:
serviceDataFlowDescriptions:
type: array
items:
$ref: '#/components/schemas/ServiceDataFlowDescription'
ueLocations:
type: array
items:
$ref: 'TS29122_CommonData.yaml#/components/schemas/LocationArea5G'
timeWindows:
type: array
items:
$ref: 'TS29122_CommonData.yaml#/components/schemas/TimeWindow'
appRequest:
type: boolean
MediaStreamingSessionIdentification:
type: object
required:
- sessionId
properties:
sessionId:
$ref: '#/components/schemas/MediaDeliverySessionId'
MediaStreamingAccess:
type: object
description: Common properties of a single media access by the Media Stream Handler.
required:
- mediaStreamHandlerEndpointAddress
- applicationServerEndpointAddress
- requestMessage
- responseMessage
- processingLatency
properties:
mediaStreamHandlerEndpointAddress:
$ref: '#/components/schemas/EndpointAddress'
applicationServerEndpointAddress:
$ref: '#/components/schemas/EndpointAddress'
requestMessage:
type: object
required:
- method
- url
- protocolVersion
- size
- bodySize
properties:
method:
type: string
url:
$ref: '#/components/schemas/AbsoluteUrl'
protocolVersion:
type: string
range:
type: string
size:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uinteger'
bodySize:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uinteger'
contentType:
type: string
userAgent:
type: string
userIdentity:
type: string
referer:
$ref: '#/components/schemas/AbsoluteUrl'
cacheStatus:
$ref: '#/components/schemas/CacheStatus'
responseMessage:
type: object
required:
- responseCode
- size
- bodySize
properties:
responseCode:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uinteger'
size:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uinteger'
bodySize:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uinteger'
contentType:
type: string
processingLatency:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Float'
connectionMetrics:
type: object
required:
- meanNetworkRoundTripTime
- networkRoundTripTimeVariation
- congestionWindowSize
properties:
meanNetworkRoundTripTime:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Float'
networkRoundTripTimeVariation:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Float'
congestionWindowSize:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uinteger'
NetworkAssistanceInvocation:
description: Common properties of a single Network Assistance invocation.
type: object
properties:
policyTemplateId:
$ref: '#/components/schemas/ResourceId'
serviceDataFlowDescriptions:
type: array
minItems: 1
items:
$ref: '#/components/schemas/ServiceDataFlowDescription'
requestedQoS:
$ref: '#/components/schemas/UnidirectionalQoSSpecification'
# The network QoS parameters (if any) requested by the Media Session Handler.
recommendedQoS:
type: object
description: The network QoS parameters (if any) recommended to the Media Session Handler.
required:
- maximumBitRate
- minimumBitRate
properties:
maximumBitRate:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
minimumBitRate:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
UnidirectionalQoSSpecification:
type: object
description: A specification for network Quality of Service in either the downlink or uplink direction.
required:
- maximumRequestedBitRate
- minimumRequestedBitRate
properties:
maximumRequestedBitRate:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
minimumDesiredBitRate:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
minimumRequestedBitRate:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRate'
desiredPacketLatency:
type: integer
minimum: 0
desiredPacketLossRate:
type: integer
minimum: 0
#####################################
# Clause 6.4.4: Enumerated data types
#####################################
CellIdentifierType:
anyOf:
- type: string
enum: [CGI, ECGI, NCGI]
- type: string
description: >
This string provides forward-compatibility with future
extensions to the enumeration but is not used to encode
content defined in the present version of this API.
SdfMethod:
anyOf:
- type: string
enum: [5_TUPLE, 2_TUPLE, TYPE_OF_SERVICE_MARKING, FLOW_LABEL, DOMAIN_NAME]
- type: string
description: >
This string provides forward-compatibility with future
extensions to the enumeration but is not used to encode
content defined in the present version of this API.
ProvisioningSessionType:
anyOf:
- type: string
enum: [DOWNLINK, UPLINK]
- type: string
description: >
This string provides forward-compatibility with future
extensions to the enumeration but is not used to encode
content defined in the present version of this API.
CacheStatus:
anyOf:
- type: string
enum: [HIT, MISS, EXPIRED]
- type: string
description: >
This string provides forward-compatibility with future
extensions to the enumeration but is not used to encode
content defined in the present version of this API.
EASRelocationTolerance:
anyOf:
- type: string
enum: [RELOCATION_UNAWARE, RELOCATION_TOLERANT, RELOCATION_INTOLERANT]
- type: string
description: >
This string provides forward-compatibility with future
extensions to the enumeration but is not used to encode
content defined in the present version of this API.