Asana · Schema

MembershipResponse

CollaborationProductivityProject ManagementProjectsTask ManagementTasksWorkflow

Properties

Name Type Description
gid string
resource_type string
member object
parent object
role string
is_active boolean
is_guest boolean
is_editable boolean
access_level string
View JSON Schema on GitHub

JSON Schema

asana-membershipresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/MembershipResponse",
  "title": "MembershipResponse",
  "type": "object",
  "properties": {
    "gid": {
      "type": "string",
      "readOnly": true,
      "example": "12345"
    },
    "resource_type": {
      "type": "string",
      "readOnly": true,
      "example": "membership"
    },
    "member": {
      "type": "object",
      "properties": {
        "gid": {
          "type": "string"
        },
        "resource_type": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "parent": {
      "type": "object",
      "properties": {
        "gid": {
          "type": "string"
        },
        "resource_type": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "role": {
      "type": "string",
      "enum": [
        "editor",
        "commenter",
        "viewer"
      ]
    },
    "is_active": {
      "type": "boolean"
    },
    "is_guest": {
      "type": "boolean",
      "readOnly": true
    },
    "is_editable": {
      "type": "boolean",
      "readOnly": true
    },
    "access_level": {
      "type": "string",
      "readOnly": true
    }
  }
}