Asana · Schema

ProjectMembershipCompact

This object describes a team or a user's membership to a project including their level of access (Admin, Editor, Commenter, or Viewer).

CollaborationProductivityProject ManagementProjectsTask ManagementTasksWorkflow

Properties

Name Type Description
gid string Globally unique identifier of the resource, as a string.
resource_type string The base type of this resource.
parent object [Opt In](/docs/inputoutput-options). The project the user is a member of.
member object Member can be a user or a team.
access_level string Whether the member has admin, editor, commenter, or viewer access to the project.
View JSON Schema on GitHub

JSON Schema

asana-projectmembershipcompact-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProjectMembershipCompact",
  "title": "ProjectMembershipCompact",
  "description": "This object describes a team or a user's membership to a project including their level of access (Admin, Editor, Commenter, or Viewer).",
  "type": "object",
  "properties": {
    "gid": {
      "description": "Globally unique identifier of the resource, as a string.",
      "type": "string",
      "readOnly": true,
      "example": "12345",
      "x-insert-after": false
    },
    "resource_type": {
      "description": "The base type of this resource.",
      "type": "string",
      "readOnly": true,
      "example": "project_membership",
      "x-insert-after": "gid"
    },
    "parent": {
      "description": "[Opt In](/docs/inputoutput-options). The project the user is a member of.",
      "$ref": "#/components/schemas/ProjectCompact"
    },
    "member": {
      "description": "Member can be a user or a team.",
      "$ref": "#/components/schemas/MemberCompact"
    },
    "access_level": {
      "description": "Whether the member has admin, editor, commenter, or viewer access to the project.",
      "type": "string",
      "enum": [
        "admin",
        "editor",
        "commenter",
        "viewer"
      ],
      "readOnly": true,
      "example": "admin"
    }
  }
}