Skip to content

person.unlinked_seen

Punches arrived for someone the tenant does not know: their sender knows them by its own ids only (Connect’s id of the person, or the user on an endpoint), with no id of the tenant’s among them. They are kept as an unlinked person, and their hours are worked out with the tenant’s policy, so a manager sees them. Sent once, when they are first worked out; link them to the person they are with POST /api/attendance/tenants/{tenant}/unlinked/{id}/link. Kept in Time and Attendance’s own event log (apart from Connect’s) and delivered to its sinks: the tenant’s (/api/attendance/tenants/{tenant}/sinks) and the install’s (/api/attendance/sinks). The envelope’s endpoint is “attendance”, its package “houradvantage-attend”, and its device the unlinked person’s id. The same event sent again has the same id.

Schema id: urn:houradvantage:events:3:person.unlinked_seen

Fields

FieldTypeRequiredDescription
tenantstringyesThe tenant that took the punches.
unlinkedstringyesThe unlinked person’s id in the tenant, from the sender’s ids: ”~”, after ”.” unless that is the default tenant.
senderobjectyesThe sender’s ids of the person, as their punches said.
sender.tenantstringyesThe Connect tenant.
sender.groupstringThe sync group that keeps the person, where the sender has one.
sender.endpointstringyesThe endpoint of the device.
sender.personstringyesConnect’s own id of the person: opaque.
sender.user_idstringyesThe user’s id on the device.
sender.devicestringyesThe device they last punched at.
first_seenstring (date-time)yesWhen their first punch arrived.

Example

{
"tenant": "acme",
"unlinked": "hq~0c6f2a1e-7d43-4b8e-9a51-3f2e8d6c4b10",
"sender": {
"tenant": "default",
"group": "hq",
"endpoint": "office",
"person": "0c6f2a1e-7d43-4b8e-9a51-3f2e8d6c4b10",
"user_id": "1001",
"device": "CG0001"
},
"first_seen": "2026-10-05T13:00:06Z"
}

JSON Schema

person.unlinked_seen.json
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "urn:houradvantage:events:3:person.unlinked_seen",
"title": "person.unlinked_seen: data",
"description": "Punches arrived for someone the tenant does not know: their sender knows them by its own ids only (Connect's id of the person, or the user on an endpoint), with no id of the tenant's among them. They are kept as an unlinked person, and their hours are worked out with the tenant's policy, so a manager sees them. Sent once, when they are first worked out; link them to the person they are with POST /api/attendance/tenants/{tenant}/unlinked/{id}/link. Kept in Time and Attendance's own event log (apart from Connect's) and delivered to its sinks: the tenant's (/api/attendance/tenants/{tenant}/sinks) and the install's (/api/attendance/sinks). The envelope's endpoint is \"attendance\", its package \"houradvantage-attend\", and its device the unlinked person's id. The same event sent again has the same id.",
"type": "object",
"properties": {
"tenant": {
"type": "string",
"description": "The tenant that took the punches."
},
"unlinked": {
"type": "string",
"description": "The unlinked person's id in the tenant, from the sender's ids: \"<group>~<person>\", after \"<connect tenant>.\" unless that is the default tenant."
},
"sender": {
"$ref": "#/$defs/sender"
},
"first_seen": {
"type": "string",
"format": "date-time",
"description": "When their first punch arrived."
}
},
"required": [
"tenant",
"unlinked",
"sender",
"first_seen"
],
"$defs": {
"sender": {
"type": "object",
"description": "The sender's ids of the person, as their punches said.",
"properties": {
"tenant": {
"type": "string",
"description": "The Connect tenant."
},
"group": {
"type": "string",
"description": "The sync group that keeps the person, where the sender has one."
},
"endpoint": {
"type": "string",
"description": "The endpoint of the device."
},
"person": {
"type": "string",
"description": "Connect's own id of the person: opaque."
},
"user_id": {
"type": "string",
"description": "The user's id on the device."
},
"device": {
"type": "string",
"description": "The device they last punched at."
}
},
"required": [
"tenant",
"endpoint",
"person",
"user_id",
"device"
]
}
},
"examples": [
{
"tenant": "acme",
"unlinked": "hq~0c6f2a1e-7d43-4b8e-9a51-3f2e8d6c4b10",
"sender": {
"tenant": "default",
"group": "hq",
"endpoint": "office",
"person": "0c6f2a1e-7d43-4b8e-9a51-3f2e8d6c4b10",
"user_id": "1001",
"device": "CG0001"
},
"first_seen": "2026-10-05T13:00:06Z"
}
]
}