dtoQuestionDefinition
QuestionDefinition is a single intake question to present to the customer. The questionnaire is a conditional tree flattened into an ordered list: each question_uuid appears exactly once, and a question with a non-empty conditions list is a follow-up that should only be shown once one of its conditions is satisfied.
- conditionsType:Properties: 2
conditions lists the parent answers that reveal this follow-up question; show it when ANY condition is satisfied. Empty for questions shown unconditionally.
- inputType: enum
Type InputType is the UI input control a questionnaire question should render.
valuesINPUT_TYPE_UNKNOWNINPUT_TYPE_RADIOINPUT_TYPE_DROPDOWNINPUT_TYPE_CHECKBOXINPUT_TYPE_TEXTINPUT_TYPE_DATE - Properties: 2optionsType: array of dtoQuestionOption
- questionType: string
Text - questionType: string
Uuid - requiredType: boolean
required is true for questions shown unconditionally; answer them on every submission. Conditional follow-ups have required = false: answer them when one of their conditions is met.