Validation of request content
The parseJson or a separate validation method should validate the content of requests in terms of multiple factors:
- Mandatory fields
- Correct type of fields according to the data types in the Database
- Null values and empty strings
- plausible Values (for example for priority)
- Correct format and plausible values for dates
- Check for undefined fields