DEV

Type.

Question

No description

Fields

answerRevision

Int!

Required

Author-controlled semantic revision. Answers carry forward only when code and revision match.

answerType

AnswerType!

Required

No description

code

String!

Required

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

condition

String

When this question applies, as a rule expression over the item (hs_code, country_of_origin, ship_from_country, ship_to_country) — e.g. hs_code none_starts_with "72,73,74,76". Null = always. Unlike displayCondition, which reads prior answers, this reads the item, so it is fixed the moment the line exists.

defaultValue

String

Answer this question falls back to when nothing infers one — an exclusion that is not claimed unless the filer says otherwise, say. The bare value (an answerOption value for a SELECT), which arrives as an INFERRED answer the filer can change. Null = the question arrives unanswered.

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

Deprecated

No description

requirement

QuestionRequirement!

Required

How strongly this question must be answered. Only REQUIRED blocks completion.

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, asked on one line and mirrored onto the others. Scoped per item unless the key is prefixed session:, which widens it to every line in the session — for a fact about the filing rather than the goods (who is signing it), so a ten-item shipment asks once, not ten times. Null = not shared.

Was this page helpful?