{
  "$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"
    }
  }
}