-
Notifications
You must be signed in to change notification settings - Fork 263
/
Copy pathTS29571_CommonData.yaml
6369 lines (5823 loc) · 205 KB
/
TS29571_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
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:
version: '1.5.0-alpha.6'
title: 'Common Data Types'
description: |
Common Data Types for Service Based Interfaces.
© 2024, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
All rights reserved.
externalDocs:
description: 3GPP TS 29.571 Common Data Types for Service Based Interfaces, version 18.5.0
url: 'https://www.3gpp.org/ftp/Specs/archive/29_series/29.571/'
paths: {}
components:
schemas:
#
# Common Data Types for Generic usage definitions as defined in clause 5.2
#
#
# COMMON SIMPLE DATA TYPES
#
Binary:
format: binary
type: string
description: string with format 'binary' as defined in OpenAPI.
BinaryRm:
format: binary
type: string
nullable: true
description: >
"string with format 'binary' as defined in OpenAPI OpenAPI with 'nullable: true' property."
Bytes:
format: byte
type: string
description: string with format 'bytes' as defined in OpenAPI
BytesRm:
format: byte
type: string
nullable: true
description: >
string with format 'bytes' as defined in OpenAPI OpenAPI with 'nullable: true' property.
Date:
format: date
type: string
description: string with format 'date' as defined in OpenAPI.
DateRm:
format: date
type: string
nullable: true
description: >
string with format 'date' as defined in OpenAPI OpenAPI with 'nullable: true' property.
DateTime:
format: date-time
type: string
description: string with format 'date-time' as defined in OpenAPI.
DateTimeRm:
format: date-time
type: string
nullable: true
description: >
string with format 'date-time' as defined in OpenAPI with 'nullable:true' property.
DiameterIdentity:
$ref: '#/components/schemas/Fqdn'
DiameterIdentityRm:
$ref: '#/components/schemas/FqdnRm'
Double:
format: double
type: number
description: string with format 'double' as defined in OpenAPI
DoubleRm:
format: double
type: number
nullable: true
description: >
string with format 'double' as defined in OpenAPI with 'nullable: true' property.
DurationSec:
type: integer
description: indicating a time in seconds.
DurationSecRm:
type: integer
nullable: true
description: "indicating a time in seconds with OpenAPI defined 'nullable: true' property."
Float:
format: float
type: number
description: string with format 'float' as defined in OpenAPI.
FloatRm:
format: float
type: number
nullable: true
description: >
string with format 'float' as defined in OpenAPI with the OpenAPI defined
'nullable: true' property.
Int32:
format: int32
type: integer
description: string with format 'int32' as defined in OpenAPI.
Int32Rm:
format: int32
type: integer
nullable: true
description: >
string with format 'int32' as defined in OpenAPI with the OpenAPI defined
'nullable: true' property.
Int64:
type: integer
format: int64
description: string with format 'int64' as defined in OpenAPI.
Int64Rm:
format: int64
type: integer
nullable: true
description: >
string with format 'int64' as defined in OpenAPI with the OpenAPI defined
'nullable: true' property.
Ipv4Addr:
type: string
pattern: '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'
example: '198.51.100.1'
description: >
String identifying a IPv4 address formatted in the 'dotted decimal' notation
as defined in RFC 1166.
Ipv4AddrRm:
type: string
pattern: '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$'
example: '198.51.100.1'
nullable: true
description: >
String identifying a IPv4 address formatted in the 'dotted decimal' notation
as defined in RFC 1166 with the OpenAPI defined 'nullable: true' property.
Ipv4AddrMask:
type: string
pattern: '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$'
example: '198.51.0.0/16'
description: >
"String identifying a IPv4 address mask formatted in the 'dotted decimal' notation
as defined in RFC 1166."
Ipv4AddrMaskRm:
type: string
pattern: '^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(\/([0-9]|[1-2][0-9]|3[0-2]))$'
example: '198.51.0.0/16'
nullable: true
description: >
String identifying a IPv4 address mask formatted in the 'dotted decimal' notation
as defined in RFC 1166 with the OpenAPI defined 'nullable: true' property.
Ipv6Addr:
type: string
allOf:
- pattern: '^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$'
- pattern: '^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$'
example: '2001:db8:85a3::8a2e:370:7334'
description: >
String identifying an IPv6 address formatted according to clause 4 of RFC5952.
The mixed IPv4 IPv6 notation according to clause 5 of RFC5952 shall not be used.
Ipv6AddrRm:
type: string
allOf:
- pattern: '^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))$'
- pattern: '^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))$'
example: '2001:db8:85a3::8a2e:370:7334'
nullable: true
description: >
String identifying an IPv6 address formatted according to clause 4 of RFC5952 with the
OpenAPI 'nullable: true' property.
The mixed IPv4 IPv6 notation according to clause 5 of RFC5952 shall not be used.
Ipv6Prefix:
type: string
allOf:
- pattern: '^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))(\/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))$'
- pattern: '^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\/.+)$'
example: '2001:db8:abcd:12::0/64'
description: >
String identifying an IPv6 address prefix formatted according to clause 4 of RFC 5952.
IPv6Prefix data type may contain an individual /128 IPv6 address.
Ipv6PrefixRm:
type: string
allOf:
- pattern: '^((:|(0?|([1-9a-f][0-9a-f]{0,3}))):)((0?|([1-9a-f][0-9a-f]{0,3})):){0,6}(:|(0?|([1-9a-f][0-9a-f]{0,3})))(\/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8])))$'
- pattern: '^((([^:]+:){7}([^:]+))|((([^:]+:)*[^:]+)?::(([^:]+:)*[^:]+)?))(\/.+)$'
nullable: true
description: >
String identifying an IPv6 address prefix formatted according to clause 4 of RFC 5952 with
the OpenAPI 'nullable: true' property. IPv6Prefix data type may contain an individual
/128 IPv6 address.
MacAddr48:
type: string
pattern: '^([0-9a-fA-F]{2})((-[0-9a-fA-F]{2}){5})$'
description: >
String identifying a MAC address formatted in the hexadecimal notation
according to clause 1.1 and clause 2.1 of RFC 7042.
MacAddr48Rm:
type: string
pattern: '^([0-9a-fA-F]{2})((-[0-9a-fA-F]{2}){5})$'
nullable: true
description: >
"String identifying a MAC address formatted in the hexadecimal notation according to
clause 1.1 and clause 2.1 of RFC 7042 with the OpenAPI 'nullable: true' property."
SupportedFeatures:
type: string
pattern: '^[A-Fa-f0-9]*$'
description: >
A string used to indicate the features supported by an API that is used as defined in clause
6.6 in 3GPP TS 29.500. The string shall contain a bitmask indicating supported features in
hexadecimal representation Each character in the string shall take a value of "0" to "9",
"a" to "f" or "A" to "F" and shall represent the support of 4 features as described in
table 5.2.2-3. The most significant character representing the highest-numbered features
shall appear first in the string, and the character representing features 1 to 4
shall appear last in the string. The list of features and their numbering (starting with 1)
are defined separately for each API. If the string contains a lower number of characters
than there are defined features for an API, all features that would be represented by
characters that are not present in the string are not supported.
Uinteger:
type: integer
minimum: 0
description: Unsigned Integer, i.e. only value 0 and integers above 0 are permissible.
UintegerRm:
type: integer
minimum: 0
description: >
Unsigned Integer, i.e. only value 0 and integers above 0 are permissible with
the OpenAPI 'nullable: true' property.
nullable: true
Uint16:
type: integer
minimum: 0
maximum: 65535
description: >
Integer where the allowed values correspond to the value range of an
unsigned 16-bit integer.
Uint16Rm:
type: integer
minimum: 0
maximum: 65535
nullable: true
description: >
Integer where the allowed values correspond to the value range of an unsigned
16-bit integer with the OpenAPI 'nullable: true' property.
Uint32:
type: integer
minimum: 0
maximum: 4294967295 #(2^32)-1
description: >
Integer where the allowed values correspond to the value range of an unsigned
32-bit integer.
Uint32Rm:
format: int32
type: integer
minimum: 0
maximum: 4294967295 #(2^32)-1
nullable: true
description: >
Integer where the allowed values correspond to the value range of an unsigned
32-bit integer with the OpenAPI 'nullable: true' property.
Uint64:
type: integer
minimum: 0
maximum: 18446744073709551615 #(2^64)-1
description: >
Integer where the allowed values correspond to the value range of an
unsigned 64-bit integer.
Uint64Rm:
type: integer
minimum: 0
maximum: 18446744073709551615 #(2^64)-1
nullable: true
description: >
Integer where the allowed values correspond to the value range of an unsigned
16-bit integer with the OpenAPI 'nullable: true' property.
Uri:
type: string
description: String providing an URI formatted according to RFC 3986.
UriRm:
type: string
nullable: true
description: >
String providing an URI formatted according to RFC 3986 with the OpenAPI
'nullable: true' property.
VarUeId:
type: string
pattern: '^(imsi-[0-9]{5,15}|nai-.+|msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|gci-.+|gli-.+|.+)$'
description: String represents the SUPI or GPSI
VarUeIdRm:
type: string
pattern: '^(imsi-[0-9]{5,15}|nai-.+|msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|gci-.+|gli-.+|.+)$'
nullable: true
description: "String represents the SUPI or GPSI with the OpenAPI 'nullable: true' property."
TimeZone:
type: string
example: '-08:00+1'
description: |
String with format "time-numoffset" optionally appended by "daylightSavingTime", where
- "time-numoffset" shall represent the time zone adjusted for daylight saving time and be
encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339;
- "daylightSavingTime" shall represent the adjustment that has been made and shall be
encoded as "+1" or "+2" for a +1 or +2 hours adjustment.
The example is for 8 hours behind UTC, +1 hour adjustment for Daylight Saving Time.
TimeZoneRm:
type: string
nullable: true
description: |
"String with format 'time-numoffset' optionally appended by '<daylightSavingTime>', where
- 'time-numoffset' shall represent the time zone adjusted for daylight saving time and be
encoded as time-numoffset as defined in clause 5.6 of IETF RFC 3339;
- 'daylightSavingTime' shall represent the adjustment that has been made and shall be
encoded as '+1' or '+2' for a +1 or +2 hours adjustment.
But with the OpenAPI 'nullable: true' property."
StnSr:
type: string
description: String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003.
StnSrRm:
type: string
nullable: true
description: >
String representing the STN-SR as defined in clause 18.6 of 3GPP TS 23.003
with the OpenAPI 'nullable: true' property.
CMsisdn:
type: string
pattern: '^[0-9]{5,15}$'
description: String representing the C-MSISDN as defined in clause 18.7 of 3GPP TS 23.003.
CMsisdnRm:
type: string
pattern: '^[0-9]{5,15}$'
nullable: true
description: >
String representing the C-MSISDN as defined in clause 18.7 of 3GPP TS 23.003 with
the OpenAPI 'nullable: true' property.
MonthOfYear:
type: integer
minimum: 1
maximum: 12
description: >
integer between and including 1 and 12 denoting a month. 1 shall indicate January,
and the subsequent months shall be indicated with the next higher numbers.
12 shall indicate December.
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.
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).
EmptyObject:
description: Empty JSON object { }, it is defined with the keyword additionalProperties false
type: object
additionalProperties: false
Fqdn:
description: Fully Qualified Domain Name
type: string
pattern: '^([0-9A-Za-z]([-0-9A-Za-z]{0,61}[0-9A-Za-z])?\.)+[A-Za-z]{2,63}\.?$'
minLength: 4
maxLength: 253
FqdnRm:
description: Fully Qualified Domain Name, but it also allows the null value
anyOf:
- $ref: '#/components/schemas/Fqdn'
- $ref: '#/components/schemas/NullValue'
#
# COMMON ENUMERATED DATA TYPES
#
PatchOperation:
anyOf:
- type: string
enum:
- add
- copy
- move
- remove
- replace
- test
- type: string
description: Operations as defined in IETF RFC 6902.
UriScheme:
anyOf:
- type: string
enum:
- http
- https
- type: string
description: HTTP and HTTPS URI scheme.
ChangeType:
anyOf:
- type: string
enum:
- ADD
- MOVE
- REMOVE
- REPLACE
- type: string
description: Indicates the type of change to be performed.
HttpMethod:
anyOf:
- type: string
enum:
- GET
- POST
- PUT
- DELETE
- PATCH
- OPTIONS
- HEAD
- CONNECT
- TRACE
- type: string
description: HTTP methodes.
NullValue:
enum:
- null
description: JSON's null value.
MatchingOperator:
anyOf:
- type: string
enum:
- FULL_MATCH
- MATCH_ALL
- STARTS_WITH
- NOT_START_WITH
- ENDS_WITH
- NOT_END_WITH
- CONTAINS
- NOT_CONTAIN
- type: string
description: the matching operation.
#
# COMMON STRUCTURED DATA TYPES
#
ProblemDetails:
description: Provides additional information in an error response.
type: object
properties:
type:
$ref: '#/components/schemas/Uri'
title:
type: string
status:
type: integer
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
supportedFeatures:
$ref: '#/components/schemas/SupportedFeatures'
accessTokenError:
$ref: 'TS29510_Nnrf_AccessToken.yaml#/components/schemas/AccessTokenErr'
accessTokenRequest:
$ref: 'TS29510_Nnrf_AccessToken.yaml#/components/schemas/AccessTokenReq'
nrfId:
$ref: '#/components/schemas/Fqdn'
supportedApiVersions:
type: array
items:
type: string
minItems: 1
noProfileMatchInfo:
$ref: 'TS29510_Nnrf_NFDiscovery.yaml#/components/schemas/NoProfileMatchInfo'
Link:
type: object
properties:
href:
$ref: '#/components/schemas/Uri'
description: It contains the URI of the linked resource.
LinkRm:
type: object
properties:
href:
$ref: '#/components/schemas/Uri'
nullable: true
description: >
It contains the URI of the linked resource with the OpenAPI 'nullable: true' property.
PatchItem:
type: object
properties:
op:
$ref: '#/components/schemas/PatchOperation'
path:
type: string
description: >
contains a JSON pointer value (as defined in IETF RFC 6901) that references
a location of a resource on which the patch operation shall be performed.
from:
type: string
description: >
indicates the path of the source JSON element (according to JSON Pointer syntax)
being moved or copied to the location indicated by the "path" attribute.
value: {}
required:
- op
- path
description: it contains information on data to be changed.
LinksValueSchema:
oneOf:
- type: array
items:
$ref: '#/components/schemas/Link'
minItems: 1
- $ref: '#/components/schemas/Link'
description: A list of mutually exclusive alternatives of 1 or more links.
SelfLink:
type: object
properties:
self:
$ref: '#/components/schemas/Link'
required:
- self
description: It contains the URI of the linked resource.
InvalidParam:
type: object
properties:
param:
type: string
description: >
If the invalid parameter is an attribute in a JSON body, this IE shall contain the
attribute's name and shall be encoded as a JSON Pointer. If the invalid parameter is
an HTTP header, this IE shall be formatted as the concatenation of the string "header "
plus the name of such header. If the invalid parameter is a query parameter, this IE
shall be formatted as the concatenation of the string "query " plus the name of such
query parameter. If the invalid parameter is a variable part in the path of a resource
URI, this IE shall contain the name of the variable, including the symbols "{" and "}"
used in OpenAPI specification as the notation to represent variable path segments.
reason:
type: string
description: >
A human-readable reason, e.g. "must be a positive integer". In cases involving failed
operations in a PATCH request, the reason string should identify the operation that
failed using the operation's array index to assist in correlation of the invalid
parameter with the failed operation, e.g." Replacement value invalid for attribute
(failed operation index= 4)"
required:
- param
description: It contains an invalid parameter and a related description.
ChangeItem:
type: object
properties:
op:
$ref: '#/components/schemas/ChangeType'
path:
type: string
description: >
contains a JSON pointer value (as defined in IETF RFC 6901) that references a target
location within the resource on which the change has been applied.
from:
type: string
description: >
indicates the path of the source JSON element (according to JSON Pointer syntax)
being moved or copied to the location indicated by the "path" attribute. It shall
be present if the "op" attribute is of value "MOVE".
origValue: {}
newValue: {}
required:
- op
- path
description: It contains data which need to be changed.
NotifyItem:
type: object
required:
- resourceId
- changes
properties:
resourceId:
$ref: '#/components/schemas/Uri'
changes:
type: array
items:
$ref: '#/components/schemas/ChangeItem'
minItems: 1
description: Indicates changes on a resource.
ComplexQuery:
oneOf:
- $ref: '#/components/schemas/Cnf'
- $ref: '#/components/schemas/Dnf'
description: >
The ComplexQuery data type is either a conjunctive normal form or a disjunctive normal form.
The attribute names "cnfUnits" and "dnfUnits" (see clause 5.2.4.11 and clause 5.2.4.12)
serve as discriminator.
Cnf:
type: object
required:
- cnfUnits
properties:
cnfUnits:
type: array
items:
$ref: '#/components/schemas/CnfUnit'
minItems: 1
description: A conjunctive normal form
Dnf:
type: object
required:
- dnfUnits
properties:
dnfUnits:
type: array
items:
$ref: '#/components/schemas/DnfUnit'
minItems: 1
description: A disjunctive normal form.
CnfUnit:
type: object
required:
- cnfUnit
properties:
cnfUnit:
type: array
items:
$ref: '#/components/schemas/Atom'
minItems: 1
description: >
During the processing of cnfUnits attribute, all the members in the array shall be
interpreted as logically concatenated with logical "AND".
DnfUnit:
type: object
required:
- dnfUnit
properties:
dnfUnit:
type: array
items:
$ref: '#/components/schemas/Atom'
minItems: 1
description: >
During the processing of dnfUnits attribute, all the members in the array shall be
interpreted as logically concatenated with logical "OR".
Atom:
description: contains a search parameter and its positive or negative content.
type: object
required:
- attr
- value
properties:
attr:
type: string
description: contains the name of a defined query parameter.
value: {}
negative:
type: boolean
description: indicates whether the negative condition applies for the query condition.
PatchResult:
description: The execution report result on failed modification.
type: object
required:
- report
properties:
report:
type: array
items:
$ref: '#/components/schemas/ReportItem'
minItems: 1
description: >
The execution report contains an array of report items. Each report item indicates one
failed modification.
ReportItem:
type: object
required:
- path
properties:
path:
type: string
description: >
Contains a JSON pointer value (as defined in IETF RFC 6901) that references a
location of a resource to which the modification is subject.
reason:
type: string
description: >
A human-readable reason providing details on the reported modification failure.
The reason string should identify the operation that failed using the operation's
array index to assist in correlation of the invalid parameter with the failed
operation, e.g. "Replacement value invalid for attribute (failed operation index= 4)".
description: indicates performed modivications.
HalTemplate:
description: >
Hypertext Application Language (HAL) template contains the extended 3GPP hypermedia format.
type: object
required:
- method
properties:
title:
type: string
description: A human-readable string that can be used to identify this template
method:
$ref: '#/components/schemas/HttpMethod'
contentType:
type: string
description: >
The media type that should be used for the corresponding request. If the attribute
is missing, or contains an unrecognized value, the client should act as if the
contentType is set to "application/json".
properties:
type: array
items:
$ref: '#/components/schemas/Property'
minItems: 1
description: >
The properties that should be included in the body of the corresponding request.
If the contentType attribute is set to "application/json", then this attribute
describes the attributes of the JSON object of the body.
Property:
description: >
If the contentType attribute is set to "application/json", then this attribute describes
the attributes of the JSON object of the body.
type: object
required:
- name
properties:
name:
type: string
description: The name of the property
required:
type: boolean
description: >
Indicates whether the property is required – true= required –
false(default)= not required.
regex:
type: string
description: A regular expression string to be applied to the value of the property.
value:
type: string
description: The property value. When present, it shall be a valid JSON string.
RedirectResponse:
description: >
The response shall include a Location header field containing a different URI
(pointing to a different URI of an other service instance), or the same URI if a request
is redirected to the same target resource via a different SCP.
type: object
properties:
cause:
type: string
targetScp:
$ref: '#/components/schemas/Uri'
targetSepp:
$ref: '#/components/schemas/Uri'
TunnelAddress:
description: Tunnel address
type: object
properties:
ipv4Addr:
$ref: '#/components/schemas/Ipv4Addr'
ipv6Addr:
$ref: '#/components/schemas/Ipv6Addr'
portNumber:
$ref: '#/components/schemas/Uinteger'
required:
- portNumber
anyOf:
- required: [ ipv4Addr ]
- required: [ ipv6Addr ]
FqdnPatternMatchingRule:
description: a matching rule for a FQDN pattern
type: object
oneOf:
- required: [ regex ]
- required: [ stringMatchingRule ]
properties:
regex:
type: string
stringMatchingRule:
$ref: '#/components/schemas/StringMatchingRule'
StringMatchingRule:
description: A list of conditions for string matching
type: object
properties:
stringMatchingConditions:
type: array
items:
$ref: '#/components/schemas/StringMatchingCondition'
minItems: 1
StringMatchingCondition:
description: A String with Matching Operator
type: object
properties:
matchingString:
type: string
matchingOperator:
$ref: '#/components/schemas/MatchingOperator'
required:
- matchingOperator
Ipv4AddressRange:
description: Range of IPv4 addresses
type: object
properties:
start:
$ref: '#/components/schemas/Ipv4Addr'
end:
$ref: '#/components/schemas/Ipv4Addr'
required:
- start
- end
Ipv6AddressRange:
description: Range of IPv6 addresses
type: object
properties:
start:
$ref: '#/components/schemas/Ipv6Addr'
end:
$ref: '#/components/schemas/Ipv6Addr'
required:
- start
- end
Ipv6PrefixRange:
description: Range of IPv6 prefixes
type: object
properties:
start:
$ref: '#/components/schemas/Ipv6Prefix'
end:
$ref: '#/components/schemas/Ipv6Prefix'
required:
- start
- end
#
# Data Types related to Subscription, Identification and Numbering as defined in clause 5.3
#
#
# SIMPLE DATA TYPES
#
Dnn:
type: string
description: >
String representing a Data Network as defined in clause 9A of 3GPP TS 23.003;
it shall contain either a DNN Network Identifier, or a full DNN with both the Network
Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1 and 9.1.2.
It shall be coded as string in which the labels are separated by dots
(e.g. "Label1.Label2.Label3").
DnnRm:
type: string
nullable: true
description: >
String representing a Data Network as defined in clause 9A of 3GPP TS 23.003;
it shall contain either a DNN Network Identifier, or a full DNN with both the
Network Identifier and Operator Identifier, as specified in 3GPP TS 23.003 clause 9.1.1
and 9.1.2. It shall be coded as string in which the labels are separated by dots
(e.g. 'Label1.Label2.Label3') with the OpenAPI 'nullable: true' property.
WildcardDnn:
type: string
pattern: '^[*]$'
description: String representing the Wildcard DNN. It shall contain the string "*".
WildcardDnnRm:
type: string
pattern: '^[*]$'
nullable: true
description: >
String representing the Wildcard DNN. It shall contain the string '*' but with the
OpenAPI 'nullable: true' property.
Gpsi:
type: string
pattern: '^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$'
description: >
String identifying a Gpsi shall contain either an External Id or an MSISDN.
It shall be formatted as follows -External Identifier= "extid-'extid', where 'extid'
shall be formatted according to clause 19.7.2 of 3GPP TS 23.003 that describes an
External Identifier.
GpsiRm:
type: string
pattern: '^(msisdn-[0-9]{5,15}|extid-[^@]+@[^@]+|.+)$'
nullable: true
description: >
String identifying a Gpsi shall contain either an External Id or an MSISDN. It shall be
formatted as follows -External Identifier= 'extid-'extid', where 'extid' shall be formatted
according to clause 19.7.2 of 3GPP TS 23.003 that describes an External Identifier with the
OpenAPI 'nullable: true' property.
GroupId:
type: string
pattern: '^[A-Fa-f0-9]{8}-[0-9]{3}-[0-9]{2,3}-([A-Fa-f0-9][A-Fa-f0-9]){1,10}$'
description: >
String identifying a group of devices network internal globally unique ID which identifies
a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003.
GroupIdRm:
type: string
pattern: '^[A-Fa-f0-9]{8}-[0-9]{3}-[0-9]{2,3}-([A-Fa-f0-9][A-Fa-f0-9]){1,10}$'
nullable: true
description: >
String identifying a group of devices network internal globally unique ID which
identifies a set of IMSIs, as specified in clause 19.9 of 3GPP TS 23.003 with the
OpenAPI 'nullable: true' property.