{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/webex/main/json-schema/webex-selective-reject-call-criteria-get-schema.json", "title": "SelectiveRejectCallCriteriaGet", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/webex-call-settings-for-me-with-userhub-phase3-api-openapi.yml#/components/schemas/SelectiveRejectCallCriteriaGet", "type": "object", "required": [ "callsFrom", "rejectEnabled" ], "properties": { "id": { "type": "string", "description": "Criteria ID." }, "scheduleName": { "type": "string", "description": "Name of the schedule to which the criteria is created." }, "scheduleType": { "$ref": "#/$defs/ScheduleType", "description": "The schedule type." }, "scheduleLevel": { "$ref": "#/$defs/ScheduleLevel", "description": "The schedule level of the criteria." }, "callsFrom": { "$ref": "#/$defs/CallsFrom", "description": "Reject calls selection." }, "anonymousCallersEnabled": { "type": "boolean", "description": "Boolean flag indicating if calls from custom numbers, private numbers are enabled." }, "unavailableCallersEnabled": { "type": "boolean", "description": "Boolean flag indicating if calls from custom numbers, unavailable numbers are enabled." }, "phoneNumbers": { "type": "array", "items": { "type": "string" }, "description": "List of phone numbers. It does not include extensions. In some regions phone numbers are not returned in E.164 format. This will be supported in a future update." }, "rejectEnabled": { "type": "boolean", "description": "Boolean flag to enable/disable rejection." } }, "$defs": { "CallsFrom": { "type": "string", "enum": [ "ANY_PHONE_NUMBER", "SELECT_PHONE_NUMBERS", "FORWARDED" ], "description": " * `ANY_PHONE_NUMBER` - Criteria apply for any incoming number.\n * `SELECT_PHONE_NUMBERS` - Criteria only apply for selected incoming numbers.\n * `FORWARDED` - Criteria only apply for forwarded incoming numbers.\n" }, "ScheduleLevel": { "type": "string", "enum": [ "PEOPLE", "GROUP" ], "description": " * `PEOPLE` - The schedule level that specifies that criteria is of People level.\n * `GROUP` - The schedule level that specifies that criteria is of Group level.\n" }, "ScheduleType": { "type": "string", "enum": [ "businessHours", "holidays" ], "description": " * `businessHours` - The schedule type that specifies the business or working hours during the day.\n * `holidays` - The schedule type that specifies the day when your organization is not open.\n" } } }