Hi,

I'm looking for how best to represent selections from a set of items.

For example, consider a soccer/football type game.

You would have a Player data type. The game would store a player pool of all players in that game. Each club will have a number of players from that player pool, each match will involve that club selecting a number of players from its list of players.

What is the best way to structure this data and hopefully at the type level enforce this subset type relationship?

Thanks,
Levi