Asana · Schema

UserBaseResponse

CollaborationProductivityProject ManagementProjectsTask ManagementTasksWorkflow
View JSON Schema on GitHub

JSON Schema

asana-userbaseresponse-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UserBaseResponse",
  "title": "UserBaseResponse",
  "allOf": [
    {
      "$ref": "#/components/schemas/UserBase"
    },
    {
      "type": "object",
      "properties": {
        "email": {
          "type": "string",
          "format": "email",
          "readOnly": true,
          "description": "The user's email address.",
          "example": "[email protected]"
        },
        "photo": {
          "type": "object",
          "nullable": true,
          "properties": {
            "image_21x21": {
              "type": "string",
              "format": "uri"
            },
            "image_27x27": {
              "type": "string",
              "format": "uri"
            },
            "image_36x36": {
              "type": "string",
              "format": "uri"
            },
            "image_60x60": {
              "type": "string",
              "format": "uri"
            },
            "image_128x128": {
              "type": "string",
              "format": "uri"
            },
            "image_1024x1024": {
              "type": "string",
              "format": "uri"
            }
          },
          "readOnly": true,
          "description": "A map of the user\u2019s profile photo in various sizes, or null if no photo is set. Sizes provided are 21, 27, 36, 60, 128, and 1024. All images are in PNG format, except for 1024 (which is in JPEG format).",
          "example": {
            "image_21x21": "https://...",
            "image_27x27": "https://...",
            "image_36x36": "https://...",
            "image_60x60": "https://...",
            "image_128x128": "https://...",
            "image_1024x1024": "https://..."
          }
        }
      }
    }
  ]
}