# distance, heightmeter, duration must be numbers
# teamtraining can be "", "virtual", "inperson"
# teamdistance, teamheightmeter, teamduration must be numbers
# teamefforts must not be greater than individual efforts
# distance/heightmter/duration are required depending on training type
# trainingtype must be of the allowed types of the challenge
done in js
qqtodo: some sanity checks on the input data
startdate & trainingtype mandatory