{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/SelectiveForwardCallCriteriaGet", "title": "SelectiveForwardCallCriteriaGet", "type": "object", "required": [ "forwardToPhoneNumber", "sendToVoicemailEnabled", "callsFrom" ], "properties": { "id": { "type": "string", "example": "Y2lzY29zcGFyazovL3VzL0NSSVRFUklBL1oxNzI5NzA4NzUwMTY4MDI", "description": "Criteria ID." }, "forwardToPhoneNumber": { "type": "string", "example": "+18898988831", "description": "Number to which calls needs to be forwarded." }, "sendToVoicemailEnabled": { "type": "boolean", "description": "Boolean flag to enable/disable sending calls to voicemail." }, "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 type of schedule." }, "scheduleLevel": { "$ref": "#/components/schemas/ScheduleLevel", "description": "Schedule level of the criteria." }, "callsFrom": { "$ref": "#/components/schemas/CallsFromSelectiveReject", "description": "Reject calls selection." }, "anonymousCallersEnabled": { "type": "boolean", "example": true, "description": "Calls From custom numbers, private number enabled." }, "unavailableCallersEnabled": { "type": "boolean", "example": true, "description": "Calls From custom numbers, unavailable number 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." }, "forwardEnabled": { "type": "boolean", "example": true, "description": "Boolean flag to enable/disable selective call forward." } } }