Athlete Schema - Andrew-Casner/Sportrakker GitHub Wiki
Athlete Schema
Overview
An Athlete is a child of a team that competes in events and game. All basic info is stored here, results will be stored elsewhere.
Data
Basic Info
firstName: String // The athletes first name
lastName: String // The athletes last name
birthday: Date // The athletes birthday
sex: Number // The athletes sex, 0 = female, 1 = male
hometown: String // The athletes birthplace
email: String // The athletes email
Athletic Info
height: Number // The athletes height in inches
weight: Number // The athletes weight in pounds
Results
results: [String] // The athletes results by id value
Results
teams: [String] // The teams by id the athlete belongs to