Skip to content

Change question handling to JSON schema #1849

@ShaileshS1702

Description

@ShaileshS1702

If the questions are changed to a JSON schema, where a set of questions is stored as some predefined types with relevant attributes - each group would have more freedom regarding what questions they ask. Especially useful for backup and revue admissions, but might be useful for committees as well - who knows.

The idea is to allow certain types of questions (e.g. long text, short text, email, number, descriptive text), and then store the questions as a JSON list of those questions.

Current approach: use pydantic for validation

Will first do it for header_fields, then extend to group applications if that is successful.

TODO(: Top down

  • Update backend to validate input from applications
  • Make sure that the backend validates the answers with the questions in mind
  • Update frontend to view submissions
  • Update frontend to update JSON schema

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions