Match data
Match data are details entered for a played match.
They include:
- result;
- events;
- statistics;
- referees;
- lineups;
- notes;
- report or summary.
Result
The result is the most important match value. It affects standings, statistics and public output.
Events
Events describe what happened in the match.
In football:
- goal;
- own goal;
- yellow card;
- red card;
- substitution;
- penalty;
- missed penalty.
An event usually contains:
- event type;
- team;
- person;
- second person if needed;
- minute;
- value or note.
Statistics
Statistics are numeric values tracked for a match, team or player.
Examples:
- shots;
- shots on target;
- corners;
- fouls;
- offsides;
- possession.
Statistics must exist in the statistics dictionary before they can be used.
Referees
Referees must be created as people and assigned to the project before they can be selected for a match.
Lineups
A lineup defines who played for each team.
It can contain:
- starting players;
- substitutes;
- captain;
- goalkeeper;
- substitutions.
If the lineup editor is not available in a specific area, first check that players are assigned to teams and that the relevant component part is implemented.
Recommended post-match workflow
- open the match;
- check date, time and teams;
- enter the result;
- add events;
- add statistics;
- add referees;
- check frontend output;
- check the standings.