{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/webex/json-schema/webex-modify-call-park-object-schema.json",
  "title": "ModifyCallParkObject",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/webex-features-call-park-api-openapi.yml#/components/schemas/ModifyCallParkObject",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Unique name for the call park. The maximum length is 80."
    },
    "recall": {
      "$ref": "#/$defs/PutRecallHuntGroupObject",
      "description": "Recall options that are added to call park."
    },
    "agents": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Array of ID strings of people, workspaces and virtual lines that are added to call park. The new list of `agents` will replace any existing call park agents list."
    },
    "parkOnAgentsEnabled": {
      "type": "boolean",
      "description": "Whether or not the calls will be parked on agents as a destination."
    },
    "callParkExtensions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Array of ID strings of call park extensions assigned to a call park."
    }
  },
  "$defs": {
    "PutRecallHuntGroupObject": {
      "type": "object",
      "required": [
        "option"
      ],
      "properties": {
        "huntGroupId": {
          "type": "string",
          "description": "Alternate user which is a hunt group ID for call park recall alternate destination."
        },
        "option": {
          "type": "string",
          "enum": [
            "ALERT_PARKING_USER_ONLY",
            "ALERT_PARKING_USER_FIRST_THEN_HUNT_GROUP",
            "ALERT_HUNT_GROUP_ONLY"
          ],
          "description": "Call park recall options.\n * `ALERT_PARKING_USER_ONLY` - Alert parking user only.\n * `ALERT_PARKING_USER_FIRST_THEN_HUNT_GROUP` - Alert parking user first, then hunt group.\n * `ALERT_HUNT_GROUP_ONLY` - Alert hunt group only.\n"
        }
      }
    }
  }
}