Team Schema - Andrew-Casner/Sportrakker GitHub Wiki
Team Schema
Overview
A team is the second highest level of organization under and organization. All organizations can have multiple teams, but each team can only have one organization. Organization is the parent and teams are the children. Teams are divided by sex. If a school has a multi gender sport such as swimming, track, and basketball for example, they will have a boys and a girls team for each. Teams contain the team results, athletes, and staff.
Data
Basic Info
name: String // The name of the Team
sex: Number, // 0 = female, 1 = male
stateClass: String, // Class the team competes in, ie 5A
organization: String, // Parent organization
staff: [String], // All Staff
players: [String], // All athletes on the team
Results
results: [String] // All team results