SDK Reference v2.0.0 / ParticipantInfo

ParticipantInfo

struct ParticipantInfo : Decodable

Information about a participant.


ID
typealias MyDataHelpsKit.ParticipantInfo.ID = ScopedIdentifier<ParticipantInfo, String>

Internal, stable, unique ID for a participant.

participantID
let participantID: ID

Internal, stable, unique ID for the participant.

projectID
let projectID: Project.ID

Auto-generated internal ID for the project.

participantIdentifier
let participantIdentifier: String

Project-set, unique participant identifier.

secondaryIdentifier
let secondaryIdentifier: String?

(DEPRECATED) An alias for a custom field named SecondaryIdentifier, if one exists. See deprecation notice.

demographics
let demographics: ParticipantDemographics

All demographic fields populated for the participant. Unpopulated values are nil.

customFields
let customFields: [String : String]

Key/value pairs representing project-specific custom fields.

enrollmentDate
let enrollmentDate: Date?

Date when the participant completed enrollment.