{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/e1ae91f25de62367ac175351487a12de3ae46a25/c92e7384-b2f4-3d3b-8e8e-03a9325b07bb","info":{"title":"Crosswork RBAC API - Version 1","description":"Crosswork Role-based Access Control APIs","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"1.0.0"},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/INFRA/RBAC/rbac-v1-overview.md"}},"openapi":"3.0.1","servers":[{"url":"https://{cw_ip}:30603/crosswork/aaa/v1"}],"securitySchemes":{"bearerAuth":{"type":"apiKey","description":"Use a bearer token to authenticate requests. Include the token in the Authorization header with the prefix 'Bearer '.","name":"Authorization","in":"header"}}},"spec":{"title":"rbacUserActionGroup","required":["items"],"type":"object","properties":{"name":{"type":"string","description":"The name of the action group (can be an empty string if sub-items are directly listed without a group name)."},"items":{"type":"array","description":"A list of individual actions within this group.","items":{"title":"RBAC User Action","required":["enable","name"],"type":"object","properties":{"name":{"type":"string","description":"The human-readable name of the action (e.g., 'Audit Log', 'Lock User')."},"enable":{"type":"boolean","description":"Indicates whether this action is currently enabled or available for the user. **Note:** Your example uses string 'true'/'false', but boolean is more standard for OpenAPI."}},"description":"Defines a single action that can be performed on a user, with its name and enablement status.","$$ref":"#/components/schemas/rbacUserAction"}}},"description":"A grouping of related actions available for a user.","$$ref":"#/components/schemas/rbacUserActionGroup"}}