Commit 17578baf authored by ruiyue's avatar ruiyue
Browse files

Merge branch...

Merge branch 'Rel19_CR0555_TS28.623_Separate_YAML_file_for_external_data_management' into 'Integration_Rel19_SA5_162_YAML'

Rel19_CR0555_TS28.623_Separate_YAML_file_for_external_data_management

See merge request !1815
parents 5d00e1ed 498df26c
Loading
Loading
Loading
Loading
Loading
+81 −0
Original line number Diff line number Diff line
openapi: 3.0.1
info:
  title: External data management NRM
  version: 19.5.0
  description: >-
    OAS 3.0.1 definition of the External data type NRM fragment
    © 2025, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC).
    All rights reserved.
externalDocs:
  description: 3GPP TS 28.623; Generic NRM, External data type NRM fragment
  url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.623/
paths: {}
components:
  schemas:
  #-------- Definition of types for name-containments ------
    SubNetwork-ncO-ExternalDataMgmtNrm:
      type: object
      properties:
        ExternalDataType:
          $ref: '#/components/schemas/ExternalDataType-Multiple'
    

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

    ExternalDataScope:
      type: object
      properties:
        geoAreas:
          type: array
          uniqueItems: true
          items:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/GeoArea'
        objectInstancesIncluded:
          type: array
          uniqueItems: true
          items:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'
        objectInstancesExcluded:
          type: array
          uniqueItems: true
          items:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'

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

    ExternalDataType-Single:
      allOf:
      - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top'
      - type: object
        properties:
          attributes:
            type: object
            properties:
              externalDataType:
                type: string
              mediaLocation: 
                type: array
                uniqueItems: true
                items:
                  $ref: 'TS28623_ComDefs.yaml#/components/schemas/Uri'
              externalDataTypeSchema:
                type: string
              externalDataScope:
                type: array
                uniqueItems: true
                items:
                  $ref: '#/components/schemas/ExternalDataScope'

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

    ExternalDataType-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/ExternalDataType-Single'

#-------- Definitions in TS 28.623 for TS 28.532 ---------------------------------
    resources-externalDataMgmtNrm:
      oneOf:
       - $ref: '#/components/schemas/ExternalDataType-Single'
     
       
+1 −1
Original line number Diff line number Diff line
@@ -37,5 +37,5 @@ components:
        - $ref: 'TS28623_ThresholdMonitorNrm.yaml#/components/schemas/resources-thresholdMonitorNrm'
        - $ref: 'TS28623_TraceControlNrm.yaml#/components/schemas/resources-traceControlNrm'
        - $ref: 'TS28310_EnergyInformationNrm.yaml#/components/schemas/resources-energyInformationNrm'

        - $ref: 'TS28623_ExternalDataMgmtNrm.yaml#/components/schemas/resources-externalDataMgmtNrm'
#----- Definitions in TS 28.623 for TS 28.532 --------------------------#   
+0 −48
Original line number Diff line number Diff line
@@ -18,8 +18,6 @@ components:
      properties:
        ManagementDataCollection:
          $ref: '#/components/schemas/ManagementDataCollection-Multiple'
        ExternalDataType:
          $ref: '#/components/schemas/ExternalDataType-Multiple'
    
   #-------Definition of generic IOCs ----------# 

@@ -62,24 +60,6 @@ components:
          items:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'

    ExternalDataScope:
      type: object
      properties:
        geoAreas:
          type: array
          uniqueItems: true
          items:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/GeoArea'
        objectInstancesIncluded:
          type: array
          uniqueItems: true
          items:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'
        objectInstancesExcluded:
          type: array
          uniqueItems: true
          items:
            $ref: 'TS28623_ComDefs.yaml#/components/schemas/Dn'

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

@@ -114,43 +94,15 @@ components:
                jobId:
                  type: string

    ExternalDataType-Single:
      allOf:
      - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top'
      - type: object
        properties:
          attributes:
            type: object
            properties:
              externalDataType:
                type: string
              mediaLocation: 
                type: array
                uniqueItems: true
                items:
                  $ref: 'TS28623_ComDefs.yaml#/components/schemas/Uri'
              externalDataTypeSchema:
                type: string
              externalDataScope:
                type: array
                uniqueItems: true
                items:
                  $ref: '#/components/schemas/ExternalDataScope'

#-------- Definition of YAML arrays for name-contained IOCs ----------------------
    ManagementDataCollection-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/ManagementDataCollection-Single'
      
    ExternalDataType-Multiple:
      type: array
      items:
        $ref: '#/components/schemas/ExternalDataType-Single'
#-------- Definitions in TS 28.623 for TS 28.532 ---------------------------------
    resources-mgmtDataCollectionNrm:
      oneOf:
       - $ref: '#/components/schemas/ManagementDataCollection-Single'
       - $ref: '#/components/schemas/ExternalDataType-Single'