{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/SelectiveRejectCallCriteriaGet", "title": "SelectiveRejectCallCriteriaGet", "type": "object", "required": [ "callsFrom", "rejectEnabled" ], "properties": { "id": { "type": "string", "example": "Y2lzY29zcGFyazovL3VzL0NSSVRFUklBL1oxNzI5NzA4NzUwMTY4MDI", "description": "Criteria ID." }, "scheduleName": { "type": "string", "example": "CFS-Criteria-F-2", "description": "Name of the schedule to which the criteria is created." }, "scheduleType": { "$ref": "#/components/schemas/ScheduleType", "description": "The schedule type." }, "scheduleLevel": { "$ref": "#/components/schemas/ScheduleLevel", "description": "The schedule level of the criteria." }, "callsFrom": { "$ref": "#/components/schemas/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", "example": "[\"+1986751234\",\"+1986751234\"]" }, "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", "example": true, "description": "Boolean flag to enable/disable rejection." } } }