SpecificationQuestion

Type Alias: SpecificationQuestion

[object Object]

Defined in: api/types.gen.ts:1882

Represents a specification question that is associated with an activity. This entity is used to define specific questions that members are required or allowed to answer when enrolling for an activity. Each SpecificationQuestion is linked to a specific Activity and can have various properties such as the question text in both Dutch and English, the type of the question (e.g., string, boolean, multiple choice), whether answering the question is mandatory for enrollment, and whether the answers provided for this question are visible to other members who enrolled for the same activity. Additionally, if the question type is MultipleChoice, the Options property can be used to define the available options for that question. This entity plays a crucial role in facilitating the collection of relevant information from members during the enrollment process for activities within the system.

Properties

activity?

optional activity?: Activity

Defined in: api/types.gen.ts:1908


activityId?

optional activityId?: number

Defined in: api/types.gen.ts:1890

The unique identifier of the activity to which this specification question belongs.


answers?

optional answers?: SpecificationAnswer[]

Defined in: api/types.gen.ts:1912

The collection of answers provided for this specification question. The content and format of these answers depend on the type of this specification question.


id?

optional id?: number

Defined in: api/types.gen.ts:1886

The unique identifier of a specification question, assigned incrementally.


isMandatory?

optional isMandatory?: boolean

Defined in: api/types.gen.ts:1903

Whether providing an answer for this specification question is mandatory when enrolling for the associated activity.


isPublic?

optional isPublic?: boolean

Defined in: api/types.gen.ts:1907

Whether the answers provided for this specification question are visible to other members who enrolled for the same activity.


options?

optional options?: string | null

Defined in: api/types.gen.ts:1916

The options for this specification question, applicable only if the type of this specification question is MultipleChoice. The content of this field is a list of strings representing the available options seperated by semicolons. For example: "Option 1;Option 2;Option 3".


questionDutch

[object Object]

Defined in: api/types.gen.ts:1894

The question in Dutch.


questionEnglish

[object Object]

Defined in: api/types.gen.ts:1898

The question in English.


type?

optional type?: QuestionType

Defined in: api/types.gen.ts:1899

On this page