Organization Schema - Andrew-Casner/Sportrakker GitHub Wiki
Organization Schema
Overview
An organization is currently now only a school. It fits into the heirarchy that each School is an organization that has teams associated with it. an organization does not carry much information about the class it compeats in or the sports it compeats in or any information about the students. This is intentional all information about what sports and the members of this organization are stored lower down. Currently an organization is the highest level that we define.
Data
Basic Info
name: String // The name of the Organization
type: String // The only option is currently 'High School'
district: String // The district the school belongs to
Location
address1: String // Address line 1
address2: String // Address line 2
zip: Number // Zip Code
state: String // State as a two letter code ie. 'CO'
Contact Info
phone: Number // Phone number for school
athleticDirector: String // ID of the account that is the Athletic Director
Advanced Info
studentCount: Number // Number of students at the school
Teams
teams: [String] // Array of all the team ID's the compete for this organization