OptionaldefaultDefault value to pre-populate the input. Type should match the question type.
OptionalhelpOptional help text shown below the input. Use for clarification or examples (e.g., "Estimated annual revenue in USD").
Unique identifier for this question within the form. Used as the key in the response object returned to the agent.
Label text displayed to the user. Should be clear and concise (e.g., "Company Name", "Industry").
OptionalrequiredWhether this question must be answered. Default: false
Question type configuration. Determines which input control is rendered and validation rules.
OptionalwidthOptional width hint for the input field. Controls the visual width of the input control:
Default behavior (if not specified):
A single question in a response form.
Each question has an ID (used as the key in the response object), a label, a type (determines which input control to render), and optional validation/help text.