SpecificationQuestion
Type Alias: SpecificationQuestion
[object Object]
Defined in: app/api/types.gen.ts:1661
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?
optionalactivity?:Activity
Defined in: app/api/types.gen.ts:1687
activityId?
optionalactivityId?:number
Defined in: app/api/types.gen.ts:1669
The unique identifier of the activity to which this specification question belongs.
answers?
optionalanswers?:SpecificationAnswer[]
Defined in: app/api/types.gen.ts:1691
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?
optionalid?:number
Defined in: app/api/types.gen.ts:1665
The unique identifier of a specification question, assigned incrementally.
isMandatory?
optionalisMandatory?:boolean
Defined in: app/api/types.gen.ts:1682
Whether providing an answer for this specification question is mandatory when enrolling for the associated activity.
isPublic?
optionalisPublic?:boolean
Defined in: app/api/types.gen.ts:1686
Whether the answers provided for this specification question are visible to other members who enrolled for the same activity.
options?
optionaloptions?:string|null
Defined in: app/api/types.gen.ts:1695
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: app/api/types.gen.ts:1673
The question in Dutch.
questionEnglish
[object Object]
Defined in: app/api/types.gen.ts:1677
The question in English.
type?
optionaltype?:QuestionType
Defined in: app/api/types.gen.ts:1678