SportsDataIO · Schema

Goal

Sports DataStatisticsLive ScoresFantasy SportsOddsNFLNBAMLBNHLSoccer

Properties

Name Type Description
GoalId integer The unique ID of the goal
GameId integer The unique ID of the game tied to this goal
TeamId integer The unique ID of the team associated with this goal
PlayerId integernull The player's unique PlayerID as assigned by SportsDataIO. Note: this ID stays with the player their entire career.
Name stringnull The full name of the player who scored the goal
Type stringnull The type of goal scored
AssistedByPlayerId1 integernull The unique ID of the first assisted player
AssistedByPlayerName1 stringnull The player's name of the first assisted player
AssistedByPlayerId2 integernull The unique ID of the second assisted player
AssistedByPlayerName2 stringnull The player's name of the second assisted player
GameMinute integernull The minute in the game in which the goal was scored
GameMinuteExtra integernull The extra minute in the game in which the goal was scored
View JSON Schema on GitHub

JSON Schema

sportsdataio-goal-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Goal",
  "title": "Goal",
  "properties": {
    "GoalId": {
      "type": "integer",
      "description": "The unique ID of the goal"
    },
    "GameId": {
      "type": "integer",
      "description": "The unique ID of the game tied to this goal"
    },
    "TeamId": {
      "type": "integer",
      "description": "The unique ID of the team associated with this goal"
    },
    "PlayerId": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The player's unique PlayerID as assigned by SportsDataIO. Note: this ID stays with the player their entire career."
    },
    "Name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The full name of the player who scored the goal"
    },
    "Type": {
      "type": [
        "string",
        "null"
      ],
      "description": "The type of goal scored"
    },
    "AssistedByPlayerId1": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The unique ID of the first assisted player"
    },
    "AssistedByPlayerName1": {
      "type": [
        "string",
        "null"
      ],
      "description": "The player's name of the first assisted player"
    },
    "AssistedByPlayerId2": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The unique ID of the second assisted player"
    },
    "AssistedByPlayerName2": {
      "type": [
        "string",
        "null"
      ],
      "description": "The player's name of the second assisted player"
    },
    "GameMinute": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The minute in the game in which the goal was scored"
    },
    "GameMinuteExtra": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The extra minute in the game in which the goal was scored"
    }
  }
}