{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/SetRolePermissionsDto", "title": "SetRolePermissionsDto", "type": "object", "properties": { "permissions": { "description": "The permission slugs to assign to the role.", "example": [ "billing:read", "billing:write", "invoices:manage", "reports:view" ], "type": "array", "items": { "type": "string" } } }, "required": [ "permissions" ] }