@idpass/data-collect-core / MembershipRecord
Interface: MembershipRecord
Defined in: interfaces/types.ts:671
Represents a membership record linking an individual to a group.
Replaces the flat memberIds: string[] array with typed metadata.
Properties
individualGuid
individualGuid:
string
Defined in: interfaces/types.ts:673
GUID of the individual member
membershipTypes
membershipTypes:
string[]
Defined in: interfaces/types.ts:675
Membership type codes (e.g., "head", "spouse", "child")
startDate
startDate:
string
Defined in: interfaces/types.ts:677
ISO date when membership started
endDate
endDate:
string|null
Defined in: interfaces/types.ts:679
ISO date when membership ended (null = ongoing)