Questionnaire Mechanism
The Questionnaire Mechanism is the foundation for collecting data, documents, and confirmations during compliance processes.
It allows the backend to dynamically request information by defining questionnaires, which the frontend renders without requiring code changes.
Core Components
| Component | Description |
|---|---|
| Questionnaire | A structured set of questions (text, choice, document upload) defined by the system. |
| Document | A file (e.g., ID photo, utility bill) uploaded separately and referenced in a questionnaire answer. |
| Response | The set of answers submitted by the user for a specific questionnaire. |
| Pending Requirements | A state indicating which questionnaires must be answered next. Usually delivered via webhook. |