Scores

Scoreboard JSON description:

{
  "eventId": string, // Event string id 
  "timestamp": DateTime // date time with time zone of last update
  "dataVersion": int, //version of data entity
  "eventStatus": string,  // shows current of event - Created, Started, Paused, Finished, Retired, Abandoned, Interrupted, Cancelled, Postponed
  "currentGameStage": int, // stage,
  "currentGameSubStage": nullable int, // substage,
  "serverNumber": nullable int, // server number ,
  "timer": { information about game timer
    "changeTime": DateTime, // date time with time zone of last timer change
    "currentTime": Date, // current date of timer  (minute of game)
    "gameStageMaxTime": nullable int, //max time of game period 
    "isTimerOn": bool // shows if timer is on ,
    "timerDirection": string, // timer direction - Up or Down,
    "isGameStageTimer": bool // shows if timer actual only for current game stage ,
  },
  "server": string, //Server - unknown or team1/team2 for teams sports or  competitor1/competitor2 for sport like tennis, depends on sport could be ball possession or tennis serve
  "periodScores": [
    {
      "type": string, // description of period score type 
      "typePlatformId": int, // service field, reserved for future
      "period": int, // period of score 
      "subPeriod": nullable int, // subperiod of score ,
      "score": string, // score direction - "0-0" for example,
    }
  ],
  "sport": string, // sport,
  "pointInfos": [  //information about points/goals
    {
          "Key": {
            "Number": int // point/ball sequence number
          },
          "Value": {
            "TeamScoredPoint": int,// Team1 = 1/ Team2 = 2
            "MinuteOfPoint": int, //minute of point/ball from period start time
                  "Value": string // used for virtual roulette: number of runs on a specific ball 0-18)
          }
        }
  ]
}

Example:

{
  "eventId": "9689794",
  "timestamp": "2023-03-01T01:22:30.0476074Z",
  "dataVersion": 442,
  "eventStatus": "Started",
  "currentGameStage": 17,
  "currentGameSubStage": null,
  "serverNumber": null,
  "timer": {
    "changeTime": "2023-03-01T01:22:29.553Z",
    "currentTime": "00:26:14",
    "gameStageMaxTime": null,
    "isTimerOn": true,
    "timerDirection": "Up",
    "isGameStageTimer": false
  },
  "server": "Unknown",
  "periodScores": [
    {
      "type": "Points",
      "typePlatformId": 1010,
      "period": 1,
      "subPeriod": null,
      "score": "49-71"
    },
    {
      "type": "Points",
      "typePlatformId": 1010,
      "period": 2,
      "subPeriod": null,
      "score": "44-53"
    },
    {
      "type": "Points",
      "typePlatformId": 1010,
      "period": 3,
      "subPeriod": null,
      "score": "5-18"
    },
    {
      "type": "Points",
      "typePlatformId": 1010,
      "period": 8,
      "subPeriod": null,
      "score": "49-71"
    }
  ],
  "pointInfos":[
    {
            "competitorId": "300157",
            "type": "Goals",
            "typePlatformId": 1,
            "number": 1,
            "minuteOfPoint": 21
        },
        {
            "competitorId": "311242",
            "type": "Goals",
            "typePlatformId": 1,
            "number": 2,
            "minuteOfPoint": 35
        },
        {
            "competitorId": "311242",
            "type": "Goals",
            "typePlatformId": 1,
            "number": 3,
            "minuteOfPoint": 40
        },
        {
            "competitorId": "300157",
            "type": "Goals",
            "typePlatformId": 1,
            "number": 4,
            "minuteOfPoint": 45
        },
        {
            "competitorId": "311242",
            "type": "Goals",
            "typePlatformId": 1,
            "number": 5,
            "minuteOfPoint": 74
        }
  ]
  "sport": "Basketball"
}