lib/bracketology/competition.ex

defprotocol Bracketology.Competition do
  @moduledoc """
  The "abstract" Competition

  1. Has many participants
  2. May belong to a competition
  3. May have many competitions
  """
  alias Bracketology.Constants

  @spec competition_type(t) :: Constants.competition_type()
  def competition_type(competition)
end