{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/SelectiveRejectCallCriteria", "title": "SelectiveRejectCallCriteria", "type": "object", "required": [ "id", "scheduleName", "source", "rejectEnabled" ], "properties": { "id": { "type": "string", "example": "Y2lzY29zcGFyazovL3VzL0NSSVRFUklBLzg2NTAxZDFlLTg1MWMtNDgwYi1hZmE2LTA5MTU4NzQ3NzdmZQ", "description": "Unique identifier for criteria." }, "scheduleName": { "type": "string", "example": "Business Vacation", "description": "Name of the schedule associated with the criteria." }, "source": { "type": "string", "enum": [ "ALL_NUMBERS", "SPECIFIC_NUMBERS", "FORWARDED" ], "description": "Type of the source.\n * `ALL_NUMBERS` - Select to reject calls from Any Phone Number.\n * `SPECIFIC_NUMBERS` - Select to reject calls from Select Phone Numbers.\n * `FORWARDED` - Select to reject calls that have been forwarded.\n" }, "rejectEnabled": { "type": "boolean", "example": true, "description": "Determines whether selective call reject is applied for calls matching this criteria. If `true`, selective call reject is applied. If `false`, this criteria acts as a 'Don't Reject' rule, preventing call rejections. Criteria with rejectEnabled set to false have precedence over criteria with rejectEnabled set to true." } } }