Atlassian · Schema

RoleAssignment

Represents a role assignment for a user.

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
role string The role identifier.
resource object The resource the role is assigned to.
View JSON Schema on GitHub

JSON Schema

atlassian-roleassignment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RoleAssignment",
  "title": "RoleAssignment",
  "type": "object",
  "description": "Represents a role assignment for a user.",
  "properties": {
    "role": {
      "type": "string",
      "description": "The role identifier.",
      "example": "example_value"
    },
    "resource": {
      "type": "object",
      "description": "The resource the role is assigned to.",
      "properties": {
        "id": {
          "type": "string",
          "description": "The resource identifier."
        },
        "type": {
          "type": "string",
          "description": "The resource type."
        }
      },
      "example": "example_value"
    }
  }
}