Football Schema v0.0.1

A canonical, machine-readable model of association football in JSON-LD — competitions, seasons, clubs, matches and league tables, with the Premier League as the reference competition. Record what happened on the pitch; derive the score, the result and the table.

Data model

The core, match and table modules as a UML class diagram — generated from the schema, so it never drifts. Filled diamonds are composition, hollow triangles generalization, open arrows association; /name fields are derived (computed, not stored). Italic, dashed boxes are abstract.

UML class diagram: Competition composed of Seasons; Season composed of Matches and associated with Clubs, deriving a table of Standings; Match composed of two Lineups and a list of MatchEvents; Lineup composed of Appearances; Goal, Card and Substitution specialise MatchEvent; Player, Manager and Referee specialise Person; Club composed of Registrations and associated with its home Stadium.

Loading schema…