-
Notifications
You must be signed in to change notification settings - Fork 253
/
TS28319_MsacNrm.yaml
87 lines (80 loc) · 2.53 KB
/
TS28319_MsacNrm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
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'