-
Notifications
You must be signed in to change notification settings - Fork 255
/
TS29122_CommonData.yaml
679 lines (627 loc) · 20.9 KB
/
TS29122_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
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
openapi: 3.0.0
info:
title: TS 29.122 Common Data Types
version: 1.3.0-alpha.4
description: |
Data types applicable to several APIs.
© 2023, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
All rights reserved.
externalDocs:
description: 3GPP TS 29.122 V18.4.0 T8 reference point for Northbound APIs
url: 'https://www.3gpp.org/ftp/Specs/archive/29_series/29.122/'
paths: {}
components:
schemas:
SponsorInformation:
description: Represents a sponsor information.
type: object
properties:
sponsorId:
type: string
description: It indicates Sponsor ID.
aspId:
type: string
description: It indicates Application Service Provider ID.
required:
- sponsorId
- aspId
UsageThreshold:
description: Represents a usage threshold.
type: object
properties:
duration:
$ref: '#/components/schemas/DurationSec'
totalVolume:
$ref: '#/components/schemas/Volume'
downlinkVolume:
$ref: '#/components/schemas/Volume'
uplinkVolume:
$ref: '#/components/schemas/Volume'
UsageThresholdRm:
description: >
Represents the same as the UsageThreshold data type but with the nullable:true property.
type: object
properties:
duration:
$ref: '#/components/schemas/DurationSecRm'
totalVolume:
$ref: '#/components/schemas/VolumeRm'
downlinkVolume:
$ref: '#/components/schemas/VolumeRm'
uplinkVolume:
$ref: '#/components/schemas/VolumeRm'
nullable: true
TimeWindow:
description: Represents a time window identified by a start time and a stop time.
type: object
properties:
startTime:
$ref: '#/components/schemas/DateTime'
stopTime:
$ref: '#/components/schemas/DateTime'
required:
- startTime
- stopTime
Acknowledgement:
description: Represents a successful acknowledgement of a notification.
type: object
properties:
details:
type: string
description: A human-readable explanation specific to this successful acknowledgement
required:
- details
NotificationData:
description: >
Represents the information to be conveyed in a bearer level event(s) notification.
type: object
properties:
transaction:
$ref: '#/components/schemas/Link'
eventReports:
type: array
items:
$ref: '#/components/schemas/EventReport'
minItems: 1
description: Contains the reported event and applicable information
required:
- transaction
- eventReports
EventReport:
description: Represents an event report.
type: object
properties:
event:
$ref: '#/components/schemas/Event'
accumulatedUsage:
$ref: '#/components/schemas/AccumulatedUsage'
flowIds:
type: array
items:
type: integer
minItems: 1
description: Identifies the IP flows that were sent during event subscription
required:
- event
AccumulatedUsage:
description: Represents an accumulated usage.
type: object
properties:
duration:
$ref: '#/components/schemas/DurationSec'
totalVolume:
$ref: '#/components/schemas/Volume'
downlinkVolume:
$ref: '#/components/schemas/Volume'
uplinkVolume:
$ref: '#/components/schemas/Volume'
FlowInfo:
description: Represents IP flow information.
type: object
properties:
flowId:
type: integer
description: Indicates the IP flow identifier.
flowDescriptions:
type: array
items:
type: string
description: >
Indicates the packet filters of the IP flow. Refer to clause 5.3.8 of 3GPP TS 29.214 for
encoding. It shall contain UL and/or DL IP flow description.
minItems: 1
maxItems: 2
tosTC:
$ref: 'TS29514_Npcf_PolicyAuthorization.yaml#/components/schemas/TosTrafficClass'
required:
- flowId
TestNotification:
description: >
Represents a notification that can be sent to test whether a chosen notification mechanism
works.
type: object
properties:
subscription:
$ref: '#/components/schemas/Link'
required:
- subscription
WebsockNotifConfig:
description: >
Represents the configuration information for the delivery of notifications over Websockets.
type: object
properties:
websocketUri:
$ref: '#/components/schemas/Link'
requestWebsocketUri:
type: boolean
description: Set by the SCS/AS to indicate that the Websocket delivery is requested.
LocationArea:
description: Represents a user location area.
type: object
properties:
cellIds:
type: array
items:
type: string
minItems: 1
description: >
Indicates a list of Cell Global Identities of the user which identifies the cell the UE
is registered.
enodeBIds:
type: array
items:
type: string
minItems: 1
description: Indicates a list of eNodeB identities in which the UE is currently located.
routingAreaIds:
type: array
items:
type: string
minItems: 1
description: >
Identifies a list of Routing Area Identities of the user where the UE is located.
trackingAreaIds:
type: array
items:
type: string
minItems: 1
description: >
Identifies a list of Tracking Area Identities of the user where the UE is located.
geographicAreas:
type: array
items:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/GeographicArea'
minItems: 1
description: Identifies a list of geographic area of the user where the UE is located.
civicAddresses:
type: array
items:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/CivicAddress'
minItems: 1
description: Identifies a list of civic addresses of the user where the UE is located.
LocationArea5G:
description: Represents a user location area when the UE is attached to 5G.
type: object
properties:
geographicAreas:
type: array
items:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/GeographicArea'
minItems: 0
description: Identifies a list of geographic area of the user where the UE is located.
civicAddresses:
type: array
items:
$ref: 'TS29572_Nlmf_Location.yaml#/components/schemas/CivicAddress'
minItems: 0
description: Identifies a list of civic addresses of the user where the UE is located.
nwAreaInfo:
$ref: 'TS29554_Npcf_BDTPolicyControl.yaml#/components/schemas/NetworkAreaInfo'
ProblemDetails:
description: Represents additional information and details on an error response.
type: object
properties:
type:
$ref: '#/components/schemas/Uri'
title:
type: string
description: >
A short, human-readable summary of the problem type. It should not change from occurrence
to occurrence of the problem.
status:
type: integer
description: The HTTP status code for this occurrence of the problem.
detail:
type: string
description: A human-readable explanation specific to this occurrence of the problem.
instance:
$ref: '#/components/schemas/Uri'
cause:
type: string
description: >
A machine-readable application error cause specific to this occurrence of the problem.
This IE should be present and provide application-related error information, if
available.
invalidParams:
type: array
items:
$ref: '#/components/schemas/InvalidParam'
minItems: 1
description: >
Description of invalid parameters, for a request rejected due to invalid parameters.
supportedFeatures:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
InvalidParam:
description: >
Represents the description of invalid parameters, for a request rejected due to invalid
parameters.
type: object
properties:
param:
type: string
description: Attribute's name encoded as a JSON Pointer, or header's name.
reason:
type: string
description: A human-readable reason, e.g. "must be a positive integer".
required:
- param
PlmnId:
description: Represents the identifier of a PLMN.
type: object
properties:
mcc:
$ref: '#/components/schemas/Mcc'
mnc:
$ref: '#/components/schemas/Mnc'
required:
- mcc
- mnc
ConfigResult:
description: Represents one configuration processing result for a group's members.
type: object
properties:
externalIds:
type: array
items:
$ref: '#/components/schemas/ExternalId'
minItems: 1
description: Each element indicates an external identifier of the UE.
msisdns:
type: array
items:
$ref: '#/components/schemas/Msisdn'
minItems: 1
description: >
Each element identifies the MS internal PSTN/ISDN number allocated for the UE.
resultReason:
$ref: '#/components/schemas/ResultReason'
required:
- resultReason
oneOf:
- required: [externalIds]
- required: [msisdns]
Bandwidth:
type: integer
minimum: 0
description: integer indicating a bandwidth in bits per second.
BdtReferenceId:
type: string
description: string identifying a BDT Reference ID as defined in clause 5.3.3 of 3GPP TS 29.154.
Binary:
type: string
description: string with format "binary" as defined in OpenAPI Specification.
Bytes:
type: string
description: >
String with format "byte" as defined in OpenAPI Specification, i.e, base64-encoded
characters.
DayOfWeek:
type: integer
minimum: 1
maximum: 7
description: >
integer between and including 1 and 7 denoting a weekday. 1 shall indicate Monday, and the
subsequent weekdays shall be indicated with the next higher numbers. 7 shall indicate
Sunday.
DateTime:
format: date-time
type: string
description: string with format "date-time" as defined in OpenAPI.
DateTimeRm:
format: date-time
type: string
description: >
string with format "date-time" as defined in OpenAPI with "nullable=true" property.
nullable: true
DateTimeRo:
format: date-time
type: string
description: >
string with format "date-time" as defined in OpenAPI with "readOnly=true" property.
readOnly: true
DurationSec:
type: integer
minimum: 0
description: Unsigned integer identifying a period of time in units of seconds.
DurationSecRm:
type: integer
minimum: 0
description: >
Unsigned integer identifying a period of time in units of seconds with "nullable=true"
property.
nullable: true
DurationSecRo:
type: integer
minimum: 0
description: >
Unsigned integer identifying a period of time in units of seconds with "readOnly=true"
property.
readOnly: true
DurationMin:
type: integer
format: int32
minimum: 0
description: Unsigned integer identifying a period of time in units of minutes.
ExternalId:
type: string
description: >
string containing a local identifier followed by "@" and a domain identifier. Both the local
identifier and the domain identifier shall be encoded as strings that do not contain any "@"
characters. See Clause 4.6.2 of 3GPP TS 23.682 for more information.
ExternalGroupId:
type: string
description: >
string containing a local identifier followed by "@" and a domain identifier. Both the local
identifier and the domain identifier shall be encoded as strings that do not contain any "@"
characters. See Clauses 4.6.2 and 4.6.3 of 3GPP TS 23.682 for more information.
Ipv4Addr:
type: string
description: >
string identifying a Ipv4 address formatted in the "dotted decimal" notation as defined in
IETF RFC 1166.
Ipv6Addr:
type: string
description: >
string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952.
The mixed Ipv4 Ipv6 notation according to clause 5 of IETF RFC 5952 shall not be used.
Ipv4AddrRo:
type: string
description: >
string identifying a Ipv4 address formatted in the "dotted decimal" notation
as defined in IETF RFC 1166, with "readOnly=true" property.
readOnly: true
Ipv6AddrRo:
type: string
description: >
string identifying a Ipv6 address formatted according to clause 4 in IETF RFC 5952,
with "readOnly=true" property. The mixed Ipv4 Ipv6 notation according to clause 5 of
IETF RFC 5952 shall not be used.
readOnly: true
Link:
type: string
description: string formatted according to IETF RFC 3986 identifying a referenced resource.
LinkRm:
type: string
description: >
String formatted according to IETF RFC 3986 identifying a referenced resource,
but with the nullable property set to true.
nullable: true
Mcc:
type: string
description: >
String encoding a Mobile Country Code part of the PLMN, comprising 3 digits,
as defined in 3GPP TS 38.413.
Mnc:
type: string
description: >
String encoding a Mobile Network Code part of the PLMN, comprising 2 or 3 digits,
as defined in 3GPP TS 38.413.
Msisdn:
type: string
description: >
string formatted according to clause 3.3 of 3GPP TS 23.003 that describes an MSISDN.
Port:
type: integer
description: Unsigned integer with valid values between 0 and 65535.
minimum: 0
maximum: 65535
PortRo:
type: integer
description: >
Unsigned integer with valid values between 0 and 65535, with "readOnly=true" property.
minimum: 0
maximum: 65535
readOnly: true
ResourceId:
type: string
description: string chosen by the SCEF to serve as identifier in a resource URI.
ScsAsId:
type: string
description: string that identifies an SCS/AS.
TimeOfDay:
type: string
description: >
String with format partial-time or full-time as defined in clause 5.6 of IETF RFC 3339.
Examples, 20:15:00, 20:15:00-08:00 (for 8 hours behind UTC).
Uri:
type: string
description: string providing an URI formatted according to IETF RFC 3986.
Volume:
type: integer
format: int64
minimum: 0
description: Unsigned integer identifying a volume in units of bytes.
VolumeRm:
type: integer
format: int64
minimum: 0
description: >
Unsigned integer identifying a volume in units of bytes with "nullable=true" property.
nullable: true
EthFlowInfo:
description: Represents Ethernet flow information.
type: object
properties:
flowId:
type: integer
description: Indicates the Ethernet flow identifier.
ethFlowDescriptions:
type: array
items:
$ref: 'TS29514_Npcf_PolicyAuthorization.yaml#/components/schemas/EthFlowDescription'
description: >
Indicates the packet filters of the Ethernet flow. It shall contain UL and/or DL
Ethernet flow description.
minItems: 1
maxItems: 2
required:
- flowId
Event:
anyOf:
- type: string
enum:
- SESSION_TERMINATION
- LOSS_OF_BEARER
- RECOVERY_OF_BEARER
- RELEASE_OF_BEARER
- USAGE_REPORT
- FAILED_RESOURCES_ALLOCATION
- SUCCESSFUL_RESOURCES_ALLOCATION
- type: string
description: >
This string provides forward-compatibility with future
extensions to the enumeration and is not used to encode
content defined in the present version of this API.
description: |
Represents the event reported by the SCEF.
Possible values are:
- SESSION_TERMINATION: Indicates that Rx session is terminated.
- LOSS_OF_BEARER : Indicates a loss of a bearer.
- RECOVERY_OF_BEARER: Indicates a recovery of a bearer.
- RELEASE_OF_BEARER: Indicates a release of a bearer.
- USAGE_REPORT: Indicates the usage report event.
- FAILED_RESOURCES_ALLOCATION: Indicates the resource allocation is failed.
- SUCCESSFUL_RESOURCES_ALLOCATION: Indicates the resource allocation is successful.
ResultReason:
anyOf:
- type: string
enum:
- ROAMING_NOT_ALLOWED
- OTHER_REASON
- type: string
description: >
This string provides forward-compatibility with future extensions to the enumeration
and is not used to encode content defined in the present version of this API.
description: |
Represents a failure result reason.
Possible values are:
- ROAMING_NOT_ALLOWED: Identifies the configuration parameters are not allowed by roaming
agreement.
- OTHER_REASON: Identifies the configuration parameters are not configured due to other
reason.
#
# HTTP responses
#
responses:
'307':
description: Temporary Redirect
headers:
Location:
description: 'An alternative URI of the resource.'
required: true
schema:
type: string
'308':
description: Permanent Redirect
headers:
Location:
description: 'An alternative URI of the resource.'
required: true
schema:
type: string
'400':
description: Bad request
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'401':
description: Unauthorized
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'403':
description: Forbidden
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'404':
description: Not Found
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'406':
description: Not Acceptable
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'409':
description: Conflict
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'411':
description: Length Required
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'412':
description: Precondition Failed
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'413':
description: Content Too Large
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'414':
description: URI Too Long
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'415':
description: Unsupported Media Type
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'429':
description: Too Many Requests
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'500':
description: Internal Server Error
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: Service Unavailable
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
default:
description: Generic Error