EA FIFA

EA FIFA - Match started

                
{
      "name": "start-match",
      "type": "match"
      "time": <milliseconds since match started>,
      "period":
      {
          "type": "match-not-started",
          "value": -1 (unused)
      },
      "payload":
      {}
}
        

EA FIFA - First half started

                
{
      "name": "start-first-half",
      "type": "match"
      "time": <milliseconds since match started>,
      "period":
      {
          "type": "half",
          "value": 1
      },
      "payload":
      {}
}
        

EA FIFA - Goal, Corner, Goal Kick, Throw In, Foul, Penalty, Offside, Possession, Free Kick

                
{
      "name":  <"goal"|"corner"|"goal-kick"...>,
      "type": "match"
      "time": <milliseconds since match started>,
      "period":
      {
          "type": "half",
          "value": 1
      },
      "payload":
      {
          "team": <home|away>,
          "type"|"ballZone"|"position": <incident-specific>
      }
}
        

FIFA - Card

                
{
      "name": "card",
      "type": "player"
      "time": <milliseconds since match started>,
      "period":
      {
          "type": "half",
          "value": 1
      },
      "payload":
      {
          "type": <yellow|red>,
          "team": <home|away>,
          "player": <player name>
      }
}
        

EA FIFA - Goal Annulment

                
{
   "name":"goal-annulment",
   "type":"match"
   "time":"<milliseconds since match started>",
   "period":
   {
       "type": "added-time",
       "value": 1
   },
   "payload":
   {
       "team": <home|away>
   }
}
        

EA FIFA - First half ended

                
{
      "name": "end-first-half",
      "type": "match"
      "time": <milliseconds since match started>,
      "period":
      {
          "type": "half",
          "value": 1
      },
      "payload":
      {}
}
        

EA FIFA - Start added time

                
{
      "name": "start-added-time",
      "type": "match"
      "time": <milliseconds since match started>,
      "period":
      {
          "type": "added-time",
          "value": 1
      },
      "payload":
      {}
}
        

EA FIFA - End added time

                
{
      "name": "end-added-time",
      "type": "match"
      "time": <milliseconds since match started>,
      "period":
      {
          "type": "added-time",
          "value": 1
      },
      "payload":
      {}
}
        

EA FIFA - End match

                
{
      "name": "end-match",
      "type": "match"
      "time": <milliseconds since match started>,
      "period":
      {
          "type": "match-ended",
          "value": 1
      },
      "payload":
      {}
}
        

Outbound messages format

EA FIFA - Game Status messages: First|second half started, Half|Full time, First|second half added time 1|2|3|4|5, Ended

                
{
	"eventMessageCount": <integer>,
	"inPlayClockSeconds": <integer>,
	"gameplayClock": "00:00",
	"gameStatus": {
  	     "id": <uuid>,
  	     "gameStatusCounter": <integer>,
  	     "gameStatusId": <integer>,
  	     "message": "FIRST_HALF_STARTED"|"HALF_TIME"|...|"ENDED"
	},
	"eventDateTime": "2022-10-26 19:25",
	"sportCode": "FIFA",
	"sentAt": <timestamp>,
}
        

EA FIFA - In game messages: Ball location, Attack, Possession, Throw in, Ball safe, Dangerous attack, Free kick, Goal, Kick off, Corner, Goal kick, Red|Yellow Card…

                
{
	"inPlay": {
  	    "id": <uuid>,
  	    "inPlayCounter": <integer>,
  	    "inPlayMessageId": <integer>,
  	    "message": "BALL_LOCATION"|"ATTACK_TEAM_A"|"GOAL_TEAM_B",
  	    "detail": {
    	    "type": "BALL_LOCATION",
    	    "data": [
      	  {
        	  "positionX": <integer>
      	  },
      	  {
        	  "positionY": <integer>
      	  }
    	]
  	}
	},
	"eventMessageCount": <integer>,
	"inPlayClockSeconds": <integer>,
	"gameplayClock": "01:18",
	"eventDateTime": "2022-10-26 19:25",
	"sportCode": "FIFA",
	"sentAt": "2022-10-26T18:25:12.184169Z",
}