{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/LogsAlertSimulateBucket", "title": "LogsAlertSimulateBucket", "type": "object", "properties": { "timestamp": { "type": "string", "format": "date-time", "description": "Bucket start timestamp." }, "count": { "type": "integer", "description": "Number of matching logs in this bucket." }, "threshold_breached": { "type": "boolean", "description": "Whether the count crossed the threshold in this bucket." }, "state": { "type": "string", "description": "Alert state after evaluating this bucket." }, "notification": { "type": "string", "description": "Notification action: none, fire, or resolve." }, "reason": { "type": "string", "description": "Human-readable explanation of the state transition." } }, "required": [ "count", "notification", "reason", "state", "threshold_breached", "timestamp" ] }