{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/webex/json-schema/webex-get-call-pickup-object-schema.json",
  "title": "GetCallPickupObject",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-features-call-pickup-api-openapi.yml#/components/schemas/GetCallPickupObject",
  "type": "object",
  "required": [
    "id",
    "name"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "A unique identifier for the call pickup."
    },
    "name": {
      "type": "string",
      "description": "Unique name for the call pickup. The maximum length is 80."
    },
    "notificationType": {
      "type": "string",
      "enum": [
        "NONE",
        "AUDIO_ONLY",
        "VISUAL_ONLY",
        "AUDIO_AND_VISUAL"
      ],
      "description": "Type of the notification when an incoming call is unanswered. The call pickup group notifies all of its members. Default: NONE.\n * `NONE` - Notification is not sent to any member of the call pickup group.\n * `AUDIO_ONLY` - When the `notificationDelayTimerSeconds` number of seconds has elapsed, play an audio notification for each call pickup group member.\n * `VISUAL_ONLY` - When the `notificationDelayTimerSeconds` number of seconds has elapsed, provide a visual notification to every call pickup group member.\n * `AUDIO_AND_VISUAL` - When the `notificationDelayTimerSeconds` number of seconds has elapsed, provide an audio and visual notification to every call pickup group member.\n"
    },
    "notificationDelayTimerSeconds": {
      "type": "number",
      "description": "After the number of seconds given by the `notificationDelayTimerSeconds` has elapsed, notify every member of the call pickup group when an incoming call goes unanswered. The `notificationType` field specifies the notification method. Default: 6."
    },
    "agents": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GetPersonPlaceVirtualLineCallPickupObject"
      },
      "description": "People, workspaces and virtual lines that are eligible to receive calls."
    }
  },
  "$defs": {
    "GetPersonPlaceVirtualLineCallPickupObject": {
      "type": "object",
      "required": [
        "id",
        "type",
        "email"
      ],
      "properties": {
        "id": {
          "type": "string",
          "description": "ID of a person, workspace or virtual line."
        },
        "firstName": {
          "type": "string",
          "description": "First name of a person, workspace or virtual line."
        },
        "lastName": {
          "type": "string",
          "description": "Last name of a person, workspace or virtual line."
        },
        "displayName": {
          "type": "string",
          "description": "Display name of a person, workspace or virtual line."
        },
        "type": {
          "type": "string",
          "enum": [
            "PEOPLE",
            "PLACE",
            "VIRTUAL_LINE"
          ],
          "description": "Type of the person, workspace or virtual line.\n * `PEOPLE` - Indicates that this object is a user.\n * `PLACE` - Indicates that this object is a place.\n * `VIRTUAL_LINE` - Indicates that this object is a virtual line.\n"
        },
        "email": {
          "type": "string",
          "description": "Email of a person, workspace or virtual line."
        },
        "phoneNumber": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GetUserNumberItemObject"
          },
          "description": "List of phone numbers of a person, workspace or virtual line."
        }
      }
    },
    "GetUserNumberItemObject": {
      "type": "object",
      "properties": {
        "external": {
          "type": "string",
          "description": "Phone number of a person, workspace or virtual line."
        },
        "extension": {
          "type": "string",
          "description": "Extension of a person, workspace or virtual line."
        }
      }
    }
  }
}