Atlassian · Schema

PermissionSubjectWithGroupId

The user or group that the permission applies to.

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
type string
identifier string for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users for `type=group`, identifier should be ID of the group
View JSON Schema on GitHub

JSON Schema

atlassian-permissionsubjectwithgroupid-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PermissionSubjectWithGroupId",
  "title": "PermissionSubjectWithGroupId",
  "required": [
    "identifier",
    "type"
  ],
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "enum": [
        "user",
        "group"
      ],
      "example": "user"
    },
    "identifier": {
      "type": "string",
      "description": "for `type=user`, identifier should be user's accountId or `anonymous` for anonymous users\n\nfor `type=group`, identifier should be ID of the group",
      "example": "example_value"
    }
  },
  "description": "The user or group that the permission applies to."
}