forked from jdegre/5GC_APIs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
TS29512_Npcf_SMPolicyControl.yaml
1571 lines (1571 loc) · 65 KB
/
TS29512_Npcf_SMPolicyControl.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
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
openapi: 3.0.0
info:
description: Session Management Policy Control Service
version: "1.0.1"
title: Npcf_SMPolicyControl
externalDocs:
description: 3GPP TS 29.512 V15.3.0; 5G System; Session Management Policy Control Service.
url: 'http://www.3gpp.org/ftp/Specs/archive/29_series/29.512/'
security:
- {}
- oAuth2ClientCredentials:
- npcf-smpolicycontrol
servers:
- url: '{apiRoot}/npcf-smpolicycontrol/v1'
variables:
apiRoot:
default: https://example.com
description: apiRoot as defined in subclause 4.4 of 3GPP TS 29.501
paths:
/sm-policies:
post:
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SmPolicyContextData'
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/SmPolicyDecision'
headers:
Location:
description: 'Contains the URI of the newly created resource'
required: true
schema:
type: string
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'401':
$ref: 'TS29571_CommonData.yaml#/components/responses/401'
'403':
$ref: 'TS29571_CommonData.yaml#/components/responses/403'
'404':
description: Not Found
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'415':
$ref: 'TS29571_CommonData.yaml#/components/responses/415'
'429':
$ref: 'TS29571_CommonData.yaml#/components/responses/429'
'500':
$ref: 'TS29571_CommonData.yaml#/components/responses/500'
'503':
$ref: 'TS29571_CommonData.yaml#/components/responses/503'
default:
$ref: 'TS29571_CommonData.yaml#/components/responses/default'
callbacks:
SmPolicyUpdateNotification:
'{$request.body#/notificationUri}/update':
post:
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SmPolicyNotification'
responses:
'200':
description: OK. The current applicable values corresponding to the policy control request trigger is reported
content:
application/json:
schema:
oneOf:
- $ref: '#/components/schemas/UeCampingRep'
- type: array
items:
$ref: '#/components/schemas/PartialSuccessReport'
minItems: 1
'204':
description: No Content, Notification was succesfull
content:
application/json:
schema:
$ref: '#/components/schemas/RuleReport'
'400':
description: Bad Request.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorReport'
'401':
$ref: 'TS29571_CommonData.yaml#/components/responses/401'
'403':
$ref: 'TS29571_CommonData.yaml#/components/responses/403'
'404':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'415':
$ref: 'TS29571_CommonData.yaml#/components/responses/415'
'429':
$ref: 'TS29571_CommonData.yaml#/components/responses/429'
'500':
$ref: 'TS29571_CommonData.yaml#/components/responses/500'
'503':
$ref: 'TS29571_CommonData.yaml#/components/responses/503'
default:
$ref: 'TS29571_CommonData.yaml#/components/responses/default'
SmPolicyControlTerminationRequestNotification:
'{$request.body#/notificationUri}/terminate':
post:
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/TerminationNotification'
responses:
'204':
description: No Content, Notification was succesful
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'401':
$ref: 'TS29571_CommonData.yaml#/components/responses/401'
'403':
$ref: 'TS29571_CommonData.yaml#/components/responses/403'
'404':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'415':
$ref: 'TS29571_CommonData.yaml#/components/responses/415'
'429':
$ref: 'TS29571_CommonData.yaml#/components/responses/429'
'500':
$ref: 'TS29571_CommonData.yaml#/components/responses/500'
'503':
$ref: 'TS29571_CommonData.yaml#/components/responses/503'
default:
$ref: 'TS29571_CommonData.yaml#/components/responses/default'
/sm-policies/{smPolicyId}:
get:
parameters:
- name: smPolicyId
in: path
description: Identifier of a policy association
required: true
schema:
type: string
responses:
'200':
description: OK. Resource representation is returned
content:
application/json:
schema:
$ref: '#/components/schemas/SmPolicyControl'
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'401':
$ref: 'TS29571_CommonData.yaml#/components/responses/401'
'403':
$ref: 'TS29571_CommonData.yaml#/components/responses/403'
'404':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'406':
$ref: 'TS29571_CommonData.yaml#/components/responses/406'
'429':
$ref: 'TS29571_CommonData.yaml#/components/responses/429'
'500':
$ref: 'TS29571_CommonData.yaml#/components/responses/500'
'503':
$ref: 'TS29571_CommonData.yaml#/components/responses/503'
default:
$ref: 'TS29571_CommonData.yaml#/components/responses/default'
/sm-policies/{smPolicyId}/update:
post:
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SmPolicyUpdateContextData'
parameters:
- name: smPolicyId
in: path
description: Identifier of a policy association
required: true
schema:
type: string
responses:
'200':
description: OK. Updated policies are returned
content:
application/json:
schema:
$ref: '#/components/schemas/SmPolicyDecision'
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'401':
$ref: 'TS29571_CommonData.yaml#/components/responses/401'
'403':
$ref: 'TS29571_CommonData.yaml#/components/responses/403'
'404':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'415':
$ref: 'TS29571_CommonData.yaml#/components/responses/415'
'429':
$ref: 'TS29571_CommonData.yaml#/components/responses/429'
'500':
$ref: 'TS29571_CommonData.yaml#/components/responses/500'
'503':
$ref: 'TS29571_CommonData.yaml#/components/responses/503'
default:
$ref: 'TS29571_CommonData.yaml#/components/responses/default'
/sm-policies/{smPolicyId}/delete:
post:
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SmPolicyDeleteData'
parameters:
- name: smPolicyId
in: path
description: Identifier of a policy association
required: true
schema:
type: string
responses:
'204':
description: No content
'400':
$ref: 'TS29571_CommonData.yaml#/components/responses/400'
'401':
$ref: 'TS29571_CommonData.yaml#/components/responses/401'
'403':
$ref: 'TS29571_CommonData.yaml#/components/responses/403'
'404':
$ref: 'TS29571_CommonData.yaml#/components/responses/404'
'411':
$ref: 'TS29571_CommonData.yaml#/components/responses/411'
'413':
$ref: 'TS29571_CommonData.yaml#/components/responses/413'
'415':
$ref: 'TS29571_CommonData.yaml#/components/responses/415'
'429':
$ref: 'TS29571_CommonData.yaml#/components/responses/429'
'500':
$ref: 'TS29571_CommonData.yaml#/components/responses/500'
'503':
$ref: 'TS29571_CommonData.yaml#/components/responses/503'
default:
$ref: 'TS29571_CommonData.yaml#/components/responses/default'
components:
securitySchemes:
oAuth2ClientCredentials:
type: oauth2
flows:
clientCredentials:
tokenUrl: '{nrfApiRoot}/oauth2/token'
scopes:
npcf-smpolicycontrol: Access to the Npcf_SMPolicyControl API
schemas:
SmPolicyControl:
type: object
properties:
context:
$ref: '#/components/schemas/SmPolicyContextData'
policy:
$ref: '#/components/schemas/SmPolicyDecision'
required:
- context
- policy
SmPolicyContextData:
type: object
properties:
accNetChId:
$ref: '#/components/schemas/AccNetChId'
chargEntityAddr:
$ref: '#/components/schemas/AccNetChargingAddress'
gpsi:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Gpsi'
supi:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Supi'
interGrpIds:
type: array
items:
$ref: 'TS29571_CommonData.yaml#/components/schemas/GroupId'
minItems: 1
pduSessionId:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PduSessionId'
pduSessionType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PduSessionType'
chargingcharacteristics:
type: string
dnn:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Dnn'
notificationUri:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
accessType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/AccessType'
ratType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/RatType'
servingNetwork:
$ref: 'TS29571_CommonData.yaml#/components/schemas/NetworkId'
userLocationInfo:
$ref: 'TS29571_CommonData.yaml#/components/schemas/UserLocation'
ueTimeZone:
$ref: 'TS29571_CommonData.yaml#/components/schemas/TimeZone'
pei:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Pei'
ipv4Address:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv4Addr'
ipv6AddressPrefix:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv6Prefix'
ipDomain:
type: string
description: Indicates the IPv4 address domain
subsSessAmbr:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ambr'
subsDefQos:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SubscribedDefaultQos'
numOfPackFilter:
type: integer
description: Contains the number of supported packet filter for signalled QoS rules.
online:
type: boolean
description: If it is included and set to true, the online charging is applied to the PDU session.
offline:
type: boolean
description: If it is included and set to true, the offline charging is applied to the PDU session.
3gppPsDataOffStatus:
type: boolean
description: If it is included and set to true, the 3GPP PS Data Off is activated by the UE.
refQosIndication:
type: boolean
description: If it is included and set to true, the reflective QoS is supported by the UE.
traceReq:
$ref: 'TS29571_CommonData.yaml#/components/schemas/TraceData'
sliceInfo:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai'
qosFlowUsage:
$ref: '#/components/schemas/QosFlowUsage'
servNfId:
$ref: '#/components/schemas/ServingNfIdentity'
suppFeat:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
smfId:
$ref: 'TS29571_CommonData.yaml#/components/schemas/NfInstanceId'
recoveryTime:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
required:
- supi
- pduSessionId
- pduSessionType
- dnn
- notificationUri
- sliceInfo
SmPolicyDecision:
type: object
properties:
sessRules:
type: object
additionalProperties:
$ref: '#/components/schemas/SessionRule'
minProperties: 1
description: A map of Sessionrules with the content being the SessionRule as described in subclause 5.6.2.7.
pccRules:
type: object
additionalProperties:
$ref: '#/components/schemas/PccRule'
minProperties: 1
description: A map of PCC rules with the content being the PCCRule as described in subclause 5.6.2.6.
nullable: true
pcscfRestIndication:
type: boolean
description: If it is included and set to true, it indicates the P-CSCF Restoration is requested.
qosDecs:
type: object
additionalProperties:
$ref: '#/components/schemas/QosData'
minProperties: 1
description: Map of QoS data policy decisions.
chgDecs:
type: object
additionalProperties:
$ref: '#/components/schemas/ChargingData'
minProperties: 1
description: Map of Charging data policy decisions.
nullable: true
chargingInfo:
$ref: '#/components/schemas/ChargingInformation'
traffContDecs:
type: object
additionalProperties:
$ref: '#/components/schemas/TrafficControlData'
minProperties: 1
description: Map of Traffic Control data policy decisions.
umDecs:
type: object
additionalProperties:
$ref: '#/components/schemas/UsageMonitoringData'
minProperties: 1
description: Map of Usage Monitoring data policy decisions.
nullable: true
qosChars:
type: object
additionalProperties:
$ref: '#/components/schemas/QosCharacteristics'
minProperties: 1
description: Map of QoS characteristics for non standard 5QIs. This map uses the 5QI values as keys.
reflectiveQoSTimer:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DurationSec'
conds:
type: object
additionalProperties:
$ref: '#/components/schemas/ConditionData'
minProperties: 1
description: A map of condition data with the content being as described in subclause 5.6.2.9.
nullable: true
revalidationTime:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
offline:
type: boolean
description: Indicates the offline charging is applicable to the PDU session or PCC rule.
online:
type: boolean
description: Indicates the online charging is applicable to the PDU session or PCC rule.
policyCtrlReqTriggers:
type: array
items:
$ref: '#/components/schemas/PolicyControlRequestTrigger'
minItems: 1
description: Defines the policy control request triggers subscribed by the PCF.
nullable: true
lastReqRuleData:
type: array
items:
$ref: '#/components/schemas/RequestedRuleData'
minItems: 1
description: Defines the last list of rule control data requested by the PCF.
lastReqUsageData:
$ref: '#/components/schemas/RequestedUsageData'
praInfos:
type: object
additionalProperties:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PresenceInfoRm'
minProperties: 1
description: Map of PRA information.
nullable: true
ipv4Index:
$ref: 'TS29519_Policy_Data.yaml#/components/schemas/IpIndex'
ipv6Index:
$ref: 'TS29519_Policy_Data.yaml#/components/schemas/IpIndex'
qosFlowUsage:
$ref: '#/components/schemas/QosFlowUsage'
suppFeat:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SupportedFeatures'
SmPolicyNotification:
type: object
properties:
resourceUri:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
smPolicyDecision:
$ref: '#/components/schemas/SmPolicyDecision'
PccRule:
type: object
properties:
flowInfos:
type: array
items:
$ref: '#/components/schemas/FlowInformation'
minItems: 1
description: An array of IP flow packet filter information.
appId:
type: string
description: A reference to the application detection filter configured at the UPF.
contVer:
$ref: 'TS29514_Npcf_PolicyAuthorization.yaml#/components/schemas/ContentVersion'
pccRuleId:
type: string
description: Univocally identifies the PCC rule within a PDU session.
precedence:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uinteger'
afSigProtocol:
$ref: '#/components/schemas/AfSigProtocol'
appReloc:
type: boolean
description: Indication of application relocation possibility.
refQosData:
type: array
items:
type: string
minItems: 1
maxItems: 1
description: A reference to the QoSData policy type decision type. It is the qosId described in subclause 5.6.2.8. (NOTE)
refTcData:
type: array
items:
type: string
minItems: 1
maxItems: 1
description: A reference to the TrafficControlData policy decision type. It is the tcId described in subclause 5.6.2.10. (NOTE)
refChgData:
type: array
items:
type: string
minItems: 1
maxItems: 1
description: A reference to the ChargingData policy decision type. It is the chgId described in subclause 5.6.2.11. (NOTE)
nullable: true
refUmData:
type: array
items:
type: string
minItems: 1
maxItems: 1
description: A reference to UsageMonitoringData policy decision type. It is the umId described in subclause 5.6.2.12. (NOTE)
nullable: true
refCondData:
type: string
description: A reference to the condition data. It is the condId described in subclause 5.6.2.9.
nullable: true
required:
- pccRuleId
nullable: true
SessionRule:
type: object
properties:
authSessAmbr:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ambr'
authDefQos:
$ref: '#/components/schemas/AuthorizedDefaultQos'
sessRuleId:
type: string
description: Univocally identifies the session rule within a PDU session.
refUmData:
type: string
description: A reference to UsageMonitoringData policy decision type. It is the umId described in subclause 5.6.2.12.
nullable: true
refCondData:
type: string
description: A reference to the condition data. It is the condId described in subclause 5.6.2.9.
nullable: true
required:
- sessRuleId
nullable: true
QosData:
type: object
properties:
qosId:
type: string
description: Univocally identifies the QoS control policy data within a PDU session.
5qi:
$ref: 'TS29571_CommonData.yaml#/components/schemas/5Qi'
maxbrUl:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRateRm'
maxbrDl:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRateRm'
gbrUl:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRateRm'
gbrDl:
$ref: 'TS29571_CommonData.yaml#/components/schemas/BitRateRm'
arp:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Arp'
qnc:
type: boolean
description: Indicates whether notifications are requested from 3GPP NG-RAN when the GFBR can no longer (or again) be guaranteed for a QoS Flow during the lifetime of the QoS Flow.
priorityLevel:
$ref: 'TS29571_CommonData.yaml#/components/schemas/5QiPriorityLevelRm'
averWindow:
$ref: 'TS29571_CommonData.yaml#/components/schemas/AverWindowRm'
maxDataBurstVol:
$ref: 'TS29571_CommonData.yaml#/components/schemas/MaxDataBurstVolRm'
reflectiveQos:
type: boolean
description: Indicates whether the QoS information is reflective for the corresponding service data flow.
sharingKeyDl:
type: string
description: Indicates, by containing the same value, what PCC rules may share resource in downlink direction.
sharingKeyUl:
type: string
description: Indicates, by containing the same value, what PCC rules may share resource in uplink direction.
maxPacketLossRateDl:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PacketLossRateRm'
maxPacketLossRateUl:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PacketLossRateRm'
defQosFlowIndication:
type: boolean
description: Indicates that the dynamic PCC rule shall always have its binding with the QoS Flow associated with the default QoS rule
required:
- qosId
nullable: true
ConditionData:
type: object
properties:
condId:
type: string
description: Uniquely identifies the condition data within a PDU session.
activationTime:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTimeRm'
deactivationTime:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTimeRm'
required:
- condId
nullable: true
TrafficControlData:
type: object
properties:
tcId:
type: string
description: Univocally identifies the traffic control policy data within a PDU session.
flowStatus:
$ref: 'TS29514_Npcf_PolicyAuthorization.yaml#/components/schemas/FlowStatus'
redirectInfo:
$ref: '#/components/schemas/RedirectInformation'
muteNotif:
type: boolean
description: Indicates whether applicat'on's start or stop notification is to be muted.
trafficSteeringPolIdDl:
type: string
description: Reference to a pre-configured traffic steering policy for downlink traffic at the SMF.
nullable: true
trafficSteeringPolIdUl:
type: string
description: Reference to a pre-configured traffic steering policy for uplink traffic at the SMF.
nullable: true
routeToLocs:
type: array
items:
$ref: 'TS29571_CommonData.yaml#/components/schemas/RouteToLocation'
minItems: 1
description: A list of location which the traffic shall be routed to for the AF request
upPathChgEvent:
$ref: '#/components/schemas/UpPathChgEvent'
required:
- tcId
nullable: true
ChargingData:
type: object
properties:
chgId:
type: string
description: Univocally identifies the charging control policy data within a PDU session.
meteringMethod:
$ref: '#/components/schemas/MeteringMethod'
offline:
type: boolean
description: Indicates the offline charging is applicable to the PDU session or PCC rule.
online:
type: boolean
description: Indicates the online charging is applicable to the PDU session or PCC rule.
sdfHandl:
type: boolean
description: Indicates whether the service data flow is allowed to start while the SMF is waiting for the response to the credit request.
ratingGroup:
$ref: 'TS29571_CommonData.yaml#/components/schemas/RatingGroup'
reportingLevel:
$ref: '#/components/schemas/ReportingLevel'
serviceId:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ServiceId'
sponsorId:
type: string
description: Indicates the sponsor identity.
appSvcProvId:
type: string
description: Indicates the application service provider identity.
afChargingIdentifier:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ChargingId'
required:
- chgId
nullable: true
UsageMonitoringData:
type: object
properties:
umId:
type: string
description: Univocally identifies the usage monitoring policy data within a PDU session.
volumeThreshold:
$ref: 'TS29122_CommonData.yaml#/components/schemas/VolumeRm'
volumeThresholdUplink:
$ref: 'TS29122_CommonData.yaml#/components/schemas/VolumeRm'
volumeThresholdDownlink:
$ref: 'TS29122_CommonData.yaml#/components/schemas/VolumeRm'
timeThreshold:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DurationSecRm'
monitoringTime:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTimeRm'
nextVolThreshold:
$ref: 'TS29122_CommonData.yaml#/components/schemas/VolumeRm'
nextVolThresholdUplink:
$ref: 'TS29122_CommonData.yaml#/components/schemas/VolumeRm'
nextVolThresholdDownlink:
$ref: 'TS29122_CommonData.yaml#/components/schemas/VolumeRm'
nextTimeThreshold:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DurationSecRm'
inactivityTime:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DurationSecRm'
exUsagePccRuleIds:
type: array
items:
type: string
minItems: 1
description: Contains the PCC rule identifier(s) which corresponding service data flow(s) shall be excluded from PDU Session usage monitoring. It is only included in the UsageMonitoringData instance for session level usage monitoring.
nullable: true
required:
- umId
nullable: true
RedirectInformation:
type: object
properties:
redirectEnabled:
type: boolean
description: Indicates the redirect is enable.
redirectAddressType:
$ref: '#/components/schemas/RedirectAddressType'
redirectServerAddress:
type: string
description: Indicates the address of the redirect server.
FlowInformation:
type: object
properties:
flowDescription:
$ref: '#/components/schemas/FlowDescription'
ethFlowDescription:
$ref: 'TS29514_Npcf_PolicyAuthorization.yaml#/components/schemas/EthFlowDescription'
packFiltId:
type: string
description: An identifier of packet filter.
packetFilterUsage:
type: boolean
description: The packet shall be sent to the UE.
tosTrafficClass:
type: string
description: Contains the Ipv4 Type-of-Service and mask field or the Ipv6 Traffic-Class field and mask field.
nullable: true
spi:
type: string
description: the security parameter index of the IPSec packet.
nullable: true
flowLabel:
type: string
description: the Ipv6 flow label header field.
nullable: true
flowDirection:
$ref: '#/components/schemas/FlowDirectionRm'
SmPolicyDeleteData:
type: object
properties:
userLocationInfo:
$ref: 'TS29571_CommonData.yaml#/components/schemas/UserLocation'
ueTimeZone:
$ref: 'TS29571_CommonData.yaml#/components/schemas/TimeZone'
servingNetwork:
$ref: 'TS29571_CommonData.yaml#/components/schemas/NetworkId'
userLocationInfoTime:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
ranNasRelCauses:
type: array
items:
$ref: '#/components/schemas/RanNasRelCause'
minItems: 1
description: Contains the RAN and/or NAS release cause.
accuUsageReports:
type: array
items:
$ref: '#/components/schemas/AccuUsageReport'
minItems: 1
description: Contains the usage report
QosCharacteristics:
type: object
properties:
5qi:
$ref: 'TS29571_CommonData.yaml#/components/schemas/5Qi'
resourceType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/QosResourceType'
priorityLevel:
$ref: 'TS29571_CommonData.yaml#/components/schemas/5QiPriorityLevel'
packetDelayBudget:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PacketDelBudget'
packetErrorRate:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PacketErrRate'
averagingWindow:
$ref: 'TS29571_CommonData.yaml#/components/schemas/AverWindow'
maxDataBurstVol:
$ref: 'TS29571_CommonData.yaml#/components/schemas/MaxDataBurstVol'
required:
- 5qi
- resourceType
- priorityLevel
- packetDelayBudget
- packetErrorRate
ChargingInformation:
type: object
properties:
primaryChfAddress:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
secondaryChfAddress:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
required:
- primaryChfAddress
- secondaryChfAddress
AccuUsageReport:
type: object
properties:
refUmIds:
type: string
description: An id referencing UsageMonitoringData objects associated with this usage report.
volUsage:
$ref: 'TS29122_CommonData.yaml#/components/schemas/Volume'
volUsageUplink:
$ref: 'TS29122_CommonData.yaml#/components/schemas/Volume'
volUsageDownlink:
$ref: 'TS29122_CommonData.yaml#/components/schemas/Volume'
timeUsage:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DurationSec'
nextVolUsage:
$ref: 'TS29122_CommonData.yaml#/components/schemas/Volume'
nextVolUsageUplink:
$ref: 'TS29122_CommonData.yaml#/components/schemas/Volume'
nextVolUsageDownlink:
$ref: 'TS29122_CommonData.yaml#/components/schemas/Volume'
nextTimeUsage:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DurationSec'
required:
- refUmIds
SmPolicyUpdateContextData:
type: object
properties:
repPolicyCtrlReqTriggers:
type: array
items:
$ref: '#/components/schemas/PolicyControlRequestTrigger'
minItems: 1
description: The policy control reqeust trigges which are met.
accNetChIds:
type: array
items:
$ref: '#/components/schemas/AccNetChId'
minItems: 1
description: Indicates the access network charging identifier for the PCC rule(s) or whole PDU session.
accessType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/AccessType'
ratType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/RatType'
servingNetwork:
$ref: 'TS29571_CommonData.yaml#/components/schemas/NetworkId'
userLocationInfo:
$ref: 'TS29571_CommonData.yaml#/components/schemas/UserLocation'
ueTimeZone:
$ref: 'TS29571_CommonData.yaml#/components/schemas/TimeZone'
relIpv4Address:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv4Addr'
ipv4Address:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv4Addr'
ipv6AddressPrefix:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv6Prefix'
relIpv6AddressPrefix:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv6Prefix'
relUeMac:
$ref: 'TS29571_CommonData.yaml#/components/schemas/MacAddr48'
ueMac:
$ref: 'TS29571_CommonData.yaml#/components/schemas/MacAddr48'
subsSessAmbr:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ambr'
subsDefQos:
$ref: 'TS29571_CommonData.yaml#/components/schemas/SubscribedDefaultQos'
numOfPackFilter:
type: integer
description: Contains the number of supported packet filter for signalled QoS rules.
accuUsageReports:
type: array
items:
$ref: '#/components/schemas/AccuUsageReport'
minItems: 1
description: Contains the usage report
3gppPsDataOffStatus:
type: boolean
description: If it is included and set to true, the 3GPP PS Data Off is activated by the UE.
appDetectionInfos:
type: array
items:
$ref: '#/components/schemas/AppDetectionInfo'
minItems: 1
description: Report the start/stop of the application traffic and detected SDF descriptions if applicable.
ruleReports:
type: array
items:
$ref: '#/components/schemas/RuleReport'
minItems: 1
description: Used to report the PCC rule failure.
qncReports:
type: array
items:
$ref: '#/components/schemas/QosNotificationControlInfo'
minItems: 1
description: QoS Notification Control information.
userLocationInfoTime:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
repPraInfos:
type: object
additionalProperties:
$ref: 'TS29571_CommonData.yaml#/components/schemas/PresenceInfo'
minProperties: 1
description: Reports the changes of presence reporting area.
ueInitResReq:
$ref: '#/components/schemas/UeInitiatedResourceRequest'
refQosIndication:
type: boolean
description: If it is included and set to true, the reflective QoS is supported by the UE. If it is included and set to false, the reflective QoS is revoked by the UE.
qosFlowUsage:
$ref: '#/components/schemas/QosFlowUsage'
creditManageStatus:
$ref: '#/components/schemas/CreditManagementStatus'
servNfId:
$ref: '#/components/schemas/ServingNfIdentity'
traceReq:
$ref: 'TS29571_CommonData.yaml#/components/schemas/TraceData'
UpPathChgEvent:
type: object
properties:
notificationUri:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
notifCorreId:
type: string
description: It is used to set the value of Notification Correlation ID in the notification sent by the SMF.
dnaiChgType:
$ref: 'TS29571_CommonData.yaml#/components/schemas/DnaiChangeType'
required:
- notificationUri
- notifCorreId
- dnaiChgType
nullable: true
TerminationNotification:
type: object
properties:
resourceUri:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
cause:
$ref: 'TS29507_Npcf_AMPolicyControl.yaml#/components/schemas/PolicyAssociationReleaseCause'
required:
- resourceUri
- cause
AppDetectionInfo:
type: object
properties:
appId:
type: string
description: A reference to the application detection filter configured at the UPF
instanceId:
type: string
description: Identifier sent by the SMF in order to allow correlation of application Start and Stop events to the specific service data flow description, if service data flow descriptions are deducible.
sdfDescriptions:
type: array
items:
$ref: '#/components/schemas/FlowInformation'
minItems: 1
description: Contains the detected service data flow descriptions if they are deducible.
required:
- appId
AccNetChId:
type: object
properties:
accNetChaIdValue:
$ref: 'TS29571_CommonData.yaml#/components/schemas/ChargingId'
refPccRuleIds:
type: array
items:
type: string
minItems: 1
description: Contains the identifier of the PCC rule(s) associated to the provided Access Network Charging Identifier.
sessionChScope:
type: boolean
description: When it is included and set to true, indicates the Access Network Charging Identifier applies to the whole PDU Session
required:
- accNetChaIdValue
AccNetChargingAddress:
description: Describes the network entity within the access network performing charging
type: object
anyOf:
- required: [anChargIpv4Addr]
- required: [anChargIpv6Addr]
properties:
anChargIpv4Addr:
$ref: 'TS29571_CommonData.yaml#/components/schemas/Ipv4Addr'