{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/LogsAlertCreateDestination", "title": "LogsAlertCreateDestination", "type": "object", "properties": { "type": { "allOf": [ { "$ref": "#/components/schemas/NotificationDestinationTypeEnum" } ], "description": "Destination type \u2014 slack or webhook.\n\n* `slack` - slack\n* `webhook` - webhook" }, "slack_workspace_id": { "type": "integer", "description": "Integration ID for the Slack workspace. Required when type=slack." }, "slack_channel_id": { "type": "string", "description": "Slack channel ID. Required when type=slack." }, "slack_channel_name": { "type": "string", "description": "Human-readable channel name for display." }, "webhook_url": { "type": "string", "format": "uri", "description": "HTTPS endpoint to POST to. Required when type=webhook." } }, "required": [ "type" ] }