{"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":"rbacUserDetail","required":["Status","actionItems","firstName","id","lastName","role","userName","virtualDomains"],"type":"object","properties":{"id":{"type":"integer","description":"The unique numerical identifier for the user.","format":"int64"},"userName":{"type":"string","description":"The unique username for the account."},"role":{"type":"string","description":"The RBAC role assigned to this user."},"virtualDomains":{"type":"array","description":"A list of virtual domains or device access groups to which this user has access.","items":{"title":"Device Access Groups are defined parts of the network, so that user access can be limited to the parts they are assigned.","type":"object","properties":{"Uuid":{"type":"string","description":"The unique identifier (UUID) of the device access group."},"DomainName":{"type":"string","description":"The human-readable name of the domain, tenant, or network partition represented by this access group."},"Description":{"type":"string","description":"An optional descriptive text explaining the purpose or scope of this device access group."}},"$$ref":"#/components/schemas/rbacDeviceAccessGroup"}},"firstName":{"type":"string","description":"The first name of the user."},"lastName":{"type":"string","description":"The last name of the user."},"Status":{"type":"string","description":"The current status of the user account (e.g., 'Active', 'Locked', 'Inactive')."},"actionItems":{"title":"RBAC User Action Items","required":["Items"],"type":"object","properties":{"popoverActionClass":{"type":"string","description":"A CSS class or identifier for a UI popover action, if applicable."},"Items":{"type":"array","description":"A list of action groups available for the user.","items":{"title":"RBAC User Action Group","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"}}},"description":"Container for a user's available actions, often categorized or grouped for UI display.","$$ref":"#/components/schemas/rbacUserActionItems"}},"description":"Comprehensive details for an RBAC user, including their profile, status, and dynamic action items.","$$ref":"#/components/schemas/rbacUserDetail"}}