Commit 40f3d8c7 authored by ruiyue's avatar ruiyue Committed by sunse
Browse files

Replace TS28104_MdaNrm.yaml with the latest R17 YAML file

parent 6f9db02c
Loading
Loading
Loading
Loading
+38 −29
Original line number Diff line number Diff line
openapi: 3.0.1
info:
  title: MDA NRM
  version: 17.0.0
  version: 17.2.0
  description: >-
    OAS 3.0.1 specification of the MDA NRM
    © 2020, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
@@ -43,11 +43,9 @@ components:
        filterValue:
          type: string
        threshold:
          $ref: 'TS28623_GenericNrm.yaml#/components/schemas/ThresholdInfo'
          $ref: '#/components/schemas/ThresholdInfo'
        analyticsPeriod:
          type: array
          items:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime'
          $ref: '#/components/schemas/AnalyticsSchedule'
        timeOut:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime'

@@ -61,7 +59,7 @@ components:
    ReportingTarget:
      $ref: 'TS28623_ComDefs.yaml#/components/schemas/Uri'

    AnalyticsScope:
    AnalyticsScopeType:
      oneOf:
        - type: object
          properties:
@@ -70,32 +68,43 @@ components:
        - type: object
          properties:
            areaScope:
              $ref: '#/components/schemas/GeoAreaList'

    GeoAreaList:
      type: array
      items:
        $ref: '#/components/schemas/GeoArea'
              $ref: 'TS28623_ComDefs.yaml#/components/schemas/GeoArea'

    GeoArea:
      type: object
    AnalyticsSchedule:
      oneOf:
        - type: object
          properties:
        coordinates:
            timeDurations:
              type: array
              items:
            $ref: '#/components/schemas/Coordinate'
        altitude:
          type: number
          format: float
                $ref: 'TS28104_MdaReport.yaml#/components/schemas/TimeWindow'
        - type: object
          properties:
            granularityPeriod:
              type: integer

    Coordinate:
    ThresholdInfo:
      type: object
      properties:
        latitude:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/Latitude'
        longitude:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/Longitude'

        monitoredMDAOutputIE:          
          type: string
        thresholdDirection:
          type: string
          enum:
            - UP
            - DOWN
            - UP_AND_DOWN
        thresholdValue:
          oneOf:
            - type: integer
            - $ref: 'TS28623_ComDefs.yaml#/components/schemas/Float'
        hysteresis:
          oneOf:
            - type: integer
              minimum: 0
            - type: number
              format: float
              minimum: 0

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

@@ -170,7 +179,7 @@ components:
                    reportingTarget:
                      $ref: '#/components/schemas/ReportingTarget'
                    analyticsScope:
                      $ref: '#/components/schemas/AnalyticsScope'
                      $ref: '#/components/schemas/AnalyticsScopeType'
                    startTime:
                      $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime'
                    stopTime: