Commit efdcedd9 authored by wangrro's avatar wangrro
Browse files

Edit TS29564_Nupf_EventExposure.yaml, preliminary implementation of CRs after CT4#130

parent 45222045
Loading
Loading
Loading
Loading
Loading
+77 −4
Original line number Diff line number Diff line
@@ -2,14 +2,14 @@ openapi: 3.0.0

info:
  title: 'UPF Event Exposure Service'
  version: 1.2.0-alpha.3
  version: 1.2.0-alpha.4
  description: |
    UPF Event Exposure Service.  
    © 2025, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).  
    © 2025, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).  
    All rights reserved.

externalDocs:
  description: 3GPP TS 29.564 V19.3.0; 5G System; User Plane Function Services; Stage 3.
  description: 3GPP TS 29.564 V19.4.0; 5G System; User Plane Function Services; Stage 3.
  url: https://www.3gpp.org/ftp/Specs/archive/29_series/29.564/

servers:
@@ -90,7 +90,7 @@ paths:
                content:
                  application/json:
                    schema:
                      $ref: '#/components/schemas/NotificationData'
                      $ref: '#/components/schemas/ExtNotificationData'
              responses:
                '204':
                  description: No Content, Notification was succesfull
@@ -273,6 +273,8 @@ components:
          type: string
        achievedSampRatio:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/SamplingRatio'
        eventNotifyUri:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'

    NotificationItem:
      description: represents a report on one subscribed event
@@ -305,6 +307,8 @@ components:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
        startTime:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/DateTime'
        ratType:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/RatType'
        qosMonitoringMeasurement:
          $ref: '#/components/schemas/QosMonitoringMeasurement'
        tscMngtInfo:
@@ -323,6 +327,12 @@ components:
          minItems: 1
        terminationCause:
          $ref: '#/components/schemas/TerminationCause'
        skippedReportInfo:
          type: array
          items:
            $ref: '#/components/schemas/SkipReportingCondition'
          minItems: 1




@@ -354,6 +364,14 @@ components:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/Dnn'
        snssai:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/Snssai'
        bundlingAllowed:
          type: boolean
          enum:
           - true
        bundleId:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/Uint32'
        bundledEventNotifyUri:
          $ref: 'TS29571_CommonData.yaml#/components/schemas/Uri'
      required:
        - eventList
        - eventNotifyUri
@@ -435,6 +453,17 @@ components:
          type: string
        remainingDataReports:
          $ref: '#/components/schemas/RemainingDataReports'
        skipReportingInstruction:
          $ref: '#/components/schemas/SkipReportingInstruction'
        inclRatType:
          type: boolean
          enum:
            - true
        ratTypeList:
          type: array
          items:
            $ref: 'TS29571_CommonData.yaml#/components/schemas/RatType'
          minItems: 1
      required:
        - type

@@ -671,7 +700,41 @@ components:
        - headerInfo
        - headerAction

    SkipReportingInstruction:
      description: Skip Reporting Instruction Information
      type: object
      properties:
        skipReportCond:
          type: array
          items:
            $ref: '#/components/schemas/SkipReportingCondition’
          minItems: 1  
        validityTimes:
          type: array
          items:
            $ref: 'TS29503_Nudm_SDM.yaml#/components/schemas/RecurTime'
          minItems: 1
        thresholdCond:
          $ref: '#/components/schemas/ThresholdCond'
      required:
        - skipReportCond

    ThresholdCond:
      description: Instructions of use of a set of Thresholds
      type: object
      properties:
        thresholdTrafficVolume:
          $ref: '#/components/schemas/VolumeMeasurement'
        thresholdThroughput:
          $ref: '#/components/schemas/ThroughputMeasurement'

    ExtNotificationData:
      oneOf:
      - $ref: '#/components/schemas/NotificationData'
      - type: array
        items:
          type: NotificationData
        minItems: 2

# ENUMS

@@ -757,4 +820,14 @@ components:
            - SEND
        - type: string

    SkipReportingCondition:
      description: Conditions for which the UPF can skip sending the event report
      anyOf:
        - type: string
          enum:
          - SKIP_NULL_REPORT
          - SKIP_OUTSIDE_VALIDITY_TIME
          - SKIP_BELOW_THRESHOLDS_REPORT
        - type: string

# SIMPLE TYPES