Files
api-specs/idn/v3/schemas/access/Role.yaml
GitHub Action Bot b2eb28887c Automated commit 'Devrel 1470: Fix v3 schema validator errors (#1563)
* Fixed several issues

* More fixes to v3 APIs

* More fixes

* Fixed more v3 schema issues

* fixed campaign filters path

* Updated redoc API generator to v10

* Updated redoc api generator action to latest version

* Added log to action

* Fixed path in action

* Added orderBy to saved search

* Added some fixes for beta

* Fixed duplicate nullable

* Triggering checks again

* Triggering checks again

* More beta fixes

* Fixed schema bug' by github action: 7980819692
2024-02-20 22:24:02 +00:00

90 lines
3.1 KiB
YAML

type: object
description: A Role
properties:
id:
type: string
description: The id of the Role. This field must be left null when creating an Role, otherwise a 400 Bad Request error will result.
example: 2c918086749d78830174a1a40e121518
name:
type: string
description: The human-readable display name of the Role
maxLength: 128
example: Role 2567
created:
type: string
description: Date the Role was created
format: 'date-time'
example: '2021-03-01T22:32:58.104Z'
readOnly: true
modified:
type: string
description: Date the Role was last modified.
format: 'date-time'
example: '2021-03-02T20:22:28.104Z'
readOnly: true
description:
type: string
nullable: true
description: A human-readable description of the Role
example: Urna amet cursus pellentesque nisl orci maximus lorem nisl euismod fusce morbi placerat adipiscing maecenas nisi tristique et metus et lacus sed morbi nunc nisl maximus magna arcu varius sollicitudin elementum enim maecenas nisi id ipsum tempus fusce diam ipsum tortor.
owner:
$ref: './OwnerReference.yaml'
accessProfiles:
type: array
items:
$ref: './AccessProfileRef.yaml'
nullable: true
entitlements:
type: array
items:
$ref: './EntitlementRef.yaml'
membership:
$ref: './RoleMembershipSelector.yaml'
nullable: true
legacyMembershipInfo:
type: object
nullable: true
description: >-
This field is not directly modifiable and is generally expected to be *null*.
In very rare instances, some Roles may have been created using membership selection criteria that are no
longer fully supported. While these Roles will still work, they should be migrated to STANDARD or
IDENTITY_LIST selection criteria. This field exists for informational purposes as an aid to such migration.
example: { "type": "IDENTITY_LIST" }
additionalProperties: true
enabled:
type: boolean
description: Whether the Role is enabled or not.
example: true
default: false
requestable:
type: boolean
description: Whether the Role can be the target of access requests.
example: true
default: false
accessRequestConfig:
$ref: './RequestabilityForRole.yaml'
nullable: true
description: Access request configuration for this object
revocationRequestConfig:
$ref: './RevocabilityForRole.yaml'
nullable: true
default: null
description: >-
Revocation request configuration for this object.
segments:
type: array
items:
type: string
nullable: true
description: List of IDs of segments, if any, to which this Role is assigned.
example: [
"f7b1b8a3-5fed-4fd4-ad29-82014e137e19",
"29cb6c06-1da8-43ea-8be4-b3125f248f2a"
]
required:
- name
- owner