{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WatchUser",
  "title": "WatchUser",
  "required": [
    "type",
    "accountId",
    "profilePicture",
    "displayName",
    "operations",
    "isExternalCollaborator",
    "accountType",
    "email",
    "publicName",
    "personalSpace",
    "externalCollaborator"
  ],
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "example": "example_value"
    },
    "username": {
      "$ref": "#/components/schemas/GenericUserName"
    },
    "userKey": {
      "$ref": "#/components/schemas/GenericUserKey"
    },
    "accountId": {
      "$ref": "#/components/schemas/GenericAccountId"
    },
    "profilePicture": {
      "$ref": "#/components/schemas/Icon"
    },
    "displayName": {
      "type": "string",
      "example": "example_value"
    },
    "timeZone": {
      "nullable": true,
      "type": "string",
      "example": "example_value"
    },
    "operations": {
      "type": "array",
      "nullable": true,
      "items": {
        "$ref": "#/components/schemas/OperationCheckResult"
      },
      "example": []
    },
    "isExternalCollaborator": {
      "type": "boolean",
      "example": true
    },
    "details": {
      "$ref": "#/components/schemas/UserDetails"
    },
    "accountType": {
      "type": "string",
      "example": "example_value"
    },
    "email": {
      "type": "string",
      "example": "user@example.com"
    },
    "publicName": {
      "type": "string",
      "example": "example_value"
    },
    "personalSpace": {
      "type": "object",
      "nullable": true,
      "example": "example_value"
    },
    "externalCollaborator": {
      "type": "boolean",
      "example": true
    }
  },
  "description": "This essentially the same as the `User` object, but no `_links` property and\nno `_expandable` property (therefore, different required fields)."
}