Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Property

Type

Values

Example

Name

name

text

Female U15A Playoffs

Female U15A Playoffs

Season

seasonId

enum

  • 2022-23

  • 2021-22

  • 2020-21

  • 2019-20

  • 2018-19

2021-22

Office

officeId

fk to Office

(from db)

785 (PCAHA Female)

Type

type

enum

  • Exhibition

  • Placement

  • League

  • Playoffs

  • Tournament2

  • Championship

Playoffs

Division1

division

enum

  • U63

  • U7

  • U21

  • Junior

  • Senior

  • Adult

U15

Gender1

gender

enum

  • Integrated3

  • Female

Female

Category1

category

enum

  • AAA3

  • AA

  • A

  • B

  • C

  • Academy

  • Prep

A

Start Date

startDate

date

2022-01-31

End Date

endDate

date

2022-03-06

...

2 Worth noting that when designing schedules, an assumption made was that associations could have multiple tournaments for a single division. In practice, this doesn’t seem to be the case, but this design would allow for this. e.g., Kamloops could have a U13C tournament at the start and end of the season, but in practice they’ll have a U13C tournament in the fall and a U15C tournament in the winter, if not concurrently. Downside of this design is you have to create two separate schedules in this scenario, so you can’t link to a single page for an event like this.

3 These are hardcoded enum values and will need to be aligned with SID soon to allow flexibility for multi-sports.

Relations

Office

A schedule belongs to a single Office. An office does not have any concept of division/gender/category, which generally is defined by a schedule or team belonging to the office, and further enforced by permissions which may be limited in this way.

...