Common Data Format - Official Match Data

Type: object

Version 0.3.2

This schema defines the Official Match Data as described in the Common Data Format paper.


Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: object

Type: const
Specific value: true
Type: object

Type: object

The following properties are required:

  • first_half_extratime
  • second_half_extratime
Type: object

If the conditions in the "If" tab are respected, then the conditions in the "Then" tab should be respected. Otherwise, the conditions in the "Else" tab should be respected.

Type: object

Type: object

Type: const
Specific value: true
Type: object

Type: object

The following properties are required:

  • shootout

Type: string

Unique match identifier

Type: object

Type: boolean

Denotes whether the game was hosted in a neutral venue (true) or not (false)

Type: boolean

Denotes whether the game went to extra time (true) or not (false)

Type: boolean

Denotes whether the game had a penalty shootout (true) or not (false)

Type: object

Type: object

Type: integer

Result after the final whistle excluding penalty shootout goals (i.e. home goals, away goals)

Type: integer

Result after the final whistle excluding penalty shootout goals (i.e. home goals, away goals)

Type: string or null

Unique identifier of the winning team, null when the match was drawn and no shootout was played

Type: object

Type: integer

Result after the first half (i.e. home goals, away goals)

Type: integer

Result after the first half (i.e. home goals, away goals)

Type: object

Type: integer

Result after the second half (i.e. home goals, away goals)

Type: integer

Result after the second half (i.e. home goals, away goals)

Type: object

Required if has_extratime is true

Type: integer

Result after the first half of extra time (i.e. home goals, away goals). Only required if a game goes to extra time.

Type: integer

Result after the first half of extra time (i.e. home goals, away goals). Only required if a game goes to extra time.

Type: object

Required if has_extratime is true

Type: integer

Result after the second half of extra time (i.e. home goals, away goals). Only required if a game goes to extra time.

Type: integer

Result after the second half of extra time (i.e. home goals, away goals). Only required if a game goes to extra time.

Type: object

Required if has_shootout is true

Type: integer

Score for the penalty shootout (i.e. home goals, away goals, shootout goals only). Only required if a game goes to shootout.

Type: integer

Score for the penalty shootout (i.e. home goals, away goals, shootout goals only). Only required if a game goes to shootout.

Type: object

Type: object

Type: string

Unique identifier for the home or away team

Type: string

Short name of the home or away team

Type: string

Formation label of the team (e.g. '4-4-2')

Type: array of object
No Additional Items

Each item of this array must be:

Type: object

Type: string

Unique player identifier

Type: string

First name

Type: string

Last name

Type: string

Short name. For example "Mohamed Salah Hamed Mahrous Ghaly" as "Mo Salah" (or "Mohamed Salah") or "Givanildo Vieira de Sousa" as "Hulk".

Type: string

Unique team identifier denoting the team the player plays for

Type: integer

Jersey number for a player

Type: boolean

Denotes whether a player started the game (true) or not (false)

Type: boolean

Denotes whether a player played in game (true) or not (false)

Type: string

Maiden name. For example, "Smith" for Sophia Wilson.

Type: enum (of string)

Position group acronym given according to the CDF-compatible groups

Must be one of:

  • "GK"
  • "DF"
  • "MF"
  • "FW"
  • "SUB"

Type: enum (of string)

Position label acronym per player given according to the CDF-compatible labels

Must be one of:

  • "GK"
  • "LB"
  • "LCB"
  • "CB"
  • "RCB"
  • "RB"
  • "LDM"
  • "CDM"
  • "RDM"
  • "LM"
  • "LCM"
  • "CM"
  • "RCM"
  • "RM"
  • "LAM"
  • "CAM"
  • "RAM"
  • "LW"
  • "LCF"
  • "CF"
  • "RCF"
  • "RW"
  • "SUB"

Type: boolean

Whether the player is a captain (true) or not (false)

Type: stringFormat: date

A player's date of birth in YYYY-MM-DD format

Must match regular expression: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$

Type: integer

Height of a player in cm

Type: enum (of string)

A player's dominant foot, which can take the values left, right or both

Must be one of:

  • "left"
  • "right"
  • "both"

Type: string

Additional identifier(s) of the player

Type: array of object
No Additional Items

Each item of this array must be:

Type: object

Type: string

Unique identifier for a coach

Type: string

First name

Type: string

Last name

Type: string

Short name, a combination of First name and Last name

Type: array of object
No Additional Items

Each item of this array must be:

Type: object

Type: string

Unique identifier for the official

Type: string

First name of the official, null if not available

Type: string

Last name of the official, null if not available

Type: string

Short name of the official, null if not available

Type: enum (of string)

Role of the official (e.g., 'mainreferee', 'assistantreferee', 'fourth_official')

Must be one of:

  • "main_referee"
  • "fourth_official"
  • "assistant_referee"
  • "video_assistant_referee"
  • "assistant_video_assistant_referee"
  • "reserve_assistant_referee"
  • "support_video_assistant_referee"

Type: object

Type: array of object or null
No Additional Items

Each item of this array must be:

Type: object

Type: stringFormat: date-time

Time a player scored

Type: enum (of string)

Period of the game when the goal was scored

Must be one of:

  • "first_half"
  • "second_half"
  • "first_half_extratime"
  • "second_half_extratime"
  • "shootout"

Type: string

Identifier of the team that scored (for own goals this should be identifier of the team that gained a goal)

Type: string

Identifier of the player who scored

Type: string or null

Identifier of the player who assisted, if the goal was assisted else leave as null.

Type: boolean

Denotes whether it was an own goal (true) or not (false)

Type: boolean

Denotes whether it was a penalty (true) or not (false)

Type: object

Type: integer

Team score after the goal

Type: integer

Team score after the goal

Type: array of object or null
No Additional Items

Each item of this array must be:

Type: object

Type: string

Identifier of the team that made the substitution

Type: stringFormat: date-time

Time in UTC a player is substituted in

Type: enum (of string)

Period of the game when the substitution occurred

Must be one of:

  • "first_half"
  • "second_half"
  • "first_half_extratime"
  • "second_half_extratime"

Type: string

Unique identifier of the player substituted in

Type: stringFormat: date-time

Time the player was substituted out

Type: string

Identifier of the player that is substituted out

Type: array of object or null
No Additional Items

Each item of this array must be:

Type: object

Type: string

Identifier of the team that made the received a card

Type: stringFormat: date-time

Time in UTC a player received a card

Type: enum (of string)

Period of the game when the card was shown

Must be one of:

  • "first_half"
  • "second_half"
  • "first_half_extratime"
  • "second_half_extratime"
  • "shootout"

Type: string

Identifier of the player who received a card

Type: enum (of string)

Type of card which can be yellowcard, redcard or secondyellowcard

Must be one of:

  • "yellow_card"
  • "red_card"
  • "second_yellow_card"

Type: object

Type: string

Match sheet data vendor name (e.g. "company_a")