Skip to main content

QuestionnaireQuestion

No description

type QuestionnaireQuestion {
branch: Branch
exclusiveOptions: [String!]!
name: String!
options: [QuestionnaireAnswerOption!]!
questionType: QuestionTypeEnum!
scope: QuestionScopeEnum!
subtitle: String
title: String!
}

Fields​

QuestionnaireQuestion.branch ● Branch object​

Present when this question is a branch child; evaluate it client-side to show/hide.

QuestionnaireQuestion.exclusiveOptions ● [String!]! non-null scalar​

Multi-select only: options that must be selected on their own (a subset of options). When the user picks one of these (e.g. 'none' / 'not_sure'), clear every other selection; picking any other option clears these. Empty for single-select/structured questions.

QuestionnaireQuestion.name ● String! non-null scalar​

Stable question key (persisted with each answer).

QuestionnaireQuestion.options ● [QuestionnaireAnswerOption!]! non-null object​

Selectable answers (value + display copy) for select questions (empty for structured/per-user).

QuestionnaireQuestion.questionType ● QuestionTypeEnum! non-null enum​

QuestionnaireQuestion.scope ● QuestionScopeEnum! non-null enum​

household or user scope.

QuestionnaireQuestion.subtitle ● String scalar​

Optional helper text shown under the title (why we ask / what it affects).

QuestionnaireQuestion.title ● String! non-null scalar​

Primary question prompt shown to the user.

Member Of​

QuestionnaireQuestionState object