DEV

Type.

Question

No description

Fields

answerType

•

AnswerType!

Required

No description

code

•

String!

Required

Stable per-version code, e.g. 'intended_use'.

displayCondition

•

DisplayCondition

Predicate over prior answers in the same session gating whether this question is shown. Null = always visible. Well-formedness is enforced at version publish.

displayOrder

•

Int!

Required

No description

effectKey

•

String

Attribute key or ItemComposition field name to write under. Set whenever effectTarget is set.

effectTarget

•

EffectTarget

Where this question's answer is written on the federated Item when the response is finalized. Null = pure informational/branching — writes nothing to the catalog.

helpText

•

String

No description

id

•

ID!

Required

No description

Required

Answer options (for SINGLE_SELECT / MULTI_SELECT), in display order.

optionsSource

•

String

Token identifying which OptionsProvider backs this question's options dynamically (e.g. 'FDA_PCB'). Null = static answer_option rows (options field only). When set, the question's full reachable option space is delivered up-front in the session line's dependentOptions table rather than resolved per-render server-side.

prompt

•

String!

Required

No description

required

•

Boolean!

Required

No description

rowGroup

•

String

Questions sharing a non-null rowGroup value render together on one line (e.g. a value + its unit), ordered by displayOrder within the group. Null = its own line.

section

•

String

No description

sharedKey

•

String

Cross-program dedup key: questions sharing this key with an identical answer domain collect one shared answer. Null = not shared.
Book a demo

Was this page helpful?