aboutsummaryrefslogtreecommitdiffstats
path: root/appc-dg
AgeCommit message (Expand)AuthorFilesLines
2019-09-11Change to released parent 1.6.1Patrick Brady15-15/+15
2019-09-11Increment version to 1.6.3-SNAPSHOTPatrick Brady16-17/+17
2019-08-30Change parent version to snapshotPatrick Brady15-15/+15
2019-08-07Change to release parent versionPatrick Brady15-15/+15
2019-08-07Increment version to 1.6.2Patrick Brady16-17/+17
2019-08-03Increment versions after releasePatrick Brady16-17/+17
2019-05-20Update parent versionPatrick Brady15-15/+15
2019-04-26Increment snapshot versionPatrick Brady16-17/+17
2019-04-02Addtional Test Cases added InventoryModel.javaSudarshan Kumar1-0/+9
2019-03-15Revert "upgrade databind artifact"Patrick Brady8-85/+0
2019-03-14databind upgrade artifactTaka Cho1-1/+1
2019-03-13upgrade databind artifactTaka Cho8-0/+85
2019-03-11Added Junit For VNFResolverDataReaderSudarshan Kumar1-0/+46
2019-02-27Fix failing powermock testsPatrick Brady6-2/+806
2019-02-25Changes for new odl versionPatrick Brady8-819/+11
2019-02-21Change dg-mdsal to blueprintPatrick Brady6-322/+45
2019-02-21Remove duplicate versionsPatrick Brady2-6/+2
2019-02-18Added test case for OutputMessage PluginLathishbabu Ganesan1-0/+57
2019-02-18Added test case for Legacy Util classLathishbabu Ganesan1-0/+49
2019-02-14Check vm-capabilites on vnf-level OS requestsLori Keighron2-9/+28
2019-02-14Added test case for DgResolver PluginLathishbabu Ganesan1-0/+100
2019-01-18Update install-feature for pre-installPatrick Brady1-3/+1
2019-01-10Test coverage in appc-dg-sshJoss Armstrong7-188/+356
2019-01-09Test Coverage in appc-dg-netconfJoss Armstrong6-64/+23
2019-01-08Test coverage in appc-dg-mdsal-bundleJoss Armstrong9-31/+325
2019-01-08Change parent version to appc snapshotPatrick Brady15-15/+15
2019-01-07Increase unit test coverage in appc-dg-aai projectJoss Armstrong5-15/+321
2019-01-07Update parent pom versionPatrick Brady15-15/+15
2019-01-04Dependency changes to overcomeBalaji, Ramya (rb111y)1-1/+14
2019-01-03Increase code coverage in appc-dg-dependency-modelJoss Armstrong5-10/+204
2018-12-31Fix for test coverage in dg common impl packageJoss Armstrong11-37/+225
2018-12-14Possible fix for NoClassDefFoundErrorBalaji, Ramya (rb111y)1-1/+1
2018-11-12Increment version numberPatrick Brady16-17/+17
2018-10-11Roll to next version after releasePatrick Brady16-17/+17
2018-10-09Change to released parent pomsPatrick Brady15-15/+15
2018-09-26Add version to pom filePatrick Brady1-0/+1
2018-09-24Add version to pom filesPatrick Brady11-0/+12
2018-09-11Misplaced shebangs and missing exec flagsNicolas Edel1-2/+2
2018-09-03fix com.fasterxml.jackson.core 2.8.1Taka Cho1-1/+1
2018-08-24Remove old appc-commonRyan Young1-1/+1
2018-08-20formatted the code and added test caseSandeep J1-38/+32
2018-08-20removed try catch from test case & formatted codeSandeep J1-19/+8
2018-08-17added test case to TestVnfc.javaSandeep J1-31/+83
2018-08-17added test case to TestVnf.javaSandeep J1-1/+14
2018-08-16added test case to TestVnf.javaSandeep J1-0/+10
2018-08-16added test case to JSONUtilTest.javaSandeep J1-1/+9
2018-08-16added test case to JsonDgUtilImplTest.javaSandeep J1-0/+11
2018-08-14Karaf 4 for appc-inboundPatrick Brady1-5/+0
2018-08-13Karaf 4 for appc-dg featuresPatrick Brady18-171/+295
2018-07-26added test case to JsonDgutilImplTest.javaSandeep J1-3/+23
ref='#n859'>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 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516
openapi: 3.0.1
info:
  title: Generic NRM
  version: 16.6.0
  description: >-
    OAS 3.0.1 definition of the Generic NRM
    © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
    All rights reserved.
externalDocs:
  description: 3GPP TS 28.623 V16.5.0; Generic NRM
  url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.623/
paths: {}
components:
  schemas:

#-------- Definition of types-----------------------------------------------------

    RegistrationState:
      type: string
      enum:
        - REGISTERED
        - DEREGISTERED
    VnfParameter:
      type: object
      properties:
        vnfInstanceId:
          type: string
        vnfdId:
          type: string
        flavourId:
          type: string
        autoScalable:
          type: boolean
    SiteLatitude:
      type: number
      format: float
      minimum: -90
      maximum: 90
    SiteLongitude:
      type: number
      format: float
      minimum: -180
      maximum: 180
    PeeParameter:
      type: object
      properties:
        siteIdentification:
          type: string
        siteDescription:
          type: string
        siteLatitude:
          $ref: '#/components/schemas/SiteLatitude'
        siteLongitude:
          $ref: '#/components/schemas/SiteLongitude'
        equipmentType:
          type: string
        environmentType:
          type: string
        powerInterface:
          type: string
    ThresholdInfo:
      type: object
      properties:
        thresholdDirection:
          type: string
          enum:
            - UP
            - DOWN
            - UP_AND_DOWN
        thresholdValue:
          oneOf:
            - type: integer
            - $ref: 'comDefs.yaml#/components/schemas/Float'
        hysteresis:
          oneOf:
            - type: integer
              minimum: 0
            - type: number
              format: float
              minimum: 0
    Operation:
      type: object
      properties:
        name:
          type: string
        allowedNFTypes:
          $ref: '#/components/schemas/NFType'
        operationSemantics:
          $ref: '#/components/schemas/OperationSemantics'
    NFType:
      type: string
      description: ' NF name defined in TS 23.501'
      enum:
        - NRF
        - UDM
        - AMF
        - SMF
        - AUSF
        - NEF
        - PCF
        - SMSF
        - NSSF
        - UDR
        - LMF
        - GMLC
        - 5G_EIR
        - SEPP
        - UPF
        - N3IWF
        - AF
        - UDSF
        - DN
    Fqdn:
      type: string
    OperationSemantics:
      type: string
      enum:
        - REQUEST_RESPONSE
        - SUBSCRIBE_NOTIFY
    SAP:
      type: object
      properties:
        host:
          $ref: '#/components/schemas/HostAddr'
        port:
          type: integer
    NFServiceType:
      type: string
      enum:
        - Namf_Communication
        - Namf_EventExposure
        - Namf_MT
        - Namf_Location
        - Nsmf_PDUSession
        - Nsmf_EventExposure
        - Others
    HostAddr:
      oneOf:
        - $ref: '#/components/schemas/Ipv4Addr'
        - $ref: '#/components/schemas/Ipv6Addr'
        - $ref: '#/components/schemas/Fqdn'
    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'
    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'
    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'
    TransportProtocol:
      anyOf:
        - type: string
          enum:
            - TCP
        - type: string
    SupportedPerfMetricGroup:
      type: object
      properties:
        performanceMetrics:
          type: array
          items:
            type: string
        granularityPeriods:
          type: array
          items:
            type: integer
            minimum: 1
        reportingMethods:
          type: array
          items:
            type: string
            enum:
             - FILE_BASED_LOC_SET_BY_PRODUCER
             - FILE_BASED_LOC_SET_BY_CONSUMER
             - STREAM_BASED 
        monitorGranularityPeriods:
          type: array
          items:
            type: integer
            minimum: 1
    ReportingCtrl:
      oneOf:
        - type: object
          properties:
            fileReportingPeriod:
              type: integer
        - type: object
          properties:
            fileReportingPeriod:
              type: integer
            fileLocation:
              $ref: 'comDefs.yaml#/components/schemas/Uri'
        - type: object
          properties:
            streamTarget:
              $ref: 'comDefs.yaml#/components/schemas/Uri'
    Scope:
      type: object
      properties:
        scopeType:
          type: string
          enum:
            - BASE_ONLY
            - BASE_ALL
            - BASE_NTH_LEVEL
            - BASE_SUBTREE
        scopeLevel:
          type: integer

#-------- Definition of types used in Trace control NRM fragment------------------
                
    tjJobType-Type:
      type: string
      description: Specifies whether the TraceJob represents only MDT, Logged MBSFN MDT, Trace or a combined Trace and MDT job. Applicable for Trace, MDT, RCEF and RLF reporting. See 3GPP TS 32.422 clause 5.9a for additional details.
      enum:
        - IMMEDIATE_MDT_ONLY
        - LOGGED_MDT_ONLY
        - TRACE_ONLY
        - IMMEDIATE_MDT AND TRACE
        - RLF_REPORT_ONLY
        - RCEF_REPORT_ONLY
        - LOGGED_MBSFN_MDT

    tjListOfInterfaces-Type:
      description: The interfaces to be recorded in the Network Element. See 3GPP TS 32.422 clause 5.5 for additional details.
      type: object
      properties:
        MSCServerInterfaces:
          type: array
          items:
            type: string
            enum:
              - A
              - Iu-CS
              - Mc
              - MAP-G
              - MAP-B
              - MAP-E
              - MAP-F
              - MAP-D
              - MAP-C
              - CAP
        MGWInterfaces:
          type: array
          items:
            type: string
            enum:
              - Mc
              - Nb-UP
              - Iu-UP
        RNCInterfaces:
          type: array
          items:
            type: string
            enum:
              - Iu-CS
              - Iu-PS
              - Iur
              - Iub
              - Uu
        SGSNInterfaces:
          type: array
          items:
            type: string
            enum:
              - Gb
              - Iu-PS
              - Gn
              - MAP-Gr
              - MAP-Gd
              - MAP-Gf
              - Ge
              - Gs
              - S6d
              - S4
              - S3
              - S13
        GGSNInterfaces:
          type: array
          items:
            type: string
            enum:
              - Gn
              - Gi
              - Gmb
        S-CSCFInterfaces:
          type: array
          items:
            type: string
            enum:
              - Mw
              - Mg
              - Mr
              - Mi
        P-CSCFInterfaces:
          type: array
          items:
            type: string
            enum:
              - Gm
              - Mw
        I-CSCFInterfaces:
          type: array
          items:
            type: string
            enum:
              - Cx
              - Dx
              - Mg
              - Mw
        MRFCInterfaces:
          type: array
          items:
            type: string
            enum:
              - Mp
              - Mr
        MGCFInterfaces:
          type: array
          items:
            type: string
            enum:
              - Mg
              - Mj
              - Mn
        IBCFInterfaces:
          type: array
          items:
            type: string
            enum:
              - Ix
              - Mx
        E-CSCFInterfaces:
          type: array
          items:
            type: string
            enum:
              - Mw
              - Ml
              - Mm
              - Mi/Mg
        BGCFInterfaces:
          type: array
          items:
            type: string
            enum:
              - Mi
              - Mj
              - Mk
        ASInterfaces:
          type: array
          items:
            type: string
            enum:
              - Dh
              - Sh
              - ISC
              - Ut
        HSSInterfaces:
          type: array
          items:
            type: string
            enum:
              - MAP-C
              - MAP-D
              - Gc
              - Gr
              - Cx
              - S6d
              - S6a
              - Sh
        EIRInterfaces:
          type: array
          items:
            type: string
            enum:
              - MAP-F
              - S13
              - MAP-Gf
        BM-SCInterfaces:
          type: array
          items:
            type: string
            enum:
              - Gmb
        MMEInterfaces:
          type: array
          items:
            type: string
            enum:
              - S1-MME
              - S3
              - S6a
              - S10
              - S11
              - S13
        SGWInterfaces:
          type: array
          items:
            type: string
            enum:
              - S4
              - S5
              - S8
              - S11
              - Gxc
        PDN_GWInterfaces:
          type: array
          items:
            type: string
            enum:
              - S2a
              - S2b
              - S2c
              - S5
              - S6b
              - Gx
              - S8
              - SGi
        eNBInterfaces:
          type: array
          items:
            type: string
            enum:
              - S1-MME
              - X2
        en-gNBInterfaces:
          type: array
          items:
            type: string
            enum:
              - S1-MME
              - X2
              - Uu
              - F1-C
              - E1
        AMFInterfaces:
          type: array
          items:
            type: string
            enum:
              - N1
              - N2
              - N8
              - N11
              - N12
              - N14
              - N15
              - N20
              - N22
              - N26
        AUSFInterfaces:
          type: array
          items:
            type: string
            enum:
              - N12
              - N13
        NEFInterfaces:
          type: array
          items:
            type: string
            enum:
              - N29
              - N30
              - N33
        NRFInterfaces:
          type: array
          items:
            type: string
            enum:
              - N27
        NSSFInterfaces:
          type: array
          items:
            type: string
            enum:
              - N22
              - N31
        PCFInterfaces:
          type: array
          items:
            type: string
            enum:
              - N5
              - N7
              - N15
        SMFInterfaces:
          type: array
          items:
            type: string
            enum:
              - N4
              - N7
              - N10
              - N11
              - S5-C
        SMSFInterfaces:
          type: array
          items:
            type: string
            enum:
              - N20
              - N21
        UDMInterfaces:
          type: array
          items:
            type: string
            enum:
              - N8
              - N10
              - N13
              - N21
        UPFInterfaces:
          type: array
          items:
            type: string
            enum:
              - N4
        ng-eNBInterfaces:
          type: array
          items:
            type: string
            enum:
              - NG-C
              - Xn-C
              - Uu
        gNB-CU-CPInterfaces:
          type: array
          items:
            type: string
            enum:
              - NG-C
              - Xn-C
              - Uu
              - F1-C
              - E1
              - X2-C
        gNB-CU-UPInterfaces:
          type: array
          items:
            type: string
            enum:
              - E1
        gNB-DUInterfaces:
          type: array
          items:
            type: string
            enum:
              - F1-C

    tjListOfNeTypes-Type:
      description: The Network Element types where Trace Session activation is needed. See 3GPP TS 32.422 clause 5.4 for additional details.
      type: array
      items:
        type: string
        enum:
          - MSC_SERVER
          - SGSN
          - MGW
          - GGSN
          - RNC
          - BM_SC
          - MME
          - SGW
          - PGW
          - ENB
          - EN_GNB
          - GNB_CU_CP
          - GNB_CU_UP
          - GNB_DU

    tjPLMNTaget-Type:
      type: object
      description: The PLMN for which sessions shall be selected in the Trace Session in case of management based activation when several PLMNs are supported in the RAN (this means that shared cells and not shared cells are allowed for the specified PLMN. Note that the PLMN Target might differ from the PLMN specified in the Trace Reference, as that specifies the PLMN that is containing the management system requesting the Trace Session from the NE. See 3GPP TS 32.422 clause 5.9b for additional details.
      properties:
        mcc:
          $ref: 'comDefs.yaml#/components/schemas/Mcc'
        mnc:
          $ref: 'comDefs.yaml#/components/schemas/Mnc'
      required:
        - mcc
        - mnc

    tjStreamingTraceConsumerURI-Type:
      type: string
      description: The URI of the Trace Reporting MnS consumer (see 3GPP TS 28.532) to which the Trace records shall be sent. See 3GPP TS 32.422 clause 5.9 for additional details.
      format: uri

    tjTraceCollectionEntityAddress-Type:
      description: The IP address to which the Trace records shall be transferred. See 3GPP TS 32.422 clause 5.9 for additional details.
      oneOf:
        - $ref: '#/components/schemas/Ipv4Addr'
        - $ref: '#/components/schemas/Ipv6Addr'

    tjTraceDepth-Type:
      description: Specifies how detailed information should be recorded in the Network Element. The Trace Depth is a paremeter for Trace Session level, i.e., the Trace Depth is the same for all of the NEs to be traced in the same Trace Session. See 3GPP TS 32.422 clause 5.3 for additional details.
      type: string
      enum:
        - MINIMUM
        - MEDIUM
        - MAXIMUM
        - VENDORMINIMUM
        - VENDORMEDIUM
        - VENDORMAXIMUM

    tjTraceReference-Type:
      type: object
      description: The Trace Reference parameter shall be globally unique, therefore the Trace Reference shall compose as follows - MCC+MNC+Trace ID, where the MCC and MNC are coming with the Trace activation request from the management system to identify one PLMN containing the management system, and Trace ID is a 3 byte Octet String. See 3GPP TS 32.422 clause 5.6 for additional details.
      properties:
        mcc:
          $ref: 'comDefs.yaml#/components/schemas/Mcc'
        mnc:
          $ref: 'comDefs.yaml#/components/schemas/Mnc'
        traceId:
          type: integer
      required:
        - mcc
        - mnc
        - traceId

    tjTraceReportingFormat-Type:
      type: string
      description: Specifies whether file-based or streaming reporting shall be used for this Trace Session. See 3GPP TS 32.422 clause 5.11 for additional details.
      enum:
        - FILE-BASED
        - STREAMING

    tjTraceTarget-Type:
      type: object
      description: Trace target conveying both the type and value of the target ID. For additional details see 3GPP TS 32.422
      properties:
        TargetIdType:
          type: string
          enum:
            - IMSI
            - IMEI
            - IMEISV
            - PUBLIC_ID
            - UTRAN_CELL
            - E-UTRAN_CELL
            - NG-RAN_CELL
            - eNB
            - RNC
            - gNB
            - SUPI
        TargetIdValue:
          type: string
      required:
        - TargetIdType
        - TargetIdValue
    
    tjTriggeringEvent-Type:
      type: object
      description: Specifies when to start a Trace Recording Session and which message shall be recorded first, when to stop a Trace Recording Session and which message shall be recorded last respectively. See 3GPP TS 32.422 clause 5.1 for additional detials.
      properties:
        NetworkElement:
          type: string
          enum:
            - MSC_SERVER
            - SGSN
            - MGW
            - GGSN
            - BM_SC
            - MME
            - SGW
            - PGW
            - AMF
            - SMF
            - PCF
            - UPF
        EventBitmap:
          type: integer
      required:
        - NetworkElement
        - EventBitmap
    
    tjMDTAnonymizationOfData-Type:
      description: Specifies level of MDT anonymization. For additional details see 3GPP TS 32.422 clause 5.10.12.
      type: string
      enum:
        - NO_IDENTITY
        - TAC_OF_IMEI
    
    tjMDTAreaConfigurationForNeighCell-Type:
      description: Used for logged NR MDT and defines the area for which UE is requested to perform measurement logging for neighbour cells which have list of frequencies. For additional details see 3GPP TS 32.422 clause 5.10.26.
      type: array
      items:
        type: object
        properties:
          frequency:
            type: string
          cell:
            type: string
      
    tjMDTAreaScope-Type:
      description: defines the area in terms or Cells or Tracking Area/Routing Area/Location Area where the MDT data collection shall take place. For additional details see 3GPP TS 32.422 clause 5.10.2.
      allOf:
        - $ref: 'comDefs.yaml#/components/schemas/DnList'
        
    tjMDTCollectionPeriodRrmLte-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.20.
      type: string
      enum:
        - 250ms
        - 500ms
        - 1000ms
        - 2000ms
        - 3000ms
        - 4000ms
        - 6000ms
        - 8000ms
        - 12000ms
        - 16000ms
        - 20000ms
        - 24000ms
        - 28000ms
        - 32000ms
        - 64000ms

    tjMDTCollectionPeriodRrmUmts-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.21.
      type: string
      enum:
        - 1024ms
        - 1280ms
        - 2048ms
        - 2560ms
        - 5120ms
        - 10240ms
        - 1min
    
    tjMDTCollectionPeriodRrmNR-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.30.
      type: string
      enum:
        - 1024ms
        - 1280ms
        - 2048ms
        - 5120ms
        - 10240ms
        - 60000ms

    tjMDTEventListForTriggeredMeasurement-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.28.
      type: string
      enum:
        - OUT_OF_COVERAGE
        - A2_EVENT

    tjMDTEventThreshold-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.7, 5.10.7a, 5.10.13 and 5.10.14.
      type: object
      properties:
        EventThresholdRSRP:
          type: integer
          minimum: 0
          maximum: 97
        EventThresholdRSRQ:      
          type: integer
          minimum: 0
          maximum: 34
        EventThreshold1F:
          type: object
          properties:
            CPICH_RSCP:
              type: integer
              minimum: -120
              maximum: 25
            CPICH_EcNo:
              type: integer
              minimum: -24
              maximum: 0
            PathLoss:
              type: integer
              minimum: 30
              maximum: 165
        EventThreshold1I:
          type: integer
          minimum: -120
          maximum: 25

    tjMDTListOfMeasurements-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.3 for details.
      type: object
      properties:
        UMTS:
          type: array
          items:
            type: string
            enum:
              - M1
              - M2
              - M3
              - M4
              - M5
              - M6_DL
              - M6_UL
              - M7_DL
              - M7_UL
        LTE:
          type: array
          items:
            type: string
            enum:
              - M1
              - M2
              - M3
              - M4
              - M5
              - M1_EVENT_TRIGGERED
              - M6
              - M7
              - M8
              - M9
        NR:
          type: array
          items:
            type: string
            enum:
              - M1
              - M2
              - M3
              - M4
              - M5
              - M6
              - M7
              - M8
              - M9

    tjMDTLoggingDuration-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.9.
      type: string
      enum:
        - 600s
        - 1200s
        - 2400s
        - 3600s
        - 5400s
        - 7200s
    
    tjMDTLoggingInterval-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.8.
      type: string
      enum:
        - 1.28s
        - 2.56s
        - 5.12s
        - 10.24s
        - 20.48s
        - 30.72s
        - 40.96s
        - 61.44s

    tjMDTMBSFNAreaList-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.25.
      type: array
      items:
        type: object
        properties:
          mbsfnAreaId:
            type: integer
            minimum: 1
          earfcn:
            type: integer
            minimum: 1
        required:
          - mbsfnAreaId
          - earfcn

    tjMDTMeasurementPeriodLTE-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.23.
      type: string
      enum:
        - 1024ms
        - 1280ms
        - 2048ms
        - 2560ms
        - 5120ms
        - 10240ms
        - 1min

    tjMDTMeasurementPeriodUMTS-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.22.
      type: string
      enum:
        - 250ms
        - 500ms
        - 1000ms
        - 2000ms
        - 3000ms
        - 4000ms
        - 6000ms
        - 8000ms
        - 12000ms
        - 16000ms
        - 20000ms
        - 24000ms
        - 28000ms
        - 32000ms
        - 64000ms

    tjMDTMeasurementQuantity-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.15.
      type: string
      enum:
        - CPICH_EcNo
        - CPICH_RSCP
        - PathLoss

    tjMDTPLMList-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.24.
      type: array
      items:
        type: object
        properties:
          mcc:
            $ref: 'comDefs.yaml#/components/schemas/Mcc'
          mnc:
            $ref: 'comDefs.yaml#/components/schemas/Mnc'
        required:
          - mcc
          - mnc
      maxItems: 16

    tjMDTPositioningMethod-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.19.
      type: string
      enum:
        - GNSS
        - E-CELL_ID

    tjMDTReportAmount-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.6.
      type: string
      enum:
        - 1
        - 2
        - 4
        - 8
        - 16
        - 32
        - 64
        - INFINITY

    tjMDTReportingTrigger-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.4.
      type: array
      items:
        type: string
        enum:
          - PERIODICAL
          - A2_FOR_LTE
          - 1F_FOR_UMTS
          - 1I_FOR_UMTS_MCPS_TDD
          - A2_TRIGGERED_PERIODIC_FOR_LTE
          - ALL_CONFIGURED_RRM_FOR_LTE
          - ALL_CONFIGURED_RRM_FOR_UMTS

    tjMDTReportInterval-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.5.
      type: string
      enum:
        - 250ms
        - 500ms
        - 1000ms
        - 2000ms
        - 3000ms
        - 4000ms
        - 6000ms
        - 8000ms
        - 12000ms
        - 16000ms
        - 20000ms
        - 24000ms
        - 28000ms
        - 32000ms
        - 64000ms
        - 120ms
        - 240ms
        - 480ms
        - 640ms
        - 1024ms
        - 2048ms
        - 5120ms
        - 10240ms
        - 60000ms
        - 360000ms
        - 720000ms
        - 1800000ms
        - 3600000ms

    tjMDTReportType-Type:
      description: Report type for logged NR MDT. See details in 3GPP TS 32.422 clause 5.10.27.
      type: string
      enum:
        - PERIODICAL
        - EVENT_TRIGGERED

    tjMDTSensorInformation-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.29.
      type: array
      items:
        type: string
        enum:
          - BAROMETRIC_PRESSURE
          - UE_SPEED
          - UE_ORIENTATION

    tjMDTTraceCollectionEntityID-Type:
      description: See details in 3GPP TS 32.422 clause 5.10.11. Only tceID value may be sent over the air to the UE being configured for Logged MDT.
      type: object
      properties:
        tceID:
          type: integer
        tcePLMN:
          type: object
          properties:
            mcc:
              $ref: 'comDefs.yaml#/components/schemas/Mcc'
            mnc:
              $ref: 'comDefs.yaml#/components/schemas/Mnc'
          required:
            - mcc
            - mnc
        tceAddress:
          oneOf:
            - $ref: '#/components/schemas/tjTraceCollectionEntityAddress-Type'
            - $ref: '#/components/schemas/tjStreamingTraceConsumerURI-Type'
      required:
        - tceID
        - tcePLMN
        - tceAddress


#-------- end of Definition of types used in Trace control NRM fragment ----------


#-------- Definition of abstract IOC Top -----------------------------------------

    Top-Attr:
      #  This definition will be deprecated, when all occurances of Top-Attr
      #  are replaced by Top.
      type: object
      properties:
        id:
          type: string
        VsDataContainer:
          $ref: '#/components/schemas/VsDataContainer-Multiple'
    Top:
      type: object
      properties:
        id:
          type: string
        VsDataContainer:
          $ref: '#/components/schemas/VsDataContainer-Multiple'

#-------- Definition of IOCs with new name-containments defined in other TS ------

    SubNetwork-Attr:
      type: object
      properties:
        dnPrefix:
          type: string
        userLabel:
          type: string
        userDefinedNetworkType:
          type: string
        setOfMcc:
          type: array
          items:
            $ref: 'comDefs.yaml#/components/schemas/Mcc'
        priorityLabel:
          type: integer
        supportedPerfMetricGroups:
          type: array
          items:
            $ref: '#/components/schemas/SupportedPerfMetricGroup'
    ManagedElement-Attr:
      type: object
      properties:
        dnPrefix:
          type: string
        managedElementTypeList:
          type: array
          items:
            type: string
        userLabel:
          type: string
        locationName:
          type: string
        managedBy:
          $ref: 'comDefs.yaml#/components/schemas/DnList'
        vendorName:
          type: string
        userDefinedState:
          type: string
        swVersion:
          type: string
        priorityLabel:
          type: integer
        supportedPerfMetricGroups:
          type: array
          items:
            $ref: '#/components/schemas/SupportedPerfMetricGroup'

    SubNetwork-ncO:
      type: object
      properties:
        ManagementNode:
          $ref: '#/components/schemas/ManagementNode-Multiple'
        MeContext:
          $ref: '#/components/schemas/MeContext-Multiple'
        PerfMetricJob:
          $ref: '#/components/schemas/PerfMetricJob-Multiple'
        ThresholdMonitor:
          $ref: '#/components/schemas/ThresholdMonitor-Multiple'
        NtfSubscriptionControl:
          $ref: '#/components/schemas/NtfSubscriptionControl-Multiple'
        TraceJob:
          $ref: '#/components/schemas/TraceJob-Multiple'
        AlarmList:
          $ref: '#/components/schemas/AlarmList-Single'
    ManagedElement-ncO:
      type: object
      properties:
        PerfMetricJob:
          $ref: '#/components/schemas/PerfMetricJob-Multiple'
        ThresholdMonitor:
          $ref: '#/components/schemas/ThresholdMonitor-Multiple'
        NtfSubscriptionControl:
          $ref: '#/components/schemas/NtfSubscriptionControl-Multiple'
        TraceJob:
          $ref: '#/components/schemas/TraceJob-Multiple'
        AlarmList:
          $ref: '#/components/schemas/AlarmList-Single'

#-------- Definition of abstract IOCs --------------------------------------------

    ManagedFunction-Attr:
      type: object
      properties:
        userLabel:
          type: string
        vnfParametersList:
          type: array
          items:
            $ref: '#/components/schemas/VnfParameter'
        peeParametersList:
          type: array
          items:
            $ref: '#/components/schemas/PeeParameter'
        priorityLabel:
          type: integer
        supportedPerfMetricGroups:
          type: array
          items:
            $ref: '#/components/schemas/SupportedPerfMetricGroup'
    EP_RP-Attr:
      type: object
      properties:
        userLabel:
          type: string
        farEndEntity:
          type: string
        supportedPerfMetricGroups:
          type: array
          items:
            $ref: '#/components/schemas/SupportedPerfMetricGroup'

    TraceJob-Attr:
      type: object
      description: abstract class used as a container of all TraceJob attributes
      properties:
        tjJobType:
          $ref: '#/components/schemas/tjJobType-Type'
        tjListOfInterfaces:
          $ref: '#/components/schemas/tjListOfInterfaces-Type'                  
        tjListOfNeTypes:
          $ref: '#/components/schemas/tjListOfNeTypes-Type'
        tjPLMNTarget:
          $ref: '#/components/schemas/tjPLMNTaget-Type'
        tjTraceConsumer:
          oneOf:
            - $ref: '#/components/schemas/tjStreamingTraceConsumerURI-Type'
            - $ref: '#/components/schemas/tjTraceCollectionEntityAddress-Type'
        tjTraceDepth:
          $ref: '#/components/schemas/tjTraceDepth-Type'
        tjTraceReference:
          $ref: '#/components/schemas/tjTraceReference-Type'
        tjTraceReportingFormat:
          $ref: '#/components/schemas/tjTraceReportingFormat-Type'
        tjTraceTarget:
          $ref: '#/components/schemas/tjTraceTarget-Type'
        tjTriggeringEvent:
          $ref: '#/components/schemas/tjTriggeringEvent-Type'
        tjMDTAnonymizationOfData:
          $ref: '#/components/schemas/tjMDTAnonymizationOfData-Type'
        tjMDTAreaConfigurationForNeighCell:
          $ref: '#/components/schemas/tjMDTAreaConfigurationForNeighCell-Type'
        tjMDTAreaScope:
          $ref: '#/components/schemas/tjMDTAreaScope-Type'
        tjMDTCollectionPeriodRrmLte:
          $ref: '#/components/schemas/tjMDTCollectionPeriodRrmLte-Type'
        tjMDTCollectionPeriodRrmUmts:
          $ref: '#/components/schemas/tjMDTCollectionPeriodRrmUmts-Type'
        tjMDTCollectionPeriodRrmNR:
          $ref: '#/components/schemas/tjMDTCollectionPeriodRrmNR-Type'
        tjMDTEventListForTriggeredMeasurement:
          $ref: '#/components/schemas/tjMDTEventListForTriggeredMeasurement-Type'
        tjMDTEventThreshold:
          $ref: '#/components/schemas/tjMDTEventThreshold-Type'
        tjMDTListOfMeasurements:
          $ref: '#/components/schemas/tjMDTListOfMeasurements-Type'
        tjMDTLoggingDuration:
          $ref: '#/components/schemas/tjMDTLoggingDuration-Type'
        tjMDTLoggingInterval:
          $ref: '#/components/schemas/tjMDTLoggingInterval-Type'
        tjMDTMBSFNAreaList:
          $ref: '#/components/schemas/tjMDTMBSFNAreaList-Type'
        tjMDTMeasurementPeriodLTE:
          $ref: '#/components/schemas/tjMDTMeasurementPeriodLTE-Type'
        tjMDTMeasurementPeriodUMTS:
          $ref: '#/components/schemas/tjMDTMeasurementPeriodUMTS-Type'
        tjMDTMeasurementQuantity:
          $ref: '#/components/schemas/tjMDTMeasurementQuantity-Type'
        tjMDTPLMList:
          $ref: '#/components/schemas/tjMDTPLMList-Type'
        tjMDTPositioningMethod:
          $ref: '#/components/schemas/tjMDTPositioningMethod-Type'
        tjMDTReportAmount:
          $ref: '#/components/schemas/tjMDTReportAmount-Type'
        tjMDTReportingTrigger:
          $ref: '#/components/schemas/tjMDTReportingTrigger-Type'
        tjMDTReportInterval:
          $ref: '#/components/schemas/tjMDTReportInterval-Type'
        tjMDTReportType:
          $ref: '#/components/schemas/tjMDTReportType-Type'
        tjMDTSensorInformation:
          $ref: '#/components/schemas/tjMDTSensorInformation-Type'
        tjMDTTraceCollectionEntityID:
          $ref: '#/components/schemas/tjMDTTraceCollectionEntityID-Type'
      required:
        - tjJobType
        - tjTraceReference
        - tjTraceConsumer
        - tjTraceReportingFormat
        - tjTraceTarget

    ManagedFunction-ncO:
      type: object
      properties:
        PerfMetricJob:
          $ref: '#/components/schemas/PerfMetricJob-Multiple'
        ThresholdMonitor:
          $ref: '#/components/schemas/ThresholdMonitor-Multiple'
        ManagedNFService:
          $ref: '#/components/schemas/ManagedNFService-Multiple'
        TraceJob:
          $ref: '#/components/schemas/TraceJob-Multiple'

#-------- Definition of concrete IOCs --------------------------------------------

    VsDataContainer-Single:
      type: object
      properties:
        id:
          type: string
        attributes:
          type: object
          properties:
            vsDataType:
              type: string
            vsDataFormatVersion:
              type: string
            vsData:
              nullable: true
        VsDataContainer:
          $ref: '#/components/schemas/VsDataContainer-Multiple'
    ManagedNFService-Single:
      allOf:
        - $ref: '#/components/schemas/Top'
        - type: object
          properties:
            attributes:
              type: object
              properties:
                userLabel:
                  type: string
                nFServiceType:
                  $ref: '#/components/schemas/NFServiceType'
                sAP:
                  $ref: '#/components/schemas/SAP'
                operations:
                  type: array
                  items:
                    $ref: '#/components/schemas/Operation'
                administrativeState:
                  $ref: 'comDefs.yaml#/components/schemas/AdministrativeState'
                operationalState:
                  $ref: 'comDefs.yaml#/components/schemas/OperationalState'
                usageState:
                  $ref: 'comDefs.yaml#/components/schemas/UsageState'
                registrationState:
                  $ref: '#/components/schemas/RegistrationState'
    ManagementNode-Single:
      allOf:
        - $ref: '#/components/schemas/Top'
        - type: object
          properties:
            attributes:
              type: object
              properties:
                userLabel:
                  type: string
                managedElements:
                  $ref: 'comDefs.yaml#/components/schemas/DnList'
                vendorName:
                  type: string
                userDefinedState:
                  type: string
                locationName:
                  type: string
                swVersion:
                  type: string
    MeContext-Single:
      allOf:
        - $ref: '#/components/schemas/Top'
        - type: object
          properties:
            attributes:
              type: object
              properties:
                dnPrefix:
                  type: string
    PerfMetricJob-Single:
      allOf:
        - $ref: '#/components/schemas/Top'
        - type: object
          properties:
            attributes:
              type: object
              properties:
                administrativeState:
                  $ref: 'comDefs.yaml#/components/schemas/AdministrativeState'
                operationalState:
                  $ref: 'comDefs.yaml#/components/schemas/OperationalState'
                jobId:
                  type: string
                performanceMetrics:
                  type: array
                  items:
                    type: string
                granularityPeriod:
                  type: integer
                  minimum: 1
                objectInstances:
                  $ref: 'comDefs.yaml#/components/schemas/DnList'
                rootObjectInstances:
                  $ref: 'comDefs.yaml#/components/schemas/DnList'
                reportingCtrl:
                  $ref: '#/components/schemas/ReportingCtrl'
    ThresholdMonitor-Single:
      allOf:
        - $ref: '#/components/schemas/Top'
        - type: object
          properties:
            attributes:
              type: object
              properties:
                administrativeState:
                  $ref: 'comDefs.yaml#/components/schemas/AdministrativeState'
                operationalState:
                  $ref: 'comDefs.yaml#/components/schemas/OperationalState'
                performanceMetrics:
                  type: array
                  items:
                    type: string
                thresholdInfoList:
                  type: array
                  items:
                    $ref: '#/components/schemas/ThresholdInfo'
                monitorGranularityPeriod:
                  type: integer
                  minimum: 1
                objectInstances:
                  $ref: 'comDefs.yaml#/components/schemas/DnList'
                rootObjectInstances:
                  $ref: 'comDefs.yaml#/components/schemas/DnList'
    NtfSubscriptionControl-Single:
      allOf:
        - $ref: '#/components/schemas/Top'
        - type: object
          properties:
            attributes:
              type: object
              properties:
                notificationRecipientAddress:
                  $ref: 'comDefs.yaml#/components/schemas/Uri'
                notificationTypes:
                  type: array
                  items:
                    $ref: 'comDefs.yaml#/components/schemas/NotificationType'
                scope:
                  $ref: '#/components/schemas/Scope'
                notificationFilter:
                  type: string
            HeartbeatControl:
              $ref: '#/components/schemas/HeartbeatControl-Single'
    HeartbeatControl-Single:
      allOf:
        - $ref: '#/components/schemas/Top'
        - type: object
          properties:
            attributes:
              type: object
              properties:
                heartbeatNtfPeriod:
                  type: integer
                triggerHeartbeatNtf:
                  type: boolean
    TraceJob-Single:
      allOf:
        - $ref: '#/components/schemas/Top'
        - type: object
          properties:
            attributes:
              $ref: '#/components/schemas/TraceJob-Attr'

    AlarmList-Single:
      allOf:
        - $ref: '#/components/schemas/Top'
        - type: object
          properties:
            attributes:
              type: object
              properties:
                administrativeState:
                  $ref: 'comDefs.yaml#/components/schemas/AdministrativeState'
                operationalState:
                  $ref: 'comDefs.yaml#/components/schemas/OperationalState'
                numOfAlarmRecords:
                  type: integer
                lastModification:
                  $ref: 'comDefs.yaml#/components/schemas/DateTime'
                alarmRecords:
                  description: >-
                     This resource represents a map of alarm records.
                     The alarmIds are used as keys in the map.
                  type: object
                  additionalProperties:
                    $ref: 'faultMnS.yaml#/components/schemas/AlarmRecord'

#-------- Definition of YAML arrays for name-contained IOCs ----------------------

    VsDataContainer-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/VsDataContainer-Single'
    ManagedNFService-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/ManagedNFService-Single'
    ManagementNode-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/ManagementNode-Single'
    MeContext-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/MeContext-Single'
    PerfMetricJob-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/PerfMetricJob-Single'
    ThresholdMonitor-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/ThresholdMonitor-Single'
    TraceJob-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/TraceJob-Single'
    NtfSubscriptionControl-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/NtfSubscriptionControl-Single'

#-------- Definitions in TS 28.623 for TS 28.532 ---------------------------------

    resources-genericNrm:
      oneOf:

       - $ref: '#/components/schemas/VsDataContainer-Single'

       - $ref: '#/components/schemas/ManagementNode-Single'
       - $ref: '#/components/schemas/MeContext-Single'

       - $ref: '#/components/schemas/ManagedNFService-Single'

       - $ref: '#/components/schemas/PerfMetricJob-Single'
       - $ref: '#/components/schemas/ThresholdMonitor-Single'
       - $ref: '#/components/schemas/TraceJob-Single'

       - $ref: '#/components/schemas/NtfSubscriptionControl-Single'
       - $ref: '#/components/schemas/HeartbeatControl-Single'

       - $ref: '#/components/schemas/AlarmList-Single'