Files
sportspress/presets/team-sports/soccer.json
2017-06-09 01:15:12 +10:00

57 lines
2.8 KiB
JSON

{
"name": "Football",
"positions": [
"Goalkeeper",
"Defender",
"Midfielder",
"Forward"
],
"outcomes": [
{ "name" : "Win", "condition" : ">", "description" : "Wins" },
{ "name" : "Draw", "condition" : "=", "description" : "Draws" },
{ "name" : "Loss", "condition" : "<", "description" : "Losses" }
],
"results": [
{ "name" : "1st Half", "description" : "1st half goals" },
{ "name" : "2nd Half", "description" : "2nd half goals" },
{ "name" : "Goals", "description" : "Total goals", "primary" : 1 }
],
"performance": [
{ "name" : "Goals", "description" : "Goals", "singular" : "Goal", "icon" : "soccerball", "color" : "#222222" },
{ "name" : "Assists", "description" : "Assists", "singular" : "Assist", "icon" : "shoe", "color" : "#222222", "timed" : 0 },
{ "name" : "Yellow Cards", "description" : "Yellow cards", "singular" : "Yellow Card", "icon" : "card", "color" : "#f4d014" },
{ "name" : "Red Cards", "description" : "Red cards", "singular" : "Red Card", "icon" : "card", "color" : "#d4000f" }
],
"columns": [
{ "name" : "P", "equation" : "$eventsplayed", "description" : "Matches played" },
{ "name" : "W", "equation" : "$win", "description" : "Wins" },
{ "name" : "D", "equation" : "$draw", "description" : "Draws" },
{ "name" : "L", "equation" : "$loss", "description" : "Losses" },
{ "name" : "F", "equation" : "$goalsfor", "priority" : 3, "description" : "Goals for" },
{ "name" : "A", "equation" : "$goalsagainst", "description" : "Goals against" },
{ "name" : "GD", "equation" : "$goalsfor - $goalsagainst", "priority" : 2, "description" : "Goal difference" },
{ "name" : "Pts", "equation" : "$win * 3 + $draw", "priority" : 1, "description" : "Team points" }
],
"metrics": [
{ "name" : "Height", "description" : "Player height" },
{ "name" : "Weight", "description" : "Player weight" }
],
"statistics": [
{ "name" : "Appearances", "equation" : "$eventsplayed", "description" : "Matches played" },
{ "name" : "Win Ratio", "equation" : "$win / $eventsplayed * 100", "precision" : 2, "type" : "average", "description" : "Win ratio" },
{ "name" : "Draw Ratio", "equation" : "$draw / $eventsplayed * 100", "precision" : 2, "type" : "average", "description" : "Draw ratio" },
{ "name" : "Loss Ratio", "equation" : "$loss / $eventsplayed * 100", "precision" : 2, "type" : "average", "description" : "Loss ratio" }
],
"options": {
"mode" : "team",
"event_teams" : "2",
"event_show_players" : "yes",
"event_show_total" : "no",
"event_performance_mode" : "icons",
"event_show_player_numbers" : "yes",
"event_performance_show_minutes": "yes",
"event_split_players_by_team" : "yes",
"event_split_players_by_position" : "no",
"event_total_performance" : "all"
}
}