Commit 61588dd5 authored by ruiyue's avatar ruiyue
Browse files

Merge branch...

Merge branch 'Rel-20_CR1665_TS_28.541_Add_openAPI_definition_for_SectorEquipmentFunction_and_AntennaFunction' into 'Integration_Rel20_SA5_165_YAML'

Rel 20 cr1665 ts 28.541 add openapi definition for sectorequipmentfunction and antennafunction

See merge request !2026
parents 0f2f21d9 27252847
Loading
Loading
Loading
Loading
Loading
+101 −0
Original line number Diff line number Diff line
openapi: 3.0.1
info:
  title: Generic RAN NRM
  version: 20.2.0
  description: >-
    OAS 3.0.1 specification of the NR NRM
    © 2026, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
    All rights reserved.
externalDocs:
  description: 3GPP TS 28.541; 5G NRM, Generic RAN NRM
  url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.541/
paths: {}
components:
  schemas:

#-------- Definition of types for name containment-----------------------------------------------------
    ManagedElement-ncO-GenericRanNrm:
      type: object
      properties:
        AntennaFunction:
          $ref: '#/components/schemas/AntennaFunction-Multiple'
        SectorEquipmentFunction:
          $ref: '#/components/schemas/SectorEquipmentFunction-Multiple'
#-------- Definition of concrete IOCs --------------------------------------------
    AntennaFunction-Single:
      type: object
      properties:
        beamTilt: 
          type: integer
          format: int32
        elevation:
          type: number
        retTiltValue:
          type: integer
          format: int32
        bearing:
          type: integer
          format: int32
        retGroupName:
          type: string
        maxAzimuthValue:
          type: integer
          format: int32
          minimum: 0
          maximum: 360
        minAzimuthValue:
          type: integer
          format: int32
          minimum: 0
          maximum: 360
        horizBeamwidth:
          type: integer
          format: int32
          minimum: 0
          maximum: 360
        vertBeamwidth:
          type: integer
          format: int32
          minimum: 0
          maximum: 360
        latitude:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/Latitude'
        longitude:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/Longitude'
        referenceFrom:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/DnRo' 

    SectorEquipmentFunction-Single:
      type: object
      properties:
        fqBandList:
          description: >-
            The list of frequency bands/ranges supported by the hardware associated 
            with the SectorEquipmentFunction.
          type: array
          uniqueItems: true
          items:
            type: string
        confOutputPower:
          type: integer
          format: int32
        referenceFrom:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/DnRo'
        referenceTo:
          $ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'
#-------- Definition of JSON arrays for name-contained IOCs ----------------------
    AntennaFunction-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/AntennaFunction-Single'
    SectorEquipmentFunction-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/SectorEquipmentFunction-Single'

#-------- Definitions in TS 28.541 for TS 28.532 ---------------------------------
    resources-genericRanNrm:
      oneOf:
        - $ref: '#/components/schemas/AntennaFunction-Single'
        - $ref: '#/components/schemas/SectorEquipmentFunction-Single'
+2 −1
Original line number Diff line number Diff line
@@ -25,6 +25,7 @@ components:
        - $ref: 'TS28536_CoslaNrm.yaml#/components/schemas/resources-coslaNrm'
        - $ref: 'TS28567_CclNrm.yaml#/components/schemas/resources-CCLNrm'        
        - $ref: 'TS28538_EdgeNrm.yaml#/components/schemas/resources-edgeNrm'
        - $ref: 'TS28541_GenericRanNrm.yaml#/components/schemas/resources-genericRanNrm'
        - $ref: 'TS28541_NrNrm.yaml#/components/schemas/resources-nrNrm'
        - $ref: 'TS28541_5GcNrm.yaml#/components/schemas/resources-5gcNrm'
        - $ref: 'TS28541_SliceNrm.yaml#/components/schemas/resources-sliceNrm'     
+1 −2
Original line number Diff line number Diff line
@@ -663,8 +663,7 @@ components:
        - $ref: 'TS28536_CoslaNrm.yaml#/components/schemas/ManagedElement-ncO-CoslaNrm'
        - $ref: 'TS28541_NrNrm.yaml#/components/schemas/ManagedElement-ncO-NrNrm'
        - $ref: 'TS28541_5GcNrm.yaml#/components/schemas/ManagedElement-ncO-5GcNrm'
        

        - $ref: 'TS28541_GenericRanNrm.yaml#/components/schemas/ManagedElement-ncO-GenericRanNrm'
    NrmRoot:
      oneOf:
        - type: object