{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/webex/main/json-schema/webex-priority-alert-criteria-patch-schema.json", "title": "PriorityAlertCriteriaPatch", "description": "Request body for updating priority alert criteria settings.", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/webex-call-settings-for-me-with-userhub-phase2-api-openapi.yml#/components/schemas/PriorityAlertCriteriaPatch", "type": "object", "properties": { "scheduleName": { "type": "string", "description": "Name of the schedule to be associated with the criteria." }, "scheduleType": { "type": "string", "enum": [ "businessHours", "holidays" ], "description": "Type of the schedule.\n * `businessHours` - Business hours schedule type.\n * `holidays` - Holidays schedule type.\n" }, "scheduleLevel": { "type": "string", "enum": [ "PEOPLE", "LOCATION" ], "description": " * `PEOPLE` - The schedule is at the user level.\n * `LOCATION` - The schedule is at the location level.\n" }, "callsFrom": { "type": "string", "enum": [ "ANY_PHONE_NUMBER", "SELECT_PHONE_NUMBERS" ], "description": "Specifies the type of callsFrom, categorizing incoming data based on callsFrom types or numbers that match the current criteria.\n * `ANY_PHONE_NUMBER` - The criteria applies to any phone number.\n* `SELECT_PHONE_NUMBERS` - The criteria applies to selected phone numbers.\n" }, "anonymousCallersEnabled": { "type": "boolean", "description": "Indicates whether anonymous callers are included in this criteria. Required if `callsFrom` is `SELECT_PHONE_NUMBERS`." }, "unavailableCallersEnabled": { "type": "boolean", "description": "Indicates whether unavailable callers are included in this criteria. Required if `callsFrom` is `SELECT_PHONE_NUMBERS`." }, "phoneNumbers": { "type": "array", "description": "List of phone numbers to update for this criteria. Required if `callsFrom` is `SELECT_PHONE_NUMBERS`.", "items": { "type": "string", "description": "Phone number that the criteria applies to." } }, "notificationEnabled": { "type": "boolean", "description": "Determines whether priority alerting is applied for calls matching this criteria. If `true`, priority alerting is applied. If `false`, this criteria acts as a 'Don't Alert' rule, preventing priority alerting. Criteria with `notificationEnabled` set to `false` (Don't Alert) take precedence over criteria with `notificationEnabled` set to `true` (Alert)." } } }