Skip to content

sink.caught_up

Sent once when a sink that was behind retention (sink.behind) no longer is: it has taken every event older than retention_days, or an operator moved it past them (sink.moved). Checked every hour; falling behind again later is a new sink.behind. The envelope is that of sink.behind.

Schema id: urn:houradvantage:events:3:sink.caught_up

Fields

FieldTypeRequiredDescription
sinkstringyesThe sink’s id, within its tenant (or the install).
behind_sincestring (date-time)yesThe oldest_waiting_at its sink.behind said.
tenantstringTime and Attendance: the tenant the sink is of.

Example

{
"sink": "payroll",
"behind_since": "2026-09-28T08:00:00Z"
}

JSON Schema

sink.caught_up.json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:houradvantage:events:3:sink.caught_up",
"title": "sink.caught_up: data",
"description": "Sent once when a sink that was behind retention (sink.behind) no longer is: it has taken every event older than retention_days, or an operator moved it past them (sink.moved). Checked every hour; falling behind again later is a new sink.behind. The envelope is that of sink.behind.",
"type": "object",
"properties": {
"sink": {
"type": "string",
"description": "The sink's id, within its tenant (or the install)."
},
"behind_since": {
"type": "string",
"format": "date-time",
"description": "The oldest_waiting_at its sink.behind said."
},
"tenant": {
"type": "string",
"description": "Time and Attendance: the tenant the sink is of."
}
},
"required": [
"sink",
"behind_since"
],
"examples": [
{
"sink": "payroll",
"behind_since": "2026-09-28T08:00:00Z"
}
]
}