Properties
| Name | Type | Description |
|---|---|---|
| name | string | Unique name for the new role |
| description | string | Human-readable description of the role's purpose |
| permissions | array | List of permission objects granting access to features |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateRoleRequest",
"title": "CreateRoleRequest",
"type": "object",
"description": "Payload to create a new Control Room role",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "Unique name for the new role"
},
"description": {
"type": "string",
"description": "Human-readable description of the role's purpose"
},
"permissions": {
"type": "array",
"description": "List of permission objects granting access to features",
"items": {
"$ref": "#/components/schemas/Permission"
}
}
}
}