Represents a participant who is able to perform roles in the event.

Used for participants who are registered in the system.

0.12.0 - Replaced Member and Guest with Person in the type.

0.4.0

interface LineupParticipantPersonPrimitive {
    age: null | number;
    firstName: string;
    fullName: string;
    gender: Gender;
    id: number;
    label: string;
    lastName: string;
    type: "Person";
    value: string;
    alias?: string;
    arbitrary?: boolean;
    birthDate?: string;
    displayName?: string;
    groupIds?: string[];
    occupation?: string;
    preferredRoles?: (string | RegExp)[];
    suffix?: string;
}

Hierarchy (view full)

Properties

age: null | number

The age of the person.

Age is a number that represents the number of years since the person was born.

firstName: string

The first name of the person.

Some people may have multiple names. In this case, their second or third name can be considered as part of the first name.

Suffixed names should not be included here. Use the suffix property instead.

// No surnames
✖️ "Carl Andrei Deogracias"
✔️ "Carl Andrei"

// No suffixes
✖️ "Anthony James Jr."
✔️ "Anthony James"

// No middle initials and surnames
✖️ "Reynald T. Ycong"
✔️ "Reynald"
fullName: string

The full name of the person.

usually the combination of the first name, last name, and the suffix, if present.

gender: Gender

The gender of the person.

id: number
label: string

The label of the participant.

lastName: string

The surname of the person.

The family name of the person.

In some cultures, the surname is placed before the first name, but it is still considered as the last name.

"Picones"
"Broncano"
"Fernandez"
type

The type of the participant.

value: string

The value of the participant.

alias?: string

The nickname of the person.

Used as an additional name for the person.

Stage names, nicknames, and other names is considered as an alias. Therefore, it is best to exclude it in the firstName property.

Instead of "Roland Mon", "RM" can be an alternative.
arbitrary?: boolean

Whether the participant is arbitrary or not. Arbitrary participants are not registered in the system.

birthDate?: string

The birth date of the person in the format "YYYY-MM-DD".

Used to calculate the age of the person.

"2003-11-08"
displayName?: string

Custom display name

This is used to display the name of the participant. Can be formulated dynamically based on the participant's properties.

???

groupIds?: string[]

The group IDs that the participant belongs to.

This is used to categorize participants into groups for better organization.

id: "8" -> "Youth Group"
id: "9" -> "Choir"
id: "10" -> "Band"
occupation?: string

The occupation of the participant, if any.

This is the job or profession of the participant.

Used to provide additional information about the participant that can be used in formulating the display name.

preferredRoles?: (string | RegExp)[]

The preferred roles of the participant.

suffix?: string

The suffix of the person.

People may have suffixes in their names. For example, Jr., Sr., and III.

0.9.0