SDK Reference v2.0.0 / ProjectInfo

ProjectInfo

struct ProjectInfo : Identifiable, Decodable

Information about the project and its settings.


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

Unique project identifier.

id
let id: ID

Unique project identifier.

name
let name: String

Project’s display name, localized based on participant’s language settings.

description
var description: String?

Project’s display description, localized based on participant’s language settings.

code
let code: String

Code used by participants to enroll in this project, if code enrollment is allowed.

type
let type: ProjectType

Project type, displayed to participants and used to filter search results.

organization
let organization: Organization

Information about the organization for this project.

supportEmail
var supportEmail: String?

Contact email for project support displayed to participants.

supportPhone
var supportPhone: String?

Contact number for project support displayed to participants.

learnMoreURL
var learnMoreURL: URL? { get }

A URL where participants can learn more about the project.

learnMoreTitle
let learnMoreTitle: String?

Site name or title to use as a label for the learnMoreURL, localized based on participant’s language settings.