person.linked
An unlinked person was linked to the person they are (or unlinked, or linked to someone else): from the link on, their punches are that person’s. Carries both ids and the sender’s ids, so a sink can tell the sender who they are (Connect sets the person’s id from it, and their punches carry it from then on). Sent once for each 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.linked
Fields
| Field | Type | Required | Description |
|---|---|---|---|
tenant | string | yes | The tenant. |
unlinked | string | yes | The unlinked person’s id in the tenant. |
person | string or null | yes | The person they are linked to: an id the tenant knows them by (an employee id). Null: unlinked. |
previous | string or null | yes | The person they were linked to before; null: no one. |
sender | object | yes | The sender’s ids of the person, as their punches said. |
sender.tenant | string | yes | The Connect tenant. |
sender.group | string | The sync group that keeps the person, where the sender has one. | |
sender.endpoint | string | yes | The endpoint of the device. |
sender.person | string | yes | Connect’s own id of the person: opaque. |
sender.user_id | string | yes | The user’s id on the device. |
sender.device | string | yes | The device they last punched at. |
by | string | yes | Who linked them. |
at | string (date-time) | yes | When the link was stored: their punches are the person’s from then on. |
Example
{ "tenant": "acme", "unlinked": "hq~0c6f2a1e-7d43-4b8e-9a51-3f2e8d6c4b10", "person": "4471", "previous": null, "sender": { "tenant": "default", "group": "hq", "endpoint": "office", "person": "0c6f2a1e-7d43-4b8e-9a51-3f2e8d6c4b10", "user_id": "1001", "device": "CG0001" }, "by": "lead", "at": "2026-10-07T15:00:00Z"}JSON Schema
person.linked.json
{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "urn:houradvantage:events:3:person.linked", "title": "person.linked: data", "description": "An unlinked person was linked to the person they are (or unlinked, or linked to someone else): from the link on, their punches are that person's. Carries both ids and the sender's ids, so a sink can tell the sender who they are (Connect sets the person's id from it, and their punches carry it from then on). Sent once for each 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." }, "unlinked": { "type": "string", "description": "The unlinked person's id in the tenant." }, "person": { "type": [ "string", "null" ], "description": "The person they are linked to: an id the tenant knows them by (an employee id). Null: unlinked." }, "previous": { "type": [ "string", "null" ], "description": "The person they were linked to before; null: no one." }, "sender": { "$ref": "#/$defs/sender" }, "by": { "type": "string", "description": "Who linked them." }, "at": { "type": "string", "format": "date-time", "description": "When the link was stored: their punches are the person's from then on." } }, "required": [ "tenant", "unlinked", "person", "previous", "sender", "by", "at" ], "$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", "person": "4471", "previous": null, "sender": { "tenant": "default", "group": "hq", "endpoint": "office", "person": "0c6f2a1e-7d43-4b8e-9a51-3f2e8d6c4b10", "user_id": "1001", "device": "CG0001" }, "by": "lead", "at": "2026-10-07T15:00:00Z" } ]}