SportsDataIO · Schema

StartingLineups

Sports DataStatisticsLive ScoresFantasy SportsOddsNFLNBAMLBNHLSoccer

Properties

Name Type Description
GameID integer The unique ID of the game tied to the StartingLineups
Season integer The MLB season of the game
SeasonType integer The type of season that this record corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 4=Offseason; 5=AllStar)
Day stringnull The day of the game
DateTime stringnull The date and time of the game in US Eastern Time
Status stringnull Indicates the game's status. Possible values include: Scheduled; InProgress; Final; Suspended; Delayed; Postponed; Canceled; Forfeit; NotNecessary.
HomeTeamID integernull The unique ID of the home team tied to these StartingLineups
HomeTeam stringnull The abbreviation [Key] of the Home Team
AwayTeamID integernull The unique TeamID of the away team
AwayTeam stringnull The abbreviation [Key] of the away team
HomeStartingPitcher object Home team starting pitcher. Note: this is a probable pitcher until confirmed field = TRUE.
HomeBattingLineup array The batting lineup of the home team
AwayStartingPitcher object Away team starting pitcher. Note: this is a probable pitcher until confirmed field = TRUE.
AwayBattingLineup array Away team batting lineup for the game
HomeTeamOpener booleannull Indicates whether the home team will use an Opener as the starting pitcher. NOTE: An opener is a pitcher (typically a relief pitcher) that is only scheduled to pitch the first 1-3 innings of the game.
AwayTeamOpener booleannull Indicates whether the away team will use an Opener as the starting pitcher. NOTE: An opener is a pitcher (typically a relief pitcher) that is only scheduled to pitch the first 1-3 innings of the game.
View JSON Schema on GitHub

JSON Schema

sportsdataio-startinglineups-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/StartingLineups",
  "title": "StartingLineups",
  "properties": {
    "GameID": {
      "type": "integer",
      "description": "The unique ID of the game tied to the StartingLineups"
    },
    "Season": {
      "type": "integer",
      "description": "The MLB season of the game"
    },
    "SeasonType": {
      "type": "integer",
      "description": "The type of season that this record corresponds to (1=Regular Season; 2=Preseason; 3=Postseason; 4=Offseason; 5=AllStar)"
    },
    "Day": {
      "type": [
        "string",
        "null"
      ],
      "description": "The day of the game"
    },
    "DateTime": {
      "type": [
        "string",
        "null"
      ],
      "description": "The date and time of the game in US Eastern Time"
    },
    "Status": {
      "type": [
        "string",
        "null"
      ],
      "description": "Indicates the game's status. Possible values include: Scheduled; InProgress; Final; Suspended; Delayed; Postponed; Canceled; Forfeit; NotNecessary."
    },
    "HomeTeamID": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The unique ID of the home team tied to these StartingLineups"
    },
    "HomeTeam": {
      "type": [
        "string",
        "null"
      ],
      "description": "The abbreviation [Key] of the Home Team"
    },
    "AwayTeamID": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The unique TeamID of the away team"
    },
    "AwayTeam": {
      "type": [
        "string",
        "null"
      ],
      "description": "The abbreviation [Key] of the away team"
    },
    "HomeStartingPitcher": {
      "$ref": "#/components/schemas/Lineup",
      "description": "Home team starting pitcher. Note: this is a probable pitcher until confirmed field = TRUE."
    },
    "HomeBattingLineup": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Lineup"
      },
      "description": "The batting lineup of the home team"
    },
    "AwayStartingPitcher": {
      "$ref": "#/components/schemas/Lineup",
      "description": "Away team starting pitcher. Note: this is a probable pitcher until confirmed field = TRUE."
    },
    "AwayBattingLineup": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Lineup"
      },
      "description": "Away team batting lineup for the game"
    },
    "HomeTeamOpener": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Indicates whether the home team will use an Opener as the starting pitcher. NOTE: An opener is a pitcher (typically a relief pitcher) that is only scheduled to pitch the first 1-3 innings of the game."
    },
    "AwayTeamOpener": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "Indicates whether the away team will use an Opener as the starting pitcher. NOTE: An opener is a pitcher (typically a relief pitcher) that is only scheduled to pitch the first 1-3 innings of the game."
    }
  }
}