Site Handover Accepted Payload
Emitted when an invited end user accepts a site handover (SOFTC-7262) — the invitation transitions PENDING → ACCEPTED. Published from identity-service apps/auth/src/domains/handover/accept.ts, in the same Postgres transaction as the identity.site_access.granted / identity.site_access.revoked events below. Deliberately minimal: SOFTC-7101 owns the full audit-event contract for this surface, not this event.
| $id | https://schemas.texecom-prod.com/v2/events/payload/service/identity/site_handover/accepted/v1.0.0.json |
| $schema | http://json-schema.org/draft-07/schema |
Properties
invitationId
| Description |
UUID of the accepted invitation (identity.site_handover_invitations.invitation_id). |
| Type | String |
| Required |
Yes |
| Format |
uuid |
siteId
| Description |
UUID of the site handed over (identity.site_handover_invitations.site_id). |
| Type | String |
| Required |
Yes |
| Format |
uuid |
acceptedByAccountId
| Description |
UUID of the accepting end user's account (identity.site_handover_invitations.accepted_by_account_id). |
| Type | String |
| Required |
Yes |
| Format |
uuid |
Schema
{
"$id": "https://schemas.texecom-prod.com/v2/events/payload/service/identity/site_handover/accepted/v1.0.0.json",
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Site Handover Accepted Payload",
"description": "Emitted when an invited end user accepts a site handover (SOFTC-7262) — the invitation transitions PENDING → ACCEPTED. Published from identity-service apps/auth/src/domains/handover/accept.ts, in the same Postgres transaction as the identity.site_access.granted / identity.site_access.revoked events below. Deliberately minimal: SOFTC-7101 owns the full audit-event contract for this surface, not this event.",
"type": "object",
"properties": {
"invitationId": {
"description": "UUID of the accepted invitation (identity.site_handover_invitations.invitation_id).",
"type": "string",
"format": "uuid"
},
"siteId": {
"description": "UUID of the site handed over (identity.site_handover_invitations.site_id).",
"type": "string",
"format": "uuid"
},
"acceptedByAccountId": {
"description": "UUID of the accepting end user's account (identity.site_handover_invitations.accepted_by_account_id).",
"type": "string",
"format": "uuid"
}
},
"required": [
"invitationId",
"siteId",
"acceptedByAccountId"
],
"additionalProperties": false
}