Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application data verification #1621

Open
f1sh1918 opened this issue Sep 9, 2024 · 0 comments
Open

Application data verification #1621

f1sh1918 opened this issue Sep 9, 2024 · 0 comments
Labels
Milestone

Comments

@f1sh1918
Copy link
Contributor

f1sh1918 commented Sep 9, 2024

Is your feature request related to a problem? Please describe.
The application data send by verein360 has to be validated before building data structure and store it in the database

Describe the solution you'd like

  • check that all mandatory fields have data
  • birthday >= 16 years
  • email address must be valid format
  • regionIdentifier must exist in the database (regions table), bring the identifier in the correct format first (leading zero and only 4 digits)
  • organization contact person and applicant can't be the same
  • workSince: >=2years

if the validation of a field fails, send an error response with information what is incorrect

blocked by: #1620

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant