Loading OpenAPI/TS28318__DSORecovery.yaml 0 → 100644 +92 −0 Original line number Diff line number Diff line openapi: 3.0.1 info: title: 3GPP NRM version: 18.5.0 description: >- OAS 3.0.1 specification of the DSORecovery NRM © 2023, 3GPP Organizational DSORecovery Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. externalDocs: description: 3GPP TS 28.318; DSORecovery NRM url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.318/ paths: {} components: schemas: #-------- Definition of types----------------------------------------------------- EnergyServiceLocation: type: object properties: CGI: type: string energySupplyId: type: string #-------- Definition of concrete IOCs -------------------------------------------- MnS: oneOf: - type: object properties: SubNetwork: $ref: '#/components/schemas/SubNetwork-Multiple' SubNetwork-Single: allOf: - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top' - type: object properties: attributes: allOf: - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/SubNetwork-Attr' - type: object properties: Subnetwork: $ref: '#/components/schemas/SubNetwork-Multiple' OutageAndRecoveryInfo: $ref: '#/components/schemas/OutageAndRecoveryInfo-Multiple' - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/SubNetwork-ncO' OutageAndRecoveryInfo-Single: allOf: - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top' - type: object properties: outageStartTime: $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime' expectedOutageEndTime: $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime' dsoRapidInterventionTime: $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime' dsoRapidInterventionDuration: type: integer mnoInterventionTime: $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime' dsoRapidInterventionDuration: type: integer mnoMaxServiceDuration: type: integer affectedArea: $ref: '#/components/schemas/EnergyServiceLocation' #-------- Definition of JSON arrays for name-contained IOCs ---------------------- SubNetwork-Multiple: type: array items: $ref: '#/components/schemas/SubNetwork-Single' OutageAndRecoveryInfo-Multiple: type: array items: $ref: '#/components/schemas/OutageAndRecoveryInfo-Single' #--------------------------------- Definition ------------------------------------ resources-DSORecovery: oneOf: - $ref: '#/components/schemas/MnS' - $ref: '#/components/schemas/SubNetwork-Single' - $ref: '#/components/schemas/OutageAndRecoveryInfo-Single' Loading
OpenAPI/TS28318__DSORecovery.yaml 0 → 100644 +92 −0 Original line number Diff line number Diff line openapi: 3.0.1 info: title: 3GPP NRM version: 18.5.0 description: >- OAS 3.0.1 specification of the DSORecovery NRM © 2023, 3GPP Organizational DSORecovery Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). All rights reserved. externalDocs: description: 3GPP TS 28.318; DSORecovery NRM url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.318/ paths: {} components: schemas: #-------- Definition of types----------------------------------------------------- EnergyServiceLocation: type: object properties: CGI: type: string energySupplyId: type: string #-------- Definition of concrete IOCs -------------------------------------------- MnS: oneOf: - type: object properties: SubNetwork: $ref: '#/components/schemas/SubNetwork-Multiple' SubNetwork-Single: allOf: - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top' - type: object properties: attributes: allOf: - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/SubNetwork-Attr' - type: object properties: Subnetwork: $ref: '#/components/schemas/SubNetwork-Multiple' OutageAndRecoveryInfo: $ref: '#/components/schemas/OutageAndRecoveryInfo-Multiple' - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/SubNetwork-ncO' OutageAndRecoveryInfo-Single: allOf: - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top' - type: object properties: outageStartTime: $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime' expectedOutageEndTime: $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime' dsoRapidInterventionTime: $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime' dsoRapidInterventionDuration: type: integer mnoInterventionTime: $ref: 'TS28623_ComDefs.yaml#/components/schemas/DateTime' dsoRapidInterventionDuration: type: integer mnoMaxServiceDuration: type: integer affectedArea: $ref: '#/components/schemas/EnergyServiceLocation' #-------- Definition of JSON arrays for name-contained IOCs ---------------------- SubNetwork-Multiple: type: array items: $ref: '#/components/schemas/SubNetwork-Single' OutageAndRecoveryInfo-Multiple: type: array items: $ref: '#/components/schemas/OutageAndRecoveryInfo-Single' #--------------------------------- Definition ------------------------------------ resources-DSORecovery: oneOf: - $ref: '#/components/schemas/MnS' - $ref: '#/components/schemas/SubNetwork-Single' - $ref: '#/components/schemas/OutageAndRecoveryInfo-Single'