Versions Compared

Key

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

...

Note that the office configuration of these rules is out of scope and covered in separate epic document.

Requirements

  • Custom positions (League sets assigner determination. Assigners would have access to their games even if they’re onboarded late

  • Assigners can add any amount of positions arbitrarily (not limited to systems) and use any custom created position (Referee 1, Referee 2, Scorekeeper Supervisor, Video Official, etc)

  • Ability to change the set of positions for a game arbitrarily based on needs

  • Improve delegation support

  • Ability to simply change assign fees mid-seasonDelegation is a first-class feature, not an after-thought. Primary assigner remains assigned to the game and is able to delegate and redelegate positions as they need.

  • Base fees for an official can be independently set of other officials

Models

AssignRule

Deprecated - Out of scope for this epic

AssignSystem

Deprecated - Out of scope for this epic

AssignFee (Pay Structure)

Deprecated - Out of scope for this epic

GameAssignSettings

All other properties deprecated as they’re moved onto GameOfficialSettings

Currently the API generates a random UUID when a position is unassigned, so this would take place of that when assigning an official. This id will be a relation to the GameOfficial id.

This behaviour will also be super convenient for migration.

Property

Type

Description

id

uuid

gameId

id

officeId

id

Primary assigner. This is based on assigner determination settings.

...

Two properties deprecated: officeId, feesId

GameOfficialSettings (or

...

GameAssignment?)

Property

Type

Description

id

uuid

Currently the API generates a random UUID when a position is unassigned, so this would take place of that when assigning an official. This id will be a relation to the GameOfficial id.

This behaviour will also be super convenient for migration.

gameId

id

officeId

id

Office responsible for assigning the position

When a game is delegated, the office of the GameAssignSettings will retain access to all assignments, but the delegated assigner will gain the ability to assign the game and the list of officials will be based on this office.

positionId

id

OfficialPosition

minLevel

number

Optional

minGrade

number

Optional

This may become deprecated if we move forward on attribute requirements.

minAge

number

Optional

amount

decimal

Optional

This would’ve previously been an assign fee ID, but it makes more sense to just have a direct amount on the official settings to limit complexity.

status

enum

Active | Draft

...