SportsDataIO · Schema

BettingEvent

Sports DataStatisticsLive ScoresFantasy SportsOddsNFLNBAMLBNHLSoccer

Properties

Name Type Description
BettingEventID integer The unique ID assocated with the betting event
Name stringnull The name of this betting event
Season integernull The MLB season of the betting event
BettingEventTypeID integer The ID associated with the type of betting event
BettingEventType stringnull Indicates the type of betting event - Game or Future
StartDate stringnull The furthest forward time any book has a market set to close for this betting event
Created stringnull The date and time when this betting event was created in US Eastern Time
Updated stringnull The date and time of the last update made to this betting event (in US Eastern Time)
GameID integernull The unique ID of the game tied to this BettingEvent
GlobalGameID integernull A globally unique ID for the game tied to this BettingEvent. This value is guaranteed to be unique across all sports/leagues.
GameStatus stringnull The status of the game in tied to this event
Quarter stringnull The quarter of the game tied to this event
AwayTeam stringnull The abbreviation [Key] of the away team
HomeTeam stringnull The abbreviation [Key] of the Home Team
AwayTeamID integernull The unique TeamID of the away team in the game tied to this BettingEvent
HomeTeamID integernull The unique ID of the home team tied to this BettingEvent
GlobalAwayTeamID integernull A globally unique ID for the away team tied to this BettingEvent This value is guaranteed to be unique across all sports/leagues
GlobalHomeTeamID integernull A globally unique ID for the home team tied to this BettingEvent. This value is guaranteed to be unique across all sports/leagues.
AwayTeamScore integernull Score of the away team tied to this betting event (updated after game ends to allow for resolving bets)
HomeTeamScore integernull Score of the home team tied to this betting event (updated after game ends to allow for resolving bets)
TotalScore integernull The combined scores of the home and away team of the game tied to this event (post-game)
AwayRotationNumber integernull Rotation number of away team for this game
HomeRotationNumber integernull Rotation number of home team for this game
BettingMarkets array The list of betting markets for this event
GameStartTime stringnull The date and time the game starts
View JSON Schema on GitHub

JSON Schema

sportsdataio-bettingevent-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/BettingEvent",
  "title": "BettingEvent",
  "properties": {
    "BettingEventID": {
      "type": "integer",
      "description": "The unique ID assocated with the betting event"
    },
    "Name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The name of this betting event"
    },
    "Season": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The MLB season of the betting event"
    },
    "BettingEventTypeID": {
      "type": "integer",
      "description": "The ID associated with the type of betting event"
    },
    "BettingEventType": {
      "type": [
        "string",
        "null"
      ],
      "description": "Indicates the type of betting event - Game or Future"
    },
    "StartDate": {
      "type": [
        "string",
        "null"
      ],
      "description": "The furthest forward time any book has a market set to close for this betting event"
    },
    "Created": {
      "type": [
        "string",
        "null"
      ],
      "description": "The date and time when this betting event was created in US Eastern Time"
    },
    "Updated": {
      "type": [
        "string",
        "null"
      ],
      "description": "The date and time of the last update made to this betting event (in US Eastern Time)"
    },
    "GameID": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The unique ID of the game tied to this BettingEvent"
    },
    "GlobalGameID": {
      "type": [
        "integer",
        "null"
      ],
      "description": "A globally unique ID for the game tied to this BettingEvent. This value is guaranteed to be unique across all sports/leagues."
    },
    "GameStatus": {
      "type": [
        "string",
        "null"
      ],
      "description": "The status of the game in tied to this event"
    },
    "Quarter": {
      "type": [
        "string",
        "null"
      ],
      "description": "The quarter of the game tied to this event"
    },
    "AwayTeam": {
      "type": [
        "string",
        "null"
      ],
      "description": "The abbreviation [Key] of the away team"
    },
    "HomeTeam": {
      "type": [
        "string",
        "null"
      ],
      "description": "The abbreviation [Key] of the Home Team"
    },
    "AwayTeamID": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The unique TeamID of the away team in the game tied to this BettingEvent"
    },
    "HomeTeamID": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The unique ID of the home team tied to this BettingEvent"
    },
    "GlobalAwayTeamID": {
      "type": [
        "integer",
        "null"
      ],
      "description": "A globally unique ID for the away team tied to this BettingEvent This value is guaranteed to be unique across all sports/leagues"
    },
    "GlobalHomeTeamID": {
      "type": [
        "integer",
        "null"
      ],
      "description": "A globally unique ID for the home team tied to this BettingEvent. This value is guaranteed to be unique across all sports/leagues."
    },
    "AwayTeamScore": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Score of the away team tied to this betting event (updated after game ends to allow for resolving bets)"
    },
    "HomeTeamScore": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Score of the home team tied to this betting event (updated after game ends to allow for resolving bets)"
    },
    "TotalScore": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The combined scores of the home and away team of the game tied to this event (post-game)"
    },
    "AwayRotationNumber": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Rotation number of away team for this game"
    },
    "HomeRotationNumber": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Rotation number of home team for this game"
    },
    "BettingMarkets": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/BettingMarket"
      },
      "description": "The list of betting markets for this event"
    },
    "GameStartTime": {
      "type": [
        "string",
        "null"
      ],
      "description": "The date and time the game starts"
    }
  }
}