This document proposes a data model for a Google Forms killer, focusing on flexibility, scalability, and enhanced user interaction.
Provides comprehensive structure for forms, including essential metadata and an ordered field layout.
Field Types Enumeration
Enumerating field types standardizes input options.
Field Model
Supports various field types with additional features like dropdown options and conditional visibility.
Field Options Example
Enables flexibility in defining dropdown options, allowing for customization without altering the database schema.
Field Conditionals Example
Provides a structured and flexible approach to defining conditional visibility rules.
FileUpload Model
Manages file attachments, linking them to fields with necessary metadata.
Submission Model
Captures user responses and associated metadata for each form submission, enabling detailed analysis and tracking.
Responses Object Example
Efficiently captures varied responses, adaptable to different field types.
Provides valuable context for each submission.
CustomLink Model
Manages the creation and tracking of unique links for sharing forms, enabling control over link distribution, access, and analytics.