@idpass/data-collect-core / MembershipRecord
Interface: MembershipRecord
Defined in: interfaces/types.ts:752
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:754
GUID of the individual member
membershipTypes
membershipTypes:
string[]
Defined in: interfaces/types.ts:756
Membership type codes (e.g., "head", "spouse", "child")
startDate
startDate:
string
Defined in: interfaces/types.ts:758
ISO date when membership started
endDate
endDate:
string|null
Defined in: interfaces/types.ts:760
ISO date when membership ended (null = ongoing)