Box · Schema

User (Collaborations)

A mini representation of a user, can be returned only when the status is `pending`.

Cloud StorageCollaborationContent ManagementDocumentsEnterpriseFile Sharing
View JSON Schema on GitHub

JSON Schema

box-user-collaborations-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/User--Collaborations",
  "title": "User (Collaborations)",
  "type": "object",
  "x-box-resource-id": "user_collaborations",
  "x-box-variant": "collaborations",
  "description": "A mini representation of a user, can be returned only when\nthe status is `pending`.",
  "allOf": [
    {
      "$ref": "#/components/schemas/User--Base"
    },
    {
      "properties": {
        "name": {
          "type": "string",
          "description": "The display name of this user. If the collaboration status is `pending`, an empty string is returned.",
          "example": "Aaron Levie",
          "maxLength": 50,
          "nullable": false
        },
        "login": {
          "type": "string",
          "format": "email",
          "description": "The primary email address of this user. If the collaboration status is `pending`, an empty string is returned.",
          "example": "[email protected]",
          "nullable": false
        }
      }
    }
  ]
}