Skip to content

NewParticipant

One newly-added participant surfaced on the New Records / New Entities view. Carries the same identity payload as PotentialMatch plus a pre-computed possibleDuplicateCount so the row’s “N matches” pill (REQ-004) renders without a follow-up query per row.

FieldArgsTypeDescription
idID!ID of the participant. Same as entity.id; lifted for caller convenience.
nameString!Canonical name as stored.
createdAtDateTime!When the row was created (participants.created_at).
firstSeenProviderStringProvider that first introduced the participant, derived from participants.legacy_ids. Null when the entity was manually created or carries no recognised provider key.
possibleDuplicateCountInt!Number of candidate duplicates the v1 matcher would surface for this entity right now (same case-insensitive contains rule used by potentialMatches). Drives the “1 match” / “N matches” / “No matches” pill on each row (REQ-004) — no per-row follow-up query needed.
entityEntity!The participant itself, polymorphic — reuses the Entity union.