From 41a9056a814dd246a8c0d74cc99b5d900c931da6 Mon Sep 17 00:00:00 2001 From: fernandesc Date: Fri, 19 Jan 2024 05:31:07 +0000 Subject: [PATCH 1/2] Add new file --- OpenAPI/TS28319_MsacNrm.yaml | 87 ++++++++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 OpenAPI/TS28319_MsacNrm.yaml diff --git a/OpenAPI/TS28319_MsacNrm.yaml b/OpenAPI/TS28319_MsacNrm.yaml new file mode 100644 index 000000000..ac65e3ebf --- /dev/null +++ b/OpenAPI/TS28319_MsacNrm.yaml @@ -0,0 +1,87 @@ + +openapi: 3.0.1 +info: + title: MSAC NRM + version: 18.0.0 + description: >- + OAS 3.0.1 definition of the MSAC NRM + © 2024, 3GPP Organizational Partners (ARIB, ATIS, CCSA, ETSI, TSDSI, TTA, TTC). + All rights reserved. +externalDocs: + description: 3GPP TS 28.319; MSAC NRM + url: http://www.3gpp.org/ftp/Specs/archive/28_series/28.319/ +paths: {} +components: + schemas: + +#-------- Definition of types----------------------------------------------------- + +#-------- Definition of concrete IOCs -------------------------------------------- + + Identity-Single: + allOf: + - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top' + - type: object + properties: + attributes: + type: object + properties: + identityType: + type: string + enum: + - USERNAME + - EMAIL_ADDRESS + - PHONE_NUMBER + - IP_ADDRESS + - MACHINEUSER + identityName: + type: string + credential: + type: string + roleRefList: + $ref: 'TS28623_ComDefs.yaml#/components/schemas/DnList' + + Role-Single: + allOf: + - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top' + - type: object + properties: + attributes: + type: object + properties: + roleName: + type: string + accessRulesList: + $ref: 'TS28623_ComDefs.yaml#/components/schemas/DnList' + + AccessRule-Single: + allOf: + - $ref: 'TS28623_GenericNrm.yaml#/components/schemas/Top' + - type: object + properties: + attributes: + type: object + properties: + ruleName: + type: string + resources: + type: string + operations: + type: array + items: + type: string + actions: + type: string + enum: + - ALLOW + - DENY + componentCData: + type: array + items: + type: string + + resources-msacNrm: + oneOf: + - $ref: '#/components/schemas/Identity-Single' + - $ref: '#/components/schemas/Role-Single' + - $ref: '#/components/schemas/AccessRule-Single' -- GitLab From ed89a710175a481cd6c140b0de29b3b375f01e19 Mon Sep 17 00:00:00 2001 From: fernandesc Date: Fri, 19 Jan 2024 05:43:19 +0000 Subject: [PATCH 2/2] Update TS28532_ProvMnS.yaml --- OpenAPI/TS28532_ProvMnS.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenAPI/TS28532_ProvMnS.yaml b/OpenAPI/TS28532_ProvMnS.yaml index 30aa8cc2b..025ededed 100755 --- a/OpenAPI/TS28532_ProvMnS.yaml +++ b/OpenAPI/TS28532_ProvMnS.yaml @@ -406,7 +406,8 @@ components: - $ref: 'TS28104_MdaNrm.yaml#/components/schemas/resources-mdaNrm' - $ref: 'TS28105_AiMlNrm.yaml#/components/schemas/resources-AiMlNrm' - $ref: 'TS28538_EdgeNrm.yaml#/components/schemas/resources-edgeNrm' - - $ref: 'TS28317_RanScNrm.yaml#/components/schemas/resources-RanScNrm' + - $ref: 'TS28317_RanScNrm.yaml#/components/schemas/resources-RanScNrm' + - $ref: 'TS28319_MsacNrm.yaml#/components/schemas/resources-msacNrm' Scope: type: object properties: -- GitLab