openapi: 3.0.1
info:
title: Stats API Documentation Analytics Game API
description: Official API for Major League Baseball.
version: 2.0.0
servers:
- url: https://statsapi.mlb.com
description: Production
- url: https://beta-statsapi.mlb.com
description: Beta
- url: https://qa-statsapi.mlb.com
description: QA
- url: http://localhost:8080
description: Local
tags:
- name: Game
description: Operations pertaining to games
paths:
/api/v1/game/{game_pk}/playByPlay:
get:
tags:
- Game
summary: Get game play By Play
description: This endpoint allows you to pull the play by play of a game
operationId: playByPlay
parameters:
- name: game_pk
in: path
description: Unique Primary Key Representing a Game
required: true
schema:
type: integer
format: int32
- name: timecode
in: query
description: 'Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS'
required: false
schema:
type: string
- name: fields
in: query
description: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
required: false
schema:
uniqueItems: true
type: array
items:
type: string
- name: inclusiveTimecode
in: query
description: True to include plays that happen before or at the specified timecode
required: false
schema:
type: boolean
responses:
'200':
description: OK
content:
application/json;charset=UTF-8:
schema:
$ref: '#/components/schemas/BaseballPlayByPlayRestObject'
/api/v1/game/{game_pk}/linescore:
get:
tags:
- Game
summary: Get game linescore
description: This endpoint allows you to pull the linescore for a game
operationId: linescore
parameters:
- name: game_pk
in: path
description: Unique Primary Key Representing a Game
required: true
schema:
type: integer
format: int32
- name: timecode
in: query
description: 'Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS'
required: false
schema:
type: string
- name: fields
in: query
description: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
required: false
schema:
uniqueItems: true
type: array
items:
type: string
- name: inclusiveTimecode
in: query
description: True to include plays that happen before or at the specified timecode
required: false
schema:
type: boolean
responses:
'200':
description: OK
content:
application/json;charset=UTF-8:
schema:
$ref: '#/components/schemas/BaseballLinescoreRestObject'
/api/v1/game/{game_pk}/feed/color:
get:
tags:
- Game
summary: Get game color feed.
description: 'This API can return very large payloads. It is STRONGLY recommended that clients ask for diffs and use "Accept-Encoding: gzip" header.'
operationId: colorFeed
parameters:
- name: game_pk
in: path
description: Unique Primary Key Representing a Game
required: true
schema:
type: integer
format: int32
- name: timecode
in: query
description: 'Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS'
required: false
schema:
type: string
- name: fields
in: query
description: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
required: false
schema:
uniqueItems: true
type: array
items:
type: string
responses:
'200':
description: OK
content:
application/json;charset=UTF-8:
schema:
type: string
/api/v1/game/{game_pk}/feed/color/timestamps:
get:
tags:
- Game
summary: Retrieve all of the color timestamps for a game.
description: This can be used for replaying games. Endpoint returns all of the timecodes that can be used with diffs for /v1/game/{game_pk}/feed/color
operationId: colorTimestamps
parameters:
- name: game_pk
in: path
description: Unique Primary Key Representing a Game
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json;charset=UTF-8:
schema:
type: array
items:
type: string
/api/v1/game/{game_pk}/content:
get:
tags:
- Game
summary: Retrieve all content for a game.
operationId: content
parameters:
- name: game_pk
in: path
required: true
schema:
type: integer
format: int32
- name: highlightLimit
in: query
description: Number of results to return
required: false
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json;charset=UTF-8:
schema:
$ref: '#/components/schemas/GameContentRestObject'
/api/v1/game/{game_pk}/boxscore:
get:
tags:
- Game
summary: Get game boxscore.
description: This endpoint allows you to pull a boxscore
operationId: boxscore
parameters:
- name: game_pk
in: path
description: Unique Primary Key Representing a Game
required: true
schema:
type: integer
format: int32
- name: timecode
in: query
description: 'Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS'
required: false
schema:
type: string
- name: fields
in: query
description: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
required: false
schema:
uniqueItems: true
type: array
items:
type: string
- name: inclusiveTimecode
in: query
description: True to include plays that happen before or at the specified timecode
required: false
schema:
type: boolean
responses:
'200':
description: OK
content:
application/json;charset=UTF-8:
schema:
$ref: '#/components/schemas/BaseballBoxscoreRestObject'
/api/v1/game/{gamePk}/withMetrics:
get:
tags:
- Game
summary: Get game info with metrics
operationId: getGameWithMetrics
parameters:
- name: gamePk
in: path
description: Unique Primary Key Representing a Game
required: true
schema:
type: integer
format: int32
- name: timecode
in: query
description: 'Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS'
required: false
schema:
type: string
- name: fields
in: query
description: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
required: false
schema:
uniqueItems: true
type: array
items:
type: string
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/BaseballGameRestObject'
/api/v1/game/{gamePk}/winProbability:
get:
tags:
- Game
summary: Get the win probability for this game
operationId: getWinProbability
parameters:
- name: gamePk
in: path
description: Unique Primary Key Representing a Game
required: true
schema:
type: integer
format: int32
- name: timecode
in: query
description: 'Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS'
required: false
schema:
type: string
- name: fields
in: query
description: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
required: false
schema:
uniqueItems: true
type: array
items:
type: string
- name: inclusiveTimecode
in: query
description: True to include plays that happen before or at the specified timecode
required: false
schema:
type: boolean
responses:
'200':
description: OK
content:
'*/*':
schema:
type: array
items:
$ref: '#/components/schemas/BaseballPlayRestObject'
/api/v1/game/{gamePk}/contextMetrics:
get:
tags:
- Game
summary: Get the context metrics for this game based on its current state
operationId: getGameContextMetrics
parameters:
- name: gamePk
in: path
description: Unique Primary Key Representing a Game
required: true
schema:
type: integer
format: int32
- name: timecode
in: query
description: 'Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS'
required: false
schema:
type: string
- name: fields
in: query
description: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
required: false
schema:
uniqueItems: true
type: array
items:
type: string
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/BaseballGameContextRestObject'
/api/v1/game/changes:
get:
tags:
- Game
summary: View a game change log
operationId: currentGameStats_3
parameters:
- name: updatedSince
in: query
description: 'Format: YYYY-MM-DDTHH:MM:SSZ'
required: false
schema:
type: string
format: date-time
- name: sportId
in: query
description: Top level organization of a sport
required: false
schema:
type: integer
format: int32
x-lookup:
name: Sports
- name: sportIds
in: query
description: Comma delimited list of top level organizations of a sport
required: false
schema:
type: array
items:
type: integer
format: int32
x-lookup:
name: Sports
- name: gameType
in: query
description: Type of Game. Available types in /api/v1/gameTypes
required: false
schema:
$ref: '#/components/schemas/GameTypeEnum'
- name: gameTypes
in: query
description: Comma delimited list of type of Game. Available types in /api/v1/gameTypes
required: false
schema:
type: array
items:
$ref: '#/components/schemas/GameTypeEnum'
- name: season
in: query
description: Season of play
required: false
schema:
type: string
- name: gamePks
in: query
description: Comma delimited list of unique primary keys
required: false
schema:
uniqueItems: true
type: array
items:
type: integer
format: int32
- name: limit
in: query
description: Number of results to return
required: false
schema:
type: integer
format: int32
- name: offset
in: query
description: The pointer to start for a return set; used for pagination
required: false
schema:
type: integer
format: int32
- name: fields
in: query
description: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
required: false
schema:
uniqueItems: true
type: array
items:
type: string
responses:
'200':
description: OK
content:
'*/*':
schema:
$ref: '#/components/schemas/ScheduleRestObject'
/api/v1.1/game/{game_pk}/feed/live:
get:
tags:
- Game
summary: Get live game status.
description: 'This API can return very large payloads. It is STRONGLY recommended that clients ask for diffs and use "Accept-Encoding: gzip" header.'
operationId: liveGameV1
parameters:
- name: game_pk
in: path
description: Unique Primary Key Representing a Game
required: true
schema:
type: integer
format: int32
- name: timecode
in: query
description: 'Use this parameter to return a snapshot of the data at the specified time. Format: YYYYMMDD_HHMMSS'
required: false
schema:
type: string
- name: fields
in: query
description: 'Comma delimited list of specific fields to be returned. Format: topLevelNode, childNode, attribute'
required: false
schema:
uniqueItems: true
type: array
items:
type: string
- name: inclusiveTimecode
in: query
description: True to include plays that happen before or at the specified timecode
required: false
schema:
type: boolean
responses:
'200':
description: OK
content:
application/json;charset=UTF-8:
schema:
$ref: '#/components/schemas/BaseballGameRestObject'
/api/v1.1/game/{game_pk}/feed/live/timestamps:
get:
tags:
- Game
summary: Retrieve all of the play timestamps for a game.
description: This can be used for replaying games. Endpoint returns all of the timecodes that can be used with diffs for /v1/game/{game_pk}/feed/live
operationId: liveTimestampv11
parameters:
- name: game_pk
in: path
description: Unique Primary Key Representing a Game
required: true
schema:
type: integer
format: int32
responses:
'200':
description: OK
content:
application/json;charset=UTF-8:
schema:
type: string
/api/v1.1/game/{game_pk}/feed/live/diffPatch:
get:
tags:
- Game
summary: Get live game status.
description: 'This endpoint allows comparison of game files and shows any differences/discrepancies between the two
Diff/Patch System: startTimecode and endTimecode can be used for getting diffs.
Expected usage:
1) Request full payload by not passing startTimecode or endTimecode. This will return the most recent game state.
2) Find the latest timecode in this response.
3) Wait X seconds
4) Use the timecode from 2 as the startTimecode. This will give you a diff of everything that has happened since startTimecode.
5) If no data is returned, wait X seconds and do the same request.
6) If data is returned, get a new timeStamp from the response, and use that for the next call as startTimecode.'
operationId: liveGameDiffPatchV1
parameters:
- name: game_pk
in: path
description: Unique Primary Key Representing a Game
required: true
schema:
type: integer
format: int32
- name: startTimecode
in: query
description: 'Start time code will give you everything since that time. Format: MMDDYYYY_HHMMSS'
required: false
schema:
type: string
- name: endTimecode
in: query
description: 'End time code will give you a snapshot at that specific time. Format: MMDDYYYY_HHMMSS'
required: false
schema:
type: string
responses:
'200':
description: OK
content:
application/json;charset=UTF-8:
schema:
type: string
components:
schemas:
TeamStatData:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
note:
type: string
summary:
type: object
additionalProperties:
type: string
writeOnly: true
catchersInterference:
type: integer
format: int32
average:
type: string
onBasePercentage:
type: string
onBasePlusSlugging:
type: string
stolenBases:
type: integer
format: int32
caughtStealing:
type: integer
format: int32
slugging:
type: string
outs:
type: integer
format: int32
gidp:
type: integer
format: int32
gitp:
type: integer
format: int32
homeRuns:
type: integer
format: int32
numberOfPitches:
type: integer
format: int32
totalBases:
type: integer
format: int32
gidpOpportunites:
type: integer
format: int32
walks:
type: integer
format: int32
hitByPitch:
type: integer
format: int32
strikeouts:
type: integer
format: int32
airOuts:
type: integer
format: int32
goAo:
type: string
pitchesPerPlateAppearance:
type: number
format: double
intentionalWalks:
type: integer
format: int32
groundOuts:
type: integer
format: int32
flyOuts:
type: integer
format: int32
games:
type: integer
format: int32
gamesStarted:
type: integer
format: int32
doubles:
type: integer
format: int32
hits:
type: integer
format: int32
triples:
type: integer
format: int32
singles:
type: integer
format: int32
runs:
type: integer
format: int32
atBats:
type: integer
format: int32
pickoffs:
type: integer
format: int32
stolenBasePercentage:
type: string
wildPitches:
type: integer
format: int32
sacFlies:
type: integer
format: int32
sacBunts:
type: integer
format: int32
putouts:
type: integer
format: int32
assists:
type: integer
format: int32
chances:
type: integer
format: int32
streak:
type: integer
format: int32
battingOrder:
type: string
totalSwings:
type: integer
format: int32
swingsAndMisses:
type: integer
format: int32
ballsInPlay:
type: integer
format: int32
popOuts:
type: integer
format: int32
lineOuts:
type: integer
format: int32
flyHits:
type: integer
format: int32
popHits:
type: integer
format: int32
lineHits:
type: integer
format: int32
groundHits:
type: integer
format: int32
winStreak:
type: integer
format: int32
lossStreak:
type: integer
format: int32
plateAppearances:
type: integer
format: int32
stolenBasePercentageOrNull:
type: string
pitchesPerPlateAppearanceStr:
type: string
AdditionalBio:
type: object
properties:
id:
type: integer
format: int32
homeTown:
type: string
DraftTypeEnum:
type: string
enum:
- JR
- JS
- NS
- NR
- RV
- AL
- RA
- RT
- JD
- AD
GameStatusRestObject:
type: object
properties:
copyright:
type: string
isCurrentBatter:
type: boolean
isCurrentPitcher:
type: boolean
isOnBench:
type: boolean
isSubstitute:
type: boolean
WeatherRestObject:
type: object
properties:
copyright:
type: string
condition:
type: string
temp:
type: string
wind:
type: string
DraftTypeEnumRestObject:
type: object
properties:
copyright:
type: string
code:
type: string
description:
type: string
BaseballDefenseRestObject:
type: object
properties:
copyright:
type: string
pitcher:
$ref: '#/components/schemas/BaseballPersonRestObject'
catcher:
$ref: '#/components/schemas/BaseballPersonRestObject'
first:
$ref: '#/components/schemas/BaseballPersonRestObject'
second:
$ref: '#/components/schemas/BaseballPersonRestObject'
third:
$ref: '#/components/schemas/BaseballPersonRestObject'
shortstop:
$ref: '#/components/schemas/BaseballPersonRestObject'
left:
$ref: '#/components/schemas/BaseballPersonRestObject'
center:
$ref: '#/components/schemas/BaseballPersonRestObject'
right:
$ref: '#/components/schemas/BaseballPersonRestObject'
batter:
$ref: '#/components/schemas/BaseballPersonRestObject'
onDeck:
$ref: '#/components/schemas/BaseballPersonRestObject'
inHole:
$ref: '#/components/schemas/BaseballPersonRestObject'
battingOrder:
type: integer
format: int32
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
EducationRestObject:
type: object
properties:
copyright:
type: string
highschools:
type: array
items:
$ref: '#/components/schemas/SchoolRestObject'
colleges:
type: array
items:
$ref: '#/components/schemas/SchoolRestObject'
StatContainer:
type: object
properties:
type:
$ref: '#/components/schemas/StatType'
group:
$ref: '#/components/schemas/StatGroup'
splits:
type: array
items:
$ref: '#/components/schemas/StatSplits'
splitsTiedWithOffset:
type: array
items:
$ref: '#/components/schemas/StatSplits'
splitsTiedWithLimit:
type: array
items:
$ref: '#/components/schemas/StatSplits'
stats:
$ref: '#/components/schemas/StatData'
totalSplits:
type: integer
format: int32
player:
$ref: '#/components/schemas/BaseballPerson'
team:
$ref: '#/components/schemas/BaseballTeam'
sport:
$ref: '#/components/schemas/Sport'
season:
type: string
gameType:
$ref: '#/components/schemas/GameTypeEnum'
playerPool:
$ref: '#/components/schemas/PlayerPoolEnum'
exemptions:
type: array
items:
$ref: '#/components/schemas/PlayerListPerson'
parameters:
type: object
additionalProperties:
type: object
disclaimers:
uniqueItems: true
type: array
items:
type: string
totalSplitsIfNotSet:
type: integer
format: int32
writeOnly: true
BaseballTeamStandingsRecord:
type: object
properties:
team:
$ref: '#/components/schemas/BaseballTeam'
wins:
type: integer
format: int32
losses:
type: integer
format: int32
ties:
type: integer
format: int32
gamesBack:
type: string
wildCardGamesBack:
type: string
leagueGamesBack:
type: string
springLeagueGamesBack:
type: string
sportGamesBack:
type: string
divisionGamesBack:
type: string
conferenceGamesBack:
type: string
divisionChamp:
type: boolean
season:
type: string
streak:
type: string
lastUpdated:
type: string
format: date-time
home:
type: string
away:
type: string
lastTen:
type: string
points:
type: integer
format: int32
clinchIndicator:
type: string
divisionRank:
type: string
conferenceRank:
type: string
springLeagueRank:
type: string
leagueRank:
type: string
sportRank:
type: string
wildCardRank:
type: string
gamesPlayed:
type: integer
format: int32
place:
type: integer
format: int32
wildcardPlace:
type: integer
format: int32
wildcardOdds:
type: number
format: double
divisionOdds:
type: number
format: double
playoffOdds:
type: number
format: double
runsAllowed:
type: integer
format: int32
runsScored:
type: integer
format: int32
hasWildcard:
type: boolean
clinched:
type: boolean
eliminationNumber:
type: string
eliminationNumberWildcard:
type: string
magicNumber:
type: string
hasPlayoffPoints:
type: boolean
vsWest:
type: string
vsCentral:
type: string
vsEast:
type: string
vsInterleague:
type: string
vsRight:
type: string
vsRightHomeWin:
type: string
vsRightHomeLoss:
type: string
vsRightAwayWin:
type: string
vsRightAwayLoss:
type: string
vsLeft:
type: string
vsLeftHomeWin:
type: string
vsLeftHomeLoss:
type: string
vsLeftAwayWin:
type: string
vsLeftAwayLoss:
type: string
vsWinners:
type: string
extraInnings:
type: string
expectedWinLoss:
type: string
expectedWinLossSeason:
type: string
oneRunGames:
type: string
turf:
type: string
grass:
type: string
night:
type: string
day:
type: string
isWildCardTeam:
type: boolean
writeOnly: true
isDivisionLeader:
type: boolean
writeOnly: true
divisionRecords:
type: array
items:
$ref: '#/components/schemas/WinLossRecord'
conferenceRecords:
type: array
items:
$ref: '#/components/schemas/WinLossRecord'
leagueRecords:
type: array
items:
$ref: '#/components/schemas/WinLossRecord'
splitRecords:
type: array
items:
$ref: '#/components/schemas/WinLossRecord'
expectedRecords:
type: array
items:
$ref: '#/components/schemas/WinLossRecord'
overallRecords:
type: array
items:
$ref: '#/components/schemas/WinLossRecord'
conference:
$ref: '#/components/schemas/Conference'
wildCardLeader:
type: boolean
runDifferental:
type: integer
format: int32
winningPercentage:
type: number
format: double
RunnerDetailType:
type: string
enum:
- START_BASE
- SEQUENCE
- RUNNER_GOING
- END_BASE
- RUNNER_OUT
- FORCED_OUT
- ADVANCED_ON_FORCE
- ADVANCED_ON_THROW
- ADVANCED_ON_PLAY
- DOUBLED_OFF
- THROWN_OUT
- TAGGED_OUT
- OUT_STRETCHING
- LEFT_EARLY
- FIELDERS_CHOICE
- OUT_ON_APPEAL
- OUT_ADVANCING
- DEFENSIVE_INDIFFERENCE
- INTERFERENCE
- HIT_BY_BATTED_BALL
- OUT_OVER_RUNNING
- OUT_RETURNING
- RUNDOWN
- CAUGHT_STEALING_2B
- CAUGHT_STEALING_3B
- CAUGHT_STEALING_HOME
- PICKOFF_CAUGHT_STEALING_2B
- PICKOFF_CAUGHT_STEALING_3B
- PICKOFF_CAUGHT_STEALING_HOME
- STOLEN_BASE_2B
- STOLEN_BASE_3B
- STOLEN_BASE_HOME
- PICKOFF_1B
- PICKOFF_2B
- PICKOFF_3B
- PICKOFF_ERROR_1B
- PICKOFF_ERROR_2B
- PICKOFF_ERROR_3B
- UNKNOWN
VenueMetadata:
type: object
properties:
active:
type: boolean
capacity:
type: integer
format: int32
startYear:
type: integer
format: int32
endYear:
type: integer
format: int32
types:
type: array
items:
$ref: '#/components/schemas/VenueTypeEnum'
SportTypeEnum:
type: string
enum:
- ALL
- BASEBALL
- HOCKEY
- GOLF
- UNKNOWN
- BASKETBALL
Image:
type: object
properties:
images:
type: object
additionalProperties:
type: string
caption:
type: string
imageType:
$ref: '#/components/schemas/ImageTypeEnum'
url:
type: string
imageTypeAsString:
type: string
FieldInfoRestObject:
type: object
properties:
copyright:
type: string
capacity:
type: integer
format: int32
turfType:
type: string
roofType:
type: string
leftLine:
type: integer
format: int32
left:
type: integer
format: int32
leftCenter:
type: integer
format: int32
center:
type: integer
format: int32
rightCenter:
type: integer
format: int32
right:
type: integer
format: int32
rightLine:
type: integer
format: int32
IFeed:
type: object
properties:
date:
type: string
format: date-time
ScheduleDateRestObject:
type: object
properties:
copyright:
type: string
date:
type: string
format: date
totalItems:
type: integer
format: int32
totalEvents:
type: integer
format: int32
totalGames:
type: integer
format: int32
totalGamesInProgress:
type: integer
format: int32
games:
type: array
items:
$ref: '#/components/schemas/BaseballScheduleItemRestObject'
events:
type: array
items:
$ref: '#/components/schemas/ScheduleEventRestObject'
Venue:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
id:
type: integer
format: int32
name:
type: string
city:
type: string
location:
$ref: '#/components/schemas/Location'
timeZone:
$ref: '#/components/schemas/TimeZone'
fieldInfo:
$ref: '#/components/schemas/FieldInfo'
sportType:
$ref: '#/components/schemas/SportTypeEnum'
relatedVenues:
type: array
items:
$ref: '#/components/schemas/Venue'
parentVenues:
type: array
items:
$ref: '#/components/schemas/Venue'
residentVenues:
type: array
items:
$ref: '#/components/schemas/Venue'
relatedApplications:
type: array
items:
$ref: '#/components/schemas/RelatedApplication'
relatedImages:
type: array
items:
$ref: '#/components/schemas/Image'
socialMediaInfo:
$ref: '#/components/schemas/SocialMediaInfo'
menu:
$ref: '#/components/schemas/VenueCms'
metadata:
$ref: '#/components/schemas/VenueMetadata'
schedule:
$ref: '#/components/schemas/BaseballSchedule'
nextSchedule:
$ref: '#/components/schemas/BaseballSchedule'
previousSchedule:
$ref: '#/components/schemas/BaseballSchedule'
xrefIds:
type: array
items:
$ref: '#/components/schemas/XrefId'
season:
type: string
trackingVersion:
$ref: '#/components/schemas/TrackingVersion'
coachingVideo:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/MediaSourceType'
appEnabled:
type: boolean
active:
type: boolean
timeZoneId:
type: string
writeOnly: true
GameInfoRestObject:
type: object
properties:
copyright:
type: string
attendance:
type: integer
format: int32
firstPitch:
type: string
format: date-time
gameDurationMinutes:
type: integer
format: int32
delayDurationMinutes:
type: integer
format: int32
LaunchDataRestObject:
type: object
properties:
copyright:
type: string
speed:
type: number
format: double
angle:
type: number
format: double
spinAxis:
type: number
format: double
direction:
type: number
format: double
spinRate:
type: number
format: double
BaseballDecisionRestObject:
type: object
properties:
copyright:
type: string
hydrations:
type: array
items:
type: string
winner:
$ref: '#/components/schemas/BaseballPersonRestObject'
loser:
$ref: '#/components/schemas/BaseballPersonRestObject'
save:
$ref: '#/components/schemas/BaseballPersonRestObject'
InningPlay:
type: object
properties:
copyright:
type: string
startIndex:
type: integer
format: int32
endIndex:
type: integer
format: int32
top:
type: array
items:
type: integer
format: int32
bottom:
type: array
items:
type: integer
format: int32
hits:
$ref: '#/components/schemas/InningHitWrap'
LiveLookin:
type: object
properties:
gamePk:
type: integer
format: int32
mediaPlaybackId:
type: integer
format: int64
kicker:
type: string
headline:
type: string
playbacks:
type: array
items:
$ref: '#/components/schemas/LiveLookinPlayback'
DraftStatusEnum:
type: string
enum:
- DRAFTED
- NOT_DRAFTED
- SKIPPED
- SELECTED
- NOT_SELECTED
Split:
type: object
properties:
copyright:
type: string
batter:
type: string
pitcher:
type: string
menOnBase:
type: string
TransactionRestObject:
type: object
properties:
copyright:
type: string
id:
type: integer
format: int32
person:
$ref: '#/components/schemas/BaseballPersonRestObject'
fromTeam:
$ref: '#/components/schemas/BaseballTeamRestObject'
toTeam:
$ref: '#/components/schemas/BaseballTeamRestObject'
date:
type: string
format: date
effectiveDate:
type: string
format: date
resolutionDate:
type: string
format: date
type:
type: string
typeCode:
type: string
typeDesc:
type: string
isConditional:
type: boolean
description:
type: string
Coordinate:
type: object
properties:
x:
type: number
format: double
y:
type: number
format: double
Matchup:
type: object
properties:
copyright:
type: string
batter:
$ref: '#/components/schemas/BaseballPersonRestObject'
batSide:
$ref: '#/components/schemas/DynamicEnumRestObject'
pitcher:
$ref: '#/components/schemas/BaseballPersonRestObject'
pitchHand:
$ref: '#/components/schemas/DynamicEnumRestObject'
postOnFirst:
$ref: '#/components/schemas/BaseballPersonRestObject'
postOnSecond:
$ref: '#/components/schemas/BaseballPersonRestObject'
postOnThird:
$ref: '#/components/schemas/BaseballPersonRestObject'
batterHotColdZoneStats:
$ref: '#/components/schemas/StatsRestObject'
pitcherHotColdZoneStats:
$ref: '#/components/schemas/StatsRestObject'
batterHotColdZones:
type: array
items:
$ref: '#/components/schemas/BaseballHotColdZoneRestObject'
pitcherHotColdZones:
type: array
items:
$ref: '#/components/schemas/BaseballHotColdZoneRestObject'
splits:
$ref: '#/components/schemas/Split'
StatSplits:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
season:
type: string
stat:
$ref: '#/components/schemas/StatData'
stats:
$ref: '#/components/schemas/GroupedStatData'
gameType:
$ref: '#/components/schemas/GameTypeEnum'
team:
$ref: '#/components/schemas/BaseballTeam'
player:
$ref: '#/components/schemas/BaseballPerson'
homeTeam:
$ref: '#/components/schemas/BaseballTeam'
awayTeam:
$ref: '#/components/schemas/BaseballTeam'
numTeams:
type: integer
format: int32
numOccurrences:
type: integer
format: int32
rank:
type: integer
format: int32
league:
$ref: '#/components/schemas/League'
sport:
$ref: '#/components/schemas/Sport'
opponent:
$ref: '#/components/schemas/BaseballTeam'
venue:
$ref: '#/components/schemas/Venue'
game:
$ref: '#/components/schemas/BaseballScheduleItem'
date:
type: string
format: date
lastDatePlayed:
type: string
format: date
gameNumber:
type: integer
format: int32
split:
$ref: '#/components/schemas/DynamicLookupEnum'
gamePk:
type: integer
format: int32
dayOfTheWeek:
type: integer
format: int32
month:
type: integer
format: int32
opposingDivision:
$ref: '#/components/schemas/Division'
opposingConference:
$ref: '#/components/schemas/Conference'
isHome:
type: boolean
isWin:
type: boolean
type:
$ref: '#/components/schemas/StatType'
group:
$ref: '#/components/schemas/StatGroup'
position:
$ref: '#/components/schemas/BaseballPosition'
gameInnings:
type: integer
format: int32
exemption:
$ref: '#/components/schemas/PlayerListPerson'
TrackingVersion:
type: string
enum:
- PITCH_FX
- STATCAST_2015_COMBINED
- STATCAST_2015_RADAR_ONLY_20
- STATCAST_2017_RADAR_ONLY_20
- STATCAST_2017_COMBINED_RADAR_20
- STATCAST_2018_COMBINED_RADAR_25
- STATCAST_2018_RADAR_ONLY_25
- STATCAST_2020_12_CAM
- STATCAST_2020_8_CAM
- TRACKMAN_V3
- STATCAST_2023_12_CAM
BaseballBoxscoreNoteRestObject:
type: object
properties:
copyright:
type: string
label:
type: string
value:
type: string
BaseballChallenge:
type: object
properties:
hasChallenges:
type: boolean
awayChallengesUsed:
type: integer
format: int32
awayChallengesRemaining:
type: integer
format: int32
homeChallengesUsed:
type: integer
format: int32
homeChallengesRemaining:
type: integer
format: int32
challengingTeam:
$ref: '#/components/schemas/BaseballTeam'
reviewReason:
type: string
limit9thInning:
type: integer
format: int32
PlayerPoolEnum:
type: string
enum:
- ALL
- QUALIFIED
- ROOKIES
- QUALIFIED_ROOKIES
- ORGANIZATION
- ORGANIZATION_NO_MLB
- CURRENT
- ALL_CURRENT
- QUALIFIED_CURRENT
ScheduleEventTypes:
type: string
enum:
- ALL_STAR_WEEKEND_EVENT
- TEAM_EVENT
- EXHIBITION
- POSTSEASON_GAMES
- SPRING_TRAINING_GAMES
- PITCHERS_AND_CATCHERS_REPORT
- FULL_SQUAD_REPORTS
- STH_EVENTS
- BALLPARK_TOURS
- IMPORTANT_DATES
- OTHER
- CULTURAL_EVENTS
- TRACKING_DATA_EVENTS
- FESTIVAL
- KIDS_AND_FAMILY
- MUSIC
- PROMOTION_LOGO_BACKGROUND
- PROMOTION_LOGO_SINGE_DATE
- STUDIO_EVENT
Broadcast:
type: object
properties:
name:
type: string
type:
type: string
language:
$ref: '#/components/schemas/Language'
site:
$ref: '#/components/schemas/Site'
id:
type: integer
format: int32
homeAway:
type: string
sortOrder:
type: integer
format: int32
isNational:
type: boolean
sourceUrl:
type: string
callSign:
type: string
videoResolution:
$ref: '#/components/schemas/VideoResolutionEnum'
PlayerLeader:
type: object
properties:
rank:
type: integer
format: int32
value:
type: string
team:
$ref: '#/components/schemas/BaseballTeam'
league:
$ref: '#/components/schemas/League'
person:
$ref: '#/components/schemas/BaseballPerson'
sport:
$ref: '#/components/schemas/Sport'
season:
type: string
numTeams:
type: integer
format: int32
Coordinates:
type: object
properties:
x:
type: number
format: double
y:
type: number
format: double
z:
type: number
format: double
StatExemptionRestObject:
type: object
properties:
copyright:
type: string
exemptionId:
type: string
exemptionName:
type: string
player:
$ref: '#/components/schemas/BaseballPersonRestObject'
BaseballGameRestObject:
type: object
properties:
copyright:
type: string
gamePk:
type: integer
format: int32
link:
type: string
metaData:
$ref: '#/components/schemas/BaseballGameMetaDataRestObject'
gameData:
$ref: '#/components/schemas/BaseballGameDataRestObject'
liveData:
$ref: '#/components/schemas/BaseballGameLiveDataRestObject'
GroupedStatDataRestObject:
type: object
properties:
copyright:
type: string
standard:
$ref: '#/components/schemas/StatDataRestObject'
advanced:
$ref: '#/components/schemas/StatDataRestObject'
expected:
$ref: '#/components/schemas/StatDataRestObject'
projected:
$ref: '#/components/schemas/StatDataRestObject'
tracking:
$ref: '#/components/schemas/StatDataRestObject'
pitching:
$ref: '#/components/schemas/GroupedStatDataRestObject'
hitting:
$ref: '#/components/schemas/GroupedStatDataRestObject'
fielding:
$ref: '#/components/schemas/GroupedStatDataRestObject'
running:
$ref: '#/components/schemas/GroupedStatDataRestObject'
catching:
$ref: '#/components/schemas/GroupedStatDataRestObject'
rankings:
$ref: '#/components/schemas/GroupedStatDataRestObject'
percentiles:
$ref: '#/components/schemas/GroupedStatDataRestObject'
GameStory:
type: object
properties:
gamePk:
type: integer
format: int32
numStories:
type: integer
format: int32
link:
type: string
thumbnail:
type: string
thumbnailTemplate:
type: string
lastUpdatedTime:
type: string
format: date-time
name:
type: string
status:
type: string
pages:
type: integer
format: int32
PublicFacingEnum:
type: string
enum:
- PUBLIC_FACING
- NON_PUBLIC_FACING
- ALL
BaseballPerson:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
primaryPosition:
$ref: '#/components/schemas/BaseballPosition'
stats:
$ref: '#/components/schemas/Stats'
otherNames:
$ref: '#/components/schemas/OtherNames'
id:
type: integer
format: int32
firstName:
type: string
useName:
type: string
middleName:
type: string
lastName:
type: string
useLastName:
type: string
nickName:
type: string
nickNames:
type: array
items:
type: string
boxscoreName:
type: string
primaryNumber:
type: string
rosterNumber:
type: string
draftYear:
type: integer
format: int32
age:
type: integer
format: int32
birthCity:
type: string
birthStateProvince:
type: string
birthCountry:
type: string
birthDate:
type: string
format: date
deathCity:
type: string
deathStateProvince:
type: string
deathCountry:
type: string
deathDate:
type: string
format: date
lastPlayedDate:
type: string
format: date
pronunciation:
type: string
fullName:
type: string
height:
type: integer
format: int32
heightFeet:
type: integer
format: int32
heightInches:
type: integer
format: int32
weight:
type: integer
format: int32
currentTeam:
$ref: '#/components/schemas/BaseballTeam'
isRookie:
type: boolean
isActive:
type: boolean
gender:
type: string
nameMatrilineal:
type: string
isPlayer:
type: boolean
isVerified:
type: boolean
isAlternateCaptain:
type: boolean
isCaptain:
type: boolean
twitter:
type: string
awards:
type: array
items:
$ref: '#/components/schemas/Award'
socialMediaInfo:
$ref: '#/components/schemas/SocialMediaInfo'
educationInfo:
$ref: '#/components/schemas/EducationInfo'
photos:
type: array
items:
$ref: '#/components/schemas/Photo'
draft:
type: array
items:
$ref: '#/components/schemas/PlayerDraftInfo'
additionalBio:
$ref: '#/components/schemas/AdditionalBio'
phoneticName:
type: string
nationality:
type: string
batSide:
$ref: '#/components/schemas/DynamicLookupEnum'
pitchHand:
$ref: '#/components/schemas/DynamicLookupEnum'
mlbDebutDate:
type: string
format: date
batterPitcher:
type: string
note:
type: string
nameSlug:
type: string
nameTitle:
type: string
namePrefix:
type: string
nameFirstLast:
type: string
firstLastName:
type: string
lastFirstName:
type: string
lastInitName:
type: string
initLastName:
type: string
fullFMLName:
type: string
fullLFMName:
type: string
strikeZoneTop:
type: number
format: double
strikeZoneBottom:
type: number
format: double
alumniLastSeason:
type: string
languageId:
type: integer
format: int32
transactions:
type: array
items:
$ref: '#/components/schemas/Transaction'
drafts:
type: array
items:
$ref: '#/components/schemas/BaseballDraftProspect'
relatives:
type: array
items:
$ref: '#/components/schemas/Relative'
articles:
type: array
items:
$ref: '#/components/schemas/Article'
videos:
type: array
items:
$ref: '#/components/schemas/Video'
mixedFeed:
type: array
items:
$ref: '#/components/schemas/IFeed'
xrefIds:
type: array
items:
$ref: '#/components/schemas/XrefId'
pitcher:
type: boolean
fielder:
type: boolean
hydratedSocial:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedEducation:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedStats:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedCurrentTeam:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedTeam:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedAwards:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedRelatives:
type: object
additionalProperties:
type: object
writeOnly: true
draftProspects:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedPlayerPhotos:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedArticles:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedVideos:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedMixedFeed:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedPersonRosterEntries:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedPersonJobsEntries:
type: object
additionalProperties:
type: object
writeOnly: true
PersonLeadersEnum:
type: string
enum:
- ASSISTS
- SHUTOUTS
- HOME_RUNS
- SACRIFICE_BUNTS
- SACRIFICE_FLIES
- RUNS
- GROUNDOUT_TO_FLYOUT_RATIO
- STOLEN_BASES
- BATTING_AVERAGE
- GROUNDOUTS
- NUMBER_OF_PITCHES
- ON_BASE_PERCENTAGE
- CAUGHT_STEALING
- GROUND_INTO_DOUBLE_PLAYS
- TOTAL_BASES
- EARNED_RUN_AVERAGE
- FIELDING_PERCENTAGE
- WALKS_HITS_PER_INNING_PITCHED
- FLYOUTS
- HIT_BY_PITCHES
- GAMES_PLAYED
- WALKS
- SLUGGING_PERCENTAGE
- ON_BASE_PLUS_SLUGGING
- RUNS_BATTED_IN
- TRIPLES
- EXTRA_BASE_HITS
- HITS
- AT_BAT
- STRIKEOUTS
- DOUBLES
- TOTAL_PLATE_APPEARANCES
- INTENTIONAL_WALKS
- BASEBALL_WINS
- LOSSES
- SAVES
- WILD_PITCH
- AIROUTS
- BALK
- BLOWN_SAVES
- CATCHER_ERA
- CATCHERS_INTERFERENCE
- CHANCES
- COMPLETE_GAME
- DOUBLE_PLAYS
- EARNED_RUN
- ERRORS
- GAMES_FINISHED
- GAMES_STARTED
- HIT_BATSMAN
- HITS_PER_9_INN
- HOLDS
- INNINGS
- INNINGS_PITCHED
- OUTFIELD_ASSISTS
- PASSED_BALLS
- PICKOFFS
- PITCHES_PER_INNING
- PUT_OUTS
- RANGE_FACTOR_PER_GAME
- RANGE_FACTOR_PER_9_INN
- SAVE_OPPORTUNITIES
- STOLEN_BASE_PERCENTAGE
- STRIKEOUTS_PER_9_INN
- STRIKEOUT_WALK_RATIO
- THROWING_ERRORS
- TOTAL_BATTERS_FACED
- TRIPLE_PLAYS
- WALKS_PER_9_INN
- WIN_PERCENTAGE
IOfficialType:
type: object
properties:
displayName:
type: string
shortName:
type: string
GameMediaRestObject:
type: object
properties:
copyright:
type: string
epg:
$ref: '#/components/schemas/JsonNode'
epgAlternate:
$ref: '#/components/schemas/JsonNode'
milestones:
$ref: '#/components/schemas/JsonNode'
featuredMedia:
$ref: '#/components/schemas/JsonNode'
freeGame:
type: boolean
enhancedGame:
type: boolean
AwardRestObject:
type: object
properties:
copyright:
type: string
hydrations:
type: array
items:
type: string
id:
type: string
name:
type: string
shortName:
type: string
description:
type: string
recipientType:
type: string
history:
type: string
imageUrl:
type: string
homePageUrl:
type: string
date:
type: string
format: date
season:
type: string
results:
type: array
items:
$ref: '#/components/schemas/AwardResultRestObject'
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
sortOrder:
type: integer
format: int32
player:
$ref: '#/components/schemas/BaseballPersonRestObject'
votes:
type: integer
format: int32
votesAvailable:
type: integer
format: int32
sport:
$ref: '#/components/schemas/SportRestObject'
league:
$ref: '#/components/schemas/LeagueRestObject'
notes:
type: string
BaseballLinescoreTeamInfoRestObject:
type: object
properties:
copyright:
type: string
home:
$ref: '#/components/schemas/TeamInfo'
away:
$ref: '#/components/schemas/TeamInfo'
InningRestObject:
type: object
properties:
copyright:
type: string
num:
type: integer
format: int32
ordinalNum:
type: string
home:
$ref: '#/components/schemas/InningTeamInfoRestObject'
away:
$ref: '#/components/schemas/InningTeamInfoRestObject'
RosterType:
type: string
enum:
- FORTY_MAN
- FULL_SEASON
- FULL_ROSTER
- NON_ROSTER_INVITEES
- ACTIVE
- ALL_TIME
- DEPTH_CHART
- GAMEDAY
- COACH
PhotoRestObject:
type: object
properties:
copyright:
type: string
photoType:
type: string
defaultRes:
type: string
doubleRes:
type: string
tripleRes:
type: string
lowRes:
type: string
ImageRestObject:
type: object
properties:
copyright:
type: string
images:
type: object
additionalProperties:
type: string
caption:
type: string
url:
type: string
BaseballLineupRestObject:
type: object
properties:
copyright:
type: string
homePlayers:
type: array
items:
$ref: '#/components/schemas/BaseballPersonRestObject'
awayPlayers:
type: array
items:
$ref: '#/components/schemas/BaseballPersonRestObject'
BaseballGameLeadersRestObject:
type: object
properties:
copyright:
type: string
hitDistance:
$ref: '#/components/schemas/BaseballGameLeaderRestObject'
hitSpeed:
$ref: '#/components/schemas/BaseballGameLeaderRestObject'
pitchSpeed:
$ref: '#/components/schemas/BaseballGameLeaderRestObject'
StatData:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
note:
type: string
summary:
type: object
additionalProperties:
type: string
writeOnly: true
ConferenceRestObject:
type: object
properties:
copyright:
type: string
id:
type: integer
format: int32
name:
type: string
link:
type: string
Relative:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
primaryPosition:
$ref: '#/components/schemas/BaseballPosition'
stats:
$ref: '#/components/schemas/Stats'
otherNames:
$ref: '#/components/schemas/OtherNames'
id:
type: integer
format: int32
firstName:
type: string
useName:
type: string
middleName:
type: string
lastName:
type: string
useLastName:
type: string
nickName:
type: string
nickNames:
type: array
items:
type: string
boxscoreName:
type: string
primaryNumber:
type: string
rosterNumber:
type: string
draftYear:
type: integer
format: int32
age:
type: integer
format: int32
birthCity:
type: string
birthStateProvince:
type: string
birthCountry:
type: string
birthDate:
type: string
format: date
deathCity:
type: string
deathStateProvince:
type: string
deathCountry:
type: string
deathDate:
type: string
format: date
lastPlayedDate:
type: string
format: date
pronunciation:
type: string
fullName:
type: string
height:
type: integer
format: int32
heightFeet:
type: integer
format: int32
heightInches:
type: integer
format: int32
weight:
type: integer
format: int32
currentTeam:
$ref: '#/components/schemas/BaseballTeam'
isRookie:
type: boolean
isActive:
type: boolean
gender:
type: string
nameMatrilineal:
type: string
isPlayer:
type: boolean
isVerified:
type: boolean
isAlternateCaptain:
type: boolean
isCaptain:
type: boolean
twitter:
type: string
awards:
type: array
items:
$ref: '#/components/schemas/Award'
socialMediaInfo:
$ref: '#/components/schemas/SocialMediaInfo'
educationInfo:
$ref: '#/components/schemas/EducationInfo'
photos:
type: array
items:
$ref: '#/components/schemas/Photo'
draft:
type: array
items:
$ref: '#/components/schemas/PlayerDraftInfo'
additionalBio:
$ref: '#/components/schemas/AdditionalBio'
phoneticName:
type: string
nationality:
type: string
batSide:
$ref: '#/components/schemas/DynamicLookupEnum'
pitchHand:
$ref: '#/components/schemas/DynamicLookupEnum'
mlbDebutDate:
type: string
format: date
batterPitcher:
type: string
note:
type: string
nameSlug:
type: string
nameTitle:
type: string
namePrefix:
type: string
nameFirstLast:
type: string
firstLastName:
type: string
lastFirstName:
type: string
lastInitName:
type: string
initLastName:
type: string
fullFMLName:
type: string
fullLFMName:
type: string
strikeZoneTop:
type: number
format: double
strikeZoneBottom:
type: number
format: double
alumniLastSeason:
type: string
languageId:
type: integer
format: int32
transactions:
type: array
items:
$ref: '#/components/schemas/Transaction'
drafts:
type: array
items:
$ref: '#/components/schemas/BaseballDraftProspect'
articles:
type: array
items:
$ref: '#/components/schemas/Article'
videos:
type: array
items:
$ref: '#/components/schemas/Video'
mixedFeed:
type: array
items:
$ref: '#/components/schemas/IFeed'
xrefIds:
type: array
items:
$ref: '#/components/schemas/XrefId'
hasStats:
type: boolean
relation:
type: string
pitcher:
type: boolean
fielder:
type: boolean
hydratedSocial:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedEducation:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedStats:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedCurrentTeam:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedTeam:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedAwards:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedRelatives:
type: object
additionalProperties:
type: object
writeOnly: true
draftProspects:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedPlayerPhotos:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedArticles:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedVideos:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedMixedFeed:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedPersonRosterEntries:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedPersonJobsEntries:
type: object
additionalProperties:
type: object
writeOnly: true
ReviewDetails:
type: object
properties:
copyright:
type: string
isOverturned:
type: boolean
inProgress:
type: boolean
reviewType:
type: string
challengeTeamId:
type: integer
format: int32
additionalReviews:
type: array
items:
$ref: '#/components/schemas/ReviewDetails'
SeasonRestObject:
type: object
properties:
copyright:
type: string
seasonId:
type: string
hasWildcard:
type: boolean
preSeasonStartDate:
type: string
format: date
preSeasonEndDate:
type: string
format: date
seasonStartDate:
type: string
format: date
springStartDate:
type: string
format: date
springEndDate:
type: string
format: date
regularSeasonStartDate:
type: string
format: date
lastDate1stHalf:
type: string
format: date
allStarDate:
type: string
format: date
firstDate2ndHalf:
type: string
format: date
regularSeasonEndDate:
type: string
format: date
postSeasonStartDate:
type: string
format: date
postSeasonEndDate:
type: string
format: date
seasonEndDate:
type: string
format: date
offseasonStartDate:
type: string
format: date
offSeasonEndDate:
type: string
format: date
numberOfGames:
type: integer
format: int32
tiesInUse:
type: boolean
olympicsParticipation:
type: boolean
conferencesInUse:
type: boolean
divisionsInUse:
type: boolean
gameTypeDates:
type: array
items:
$ref: '#/components/schemas/GameTypeDatesRestObject'
seasonLevelGamedayType:
type: string
gameLevelGamedayType:
type: string
qualifierPlateAppearances:
type: number
format: double
qualifierOutsPitched:
type: number
format: double
SocialMediaRestObject:
type: object
properties:
copyright:
type: string
twitter:
type: array
items:
type: string
facebook:
type: array
items:
type: string
instagram:
type: array
items:
type: string
vine:
type: array
items:
type: string
periscope:
type: array
items:
type: string
tumblr:
type: array
items:
type: string
youtube:
type: array
items:
type: string
pinterest:
type: array
items:
type: string
googleplus:
type: array
items:
type: string
snapchat:
type: array
items:
type: string
website:
type: array
items:
type: string
hashtags:
type: array
items:
type: string
IFeedRestObject:
type: object
BaseballGameLiveLookinRestObject:
type: object
properties:
copyright:
type: string
gamePk:
type: integer
format: int32
mediaPlaybackId:
type: integer
format: int64
headline:
type: string
kicker:
type: string
playbacks:
type: array
items:
$ref: '#/components/schemas/LiveLookinPlayback'
BaseballHit:
type: object
properties:
launchData:
$ref: '#/components/schemas/LaunchData'
trajectoryData:
$ref: '#/components/schemas/HitTrajectoryData'
landingData:
$ref: '#/components/schemas/StartEndData'
lastMeasuredData:
$ref: '#/components/schemas/StartEndData'
reducedConfidence:
type: array
items:
type: string
team:
$ref: '#/components/schemas/BaseballTeam'
inning:
type: integer
format: int32
pitcher:
$ref: '#/components/schemas/BaseballPerson'
batter:
$ref: '#/components/schemas/BaseballPerson'
coordX:
type: number
format: double
coordY:
type: number
format: double
landingPosX:
type: number
format: double
landingPosY:
type: number
format: double
type:
type: string
description:
type: string
writeOnly: true
launchSpeed:
type: number
format: double
totalDistance:
type: number
format: double
launchAngle:
type: number
format: double
trajectory:
type: string
hardness:
type: string
location:
type: string
isBarrel:
type: boolean
hitProbability:
type: number
format: double
descriptions:
type: object
additionalProperties:
type: string
writeOnly: true
SeriesStatusRestObject:
type: object
properties:
copyright:
type: string
gameNumber:
type: integer
format: int32
totalGames:
type: integer
format: int32
isTied:
type: boolean
isOver:
type: boolean
wins:
type: integer
format: int32
losses:
type: integer
format: int32
winningTeam:
$ref: '#/components/schemas/BaseballTeamRestObject'
losingTeam:
$ref: '#/components/schemas/BaseballTeamRestObject'
description:
type: string
shortDescription:
type: string
result:
type: string
shortName:
type: string
BaseballGameAlertRestObject:
type: object
properties:
copyright:
type: string
type:
type: string
category:
type: string
description:
type: string
shortDescription:
type: string
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
alertId:
type: string
StartEndData:
type: object
properties:
velocity:
$ref: '#/components/schemas/Coordinates'
position:
$ref: '#/components/schemas/Coordinates'
time:
type: number
format: double
confidence:
type: string
speed:
type: number
format: double
bearing:
type: number
format: double
distance:
type: number
format: double
BaseballABSChallengeRestObject:
type: object
properties:
copyright:
type: string
hasChallenges:
type: boolean
reason:
type: string
away:
$ref: '#/components/schemas/BaseballTeamReview'
home:
$ref: '#/components/schemas/BaseballTeamReview'
challengingTeam:
$ref: '#/components/schemas/BaseballTeamRestObject'
PostseasonSeries:
type: object
properties:
sortOrder:
type: integer
format: int32
seriesId:
type: string
isDefault:
type: boolean
gameType:
$ref: '#/components/schemas/GameTypeEnum'
seriesConfigId:
type: string
DivisionRestObject:
type: object
properties:
copyright:
type: string
id:
type: integer
format: int32
name:
type: string
season:
type: string
nameShort:
type: string
link:
type: string
abbreviation:
type: string
conference:
$ref: '#/components/schemas/ConferenceRestObject'
league:
$ref: '#/components/schemas/LeagueRestObject'
sport:
$ref: '#/components/schemas/SportRestObject'
hasWildcard:
type: boolean
sortOrder:
type: integer
format: int32
numPlayoffTeams:
type: integer
format: int32
active:
type: boolean
Movement:
type: object
properties:
originBase:
type: string
start:
type: string
end:
type: string
outBase:
type: string
isOut:
type: boolean
outNumber:
type: integer
format: int32
BaseballReviewRestObject:
type: object
properties:
copyright:
type: string
hasChallenges:
type: boolean
reason:
type: string
away:
$ref: '#/components/schemas/BaseballTeamReview'
home:
$ref: '#/components/schemas/BaseballTeamReview'
challengingTeam:
$ref: '#/components/schemas/BaseballTeamRestObject'
Highlights:
type: object
properties:
scoreboard:
$ref: '#/components/schemas/JsonNode'
gameCenter:
$ref: '#/components/schemas/JsonNode'
milestone:
$ref: '#/components/schemas/JsonNode'
highlights:
$ref: '#/components/schemas/JsonNode'
liveHighlights:
$ref: '#/components/schemas/JsonNode'
scoreboardPreview:
$ref: '#/components/schemas/JsonNode'
BaseballPlayRestObject:
type: object
properties:
copyright:
type: string
hydrations:
type: array
items:
type: string
result:
$ref: '#/components/schemas/Result'
about:
$ref: '#/components/schemas/About'
count:
$ref: '#/components/schemas/Count'
matchup:
$ref: '#/components/schemas/Matchup'
pitchIndex:
type: array
items:
type: integer
format: int32
actionIndex:
type: array
items:
type: integer
format: int32
runnerIndex:
type: array
items:
type: integer
format: int32
runners:
type: array
items:
$ref: '#/components/schemas/RunnerMovement'
playEvents:
type: array
items:
$ref: '#/components/schemas/BaseballPlayEventRestObject'
credits:
type: array
items:
$ref: '#/components/schemas/PlayCreditRestObject'
flags:
type: array
items:
$ref: '#/components/schemas/PlayCreditRestObject'
reviewDetails:
$ref: '#/components/schemas/ReviewDetails'
playEndTime:
type: string
format: date-time
atBatIndex:
type: integer
format: int32
BaseballTeam:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
id:
type: integer
format: int32
name:
type: string
season:
type: integer
format: int32
strSeason:
type: string
venue:
$ref: '#/components/schemas/Venue'
springVenue:
$ref: '#/components/schemas/Venue'
teamCode:
type: string
fileCode:
type: string
abbreviation:
type: string
firstYearOfPlay:
type: string
teamName:
type: string
locationName:
type: string
active:
type: boolean
placeholder:
type: boolean
roster:
$ref: '#/components/schemas/BaseballRoster'
nextGameSchedule:
$ref: '#/components/schemas/BaseballSchedule'
previousGameSchedule:
$ref: '#/components/schemas/BaseballSchedule'
nextSchedule:
$ref: '#/components/schemas/BaseballSchedule'
previousSchedule:
$ref: '#/components/schemas/BaseballSchedule'
content:
$ref: '#/components/schemas/TeamContentCms'
deviceProperties:
$ref: '#/components/schemas/JsonNode'
tickets:
type: array
items:
$ref: '#/components/schemas/BaseballTicket'
playoffInfo:
$ref: '#/components/schemas/TeamPlayoffs'
homeAway:
type: string
record:
$ref: '#/components/schemas/BaseballTeamStandingsRecord'
teamStats:
type: array
items:
$ref: '#/components/schemas/StatContainer'
teamLeaders:
type: array
items:
$ref: '#/components/schemas/Leaders'
otherTeamNames:
$ref: '#/components/schemas/OtherTeamNames'
socialMediaInfo:
$ref: '#/components/schemas/SocialMediaInfo'
twitter:
type: string
leagueId:
type: integer
format: int32
teamDesignation:
$ref: '#/components/schemas/TeamDesignationEnum'
parentOrgId:
type: integer
format: int32
parentOrgName:
type: string
seedNumber:
type: integer
format: int32
franchiseName:
type: string
clubName:
type: string
location:
$ref: '#/components/schemas/Location'
springLeague:
$ref: '#/components/schemas/League'
xrefIds:
type: array
items:
$ref: '#/components/schemas/XrefId'
allStarStatus:
$ref: '#/components/schemas/AllStarEnum'
teamSeq:
type: integer
format: int32
cacheKey:
type: string
sport:
$ref: '#/components/schemas/Sport'
league:
$ref: '#/components/schemas/League'
shortName:
type: string
division:
$ref: '#/components/schemas/Division'
conference:
$ref: '#/components/schemas/Conference'
hydratedSocial:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedGamePromotions:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedGameTickets:
type: object
additionalProperties:
type: object
writeOnly: true
franchise:
$ref: '#/components/schemas/Franchise'
hydratedDeviceProperties:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedGamePromotionsAtBat:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedGameSponsorships:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedGameTicketsAtBat:
type: object
additionalProperties:
type: object
writeOnly: true
ScheduleEventTypeRestObject:
type: object
properties:
copyright:
type: string
code:
type: string
name:
type: string
RosterRestObject:
type: object
properties:
copyright:
type: string
hydrations:
type: array
items:
type: string
roster:
type: array
items:
$ref: '#/components/schemas/BaseballRosterEntryRestObject'
link:
type: string
teamId:
type: integer
format: int32
rosterType:
type: string
RuleSettingsRestObject:
type: object
properties:
playSettingId:
type: integer
format: int32
settingId:
type: integer
format: int32
settingName:
type: string
settingDisplayName:
type: string
settingCategory:
type: string
settingCategoryCode:
type: string
settingDescription:
type: string
settingOptions:
type: array
items:
$ref: '#/components/schemas/RuleSettingsOptionRestObject'
valueType:
type: string
settingValue:
type: object
settingScope:
type: string
priorityOverride:
type: integer
format: int32
startDate:
type: string
format: date
endDate:
type: string
format: date
inherited:
type: boolean
gameType:
type: string
allGameTypeStatus:
type: boolean
sortOrder:
type: integer
format: int32
TeamStandingsRecordRestObject:
type: object
properties:
copyright:
type: string
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
division:
$ref: '#/components/schemas/Division'
conference:
$ref: '#/components/schemas/Conference'
league:
$ref: '#/components/schemas/League'
season:
type: string
streak:
$ref: '#/components/schemas/StreakRestObject'
clinchIndicator:
type: string
divisionRank:
type: string
conferenceRank:
type: string
leagueRank:
type: string
springLeagueRank:
type: string
wildCardRank:
type: string
sportRank:
type: string
gamesPlayed:
type: integer
format: int32
gamesBack:
type: string
wildCardGamesBack:
type: string
leagueGamesBack:
type: string
springLeagueGamesBack:
type: string
sportGamesBack:
type: string
divisionGamesBack:
type: string
conferenceGamesBack:
type: string
leagueRecord:
$ref: '#/components/schemas/WinLossRecordRestObject'
lastUpdated:
type: string
format: date-time
records:
type: object
additionalProperties:
type: array
items:
$ref: '#/components/schemas/WinLossRecordRestObject'
probabilites:
$ref: '#/components/schemas/StandingsOdds'
Leaders:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
leaderCategory:
$ref: '#/components/schemas/PersonLeadersEnum'
statGroup:
$ref: '#/components/schemas/StatGroup'
season:
type: string
gameType:
$ref: '#/components/schemas/GameTypeEnum'
statType:
$ref: '#/components/schemas/StatType'
team:
$ref: '#/components/schemas/BaseballTeam'
league:
$ref: '#/components/schemas/League'
totalSplits:
type: integer
format: int32
leaders:
type: array
items:
$ref: '#/components/schemas/PlayerLeader'
limits:
$ref: '#/components/schemas/LeaderLimits'
limitMetaData:
$ref: '#/components/schemas/LimitMetadata'
hydratedTeams:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedPeople:
type: object
additionalProperties:
type: object
writeOnly: true
BaseballGameDateTimeRestObject:
type: object
properties:
copyright:
type: string
dateTime:
type: string
format: date-time
endDateTime:
type: string
format: date-time
originalDate:
type: string
format: date
officialDate:
type: string
format: date
resumeDate:
type: string
format: date
resumeDateTime:
type: string
format: date-time
resumedFromDate:
type: string
format: date
resumedFromDateTime:
type: string
format: date-time
dayNight:
type: string
time:
type: string
ampm:
type: string
GameStatData:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
note:
type: string
summary:
type: object
additionalProperties:
type: string
writeOnly: true
catchersInterference:
type: integer
format: int32
average:
type: string
onBasePercentage:
type: string
onBasePlusSlugging:
type: string
stolenBases:
type: integer
format: int32
caughtStealing:
type: integer
format: int32
slugging:
type: string
outs:
type: integer
format: int32
gidp:
type: integer
format: int32
gitp:
type: integer
format: int32
homeRuns:
type: integer
format: int32
numberOfPitches:
type: integer
format: int32
totalBases:
type: integer
format: int32
gidpOpportunites:
type: integer
format: int32
walks:
type: integer
format: int32
hitByPitch:
type: integer
format: int32
strikeouts:
type: integer
format: int32
airOuts:
type: integer
format: int32
goAo:
type: string
pitchesPerPlateAppearance:
type: number
format: double
intentionalWalks:
type: integer
format: int32
groundOuts:
type: integer
format: int32
flyOuts:
type: integer
format: int32
games:
type: integer
format: int32
gamesStarted:
type: integer
format: int32
doubles:
type: integer
format: int32
hits:
type: integer
format: int32
triples:
type: integer
format: int32
singles:
type: integer
format: int32
runs:
type: integer
format: int32
atBats:
type: integer
format: int32
pickoffs:
type: integer
format: int32
stolenBasePercentage:
type: string
wildPitches:
type: integer
format: int32
sacFlies:
type: integer
format: int32
sacBunts:
type: integer
format: int32
putouts:
type: integer
format: int32
assists:
type: integer
format: int32
chances:
type: integer
format: int32
streak:
type: integer
format: int32
battingOrder:
type: string
totalSwings:
type: integer
format: int32
swingsAndMisses:
type: integer
format: int32
ballsInPlay:
type: integer
format: int32
popOuts:
type: integer
format: int32
lineOuts:
type: integer
format: int32
flyHits:
type: integer
format: int32
popHits:
type: integer
format: int32
lineHits:
type: integer
format: int32
groundHits:
type: integer
format: int32
attendance:
type: integer
format: int32
gameInnings:
type: integer
format: int32
gameDuration:
$ref: '#/components/schemas/Duration'
plateAppearances:
type: integer
format: int32
stolenBasePercentageOrNull:
type: string
pitchesPerPlateAppearanceStr:
type: string
Lineup:
type: object
properties:
homePlayers:
$ref: '#/components/schemas/JsonNode'
awayPlayers:
$ref: '#/components/schemas/JsonNode'
VideoResolutionEnum:
type: string
enum:
- S
- H
- FOUR_K
GameNotes:
type: object
properties:
notes:
$ref: '#/components/schemas/JsonNode'
ApplicationRestObject:
type: object
properties:
copyright:
type: string
androidPackage:
type: string
icon:
type: string
intent:
type: string
name:
type: string
androidUrl:
type: string
iosUrl:
type: string
iosPackage:
type: string
primary:
type: boolean
BaseballRoster:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
rosterType:
$ref: '#/components/schemas/RosterType'
roster:
type: array
items:
$ref: '#/components/schemas/BaseballRosterEntry'
teamId:
type: integer
format: int32
hydratedPeople:
type: object
additionalProperties:
type: object
writeOnly: true
RuleSettings:
type: object
properties:
playSettingId:
type: integer
format: int32
settingId:
type: integer
format: int32
settingName:
type: string
settingDisplayName:
type: string
settingCategoryId:
type: integer
format: int32
settingCategory:
type: string
settingCategoryCode:
type: string
settingDescription:
type: string
settingIsPublic:
type: boolean
valueType:
type: string
settingValue:
type: object
settingScope:
type: string
settingOptions:
type: array
items:
$ref: '#/components/schemas/RuleSettingsOption'
priorityOverride:
type: integer
format: int32
startDate:
type: string
format: date
endDate:
type: string
format: date
inherited:
type: boolean
gameType:
type: string
allGameTypeStatus:
type: boolean
sport:
$ref: '#/components/schemas/Sport'
league:
$ref: '#/components/schemas/League'
venue:
$ref: '#/components/schemas/Venue'
gamePk:
type: integer
format: int32
scheduleEvent:
$ref: '#/components/schemas/ScheduleEvent'
sortOrder:
type: integer
format: int32
userHasPermission:
type: boolean
StreakRestObject:
type: object
properties:
copyright:
type: string
streakType:
type: string
streakNumber:
type: integer
format: int32
streakCode:
type: string
GroupedStatData:
type: object
properties:
standard:
$ref: '#/components/schemas/StatData'
advanced:
$ref: '#/components/schemas/StatData'
expected:
$ref: '#/components/schemas/StatData'
projected:
$ref: '#/components/schemas/StatData'
tracking:
$ref: '#/components/schemas/StatData'
pitching:
$ref: '#/components/schemas/GroupedStatData'
hitting:
$ref: '#/components/schemas/GroupedStatData'
fielding:
$ref: '#/components/schemas/GroupedStatData'
running:
$ref: '#/components/schemas/GroupedStatData'
catching:
$ref: '#/components/schemas/GroupedStatData'
rankings:
$ref: '#/components/schemas/GroupedStatData'
percentiles:
$ref: '#/components/schemas/GroupedStatData'
BaseballTeamRestObject:
type: object
properties:
copyright:
type: string
hydrations:
type: array
items:
type: string
springLeague:
$ref: '#/components/schemas/LeagueRestObject'
xrefIds:
type: array
items:
$ref: '#/components/schemas/XrefIdRestObject'
allStarStatus:
$ref: '#/components/schemas/AllStarEnum'
id:
type: integer
format: int32
name:
type: string
link:
type: string
season:
type: integer
format: int32
venue:
$ref: '#/components/schemas/VenueRestObject'
springVenue:
$ref: '#/components/schemas/VenueRestObject'
teamCode:
type: string
fileCode:
type: string
abbreviation:
type: string
triCode:
type: string
teamName:
type: string
locationName:
type: string
firstYearOfPlay:
type: string
league:
$ref: '#/components/schemas/LeagueRestObject'
division:
$ref: '#/components/schemas/DivisionRestObject'
sport:
$ref: '#/components/schemas/SportRestObject'
conference:
$ref: '#/components/schemas/ConferenceRestObject'
franchise:
$ref: '#/components/schemas/FranchiseRestObject'
teamStats:
type: array
items:
$ref: '#/components/schemas/StatContainerRestObject'
roster:
$ref: '#/components/schemas/RosterRestObject'
teamLeaders:
type: array
items:
$ref: '#/components/schemas/LeadersRestObject'
nextGameSchedule:
$ref: '#/components/schemas/ScheduleRestObject'
previousGameSchedule:
$ref: '#/components/schemas/ScheduleRestObject'
nextSchedule:
$ref: '#/components/schemas/ScheduleRestObject'
previousSchedule:
$ref: '#/components/schemas/ScheduleRestObject'
content:
$ref: '#/components/schemas/TeamContentCms'
deviceProperties:
$ref: '#/components/schemas/JsonNode'
social:
$ref: '#/components/schemas/SocialMediaRestObject'
shortName:
type: string
record:
$ref: '#/components/schemas/TeamStandingsRecordRestObject'
playoffInfo:
$ref: '#/components/schemas/TeamPlayoffs'
homeAway:
type: string
teamDesignation:
type: string
parentOrgName:
type: string
parentOrgId:
type: integer
format: int32
franchiseName:
type: string
clubName:
type: string
location:
$ref: '#/components/schemas/LocationRestObject'
active:
type: boolean
placeholder:
type: boolean
GameCms:
type: object
properties:
editorial:
$ref: '#/components/schemas/Editorial'
media:
$ref: '#/components/schemas/Media'
highlights:
$ref: '#/components/schemas/Highlights'
gameNotes:
$ref: '#/components/schemas/GameNotes'
contentSummary:
$ref: '#/components/schemas/ContentSummary'
lineup:
$ref: '#/components/schemas/Lineup'
HitTrajectoryData:
type: object
properties:
trajectoryPolynomialX:
type: array
items:
type: number
format: double
trajectoryPolynomialY:
type: array
items:
type: number
format: double
trajectoryPolynomialZ:
type: array
items:
type: number
format: double
validTimeInterval:
type: array
items:
type: number
format: double
measuredTimeInterval:
type: array
items:
type: number
format: double
reducedConfidence:
type: array
items:
type: string
maxHeightPosition:
$ref: '#/components/schemas/Coordinates'
hitPositionAt110Feet:
$ref: '#/components/schemas/Coordinates'
GameTypeEnum:
type: string
enum:
- SPRING_TRAINING
- REGULAR_SEASON
- FIRST_ROUND
- DIVISION_SERIES
- LEAGUE_CHAMPIONSHIP_SERIES
- WORLD_SERIES
- CHAMPIONSHIP
- NINETEENTH_CENTURY_SERIES
- PLAYOFFS
- ALL_STAR
- INTRASQUAD
- EXHIBITION
Result:
type: object
properties:
copyright:
type: string
type:
type: string
event:
type: string
eventType:
type: string
description:
type: string
rbi:
type: integer
format: int32
awayScore:
type: integer
format: int32
homeScore:
type: integer
format: int32
isOut:
type: boolean
description: Did the play result in an out?
BattingData:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
note:
type: string
summary:
type: object
additionalProperties:
type: string
writeOnly: true
catchersInterference:
type: integer
format: int32
average:
type: string
onBasePercentage:
type: string
onBasePlusSlugging:
type: string
stolenBases:
type: integer
format: int32
caughtStealing:
type: integer
format: int32
slugging:
type: string
outs:
type: integer
format: int32
gidp:
type: integer
format: int32
gitp:
type: integer
format: int32
homeRuns:
type: integer
format: int32
numberOfPitches:
type: integer
format: int32
totalBases:
type: integer
format: int32
gidpOpportunites:
type: integer
format: int32
walks:
type: integer
format: int32
hitByPitch:
type: integer
format: int32
strikeouts:
type: integer
format: int32
airOuts:
type: integer
format: int32
goAo:
type: string
pitchesPerPlateAppearance:
type: number
format: double
intentionalWalks:
type: integer
format: int32
groundOuts:
type: integer
format: int32
flyOuts:
type: integer
format: int32
games:
type: integer
format: int32
gamesStarted:
type: integer
format: int32
doubles:
type: integer
format: int32
hits:
type: integer
format: int32
triples:
type: integer
format: int32
singles:
type: integer
format: int32
runs:
type: integer
format: int32
atBats:
type: integer
format: int32
pickoffs:
type: integer
format: int32
stolenBasePercentage:
type: string
wildPitches:
type: integer
format: int32
sacFlies:
type: integer
format: int32
sacBunts:
type: integer
format: int32
putouts:
type: integer
format: int32
assists:
type: integer
format: int32
chances:
type: integer
format: int32
streak:
type: integer
format: int32
battingOrder:
type: string
totalSwings:
type: integer
format: int32
swingsAndMisses:
type: integer
format: int32
ballsInPlay:
type: integer
format: int32
popOuts:
type: integer
format: int32
lineOuts:
type: integer
format: int32
flyHits:
type: integer
format: int32
popHits:
type: integer
format: int32
lineHits:
type: integer
format: int32
groundHits:
type: integer
format: int32
babip:
type: string
plateAppearances:
type: integer
format: int32
runsBattedIn:
type: integer
format: int32
leftOnBase:
type: integer
format: int32
extraBaseHits:
type: integer
format: int32
atBatsPerHomeRun:
type: string
atBatsPerHomeRunOrNull:
type: string
stolenBasePercentageOrNull:
type: string
pitchesPerPlateAppearanceStr:
type: string
LeagueRestObject:
type: object
properties:
copyright:
type: string
id:
type: integer
format: int32
name:
type: string
link:
type: string
abbreviation:
type: string
nameShort:
type: string
seasonState:
type: string
hasWildCard:
type: boolean
hasSplitSeason:
type: boolean
numGames:
type: integer
format: int32
hasPlayoffPoints:
type: boolean
numTeams:
type: integer
format: int32
numWildcardTeams:
type: integer
format: int32
seasonDateInfo:
$ref: '#/components/schemas/SeasonRestObject'
season:
type: string
orgCode:
type: string
conferencesInUse:
type: boolean
divisionsInUse:
type: boolean
sport:
$ref: '#/components/schemas/SportRestObject'
timeZone:
$ref: '#/components/schemas/TimeZoneRestObject'
sortOrder:
type: integer
format: int32
active:
type: boolean
isAffiliated:
type: boolean
ruleSettings:
type: array
items:
$ref: '#/components/schemas/RuleSettingsRestObject'
BaseballPosition:
type: string
enum:
- PITCHER
- CATCHER
- FIRST_BASE
- SECOND_BASE
- THIRD_BASE
- SHORTSTOP
- LEFT_FIELD
- CENTER_FIELD
- RIGHT_FIELD
- DESIGNATED_HITTER
- PINCH_HITTER
- PINCH_RUNNER
- EXTRA_HITTER
- BASE_RUNNER
- OUTFIELD
- INFIELD
- STARTING_PITCHER
- RELIEF_PITCHER
- CLOSER
- UTLITY
- UTLITY_INFIELDER
- UTLITY_OUTFIELDER
- RIGHT_HANDED_PITCHER
- LEFT_HANDED_PITCHER
- RIGHT_HANDED_STARTER
- LEFT_HANDED_STARTER
- LEFT_HANDED_RELIEVER
- RIGHT_HANDED_RELIEVER
- TWO_WAY_PITCHER_INFIELDER
- TWO_WAY_PITCHER_OUTFIELDER
- TWO_WAY_PITCHER_UTILITY
- TWO_WAY_PLAYER
- BATTER
- UNKNOWN
- RUNNER_ON_FIRST
- RUNNER_ON_SECOND
- RUNNER_ON_THIRD
Language:
type: string
enum:
- ENGLISH
- ELIAS
- SPANISH
- BIS
- JAPANESE
- KOREAN
- CHINESE
- FRENCH
- GERMAN
- ITALIAN
- DUTCH
- PORTUGUESE
- GREEK
- TAGALOG
- JAPANESE_2
- UNACCENT_OVERRIDE
Division:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
id:
type: integer
format: int32
name:
type: string
writeOnly: true
nameShort:
type: string
conferenceId:
type: integer
format: int32
conference:
$ref: '#/components/schemas/Conference'
league:
$ref: '#/components/schemas/League'
sportCode:
type: string
sport:
$ref: '#/components/schemas/Sport'
abbreviation:
type: string
hasWildcard:
type: boolean
numPlayoffTeams:
type: integer
format: int32
season:
type: string
sortOrder:
type: integer
format: int32
hydratedConferences:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedLeagues:
type: object
additionalProperties:
type: object
writeOnly: true
active:
type: boolean
JsonNode:
type: object
SeriesStatus:
type: object
properties:
gameNumber:
type: integer
format: int32
totalGames:
type: integer
format: int32
winningTeam:
$ref: '#/components/schemas/BaseballTeam'
losingTeam:
$ref: '#/components/schemas/BaseballTeam'
isTied:
type: boolean
isOver:
type: boolean
result:
type: string
ties:
type: integer
format: int32
wins:
type: integer
format: int32
losses:
type: integer
format: int32
gameType:
$ref: '#/components/schemas/GameTypeEnum'
description:
type: string
shortDescription:
type: string
seriesHomeNumber:
type: integer
format: int32
seriesAwayNumber:
type: integer
format: int32
seriesId:
type: string
seriesName:
type: string
LocationRestObject:
type: object
properties:
copyright:
type: string
address1:
type: string
address2:
type: string
address3:
type: string
address4:
type: string
city:
type: string
state:
type: string
stateAbbrev:
type: string
postalCode:
type: string
defaultCoordinates:
$ref: '#/components/schemas/CoordinateRestObject'
coordinates:
type: array
items:
$ref: '#/components/schemas/CoordinateRestObject'
country:
type: string
phone:
type: string
OtherTeamNames:
type: object
properties:
slug:
type: string
VenueCms:
type: object
properties:
menu:
type: string
ScheduleEventRestObject:
type: object
properties:
copyright:
type: string
id:
type: integer
format: int32
name:
type: string
link:
type: string
eventType:
$ref: '#/components/schemas/ScheduleEventTypeRestObject'
eventDate:
type: string
format: date-time
endDateTime:
type: string
format: date-time
images:
type: array
items:
$ref: '#/components/schemas/ImageRestObject'
venue:
$ref: '#/components/schemas/VenueRestObject'
sports:
type: array
items:
$ref: '#/components/schemas/SportRestObject'
leagues:
type: array
items:
$ref: '#/components/schemas/LeagueRestObject'
divisions:
type: array
items:
$ref: '#/components/schemas/DivisionRestObject'
game:
$ref: '#/components/schemas/BaseballScheduleItemRestObject'
content:
$ref: '#/components/schemas/ScheduleEventCms'
timeZone:
$ref: '#/components/schemas/TimeZoneRestObject'
designations:
type: array
items:
$ref: '#/components/schemas/DesignationRestObject'
tickets:
type: array
items:
$ref: '#/components/schemas/BaseballTicketRestObject'
promotions:
type: array
items:
$ref: '#/components/schemas/BaseballTicketRestObject'
eventStatus:
$ref: '#/components/schemas/GameStatusRestObject'
isMultiDay:
type: boolean
isPrimaryCalendar:
type: boolean
fileCode:
type: string
eventNumber:
type: integer
format: int32
publicFacing:
type: boolean
teams:
type: array
items:
$ref: '#/components/schemas/BaseballTeamRestObject'
trackingVersion:
$ref: '#/components/schemas/TrackingVersion'
coachingVideo:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/MediaSourceType'
ruleSettings:
type: array
items:
$ref: '#/components/schemas/RuleSettingsRestObject'
AwardWinner:
type: object
properties:
awardId:
type: integer
format: int32
teamId:
type: integer
format: int32
coachId:
type: integer
format: int32
playerId:
type: integer
format: int32
rank:
type: string
person:
$ref: '#/components/schemas/BaseballPerson'
player:
$ref: '#/components/schemas/BaseballPerson'
coach:
$ref: '#/components/schemas/BaseballPerson'
team:
$ref: '#/components/schemas/BaseballTeam'
awardDate:
type: string
format: date
season:
type: string
empty:
type: boolean
notEmpty:
type: boolean
EducationInfo:
type: object
properties:
highschools:
type: array
items:
$ref: '#/components/schemas/School'
colleges:
type: array
items:
$ref: '#/components/schemas/School'
LimitMetadataRestObject:
type: object
properties:
copyright:
type: string
limit:
type: integer
format: int32
offset:
type: integer
format: int32
additionalTies:
type: integer
format: int32
FeaturedMedia:
type: object
properties:
id:
type: string
Designation:
type: object
properties:
id:
type: integer
format: int32
designation:
$ref: '#/components/schemas/TeamDesignationEnum'
XrefId:
type: object
properties:
xrefId:
type: string
xrefType:
type: string
xrefIdTwo:
type: string
season:
type: string
BaseballViolation:
type: object
properties:
violationType:
type: string
violationSubType:
type: string
violationDescription:
type: string
violationPlayer:
$ref: '#/components/schemas/BaseballPerson'
PlayerDraftInfoRestObject:
type: object
properties:
copyright:
type: string
year:
type: integer
format: int32
round:
type: string
pickOverall:
type: integer
format: int32
pickInRound:
type: integer
format: int32
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
Official:
type: object
properties:
person:
$ref: '#/components/schemas/BaseballPerson'
jerseyNumber:
type: string
officialType:
$ref: '#/components/schemas/IOfficialType'
gameDate:
type: string
format: date
BaseballGameProbableRestObject:
type: object
properties:
copyright:
type: string
away:
$ref: '#/components/schemas/BaseballPersonRestObject'
home:
$ref: '#/components/schemas/BaseballPersonRestObject'
PlayerListPerson:
type: object
properties:
playerListId:
type: string
playerListName:
type: string
season:
type: string
player:
$ref: '#/components/schemas/BaseballPerson'
league:
$ref: '#/components/schemas/League'
team:
$ref: '#/components/schemas/BaseballTeam'
position:
$ref: '#/components/schemas/BaseballPosition'
LiveLookinPlayback:
type: object
properties:
name:
type: string
url:
type: string
CoordinateRestObject:
type: object
properties:
copyright:
type: string
latitude:
type: number
format: double
longitude:
type: number
format: double
coordinates:
type: array
items:
type: string
type:
type: string
label:
type: string
FranchiseRestObject:
type: object
properties:
copyright:
type: string
franchiseId:
type: integer
format: int32
firstSeasonId:
type: integer
format: int32
lastSeasonId:
type: integer
format: int32
mostRecentTeamId:
type: integer
format: int32
teamName:
type: string
locationName:
type: string
link:
type: string
roster:
$ref: '#/components/schemas/RosterRestObject'
BaseballTicketRestObject:
type: object
properties:
copyright:
type: string
ticketType:
type: string
ticketLink:
type: string
ticketLinks:
type: object
additionalProperties:
type: string
BaseballHotColdZoneRestObject:
type: object
properties:
copyright:
type: string
zone:
type: string
color:
type: string
sweetness:
type: string
temp:
type: string
value:
type: string
BaseballLinescore:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
createdAt:
type: string
format: date-time
awayScore:
type: integer
format: int32
homeScore:
type: integer
format: int32
gameStatus:
$ref: '#/components/schemas/IGameStatus'
homeTeam:
$ref: '#/components/schemas/BaseballTeam'
awayTeam:
$ref: '#/components/schemas/BaseballTeam'
gamePk:
type: integer
format: int32
note:
type: string
scheduledInnings:
type: integer
format: int32
currentInning:
type: integer
format: int32
currentInningOrdinal:
type: string
inningState:
type: string
inningHalf:
type: string
isTopInning:
type: boolean
writeOnly: true
innings:
type: array
items:
$ref: '#/components/schemas/BaseballInning'
runsAway:
type: integer
format: int32
runsHome:
type: integer
format: int32
awayHits:
type: integer
format: int32
homeHits:
type: integer
format: int32
awayErrors:
type: integer
format: int32
homeErrors:
type: integer
format: int32
awayLeftOnBase:
type: integer
format: int32
homeLeftOnBase:
type: integer
format: int32
awayIsWinner:
type: boolean
homeIsWinner:
type: boolean
balls:
type: integer
format: int32
strikes:
type: integer
format: int32
outs:
type: integer
format: int32
batTeam:
$ref: '#/components/schemas/BaseballTeam'
batTeamsLastPitcher:
$ref: '#/components/schemas/BaseballPerson'
batterPosition:
$ref: '#/components/schemas/BaseballPosition'
batter:
$ref: '#/components/schemas/BaseballPerson'
onDeck:
$ref: '#/components/schemas/BaseballPerson'
inHole:
$ref: '#/components/schemas/BaseballPerson'
battingOrder:
type: integer
format: int32
onFirst:
$ref: '#/components/schemas/BaseballPerson'
onSecond:
$ref: '#/components/schemas/BaseballPerson'
onThird:
$ref: '#/components/schemas/BaseballPerson'
postOnFirst:
$ref: '#/components/schemas/BaseballPerson'
postOnSecond:
$ref: '#/components/schemas/BaseballPerson'
postOnThird:
$ref: '#/components/schemas/BaseballPerson'
fieldTeam:
$ref: '#/components/schemas/BaseballTeam'
pitcher:
$ref: '#/components/schemas/BaseballPerson'
catcher:
$ref: '#/components/schemas/BaseballPerson'
firstBase:
$ref: '#/components/schemas/BaseballPerson'
secondBase:
$ref: '#/components/schemas/BaseballPerson'
thirdBase:
$ref: '#/components/schemas/BaseballPerson'
shortstop:
$ref: '#/components/schemas/BaseballPerson'
leftField:
$ref: '#/components/schemas/BaseballPerson'
centerField:
$ref: '#/components/schemas/BaseballPerson'
rightField:
$ref: '#/components/schemas/BaseballPerson'
fieldTeamsDueUpBatter:
$ref: '#/components/schemas/BaseballPerson'
fieldTeamsDueUpOnDeck:
$ref: '#/components/schemas/BaseballPerson'
fieldTeamsDueUpInHole:
$ref: '#/components/schemas/BaseballPerson'
fieldTeamsBattingOrder:
type: integer
format: int32
playersNotInField:
type: object
additionalProperties:
$ref: '#/components/schemas/BaseballPosition'
tie:
type: boolean
topInning:
type: boolean
hydratedStats:
type: object
additionalProperties:
type: object
writeOnly: true
Photo:
type: object
properties:
photoType:
type: string
defaultRes:
type: string
doubleRes:
type: string
tripleRes:
type: string
lowRes:
type: string
TeamInfo:
type: object
properties:
copyright:
type: string
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
runs:
type: integer
format: int32
hits:
type: integer
format: int32
errors:
type: integer
format: int32
leftOnBase:
type: integer
format: int32
isWinner:
type: boolean
AdditionalBioRestObject:
type: object
properties:
copyright:
type: string
homeTown:
type: string
StatSplitsRestObject:
type: object
properties:
copyright:
type: string
season:
type: string
stat:
$ref: '#/components/schemas/StatDataRestObject'
stats:
$ref: '#/components/schemas/GroupedStatDataRestObject'
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
player:
$ref: '#/components/schemas/BaseballPersonRestObject'
homeTeam:
$ref: '#/components/schemas/BaseballTeamRestObject'
awayTeam:
$ref: '#/components/schemas/BaseballTeamRestObject'
venue:
$ref: '#/components/schemas/VenueRestObject'
league:
$ref: '#/components/schemas/LeagueRestObject'
sport:
$ref: '#/components/schemas/SportRestObject'
opponent:
$ref: '#/components/schemas/BaseballTeamRestObject'
opponentDivision:
$ref: '#/components/schemas/DivisionRestObject'
opponentConference:
$ref: '#/components/schemas/ConferenceRestObject'
date:
type: string
format: date
gameType:
type: string
isHome:
type: boolean
isWin:
type: boolean
dayOfWeek:
type: integer
format: int32
month:
type: integer
format: int32
numTeams:
type: integer
format: int32
numOccurrences:
type: integer
format: int32
rank:
type: integer
format: int32
type:
type: string
group:
type: string
split:
$ref: '#/components/schemas/DynamicEnumRestObject'
exemption:
$ref: '#/components/schemas/StatExemptionRestObject'
game:
$ref: '#/components/schemas/BaseballScheduleItemRestObject'
Media:
type: object
properties:
epg:
$ref: '#/components/schemas/JsonNode'
epgAlternate:
$ref: '#/components/schemas/JsonNode'
milestones:
$ref: '#/components/schemas/JsonNode'
featuredMedia:
$ref: '#/components/schemas/JsonNode'
freeGame:
type: boolean
enhancedGame:
type: boolean
InningHitWrap:
type: object
properties:
copyright:
type: string
away:
type: array
items:
$ref: '#/components/schemas/InningHit'
home:
type: array
items:
$ref: '#/components/schemas/InningHit'
BaseballBoxscoreNoteWrapRestObject:
type: object
properties:
copyright:
type: string
title:
type: string
fieldList:
type: array
items:
$ref: '#/components/schemas/BaseballBoxscoreNoteRestObject'
BaseballRosterEntry:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
person:
$ref: '#/components/schemas/BaseballPerson'
jerseyNumber:
type: string
position:
$ref: '#/components/schemas/BaseballPosition'
stats:
$ref: '#/components/schemas/BaseballStats'
seasonStats:
$ref: '#/components/schemas/BaseballStats'
captain:
type: boolean
alternateCaptain:
type: boolean
note:
type: string
status:
$ref: '#/components/schemas/DynamicLookupEnum'
job:
type: string
jobId:
type: string
title:
type: string
parentTeamId:
type: integer
format: int32
team:
$ref: '#/components/schemas/BaseballTeam'
isActive:
type: boolean
isActiveFortyMan:
type: boolean
startDate:
type: string
format: date
endDate:
type: string
format: date
statusDate:
type: string
format: date
allPositions:
type: array
items:
$ref: '#/components/schemas/BaseballPosition'
battingOrder:
type: string
pitchingOrder:
type: integer
format: int32
isCurrentBatter:
type: boolean
isCurrentPitcher:
type: boolean
isOnBench:
type: boolean
isSubstitute:
type: boolean
classId:
type: integer
format: int32
sportId:
type: integer
format: int32
qualifiedForGamePitched:
type: boolean
statContainer:
type: array
items:
$ref: '#/components/schemas/StatContainer'
hydratedRosterEntriesTeam:
type: object
additionalProperties:
type: object
writeOnly: true
BaseballPersonRestObject:
type: object
properties:
id:
type: integer
format: int32
fullName:
type: string
link:
type: string
firstName:
type: string
lastName:
type: string
primaryNumber:
type: string
birthDate:
type: string
format: date
currentAge:
type: integer
format: int32
birthCity:
type: string
birthStateProvince:
type: string
birthCountry:
type: string
nationality:
type: string
height:
type: string
weight:
type: integer
format: int32
active:
type: boolean
alternateCaptain:
type: boolean
captain:
type: boolean
rookie:
type: boolean
currentTeam:
$ref: '#/components/schemas/BaseballTeamRestObject'
primaryPosition:
$ref: '#/components/schemas/PositionRestObject'
social:
$ref: '#/components/schemas/SocialMediaRestObject'
copyright:
type: string
hydrations:
type: array
items:
type: string
useName:
type: string
useLastName:
type: string
middleName:
type: string
boxscoreName:
type: string
nickName:
type: string
gender:
type: string
nameMatrilineal:
type: string
isPlayer:
type: boolean
isVerified:
type: boolean
draftYear:
type: integer
format: int32
deathDate:
type: string
format: date
deathCity:
type: string
deathStateProvince:
type: string
deathCountry:
type: string
pronunciation:
type: string
lastPlayedDate:
type: string
format: date
otherNames:
$ref: '#/components/schemas/OtherNamesRestObject'
education:
$ref: '#/components/schemas/EducationRestObject'
photos:
type: array
items:
$ref: '#/components/schemas/PhotoRestObject'
stats:
type: array
items:
$ref: '#/components/schemas/StatContainerRestObject'
awards:
type: array
items:
$ref: '#/components/schemas/AwardRestObject'
draft:
type: array
items:
$ref: '#/components/schemas/PlayerDraftInfoRestObject'
additionalBio:
$ref: '#/components/schemas/AdditionalBioRestObject'
rosterEntries:
type: array
items:
$ref: '#/components/schemas/BaseballRosterEntryRestObject'
jobEntries:
type: array
items:
$ref: '#/components/schemas/BaseballRosterEntryRestObject'
mlbDebutDate:
type: string
format: date
batSide:
$ref: '#/components/schemas/DynamicEnumRestObject'
pitchHand:
$ref: '#/components/schemas/DynamicEnumRestObject'
note:
type: string
nameFirstLast:
type: string
nameTitle:
type: string
namePrefix:
type: string
deprecated: true
nameSuffix:
type: string
nameSlug:
type: string
firstLastName:
type: string
lastFirstName:
type: string
lastInitName:
type: string
initLastName:
type: string
fullFMLName:
type: string
fullLFMName:
type: string
strikeZoneTop:
type: number
format: double
strikeZoneBottom:
type: number
format: double
alumniLastSeason:
type: string
drafts:
type: array
items:
$ref: '#/components/schemas/BaseballDraftProspectRestObject'
transactions:
type: array
items:
$ref: '#/components/schemas/TransactionRestObject'
articles:
type: array
items:
$ref: '#/components/schemas/IFeedRestObject'
videos:
type: array
items:
$ref: '#/components/schemas/IFeedRestObject'
mixedFeed:
type: array
items:
$ref: '#/components/schemas/IFeedRestObject'
relatives:
type: array
items:
$ref: '#/components/schemas/BaseballPersonRestObject'
xrefIds:
type: array
items:
$ref: '#/components/schemas/XrefIdRestObject'
nicknames:
type: array
items:
type: string
AwardResult:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
seasonId:
type: integer
format: int32
winners:
type: array
items:
$ref: '#/components/schemas/AwardWinner'
About:
type: object
properties:
copyright:
type: string
atBatIndex:
type: integer
format: int32
halfInning:
type: string
isTopInning:
type: boolean
inning:
type: integer
format: int32
startTime:
type: string
format: date-time
endTime:
type: string
format: date-time
isComplete:
type: boolean
isScoringPlay:
type: boolean
hasReview:
type: boolean
hasOut:
type: boolean
description: Does the play include an out?
captivatingIndex:
type: integer
format: int32
InningHit:
type: object
properties:
copyright:
type: string
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
inning:
type: integer
format: int32
pitcher:
$ref: '#/components/schemas/BaseballPersonRestObject'
batter:
$ref: '#/components/schemas/BaseballPersonRestObject'
coordinates:
$ref: '#/components/schemas/Coordinate'
type:
type: string
description:
type: string
Duration:
type: object
properties:
standardDays:
type: integer
format: int64
standardHours:
type: integer
format: int64
standardMinutes:
type: integer
format: int64
standardSeconds:
type: integer
format: int64
millis:
type: integer
format: int64
CalendarTypes:
type: string
enum:
- PRIMARY
- SECONDARY
- TERTIARY
RelatedApplication:
type: object
properties:
androidPackage:
type: string
icon:
type: string
intent:
type: string
name:
type: string
androidUrl:
type: string
iosUrl:
type: string
iosPackage:
type: string
primary:
type: boolean
ScheduleEventCms:
type: object
properties:
content:
$ref: '#/components/schemas/JsonNode'
HitTrajectoryDataRestObject:
type: object
properties:
copyright:
type: string
trajectoryPolynomialX:
type: array
items:
type: number
format: double
trajectoryPolynomialY:
type: array
items:
type: number
format: double
trajectoryPolynomialZ:
type: array
items:
type: number
format: double
validTimeInterval:
type: array
items:
type: number
format: double
measuredTimeInterval:
type: array
items:
type: number
format: double
reducedConfidence:
type: array
items:
type: string
maxHeightPosition:
$ref: '#/components/schemas/CoordinatesRestObject'
hitPositionAt110Feet:
$ref: '#/components/schemas/CoordinatesRestObject'
AwardResultRestObject:
type: object
properties:
copyright:
type: string
hydrations:
type: array
items:
type: string
seasonId:
type: integer
format: int32
winners:
type: array
items:
$ref: '#/components/schemas/AwardWinnerRestObject'
GameTypeDates:
type: object
properties:
name:
type: string
shortName:
type: string
startDate:
type: string
format: date
endDate:
type: string
format: date
season:
type: string
roundRobin:
type: boolean
playoffs:
type: boolean
playoffRound:
type: integer
format: int32
league:
$ref: '#/components/schemas/League'
sport:
$ref: '#/components/schemas/Sport'
gameType:
$ref: '#/components/schemas/GameTypeEnum'
BaseballGameDataGameRestObject:
type: object
properties:
copyright:
type: string
pk:
type: integer
format: int32
type:
type: string
doubleHeader:
type: string
id:
type: string
gamedayType:
type: string
tiebreaker:
type: string
gameNumber:
type: integer
format: int32
calendarEventID:
type: string
season:
type: string
seasonDisplay:
type: string
TimeZone:
type: object
properties:
id:
type: string
offset:
type: integer
format: int32
tz:
type: string
Promotion:
type: object
properties:
teamId:
type: integer
format: int32
tlink:
type: string
title:
type: string
description:
type: string
altPageUrl:
type: string
imageUrl:
type: string
thumbnailUrl:
type: string
offerType:
type: string
distribution:
type: string
sortKey:
type: string
presentedBy:
type: string
order:
type: integer
format: int32
offerId:
type: integer
format: int32
displayIfPast:
type: boolean
other:
type: string
notSponsorship:
type: boolean
sponsorship:
type: boolean
Details:
type: object
properties:
copyright:
type: string
call:
$ref: '#/components/schemas/DynamicEnumRestObject'
description:
type: string
event:
type: string
eventType:
type: string
code:
type: string
ballColor:
type: string
trailColor:
type: string
isInPlay:
type: boolean
isStrike:
type: boolean
isBall:
type: boolean
isBaseHit:
type: boolean
isAtBat:
type: boolean
isPlateAppearance:
type: boolean
type:
$ref: '#/components/schemas/DynamicEnumRestObject'
awayScore:
type: integer
format: int32
homeScore:
type: integer
format: int32
isScoringPlay:
type: boolean
isOut:
type: boolean
description: Does the play event include an out?
hasReview:
type: boolean
fromCatcher:
type: boolean
runnerGoing:
type: boolean
batSide:
$ref: '#/components/schemas/DynamicEnumRestObject'
pitchHand:
$ref: '#/components/schemas/DynamicEnumRestObject'
disengagementNum:
type: integer
format: int32
violation:
$ref: '#/components/schemas/ViolationRestObject'
BaseballScheduleItemRestObject:
type: object
properties:
copyright:
type: string
gamePk:
type: integer
format: int32
link:
type: string
gameType:
type: string
season:
type: string
gameDate:
type: string
format: date-time
officialDate:
type: string
format: date
resumeDate:
type: string
format: date-time
resumeGameDate:
type: string
format: date
resumedFrom:
type: string
format: date-time
resumedFromDate:
type: string
format: date
rescheduleDate:
type: string
format: date-time
rescheduleGameDate:
type: string
format: date
rescheduledFrom:
type: string
format: date-time
rescheduledFromDate:
type: string
format: date
endDateTime:
type: string
format: date-time
status:
$ref: '#/components/schemas/GameStatusRestObject'
teams:
type: object
additionalProperties:
$ref: '#/components/schemas/BaseballScheduleItemTeamRestObject'
linescore:
$ref: '#/components/schemas/BaseballLinescoreRestObject'
decisions:
$ref: '#/components/schemas/BaseballDecisionRestObject'
scoringPlays:
type: array
items:
$ref: '#/components/schemas/BaseballPlayRestObject'
venue:
$ref: '#/components/schemas/VenueRestObject'
tickets:
type: array
items:
$ref: '#/components/schemas/BaseballTicketRestObject'
atBatTickets:
type: array
items:
$ref: '#/components/schemas/BaseballTicketRestObject'
promotions:
type: array
items:
$ref: '#/components/schemas/PromotionRestObject'
atBatPromotions:
type: array
items:
$ref: '#/components/schemas/PromotionRestObject'
sponsorships:
type: array
items:
$ref: '#/components/schemas/PromotionRestObject'
broadcasts:
type: array
items:
$ref: '#/components/schemas/BroadcastRestObject'
radioBroadcasts:
type: array
items:
$ref: '#/components/schemas/BroadcastRestObject'
content:
$ref: '#/components/schemas/GameContentRestObject'
seriesStatus:
$ref: '#/components/schemas/SeriesStatusRestObject'
isDefaultGame:
type: boolean
sortNumber:
type: integer
format: int32
isTie:
type: boolean
isFeaturedGame:
type: boolean
officials:
type: array
items:
$ref: '#/components/schemas/OfficialRestObject'
pregameOfficials:
type: array
items:
$ref: '#/components/schemas/OfficialRestObject'
weather:
$ref: '#/components/schemas/WeatherRestObject'
xrefIds:
type: array
items:
$ref: '#/components/schemas/XrefIdRestObject'
gameInfo:
$ref: '#/components/schemas/GameInfoRestObject'
gameNumber:
type: integer
format: int32
publicFacing:
type: boolean
story:
$ref: '#/components/schemas/GameStoryRestObject'
ruleSettings:
type: array
items:
$ref: '#/components/schemas/RuleSettingsRestObject'
trackingVersion:
$ref: '#/components/schemas/TrackingVersion'
coachingVideo:
uniqueItems: true
type: array
items:
type: string
doubleHeader:
type: string
gamedayType:
type: string
tiebreaker:
type: string
calendarEventID:
type: string
seasonDisplay:
type: string
dayNight:
type: string
description:
type: string
scheduledInnings:
type: integer
format: int32
reverseHomeAwayStatus:
type: boolean
inningBreakLength:
type: integer
format: int32
gamesInSeries:
type: integer
format: int32
seriesGameNumber:
type: integer
format: int32
seriesDescription:
type: string
review:
$ref: '#/components/schemas/BaseballReviewRestObject'
flags:
$ref: '#/components/schemas/BaseballGameFlagRestObject'
alerts:
type: array
items:
$ref: '#/components/schemas/BaseballGameAlertRestObject'
liveLookin:
$ref: '#/components/schemas/BaseballGameLiveLookinRestObject'
previousPlay:
$ref: '#/components/schemas/BaseballPlayRestObject'
homeRuns:
type: array
items:
$ref: '#/components/schemas/BaseballPlayRestObject'
recordSource:
type: string
ifNecessary:
type: string
ifNecessaryDescription:
type: string
day:
type: string
gameId:
type: string
lineups:
$ref: '#/components/schemas/BaseballLineupRestObject'
GameHighlightsRestObject:
type: object
properties:
copyright:
type: string
scoreboard:
$ref: '#/components/schemas/JsonNode'
gameCenter:
$ref: '#/components/schemas/JsonNode'
milestone:
$ref: '#/components/schemas/JsonNode'
highlights:
$ref: '#/components/schemas/JsonNode'
live:
$ref: '#/components/schemas/JsonNode'
scoreboardPreview:
$ref: '#/components/schemas/JsonNode'
OtherNames:
type: object
properties:
id:
type: integer
format: int32
firstName:
type: string
lastName:
type: string
slug:
type: string
phoneticName:
type: string
StatsRestObject:
type: object
properties:
copyright:
type: string
stats:
type: array
items:
$ref: '#/components/schemas/StatContainerRestObject'
StatGroup:
type: string
enum:
- HITTING
- PITCHING
- FIELDING
- CATCHING
- RUNNING
- GAME
- TEAM
- STREAK
Editorial:
type: object
properties:
probables:
$ref: '#/components/schemas/JsonNode'
preview:
$ref: '#/components/schemas/JsonNode'
recap:
$ref: '#/components/schemas/JsonNode'
articles:
$ref: '#/components/schemas/JsonNode'
wrap:
$ref: '#/components/schemas/JsonNode'
DynamicLookupEnum:
type: object
properties:
lookupType:
type: string
lookupKey:
type: string
description:
type: string
writeOnly: true
sortOrder:
type: integer
format: int32
EventStatus:
type: object
properties:
startTimeTBD:
type: boolean
code:
type: string
abstractGameState:
type: string
detailedState:
type: string
BaseballGameMetaDataRestObject:
type: object
properties:
copyright:
type: string
wait:
type: integer
format: int32
timeStamp:
type: string
gameEvents:
type: array
items:
type: string
logicalEvents:
type: array
items:
type: string
BaseballPitch:
type: object
properties:
ballColor:
type: string
trailColor:
type: string
startSpeed:
type: number
format: double
endSpeed:
type: number
format: double
nastyFactor:
type: number
format: double
strikeZoneTop:
type: number
format: double
strikeZoneBottom:
type: number
format: double
strikeZoneWidth:
type: number
format: double
strikeZoneDepth:
type: number
format: double
getaX:
type: number
format: double
getaY:
type: number
format: double
getaZ:
type: number
format: double
pfxX:
type: number
format: double
pfxZ:
type: number
format: double
getpX:
type: number
format: double
getpZ:
type: number
format: double
getvX0:
type: number
format: double
getvY0:
type: number
format: double
getvZ0:
type: number
format: double
x:
type: number
format: double
y:
type: number
format: double
z0:
type: number
format: double
y0:
type: number
format: double
x0:
type: number
format: double
breakAngle:
type: number
format: double
breakLength:
type: number
format: double
breakX:
type: number
format: double
breakY:
type: number
format: double
breakZ:
type: number
format: double
zone:
type: integer
format: int32
spinRate:
type: integer
format: int32
spinDirection:
type: integer
format: int32
typeConfidence:
type: number
format: double
plateTime:
type: number
format: double
extension:
type: number
format: double
PitchingData:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
note:
type: string
summary:
type: object
additionalProperties:
type: string
writeOnly: true
catchersInterference:
type: integer
format: int32
average:
type: string
onBasePercentage:
type: string
onBasePlusSlugging:
type: string
stolenBases:
type: integer
format: int32
caughtStealing:
type: integer
format: int32
slugging:
type: string
outs:
type: integer
format: int32
gidp:
type: integer
format: int32
gitp:
type: integer
format: int32
homeRuns:
type: integer
format: int32
numberOfPitches:
type: integer
format: int32
totalBases:
type: integer
format: int32
gidpOpportunites:
type: integer
format: int32
walks:
type: integer
format: int32
hitByPitch:
type: integer
format: int32
strikeouts:
type: integer
format: int32
airOuts:
type: integer
format: int32
goAo:
type: string
pitchesPerPlateAppearance:
type: number
format: double
intentionalWalks:
type: integer
format: int32
groundOuts:
type: integer
format: int32
flyOuts:
type: integer
format: int32
games:
type: integer
format: int32
gamesStarted:
type: integer
format: int32
doubles:
type: integer
format: int32
hits:
type: integer
format: int32
triples:
type: integer
format: int32
singles:
type: integer
format: int32
runs:
type: integer
format: int32
atBats:
type: integer
format: int32
pickoffs:
type: integer
format: int32
stolenBasePercentage:
type: string
wildPitches:
type: integer
format: int32
sacFlies:
type: integer
format: int32
sacBunts:
type: integer
format: int32
putouts:
type: integer
format: int32
assists:
type: integer
format: int32
chances:
type: integer
format: int32
streak:
type: integer
format: int32
battingOrder:
type: string
totalSwings:
type: integer
format: int32
swingsAndMisses:
type: integer
format: int32
ballsInPlay:
type: integer
format: int32
popOuts:
type: integer
format: int32
lineOuts:
type: integer
format: int32
flyHits:
type: integer
format: int32
popHits:
type: integer
format: int32
lineHits:
type: integer
format: int32
groundHits:
type: integer
format: int32
battersFaced:
type: integer
format: int32
earnedRuns:
type: integer
format: int32
walksHitsPerInningPitched:
type: string
wins:
type: integer
format: int32
losses:
type: integer
format: int32
ties:
type: integer
format: int32
saves:
type: integer
format: int32
saveOpportunities:
type: integer
format: int32
holds:
type: integer
format: int32
blownSaves:
type: integer
format: int32
pitchesThrown:
type: integer
format: int32
balls:
type: integer
format: int32
strikes:
type: integer
format: int32
inningsPitched:
type: string
outsPitched:
type: integer
format: int32
earnedRunAverage:
type: string
inheritedRuns:
type: integer
format: int32
inheritedRunsScored:
type: integer
format: int32
inheritedRunnersStrandedPercentage:
type: string
completeGames:
type: integer
format: int32
shutouts:
type: integer
format: int32
balks:
type: integer
format: int32
hitBatsmen:
type: integer
format: int32
runsBattedIn:
type: integer
format: int32
winPercentage:
type: string
pitchesPerInning:
type: string
gamesFinished:
type: integer
format: int32
strikeoutWalkRatio:
type: string
strikeoutsPer9Inn:
type: string
walksPer9Inn:
type: string
hitsPer9Inn:
type: string
runsScoredPer9:
type: string
homeRunsPer9:
type: string
strikePercentage:
type: string
pitchingOrder:
type: integer
format: int32
passedBall:
type: integer
format: int32
runsScoredPer9OrNull:
type: string
homeRunsPer9OrNull:
type: string
strikePercentageOrNull:
type: string
plateAppearances:
type: integer
format: int32
stolenBasePercentageOrNull:
type: string
pitchesPerPlateAppearanceStr:
type: string
UsedRemainingRestObject:
type: object
properties:
copyright:
type: string
used:
type: integer
format: int32
remaining:
type: integer
format: int32
BaseballGameContextRestObject:
type: object
properties:
copyright:
type: string
game:
$ref: '#/components/schemas/BaseballScheduleItemRestObject'
expectedStatisticsData:
$ref: '#/components/schemas/StatDataRestObject'
runnerOnThird:
$ref: '#/components/schemas/BaseballPersonRestObject'
leftFieldSacFlyProbability:
$ref: '#/components/schemas/SacFlyProbability'
centerFieldSacFlyProbability:
$ref: '#/components/schemas/SacFlyProbability'
rightFieldSacFlyProbability:
$ref: '#/components/schemas/SacFlyProbability'
awayWinProbability:
type: number
format: double
homeWinProbability:
type: number
format: double
League:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
id:
type: integer
format: int32
name:
type: string
nameShort:
type: string
nameAbbreviation:
type: string
orgCode:
type: string
sport:
$ref: '#/components/schemas/Sport'
seasonState:
type: string
hasWildcard:
type: boolean
hasSplitSeason:
type: boolean
seasonDateInfo:
$ref: '#/components/schemas/Season'
season:
type: string
leagueTimeZone:
$ref: '#/components/schemas/TimeZone'
games:
type: integer
format: int32
hasPlayoffPoints:
type: boolean
totalTeams:
type: integer
format: int32
totalWildcardTeams:
type: integer
format: int32
hasDivisions:
type: boolean
hasConferences:
type: boolean
timeZone:
$ref: '#/components/schemas/TimeZone'
defaultVenueId:
type: integer
format: int32
sortOrder:
type: integer
format: int32
ruleSettings:
type: array
items:
$ref: '#/components/schemas/RuleSettings'
active:
type: boolean
affiliated:
type: boolean
MediaSourceType:
type: string
enum:
- BROADCAST
- ALTERNATE_BROADCAST
- CH_HIGH_SIDEVIEW
- CENTERFIELD
- HOME
- AWAY
- NETWORK
- PITCHCAST
- CH_SIDEVIEW
- CF
- HIGH_HOME
- FIRST_BASE_SIDEVIEW
- THIRD_BASE_SIDEVIEW
- FIRST_BASE_BATTER_SIDEVIEW
- THIRD_BASE_BATTER_SIDEVIEW
- THIRD_BASE_PITCHER_SIDEVIEW
- FIRST_BASE_PITCHER_SIDEVIEW
Article:
type: object
properties:
article:
$ref: '#/components/schemas/JsonNode'
playerId:
type: string
date:
type: string
format: date-time
BaseballStats:
type: object
properties:
allStats:
type: array
items:
$ref: '#/components/schemas/StatContainer'
battingStats:
$ref: '#/components/schemas/BattingData'
pitchingStats:
$ref: '#/components/schemas/PitchingData'
fieldingStats:
$ref: '#/components/schemas/FieldingData'
gameStats:
$ref: '#/components/schemas/GameStatData'
teamStats:
$ref: '#/components/schemas/TeamStatData'
Video:
type: object
properties:
playId:
type: string
playbackGroups:
$ref: '#/components/schemas/JsonNode'
atBatNumber:
type: integer
format: int32
pitchNumber:
type: integer
format: int32
date:
type: string
format: date-time
Transaction:
type: object
properties:
id:
type: integer
format: int32
person:
$ref: '#/components/schemas/BaseballPerson'
typeId:
type: string
typeCode:
type: string
fromTeam:
$ref: '#/components/schemas/BaseballTeam'
toTeam:
$ref: '#/components/schemas/BaseballTeam'
date:
type: string
format: date-time
effectiveDate:
type: string
format: date-time
resolutionDate:
type: string
format: date-time
type:
type: string
isConditional:
type: boolean
description:
type: string
descriptionMap:
type: object
additionalProperties:
type: string
SacFlyProbability:
type: object
properties:
innerDistance:
type: integer
format: int32
outerDistance:
type: integer
format: int32
fielder:
$ref: '#/components/schemas/BaseballPersonRestObject'
AllStarEnum:
type: string
enum:
- N
- Y
- F
- T
- O
- I
BaseballHitDataRestObject:
type: object
properties:
copyright:
type: string
launchSpeed:
type: number
format: double
launchAngle:
type: number
format: double
totalDistance:
type: number
format: double
trajectory:
type: string
hardness:
type: string
location:
type: string
coordinates:
$ref: '#/components/schemas/Coordinates'
isBarrel:
type: boolean
hitProbability:
type: number
format: double
launchData:
$ref: '#/components/schemas/LaunchDataRestObject'
trajectoryData:
$ref: '#/components/schemas/HitTrajectoryDataRestObject'
landingData:
$ref: '#/components/schemas/StartEndDataRestObject'
lastMeasuredData:
$ref: '#/components/schemas/StartEndDataRestObject'
reducedConfidence:
type: array
items:
type: string
RuleSettingsOptionRestObject:
type: object
properties:
settingValueId:
type: integer
format: int32
displayName:
type: string
description:
type: string
activeBeginDate:
type: string
format: date
activeEndDate:
type: string
format: date
value:
type: object
sortOrder:
type: integer
format: int32
GameStoryRestObject:
type: object
properties:
gamePk:
type: integer
format: int32
link:
type: string
pages:
type: integer
format: int32
lastUpdated:
type: string
format: date-time
BaseballLinescoreRestObject:
type: object
properties:
copyright:
type: string
note:
type: string
currentInning:
type: integer
format: int32
currentInningOrdinal:
type: string
inningState:
type: string
inningHalf:
type: string
isTopInning:
type: boolean
scheduledInnings:
type: integer
format: int32
innings:
type: array
items:
$ref: '#/components/schemas/InningRestObject'
teams:
$ref: '#/components/schemas/BaseballLinescoreTeamInfoRestObject'
defense:
$ref: '#/components/schemas/BaseballDefenseRestObject'
offense:
$ref: '#/components/schemas/BaseballOffenseRestObject'
balls:
type: integer
format: int32
strikes:
type: integer
format: int32
outs:
type: integer
format: int32
tie:
type: boolean
Franchise:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
franchiseId:
type: integer
format: int32
firstSeasonId:
type: integer
format: int32
lastSeasonId:
type: integer
format: int32
mostRecentTeamId:
type: integer
format: int32
teamName:
type: string
locationName:
type: string
teamIds:
uniqueItems: true
type: array
items:
type: integer
format: int32
roster:
$ref: '#/components/schemas/BaseballRoster'
hydratedRosters:
type: object
additionalProperties:
type: object
writeOnly: true
School:
type: object
properties:
name:
type: string
schoolClass:
type: string
city:
type: string
country:
type: string
state:
type: string
BaseballPlay:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
balls:
type: integer
format: int32
strikes:
type: integer
format: int32
outs:
type: integer
format: int32
inning:
type: integer
format: int32
atBatIndex:
type: integer
format: int32
halfInning:
type: string
hasOut:
type: boolean
batter:
$ref: '#/components/schemas/BaseballPerson'
pitcher:
$ref: '#/components/schemas/BaseballPerson'
startTime:
type: string
format: date-time
endTime:
type: string
format: date-time
batterHotColdZoneStats:
$ref: '#/components/schemas/Stats'
pitcherHotColdZoneStats:
$ref: '#/components/schemas/Stats'
batterHotColdZones:
type: array
items:
$ref: '#/components/schemas/BaseballHotColdZone'
pitcherHotColdZones:
type: array
items:
$ref: '#/components/schemas/BaseballHotColdZone'
splitsBatter:
type: string
splitsPitcher:
type: string
splitsMenOnBase:
type: string
pitchHand:
$ref: '#/components/schemas/DynamicLookupEnum'
batSide:
$ref: '#/components/schemas/DynamicLookupEnum'
captivatingIndex:
type: integer
format: int32
hitTrajectory:
$ref: '#/components/schemas/HitTrajectory'
eventType:
type: string
eventTypeEnum:
$ref: '#/components/schemas/EventType'
result:
type: string
resultMap:
type: object
additionalProperties:
type: string
description:
type: string
numRbi:
type: integer
format: int32
awayScore:
type: integer
format: int32
homeScore:
type: integer
format: int32
isComplete:
type: boolean
writeOnly: true
isScoringPlay:
type: boolean
writeOnly: true
hasReview:
type: boolean
reviewType:
type: string
reviewOverturned:
type: boolean
reviewInProgress:
type: boolean
challengeTeamId:
type: integer
format: int32
reviews:
type: array
items:
$ref: '#/components/schemas/BaseballReview'
runnerOn1b:
$ref: '#/components/schemas/BaseballPerson'
runnerOn2b:
$ref: '#/components/schemas/BaseballPerson'
runnerOn3b:
$ref: '#/components/schemas/BaseballPerson'
pitchIndex:
type: array
items:
type: integer
format: int32
actionIndex:
type: array
items:
type: integer
format: int32
runnerIndex:
type: array
items:
type: object
runnerMovements:
type: array
items:
$ref: '#/components/schemas/BaseballRunnerMovement'
playEvents:
type: array
items:
$ref: '#/components/schemas/BaseballPlayEvent'
credits:
type: array
items:
$ref: '#/components/schemas/PlayCredit'
flags:
type: array
items:
$ref: '#/components/schemas/PlayCredit'
isDoublePlay:
type: boolean
writeOnly: true
isGroundIntoDoublePlay:
type: boolean
writeOnly: true
isTriplePlay:
type: boolean
writeOnly: true
numLeftOnBase:
type: integer
format: int32
numLeftOnBaseScoring:
type: integer
format: int32
writeOnly: true
offensiveAlignmentId:
type: string
defensiveAlignmentId:
type: string
hit:
type: boolean
complete:
type: boolean
results:
type: object
additionalProperties:
type: string
writeOnly: true
summary:
$ref: '#/components/schemas/BaseballPlay'
numRuns:
type: integer
format: int32
atBat:
type: boolean
topInning:
type: boolean
scoringPlay:
type: boolean
descriptions:
type: object
additionalProperties:
type: string
writeOnly: true
plateAppearance:
type: boolean
groundIntoDoublePlay:
type: boolean
groundOut:
type: boolean
responsiblePitcher:
$ref: '#/components/schemas/BaseballPerson'
inPlayEvent:
$ref: '#/components/schemas/BaseballPlayEvent'
numErrors:
type: integer
format: int32
payoffEvent:
$ref: '#/components/schemas/BaseballPlayEvent'
teamNumLeftOnBase:
type: integer
format: int32
batterResultEvent:
$ref: '#/components/schemas/EventType'
responsibleBatter:
$ref: '#/components/schemas/BaseballPerson'
doublePlay:
type: boolean
triplePlay:
type: boolean
numLeftOnBaseScoringPosition:
type: integer
format: int32
BaseballReview:
type: object
properties:
reviewType:
type: string
reviewOverturned:
type: boolean
challengeTeamId:
type: integer
format: int32
reviewInProgress:
type: boolean
BaseballDecision:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
winner:
$ref: '#/components/schemas/BaseballPerson'
loser:
$ref: '#/components/schemas/BaseballPerson'
save:
$ref: '#/components/schemas/BaseballPerson'
empty:
type: boolean
notEmpty:
type: boolean
hydratedPeople:
type: object
additionalProperties:
type: object
writeOnly: true
VenueMetadataRestObject:
type: object
properties:
copyright:
type: string
active:
type: boolean
capacity:
type: integer
format: int32
startYear:
type: integer
format: int32
endYear:
type: integer
format: int32
types:
type: array
items:
type: string
FielderDetailType:
type: string
enum:
- ASSIST
- OUTFIELD_ASSIST
- PASSED_BALL
- FIELDED_BALL
- DEFLECTION
- OUT_NUMBER
- PUTOUT
- TOUCH
- ERROR
- FIELDING_ERROR
- FOUL_ERROR
- DROPPED_BALL_ERROR
- INTERFERENCE
- THROWING_ERROR
- CATCHER_INTERFERENCE
- STOLEN_BASE_2B
- STOLEN_BASE_3B
- STOLEN_BASE_HP
- CAUGHT_STEALING_2B
- CAUGHT_STEALING_3B
- CAUGHT_STEALING_HP
- PICKOFF_1B
- PICKOFF_2B
- PICKOFF_3B
- TEAM_ERROR
- TEAM_DOUBLE_PLAY
- TEAM_TRIPLE_PLAY
- UNKNOWN
ScheduleEvent:
type: object
properties:
id:
type: integer
format: int32
name:
type: string
link:
type: string
eventType:
$ref: '#/components/schemas/ScheduleEventTypes'
eventDate:
type: string
format: date-time
calendarDate:
type: string
format: date
endDate:
type: string
format: date
endDateTime:
type: string
format: date-time
images:
type: array
items:
$ref: '#/components/schemas/Image'
venue:
$ref: '#/components/schemas/Venue'
sports:
type: array
items:
$ref: '#/components/schemas/Sport'
leagues:
type: array
items:
$ref: '#/components/schemas/League'
divisions:
type: array
items:
$ref: '#/components/schemas/Division'
organizationIds:
type: array
items:
type: integer
format: int32
game:
$ref: '#/components/schemas/BaseballScheduleItem'
content:
$ref: '#/components/schemas/ScheduleEventCms'
eventDesignations:
type: array
items:
$ref: '#/components/schemas/Designation'
tickets:
type: array
items:
$ref: '#/components/schemas/BaseballTicket'
promotionTickets:
type: array
items:
$ref: '#/components/schemas/BaseballTicket'
timeZone:
$ref: '#/components/schemas/TimeZone'
eventStatus:
$ref: '#/components/schemas/EventStatus'
teamId:
type: integer
format: int32
organizationId:
type: integer
format: int32
organizationType:
type: string
calendarType:
$ref: '#/components/schemas/CalendarTypes'
fileCode:
type: string
eventNumber:
type: integer
format: int32
publicFacing:
$ref: '#/components/schemas/PublicFacingEnum'
teams:
type: array
items:
$ref: '#/components/schemas/BaseballTeam'
trackingVersion:
$ref: '#/components/schemas/TrackingVersion'
coachingVideo:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/MediaSourceType'
multiDay:
type: boolean
primaryCalendar:
type: boolean
Breaks:
type: object
properties:
breakAngle:
type: number
format: double
breakLength:
type: number
format: double
breakX:
type: number
format: double
breakY:
type: number
format: double
breakZ:
type: number
format: double
spinRate:
type: integer
format: int32
spinDirection:
type: integer
format: int32
TeamPlayoffs:
type: object
properties:
inPlayoffs:
type: boolean
Award:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
results:
type: array
items:
$ref: '#/components/schemas/AwardResult'
winners:
type: array
items:
$ref: '#/components/schemas/AwardWinner'
id:
type: string
name:
type: string
shortName:
type: string
description:
type: string
recipientType:
type: string
history:
type: string
team:
$ref: '#/components/schemas/BaseballTeam'
imageUrl:
type: string
homePageUrl:
type: string
date:
type: string
format: date
season:
type: string
sortOrder:
type: integer
format: int32
player:
$ref: '#/components/schemas/BaseballPerson'
votes:
type: integer
format: int32
votesAvailable:
type: integer
format: int32
sport:
$ref: '#/components/schemas/Sport'
league:
$ref: '#/components/schemas/League'
notes:
type: string
organizationId:
type: integer
format: int32
PlayCredit:
type: object
properties:
person:
$ref: '#/components/schemas/BaseballPerson'
credit:
type: string
position:
$ref: '#/components/schemas/BaseballPosition'
detail:
$ref: '#/components/schemas/GameEventDetailTO'
fielderStat:
$ref: '#/components/schemas/FielderDetailType'
batterStat:
$ref: '#/components/schemas/BatterDetailType'
pitcherStat:
$ref: '#/components/schemas/PitcherDetailType'
runnerStat:
$ref: '#/components/schemas/RunnerDetailType'
BaseballPlayEvent:
type: object
properties:
balls:
type: integer
format: int32
strikes:
type: integer
format: int32
outs:
type: integer
format: int32
runnerOn1b:
type: boolean
runnerOn2b:
type: boolean
runnerOn3b:
type: boolean
inning:
type: integer
format: int32
isTopInning:
type: boolean
preBalls:
type: integer
format: int32
preStrikes:
type: integer
format: int32
preOuts:
type: integer
format: int32
postBalls:
type: integer
format: int32
postStrikes:
type: integer
format: int32
postOuts:
type: integer
format: int32
postRunnerOn1b:
type: boolean
postRunnerOn2b:
type: boolean
postRunnerOn3b:
type: boolean
pitchNumber:
type: integer
format: int32
pickoffNumber:
type: integer
format: int32
atBatNumber:
type: integer
format: int32
eventTypeEnum:
$ref: '#/components/schemas/EventType'
description:
type: string
descriptionMap:
type: object
additionalProperties:
type: string
pitchCall:
$ref: '#/components/schemas/DynamicLookupEnum'
pitchType:
$ref: '#/components/schemas/DynamicLookupEnum'
pitch:
$ref: '#/components/schemas/BaseballPitch'
hit:
$ref: '#/components/schemas/BaseballHit'
index:
type: integer
format: int32
pfxId:
type: string
playId:
type: string
actionPlayId:
type: string
isPitch:
type: boolean
writeOnly: true
isInPlay:
type: boolean
isStrike:
type: boolean
isBall:
type: boolean
event:
type: string
eventMap:
type: object
additionalProperties:
type: string
code:
type: string
type:
type: string
startTime:
type: string
format: date-time
endTime:
type: string
format: date-time
player:
$ref: '#/components/schemas/BaseballPerson'
umpire:
$ref: '#/components/schemas/BaseballPerson'
replacedPlayer:
$ref: '#/components/schemas/BaseballPerson'
position:
$ref: '#/components/schemas/BaseballPosition'
battingOrder:
type: string
scored:
type: boolean
isOut:
type: boolean
awayScore:
type: integer
format: int32
homeScore:
type: integer
format: int32
isAtBat:
type: boolean
isPlateAppearance:
type: boolean
isBaseHit:
type: boolean
pitchHand:
$ref: '#/components/schemas/DynamicLookupEnum'
batSide:
$ref: '#/components/schemas/DynamicLookupEnum'
hasReview:
type: boolean
reviewType:
type: string
reviewOverturned:
type: boolean
reviewInProgress:
type: boolean
challengeTeamId:
type: integer
format: int32
reviews:
type: array
items:
$ref: '#/components/schemas/BaseballReview'
fromCatcher:
type: boolean
injuryType:
type: string
players:
$ref: '#/components/schemas/BaseballLinescore'
defensiveAlignmentId:
type: string
offensiveAlignmentId:
type: string
offensiveLineupId:
type: string
defensiveLineupId:
type: string
umpires:
type: array
items:
$ref: '#/components/schemas/Official'
credits:
type: array
items:
$ref: '#/components/schemas/PlayCredit'
base:
type: integer
format: int32
isDoublePlay:
type: boolean
writeOnly: true
numInheritedRunners:
type: integer
format: int32
disengagementNum:
type: integer
format: int32
violation:
$ref: '#/components/schemas/BaseballViolation'
events:
type: object
additionalProperties:
type: string
writeOnly: true
summary:
$ref: '#/components/schemas/BaseballPlayEvent'
descriptions:
type: object
additionalProperties:
type: string
writeOnly: true
runnerGoing:
type: boolean
baseRunningPlay:
type: boolean
substitution:
type: boolean
numberOfPeopleOnBase:
type: integer
format: int32
doublePlay:
type: boolean
numberOfPeopleOnBaseScoringPosition:
type: integer
format: int32
RuleSettingsOption:
type: object
properties:
settingValueId:
type: integer
format: int32
settingId:
type: integer
format: int32
displayName:
type: string
description:
type: string
activeBeginDate:
type: string
format: date
activeEndDate:
type: string
format: date
value:
type: object
sortOrder:
type: integer
format: int32
ScheduleRestObject:
type: object
properties:
copyright:
type: string
hydrations:
type: array
items:
type: string
totalItems:
type: integer
format: int32
totalEvents:
type: integer
format: int32
totalGames:
type: integer
format: int32
totalGamesInProgress:
type: integer
format: int32
wait:
type: integer
format: int32
dates:
type: array
items:
$ref: '#/components/schemas/ScheduleDateRestObject'
OtherNamesRestObject:
type: object
properties:
copyright:
type: string
slug:
type: string
firstInitialLastName:
type: string
lastNameFirstInitial:
type: string
lastFirstName:
type: string
phoneticName:
type: string
GameTO:
type: object
properties:
gameStatusDetail:
type: string
awayHolds:
type: array
items:
type: integer
format: int32
homeHolds:
type: array
items:
type: integer
format: int32
awayBlownSaves:
type: array
items:
type: integer
format: int32
homeBlownSaves:
type: array
items:
type: integer
format: int32
gameMinutes:
type: integer
format: int32
firstPitchTimeUTC:
type: string
format: date-time
firstPitchTime:
type: string
totalMinutes:
type: integer
format: int32
delayMinutes:
type: integer
format: int32
game_pk:
type: integer
format: int32
attendance:
type: integer
format: int32
wind_direction:
type: string
wind_speed:
type: string
sky:
type: string
temperature:
type: string
game_status_ind:
type: string
delay_reason:
type: string
official_scorer:
type: integer
format: int32
primary_datacaster:
type: integer
format: int32
secondary_datacaster:
type: integer
format: int32
GameEditorialRestObject:
type: object
properties:
copyright:
type: string
preview:
$ref: '#/components/schemas/JsonNode'
articles:
$ref: '#/components/schemas/JsonNode'
recap:
$ref: '#/components/schemas/JsonNode'
wrap:
$ref: '#/components/schemas/JsonNode'
PlayCreditRestObject:
type: object
properties:
copyright:
type: string
player:
$ref: '#/components/schemas/BaseballPersonRestObject'
position:
$ref: '#/components/schemas/PositionRestObject'
credit:
type: string
OfficialRestObject:
type: object
properties:
official:
$ref: '#/components/schemas/BaseballPersonRestObject'
officialType:
type: string
VideoResolutionEnumRestObject:
type: object
properties:
code:
type: string
resolutionShort:
type: string
resolutionFull:
type: string
TeamContentCms:
type: object
properties:
home:
$ref: '#/components/schemas/JsonNode'
sections:
$ref: '#/components/schemas/JsonNode'
Role:
type: string
enum:
- ROLE_ANONYMOUS
- USER
- PR_USER
- BROADCAST
- TICKETING
- COMPTIX
- ENHANCED_BROADCAST
- TEAM
- EDITORIAL
- MANAGER
- AUDIT_USER
- SUPER_USER
- ADMIN
BaseballTicket:
type: object
properties:
ticketType:
type: string
ticketLink:
type: string
scheduleId:
type: integer
format: int32
onSaleEndDate:
type: string
format: date-time
homeTicketLink:
type: string
awayTicketLink:
type: string
StandingsOdds:
type: object
properties:
wildcardOdds:
type: number
format: double
divisionOdds:
type: number
format: double
playoffOdds:
type: number
format: double
BaseballOffenseRestObject:
type: object
properties:
copyright:
type: string
batter:
$ref: '#/components/schemas/BaseballPersonRestObject'
onDeck:
$ref: '#/components/schemas/BaseballPersonRestObject'
inHole:
$ref: '#/components/schemas/BaseballPersonRestObject'
first:
$ref: '#/components/schemas/BaseballPersonRestObject'
second:
$ref: '#/components/schemas/BaseballPersonRestObject'
third:
$ref: '#/components/schemas/BaseballPersonRestObject'
postOnFirst:
$ref: '#/components/schemas/BaseballPersonRestObject'
postOnSecond:
$ref: '#/components/schemas/BaseballPersonRestObject'
postOnThird:
$ref: '#/components/schemas/BaseballPersonRestObject'
pitcher:
$ref: '#/components/schemas/BaseballPersonRestObject'
batterPosition:
$ref: '#/components/schemas/PositionRestObject'
battingOrder:
type: integer
format: int32
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
BroadcastRestObject:
type: object
properties:
id:
type: integer
format: int32
name:
type: string
type:
type: string
site:
type: string
language:
type: string
copyright:
type: string
homeAway:
type: string
isNational:
type: boolean
sourceUrl:
type: string
callSign:
type: string
videoResolution:
$ref: '#/components/schemas/VideoResolutionEnumRestObject'
BaseballPitchDataRestObject:
type: object
properties:
copyright:
type: string
startSpeed:
type: number
format: double
endSpeed:
type: number
format: double
nastyFactor:
type: number
format: double
strikeZoneTop:
type: number
format: double
strikeZoneBottom:
type: number
format: double
strikeZoneWidth:
type: number
format: double
strikeZoneDepth:
type: number
format: double
coordinates:
$ref: '#/components/schemas/Coordinates'
breaks:
$ref: '#/components/schemas/Breaks'
zone:
type: integer
format: int32
typeConfidence:
type: number
format: double
plateTime:
type: number
format: double
extension:
type: number
format: double
VenueRestObject:
type: object
properties:
copyright:
type: string
hydrations:
type: array
items:
type: string
id:
type: integer
format: int32
name:
type: string
link:
type: string
location:
$ref: '#/components/schemas/LocationRestObject'
timeZone:
$ref: '#/components/schemas/TimeZoneRestObject'
fieldInfo:
$ref: '#/components/schemas/FieldInfoRestObject'
relatedApplications:
type: array
items:
$ref: '#/components/schemas/ApplicationRestObject'
images:
type: object
additionalProperties:
$ref: '#/components/schemas/ImageRestObject'
social:
$ref: '#/components/schemas/SocialMediaRestObject'
relatedVenues:
type: array
items:
$ref: '#/components/schemas/VenueRestObject'
parentVenues:
type: array
items:
$ref: '#/components/schemas/VenueRestObject'
residentVenues:
type: array
items:
$ref: '#/components/schemas/VenueRestObject'
menu:
$ref: '#/components/schemas/JsonNode'
schedule:
$ref: '#/components/schemas/ScheduleRestObject'
nextSchedule:
$ref: '#/components/schemas/ScheduleRestObject'
previousSchedule:
$ref: '#/components/schemas/ScheduleRestObject'
metadata:
$ref: '#/components/schemas/VenueMetadataRestObject'
appEnabled:
type: boolean
xrefIds:
type: array
items:
$ref: '#/components/schemas/XrefIdRestObject'
trackingVersion:
$ref: '#/components/schemas/TrackingVersion'
coachingVideo:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/MediaSourceType'
ruleSettings:
type: array
items:
$ref: '#/components/schemas/RuleSettingsRestObject'
active:
type: boolean
season:
type: string
StatContainerRestObject:
type: object
properties:
copyright:
type: string
disclaimers:
uniqueItems: true
type: array
items:
type: string
parameters:
type: object
additionalProperties:
type: object
type:
$ref: '#/components/schemas/StatType'
group:
$ref: '#/components/schemas/StatGroup'
totalSplits:
type: integer
format: int32
exemptions:
type: array
items:
$ref: '#/components/schemas/StatExemptionRestObject'
splits:
type: array
items:
$ref: '#/components/schemas/StatSplitsRestObject'
stats:
$ref: '#/components/schemas/StatDataRestObject'
splitsTiedWithOffset:
type: array
items:
$ref: '#/components/schemas/StatSplitsRestObject'
splitsTiedWithLimit:
type: array
items:
$ref: '#/components/schemas/StatSplitsRestObject'
player:
$ref: '#/components/schemas/BaseballPersonRestObject'
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
sport:
$ref: '#/components/schemas/SportRestObject'
season:
type: string
gameType:
$ref: '#/components/schemas/GameTypeEnum'
playerPool:
$ref: '#/components/schemas/PlayerPoolEnum'
RunnerMovement:
type: object
properties:
copyright:
type: string
movement:
$ref: '#/components/schemas/Movement'
details:
$ref: '#/components/schemas/Details'
credits:
type: array
items:
$ref: '#/components/schemas/PlayCreditRestObject'
BaseballRunnerMovement:
type: object
properties:
startBase:
type: string
endBase:
type: string
eventType:
type: string
eventTypeEnum:
$ref: '#/components/schemas/EventType'
runner:
$ref: '#/components/schemas/BaseballPerson'
responsiblePitcher:
$ref: '#/components/schemas/BaseballPerson'
isScoringEvent:
type: boolean
writeOnly: true
isRbi:
type: boolean
writeOnly: true
isEarned:
type: boolean
writeOnly: true
playIndex:
type: integer
format: int32
sequence:
type: integer
format: int32
outNumber:
type: integer
format: int32
outBase:
type: string
movementReason:
type: string
movementReasonEnum:
$ref: '#/components/schemas/RunnerDetailType'
credits:
type: array
items:
$ref: '#/components/schemas/PlayCredit'
originBase:
type: integer
format: int32
startBaseInt:
type: integer
format: int32
endBaseInt:
type: integer
format: int32
out:
type: boolean
teamUnearned:
type: boolean
events:
type: object
additionalProperties:
type: string
writeOnly: true
scoringEvent:
type: boolean
rbi:
type: boolean
earned:
type: boolean
Sport:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
id:
type: integer
format: int32
code:
type: string
name:
type: string
abbreviation:
type: string
sortOrder:
type: integer
format: int32
deviceProperties:
$ref: '#/components/schemas/JsonNode'
ruleSettings:
type: array
items:
$ref: '#/components/schemas/RuleSettings'
seasonState:
type: string
seasonDateInfo:
$ref: '#/components/schemas/Season'
hydratedRuleSettings:
type: object
additionalProperties:
type: object
writeOnly: true
affiliated:
type: boolean
activeStatus:
type: string
writeOnly: true
hydratedSeason:
type: object
additionalProperties:
type: object
writeOnly: true
sportActive:
type: boolean
hydratedDeviceProperties:
type: object
additionalProperties:
type: object
writeOnly: true
LimitMetadata:
type: object
properties:
limit:
type: integer
format: int32
offset:
type: integer
format: int32
ties:
type: integer
format: int32
BaseballGameDataRestObject:
type: object
properties:
copyright:
type: string
game:
$ref: '#/components/schemas/BaseballGameDataGameRestObject'
datetime:
$ref: '#/components/schemas/BaseballGameDateTimeRestObject'
status:
$ref: '#/components/schemas/GameStatusRestObject'
teams:
type: object
additionalProperties:
$ref: '#/components/schemas/BaseballTeamRestObject'
players:
type: object
additionalProperties:
$ref: '#/components/schemas/BaseballPersonRestObject'
venue:
$ref: '#/components/schemas/VenueRestObject'
officialVenue:
$ref: '#/components/schemas/VenueRestObject'
weather:
$ref: '#/components/schemas/WeatherRestObject'
gameInfo:
$ref: '#/components/schemas/GameInfoRestObject'
review:
$ref: '#/components/schemas/BaseballReviewRestObject'
absChallenges:
$ref: '#/components/schemas/BaseballABSChallengeRestObject'
flags:
$ref: '#/components/schemas/BaseballGameFlagRestObject'
alerts:
type: array
items:
$ref: '#/components/schemas/BaseballGameAlertRestObject'
probablePitchers:
$ref: '#/components/schemas/BaseballGameProbableRestObject'
officialScorer:
$ref: '#/components/schemas/BaseballPersonRestObject'
primaryDatacaster:
$ref: '#/components/schemas/BaseballPersonRestObject'
secondaryDatacaster:
$ref: '#/components/schemas/BaseballPersonRestObject'
ruleSettings:
type: array
items:
$ref: '#/components/schemas/RuleSettingsRestObject'
moundVisits:
$ref: '#/components/schemas/MoundVisitsRestObject'
BaseballGameLiveDataRestObject:
type: object
properties:
copyright:
type: string
plays:
$ref: '#/components/schemas/BaseballPlayByPlayRestObject'
linescore:
$ref: '#/components/schemas/BaseballLinescoreRestObject'
boxscore:
$ref: '#/components/schemas/BaseballBoxscoreRestObject'
decisions:
$ref: '#/components/schemas/BaseballDecisionRestObject'
leaders:
$ref: '#/components/schemas/BaseballGameLeadersRestObject'
PositionRestObject:
type: object
properties:
copyright:
type: string
code:
type: string
name:
type: string
type:
type: string
abbreviation:
type: string
Count:
type: object
properties:
copyright:
type: string
balls:
type: integer
format: int32
strikes:
type: integer
format: int32
outs:
type: integer
format: int32
inning:
type: integer
format: int32
isTopInning:
type: boolean
runnerOn1b:
type: boolean
runnerOn2b:
type: boolean
runnerOn3b:
type: boolean
CoordinatesRestObject:
type: object
properties:
copyright:
type: string
x:
type: number
format: double
y:
type: number
format: double
z:
type: number
format: double
BaseballPlayEventRestObject:
type: object
properties:
copyright:
type: string
details:
$ref: '#/components/schemas/Details'
count:
$ref: '#/components/schemas/Count'
postCount:
$ref: '#/components/schemas/Count'
preCount:
$ref: '#/components/schemas/Count'
pitchData:
$ref: '#/components/schemas/BaseballPitchDataRestObject'
hitData:
$ref: '#/components/schemas/BaseballHitDataRestObject'
index:
type: integer
format: int32
pfxId:
type: string
playId:
type: string
actionPlayId:
type: string
pitchNumber:
type: integer
format: int32
pickoffNumber:
type: integer
format: int32
atBatNumber:
type: integer
format: int32
startTime:
type: string
format: date-time
endTime:
type: string
format: date-time
isPitch:
type: boolean
isBaseRunningPlay:
type: boolean
isSubstitution:
type: boolean
type:
type: string
player:
$ref: '#/components/schemas/BaseballPersonRestObject'
umpire:
$ref: '#/components/schemas/BaseballPersonRestObject'
position:
$ref: '#/components/schemas/PositionRestObject'
battingOrder:
type: string
replacedPlayer:
$ref: '#/components/schemas/BaseballPersonRestObject'
base:
type: integer
format: int32
injuryType:
type: string
defense:
$ref: '#/components/schemas/BaseballDefenseRestObject'
offense:
$ref: '#/components/schemas/BaseballOffenseRestObject'
credits:
type: array
items:
$ref: '#/components/schemas/PlayCreditRestObject'
officials:
type: array
items:
$ref: '#/components/schemas/OfficialRestObject'
reviewDetails:
$ref: '#/components/schemas/ReviewDetails'
WinLossRecordRestObject:
type: object
properties:
copyright:
type: string
wins:
type: integer
format: int32
losses:
type: integer
format: int32
ties:
type: integer
format: int32
type:
type: string
pct:
type: string
Site:
type: string
enum:
- MLB
- MILB
FieldInfo:
type: object
properties:
capacity:
type: integer
format: int32
turfType:
type: string
roofType:
type: string
leftLine:
type: integer
format: int32
left:
type: integer
format: int32
leftCenter:
type: integer
format: int32
center:
type: integer
format: int32
rightCenter:
type: integer
format: int32
right:
type: integer
format: int32
rightLine:
type: integer
format: int32
EventType:
type: string
enum:
- game_start
- game_finished
- ball
- intent_ball
- pitchout
- blocked_ball
- automatic_ball
- called_strike
- swinging_strike
- foul
- foul_tip
- foul_bunt
- bunt_foul_tip
- missed_bunt
- swinging_pitchout
- foul_pitchout
- swinging_strike_blocked
- unknown_strike
- automatic_strike
- hit_into_play
- hit_into_play_no_out
- hit_into_play_score
- pitchout_hit_into_play
- pitchout_hit_into_play_no_out
- pitchout_hit_into_play_score
- pickoff_attempt_1b
- pickoff_attempt_2b
- pickoff_attempt_3b
- pickoff_1b
- pickoff_2b
- pickoff_3b
- pitcher_step_off
- pickoff_error_1b
- pickoff_error_2b
- pickoff_error_3b
- batter_timeout
- mound_visit
- no_pitch
- single
- double
- triple
- home_run
- double_play
- field_error
- error
- field_out
- fielders_choice
- fielders_choice_out
- force_out
- grounded_into_double_play
- grounded_into_triple_play
- strikeout
- strike_out
- strikeout_double_play
- strikeout_triple_play
- triple_play
- sac_fly
- catcher_interf
- batter_interference
- fielder_interference
- runner_interference
- fan_interference
- run
- batter_turn
- ejection
- cs_double_play
- defensive_indiff
- sac_fly_double_play
- sac_bunt
- sac_bunt_double_play
- walk
- intent_walk
- hit_by_pitch
- play_by_play
- play_by_play_extra
- injury
- between_innings
- plate_appearance
- os_ruling_pending_prior
- os_ruling_pending_primary
- at_bat_start
- runner_movement
- passed_ball
- other_advance
- runner_double_play
- runner_placed
- left_on_base
- pitching_substitution
- relief_no_out
- offensive_substitution
- defensive_switch
- umpire_substitution
- pitcher_switch
- replay_manager
- replay_umpire
- pitch_challenge
- game_advisory
- stolen_base
- stolen_base_2b
- stolen_base_3b
- stolen_base_home
- caught_stealing
- caught_stealing_2b
- caught_stealing_3b
- caught_stealing_home
- defensive_substitution
- pickoff_caught_stealing_2b
- pickoff_caught_stealing_3b
- pickoff_caught_stealing_home
- balk
- forced_balk
- wild_pitch
- other_out
- ''
BaseballGameFlagRestObject:
type: object
properties:
copyright:
type: string
noHitter:
type: boolean
perfectGame:
type: boolean
awayTeamNoHitter:
type: boolean
awayTeamPerfectGame:
type: boolean
homeTeamNoHitter:
type: boolean
homeTeamPerfectGame:
type: boolean
LeaderLimits:
type: object
properties:
amount:
type: string
type:
type: string
compareType:
type: string
PlayerDraftInfo:
type: object
properties:
year:
type: integer
format: int32
round:
type: string
pickOverall:
type: integer
format: int32
pickInRound:
type: integer
format: int32
team:
$ref: '#/components/schemas/BaseballTeam'
TimeZoneRestObject:
type: object
properties:
copyright:
type: string
id:
type: string
offset:
type: integer
format: int32
tz:
type: string
PlayerLeaderRestObject:
type: object
properties:
copyright:
type: string
rank:
type: integer
format: int32
value:
type: string
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
league:
$ref: '#/components/schemas/LeagueRestObject'
person:
$ref: '#/components/schemas/BaseballPersonRestObject'
sport:
$ref: '#/components/schemas/SportRestObject'
season:
type: string
numTeams:
type: integer
format: int32
PromotionRestObject:
type: object
properties:
copyright:
type: string
offerId:
type: integer
format: int32
name:
type: string
description:
type: string
altPageUrl:
type: string
tlink:
type: string
order:
type: integer
format: int32
presentedBy:
type: string
thumbnailUrl:
type: string
offerType:
type: string
distribution:
type: string
sortKey:
type: string
teamId:
type: integer
format: int32
displayIfPast:
type: boolean
other:
type: string
imageUrl:
type: string
BaseballPlayByPlayRestObject:
type: object
properties:
copyright:
type: string
allPlays:
type: array
items:
$ref: '#/components/schemas/BaseballPlayRestObject'
currentPlay:
$ref: '#/components/schemas/BaseballPlayRestObject'
scoringPlays:
type: array
items:
type: integer
format: int32
playsByInning:
type: array
items:
$ref: '#/components/schemas/InningPlay'
Conference:
type: object
properties:
id:
type: integer
format: int32
name:
type: string
writeOnly: true
WinLossRecord:
type: object
properties:
wins:
type: integer
format: int32
losses:
type: integer
format: int32
ties:
type: integer
format: int32
type:
type: string
Location:
type: object
properties:
address1:
type: string
address2:
type: string
address3:
type: string
address4:
type: string
attention:
type: string
phone:
type: string
city:
type: string
state:
type: string
country:
type: string
stateAbbrev:
type: string
postalCode:
type: string
latitude:
type: number
format: double
longitude:
type: number
format: double
VenueTypeEnum:
type: string
enum:
- NHL
- NBA
- CIRCUS
- UNSPECIFIED
ViolationRestObject:
type: object
properties:
copyright:
type: string
type:
type: string
description:
type: string
player:
$ref: '#/components/schemas/BaseballPersonRestObject'
subtype:
type: string
BaseballRosterEntryRestObject:
type: object
properties:
person:
$ref: '#/components/schemas/BaseballPersonRestObject'
jerseyNumber:
type: string
position:
$ref: '#/components/schemas/PositionRestObject'
alternateCaptain:
type: boolean
captain:
type: boolean
note:
type: string
status:
$ref: '#/components/schemas/DynamicEnumRestObject'
job:
type: string
jobId:
type: string
title:
type: string
parentTeamId:
type: integer
format: int32
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
isActive:
type: boolean
startDate:
type: string
format: date
endDate:
type: string
format: date
statusDate:
type: string
format: date
isActiveFortyMan:
type: boolean
battingOrder:
type: string
stats:
$ref: '#/components/schemas/StatsRestObject'
seasonStats:
$ref: '#/components/schemas/StatsRestObject'
gameStatus:
$ref: '#/components/schemas/GameStatusRestObject'
allPositions:
type: array
items:
$ref: '#/components/schemas/PositionRestObject'
BatterDetailType:
type: string
enum:
- AT_BAT
- AT_BAT_SCORING_POSITION
- SINGLE
- DOUBLE
- TRIPLE
- GAME
- CATCHER_INTERFERENCE
- HOME_RUN
- STRIKEOUT
- WALK
- INTENT_WALK
- RUN
- RBI
- HITS_SCORING_POSIITION
- HIT_BY_PITCH
- INFIELD_FLY
- FAN_INTERFERENCE
- BATTER_INTERFERENCE
- GROUND_RULE_DOUBLE
- INSIDE_THE_PARK_HOME_RUN
- FOUL_OUT
- LEFT_ON_BASE
- LEFT_ON_BASE_SCORING_POSITION
- TEAM_LEFT_ON_BASE
- TEAM_LEFT_ON_BASE_SCORING_POSITION
- SAC_FLY
- SAC_BUNT
- FLY_OUT
- GROUND_OUT
- STOLEN_BASE_2B
- STOLEN_BASE_3B
- STOLEN_BASE_HP
- CAUGHT_STEALING_2B
- CAUGHT_STEALING_3B
- CAUGHT_STEALING_HP
- PICKOFF_1B
- PICKOFF_2B
- PICKOFF_3B
- GROUND_INTO_DOUBLE_PLAY
- GROUND_INTO_TRIPLE_PLAY
- REACH_ON_ERROR
- PINCH_HIT
- REACHED_ON_INTERFERENCE
- PLATE_APPEARANCE
- UNKNOWN
MoundVisitsRestObject:
type: object
properties:
copyright:
type: string
away:
$ref: '#/components/schemas/UsedRemainingRestObject'
home:
$ref: '#/components/schemas/UsedRemainingRestObject'
BaseballGameLeaderRestObject:
type: object
properties:
copyright:
type: string
value:
type: number
format: double
player:
$ref: '#/components/schemas/BaseballPersonRestObject'
BaseballTeamBoxscore:
type: object
properties:
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
teamStats:
$ref: '#/components/schemas/StatsRestObject'
players:
type: object
additionalProperties:
$ref: '#/components/schemas/BaseballRosterEntryRestObject'
batters:
type: array
items:
type: integer
format: int32
pitchers:
type: array
items:
type: integer
format: int32
bench:
type: array
items:
type: integer
format: int32
bullpen:
type: array
items:
type: integer
format: int32
battingOrder:
type: array
items:
type: integer
format: int32
info:
type: array
items:
$ref: '#/components/schemas/BaseballBoxscoreNoteWrapRestObject'
note:
type: array
items:
$ref: '#/components/schemas/BaseballBoxscoreNoteRestObject'
XrefIdRestObject:
type: object
properties:
copyright:
type: string
xrefId:
type: string
xrefType:
type: string
xrefIdTwo:
type: string
season:
type: string
ImageTypeEnum:
type: string
enum:
- HEADER
- THUMBNAIL
- SPONSORSHIP
- LIST
- URL
- MAP_THUMBNAIL
- LOGOIMAGE
BaseballSchedule:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
games:
type: array
items:
$ref: '#/components/schemas/BaseballScheduleItem'
refreshInterval:
type: integer
format: int32
includeSiteBroadcasts:
type: boolean
writeOnly: true
includeEventTickets:
type: boolean
writeOnly: true
alerts:
type: object
additionalProperties:
type: object
writeOnly: true
flags:
type: object
additionalProperties:
type: object
writeOnly: true
homeRuns:
type: object
additionalProperties:
type: object
writeOnly: true
teamsWithGames:
uniqueItems: true
type: array
items:
type: integer
format: int32
scheduleItems:
type: array
items:
$ref: '#/components/schemas/BaseballScheduleItem'
scheduleEvents:
type: array
items:
$ref: '#/components/schemas/ScheduleEvent'
gameTypes:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/GameTypeEnum'
challenges:
type: object
additionalProperties:
type: object
writeOnly: true
baseballSchedule:
type: array
writeOnly: true
items:
$ref: '#/components/schemas/BaseballScheduleItem'
hydratedStats:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedTeamLeaders:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedPeople:
type: object
additionalProperties:
type: object
writeOnly: true
probablePitchersNotes:
type: object
additionalProperties:
type: object
writeOnly: true
previousPlay:
type: object
additionalProperties:
type: object
writeOnly: true
liveLookins:
type: object
additionalProperties:
type: object
writeOnly: true
baseballLineups:
type: object
additionalProperties:
type: object
writeOnly: true
probableOfficials:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedTeamsAsString:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedVenuesAsString:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedTeamLeadersInPreview:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedProbablePitchers:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedEventVenuesAsString:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedEventDivisionsAsString:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedEventLeaguesAsString:
type: object
additionalProperties:
type: object
writeOnly: true
hydratedEventSportsAsString:
type: object
additionalProperties:
type: object
writeOnly: true
DesignationRestObject:
type: object
properties:
copyright:
type: string
designation:
type: string
id:
type: integer
format: int32
BaseballScheduleItemTeamRestObject:
type: object
properties:
copyright:
type: string
leagueRecord:
$ref: '#/components/schemas/WinLossRecordRestObject'
score:
type: integer
format: int32
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
isWinner:
type: boolean
probablePitcher:
$ref: '#/components/schemas/BaseballPersonRestObject'
splitSquad:
type: boolean
seriesNumber:
type: integer
format: int32
seedNumber:
type: integer
format: int32
springLeague:
$ref: '#/components/schemas/LeagueRestObject'
PitcherDetailType:
type: string
enum:
- AT_BAT
- SINGLE
- DOUBLE
- TRIPLE
- HOME_RUN
- STRIKEOUT
- GAME
- COMPLETE_GAME
- GAME_STARTED
- GAME_FINISHED
- SHUTOUT
- WALK
- INTENT_WALK
- RUN
- WIN
- RBI
- SAVE
- BLOWN_SAVE
- HOLD
- LOSS
- SAC_BUNT
- SAC_FLY
- REACHED_ON_INTERFERENCE
- CATCHER_INTERFERENCE
- HIT_BY_PITCH
- OUT
- TEAM_OUT
- BALL
- BALL_BLOCKED
- BUNT_FOUL_TIP
- CALLED_STRIKE
- FOUL
- FOUL_BUNT
- FOUL_TIP
- PITCHOUT
- FOUL_PITCHOUT
- HIT_INTO_PLAY
- PITCHOUT_HIT_INTO_PLAY
- INTENT_BALL
- WILD_PITCH
- BALK
- INHERITED_RUNNER
- INHERITED_RUNNER_SCORED
- MISSED_BUNT
- EARNED_RUN
- UNEARNED_RUN
- GROUNDOUT
- FLYOUT
- POPOUT
- LINEOUT
- TEAM_EARNED_RUN
- TEAM_UNEARNED_RUN
- SWINGING_PITCHOUT
- SWINGING_STRIKE
- SWINGING_STRIKE_BLOCKED
- RELIEF_NO_OUT
- PICKOFF_1B
- PICKOFF_2B
- PICKOFF_3B
- UNKNOWN_STRIKE
- STOLEN_BASE_2B
- STOLEN_BASE_3B
- STOLEN_BASE_HP
- CAUGHT_STEALING_2B
- CAUGHT_STEALING_3B
- CAUGHT_STEALING_HP
- PLATE_APPEARANCE
- UNKNOWN
InningTeamInfoRestObject:
type: object
properties:
copyright:
type: string
runs:
type: integer
format: int32
hits:
type: integer
format: int32
errors:
type: integer
format: int32
leftOnBase:
type: integer
format: int32
Weather:
type: object
properties:
weatherCondition:
type: string
temperature:
type: string
wind:
type: string
IGameStatus:
type: object
properties:
code:
type: string
startTimeTBD:
type: boolean
abstractGameState:
type: string
detailedState:
type: string
LeadersRestObject:
type: object
properties:
leaderCategory:
type: string
season:
type: string
gameType:
$ref: '#/components/schemas/GameTypeEnum'
limits:
$ref: '#/components/schemas/LeaderLimits'
limitMetadata:
$ref: '#/components/schemas/LimitMetadataRestObject'
leaders:
type: array
items:
$ref: '#/components/schemas/PlayerLeaderRestObject'
copyright:
type: string
hydrations:
type: array
items:
type: string
statGroup:
type: string
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
league:
$ref: '#/components/schemas/LeagueRestObject'
totalSplits:
type: integer
format: int32
Stats:
type: object
properties:
allStats:
type: array
items:
$ref: '#/components/schemas/StatContainer'
StatType:
type: string
enum:
- PROJECTED
- PROJECTED_ROS
- YEAR_BY_YEAR
- YEAR_BY_YEAR_ADVANCED
- YEAR_BY_YEAR_PLAYOFFS
- SEASON
- STANDARD
- ADVANCED
- CAREER
- CAREER_REGULAR_SEASON
- CAREER_ADVANCED
- SEASON_ADVANCED
- CAREER_STAT_SPLITS
- CAREER_PLAYOFFS
- GAME_LOG
- PLAY_LOG
- PITCH_LOG
- METRIC_LOG
- METRIC_AVERAGES
- PITCH_ARSENAL
- OUTS_ABOVE_AVERAGE
- EXPECTED_STATISTICS
- SABERMETRICS
- SPRAY_CHART
- TRACKING_STATISTICS
- VS_PLAYER
- VS_PLAYER_TOTAL
- VS_PLAYER_5Y
- VS_TEAM
- VS_TEAM_5Y
- VS_TEAM_TOTAL
- LAST_X_GAMES
- BY_DATE_RANGE
- BY_DATE_RANGE_ADVANCED
- BY_MONTH
- BY_MONTH_PLAYOFFS
- BY_DAY_OF_WEEK
- BY_DAY_OF_WEEK_PLAYOFFS
- HOME_AND_AWAY
- HOME_AND_AWAY_PLAYOFFS
- WIN_LOSS
- WIN_LOSS_PLAYOFFS
- RANKINGS
- RANKINGS_BY_YEAR
- STATS_SINGLE_SEASON
- STATS_SINGLE_SEASON_ADVANCED
- HOT_COLD_ZONES
- AVAILABLE_STATS
- OPPONENTS_FACED
- GAME_TYPE_STATS
- FIRST_YEAR_STATS
- LAST_YEAR_STATS
- STAT_SPLITS
- STAT_SPLITS_ADVANCED
- AT_GAME_START
- VS_OPPONENTS
GameEventDetailTO:
type: object
properties:
eventId:
type: integer
format: int32
teamId:
type: integer
format: int32
playerId:
type: integer
format: int32
homeAway:
type: string
stat_name:
type: string
delta:
type: string
BaseballGameAlert:
type: object
properties:
type:
type: string
category:
type: string
description:
type: string
shortDescription:
type: string
team:
$ref: '#/components/schemas/BaseballTeam'
alertId:
type: string
SchoolRestObject:
type: object
properties:
copyright:
type: string
name:
type: string
schoolClass:
type: string
city:
type: string
country:
type: string
state:
type: string
LaunchData:
type: object
properties:
speed:
type: number
format: double
angle:
type: number
format: double
spinAxis:
type: number
format: double
direction:
type: number
format: double
spinRate:
type: number
format: double
StartEndDataRestObject:
type: object
properties:
copyright:
type: string
velocity:
$ref: '#/components/schemas/CoordinatesRestObject'
position:
$ref: '#/components/schemas/CoordinatesRestObject'
time:
type: number
format: double
confidence:
type: string
speed:
type: number
format: double
bearing:
type: number
format: double
distance:
type: number
format: double
AwardWinnerRestObject:
type: object
properties:
rank:
type: string
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
player:
$ref: '#/components/schemas/BaseballPersonRestObject'
coach:
$ref: '#/components/schemas/BaseballPersonRestObject'
copyright:
type: string
GameTypeDatesRestObject:
type: object
properties:
copyright:
type: string
name:
type: string
shortName:
type: string
startDate:
type: string
format: date
endDate:
type: string
format: date
season:
type: string
roundRobin:
type: boolean
playoffs:
type: boolean
playoffRound:
type: integer
format: int32
league:
$ref: '#/components/schemas/LeagueRestObject'
sport:
$ref: '#/components/schemas/SportRestObject'
gameType:
$ref: '#/components/schemas/GameTypeEnum'
BaseballLineup:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
awayPlayers:
type: array
items:
$ref: '#/components/schemas/BaseballPerson'
homePlayers:
type: array
items:
$ref: '#/components/schemas/BaseballPerson'
hydratedPeople:
type: object
additionalProperties:
type: object
writeOnly: true
SocialMediaInfo:
type: object
properties:
twitter:
type: array
items:
type: string
facebook:
type: array
items:
type: string
instagram:
type: array
items:
type: string
vine:
type: array
items:
type: string
periscope:
type: array
items:
type: string
tumblr:
type: array
items:
type: string
youtube:
type: array
items:
type: string
pinterest:
type: array
items:
type: string
googleplus:
type: array
items:
type: string
snapchat:
type: array
items:
type: string
website:
type: array
items:
type: string
hashtags:
type: array
items:
type: string
BaseballGameFlag:
type: object
properties:
isNoHitter:
type: boolean
writeOnly: true
isPerfectGame:
type: boolean
writeOnly: true
isAwayTeamNoHitter:
type: boolean
writeOnly: true
isAwayTeamPerfectGame:
type: boolean
writeOnly: true
isHomeTeamNoHitter:
type: boolean
writeOnly: true
isHomeTeamPerfectGame:
type: boolean
writeOnly: true
perfectGame:
type: boolean
awayTeamNoHitter:
type: boolean
homeTeamNoHitter:
type: boolean
awayTeamPerfectGame:
type: boolean
homeTeamPerfectGame:
type: boolean
noHitter:
type: boolean
GameContentRestObject:
type: object
properties:
copyright:
type: string
link:
type: string
editorial:
$ref: '#/components/schemas/GameEditorialRestObject'
media:
$ref: '#/components/schemas/GameMediaRestObject'
highlights:
$ref: '#/components/schemas/GameHighlightsRestObject'
summary:
$ref: '#/components/schemas/GameContentSummaryRestObject'
gameNotes:
$ref: '#/components/schemas/GameNotesRestObject'
GameNotesRestObject:
type: object
properties:
copyright:
type: string
notes:
$ref: '#/components/schemas/JsonNode'
StatDataRestObject:
type: object
properties:
copyright:
type: string
note:
type: string
summary:
type: string
BaseballBoxscoreRestObject:
type: object
properties:
copyright:
type: string
teams:
type: object
additionalProperties:
$ref: '#/components/schemas/BaseballTeamBoxscore'
officials:
type: array
items:
$ref: '#/components/schemas/OfficialRestObject'
info:
type: array
items:
$ref: '#/components/schemas/BaseballBoxscoreNoteRestObject'
pitchingNotes:
type: array
items:
type: string
TeamDesignationEnum:
type: string
enum:
- HOMETEAM
- AWAYTEAM
HitTrajectory:
type: string
enum:
- BUNT_GROUND_BALL
- BUNT_LINE_DRIVE
- BUNT_POP_UP
- GROUND_BALL
- LINE_DRIVE
- POP_UP
- FLY_BALL
- UNKNOWN
SportRestObject:
type: object
properties:
copyright:
type: string
hydrations:
type: array
items:
type: string
id:
type: integer
format: int32
code:
type: string
link:
type: string
name:
type: string
abbreviation:
type: string
sortOrder:
type: integer
format: int32
deviceProperties:
$ref: '#/components/schemas/JsonNode'
isAffiliated:
type: boolean
ruleSettings:
type: array
items:
$ref: '#/components/schemas/RuleSettingsRestObject'
seasonState:
type: string
seasonDateInfo:
$ref: '#/components/schemas/SeasonRestObject'
activeStatus:
type: boolean
BaseballDraftProspect:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
bisPlayerId:
type: integer
format: int32
bisSchoolId:
type: integer
format: int32
draftPlayerId:
type: integer
format: int32
pickRound:
type: string
pickRoundLabel:
type: string
pickNumber:
type: integer
format: int32
roundPickNumber:
type: integer
format: int32
englishBlurb:
type: string
spanishBlurb:
type: string
rank:
type: integer
format: int32
pickedTeamCode:
type: string
home:
$ref: '#/components/schemas/Location'
scoutingReport:
type: string
photoFlag:
type: boolean
school:
$ref: '#/components/schemas/School'
comments:
type: string
headshotLink:
type: string
pickValue:
type: string
signingBonus:
type: string
person:
$ref: '#/components/schemas/BaseballPerson'
team:
$ref: '#/components/schemas/BaseballTeam'
draftType:
$ref: '#/components/schemas/DraftTypeEnum'
draftStatus:
$ref: '#/components/schemas/DraftStatusEnum'
wasPassed:
type: boolean
wasLastPick:
type: boolean
wasSelected:
type: boolean
year:
type: string
BaseballScheduleItem:
type: object
properties:
calendarEventId:
type: string
gamePk:
type: integer
format: int32
gameType:
$ref: '#/components/schemas/GameTypeEnum'
gameDate:
type: string
format: date-time
officialDate:
type: string
format: date
calendarDate:
type: string
format: date
resumeGameDate:
type: string
format: date
resumeDate:
type: string
format: date-time
resumedFromDate:
type: string
format: date
resumedFrom:
type: string
format: date-time
rescheduleGameDate:
type: string
format: date
rescheduleDate:
type: string
format: date-time
rescheduledFromDate:
type: string
format: date
rescheduledFrom:
type: string
format: date-time
season:
type: string
statusInd:
type: string
gameNumber:
type: integer
format: int32
gameStatus:
$ref: '#/components/schemas/IGameStatus'
awayTeam:
$ref: '#/components/schemas/BaseballTeam'
homeTeam:
$ref: '#/components/schemas/BaseballTeam'
venue:
$ref: '#/components/schemas/Venue'
resumeVenue:
$ref: '#/components/schemas/Venue'
resumedFromVenue:
$ref: '#/components/schemas/Venue'
cms:
$ref: '#/components/schemas/GameCms'
awayScore:
type: integer
format: int32
homeScore:
type: integer
format: int32
awayWins:
type: integer
format: int32
awayLosses:
type: integer
format: int32
awayOvertimeLosses:
type: integer
format: int32
awayTies:
type: integer
format: int32
awayIsWinner:
type: boolean
homeWins:
type: integer
format: int32
homeLosses:
type: integer
format: int32
postseasonSeries:
$ref: '#/components/schemas/PostseasonSeries'
homeOvertimeLosses:
type: integer
format: int32
homeTies:
type: integer
format: int32
homeIsWinner:
type: boolean
isTie:
type: boolean
writeOnly: true
linescore:
$ref: '#/components/schemas/BaseballLinescore'
decisions:
$ref: '#/components/schemas/BaseballDecision'
scoringPlays:
type: array
items:
$ref: '#/components/schemas/BaseballPlay'
broadcasts:
type: array
items:
$ref: '#/components/schemas/Broadcast'
radioBroadcasts:
type: array
items:
$ref: '#/components/schemas/Broadcast'
endDateTime:
type: string
format: date-time
isDefaultGame:
type: boolean
promotions:
type: array
items:
$ref: '#/components/schemas/Promotion'
atBatPromotions:
type: array
items:
$ref: '#/components/schemas/Promotion'
sponsorships:
type: array
items:
$ref: '#/components/schemas/Promotion'
officials:
type: array
items:
$ref: '#/components/schemas/Official'
pregameOfficials:
type: array
items:
$ref: '#/components/schemas/Official'
weather:
$ref: '#/components/schemas/Weather'
gameInfo:
$ref: '#/components/schemas/GameTO'
publicFacing:
$ref: '#/components/schemas/PublicFacingEnum'
story:
$ref: '#/components/schemas/GameStory'
trackingVersion:
$ref: '#/components/schemas/TrackingVersion'
coachingVideo:
uniqueItems: true
type: array
items:
$ref: '#/components/schemas/MediaSourceType'
atBatTicketLinks:
type: array
items:
$ref: '#/components/schemas/BaseballTicket'
seriesStatus:
$ref: '#/components/schemas/SeriesStatus'
sortNumber:
type: integer
format: int32
isFeaturedGame:
type: boolean
xrefIds:
type: array
items:
$ref: '#/components/schemas/XrefId'
gameId:
type: string
description:
type: string
seriesDescription:
type: string
doubleHeader:
type: string
gamedayType:
type: string
tiebreaker:
type: string
scheduledInnings:
type: integer
format: int32
inningBreakLength:
type: integer
format: int32
gamesInSeries:
type: integer
format: int32
seriesGameNumber:
type: integer
format: int32
editorialGameType:
type: string
editorialSeason:
type: string
localTime:
type: string
localAmPm:
type: string
localDate:
type: string
format: date
awayGamesBack:
type: string
awayWildCardGamesBack:
type: string
awaySplitSquad:
type: boolean
awaySeriesNumber:
type: integer
format: int32
recordSource:
type: string
ifNecessary:
type: string
ifNecessaryDescription:
type: string
homeGamesBack:
type: string
homeWildCardGamesBack:
type: string
homeSplitSquad:
type: boolean
homeSeriesNumber:
type: integer
format: int32
isNightGame:
type: boolean
writeOnly: true
awayProbable:
$ref: '#/components/schemas/BaseballPerson'
homeProbable:
$ref: '#/components/schemas/BaseballPerson'
challenge:
$ref: '#/components/schemas/BaseballChallenge'
flags:
$ref: '#/components/schemas/BaseballGameFlag'
alerts:
type: array
items:
$ref: '#/components/schemas/BaseballGameAlert'
liveLookin:
$ref: '#/components/schemas/LiveLookin'
sortTime:
type: string
sortTeam:
type: string
sortGameId:
type: string
sortGameNo:
type: string
previousPlay:
$ref: '#/components/schemas/BaseballPlay'
homeRuns:
type: array
items:
$ref: '#/components/schemas/BaseballPlay'
tickets:
type: array
items:
$ref: '#/components/schemas/BaseballTicket'
atBatTickets:
type: array
items:
$ref: '#/components/schemas/BaseballTicket'
sportId:
type: integer
format: int32
day:
type: string
homeLeagueId:
type: integer
format: int32
awayLeagueId:
type: integer
format: int32
baseballLineup:
$ref: '#/components/schemas/BaseballLineup'
doubleHeaderGameOneTime:
type: string
format: date-time
reverseHomeAwayStatus:
type: boolean
cacheKey:
type: string
tie:
type: boolean
linescoreOverrides:
$ref: '#/components/schemas/BaseballLinescore'
postseasonSeriesId:
type: string
hydratable:
type: boolean
doubleHeaderTeamPairKey:
type: string
winningTeam:
$ref: '#/components/schemas/BaseballTeam'
losingTeam:
$ref: '#/components/schemas/BaseballTeam'
nightGame:
type: boolean
sortDate:
type: string
format: date-time
BaseballTeamReview:
type: object
properties:
copyright:
type: string
used:
type: integer
format: int32
remaining:
type: integer
format: int32
BaseballDraftProspectRestObject:
type: object
properties:
copyright:
type: string
bisPlayerId:
type: integer
format: int32
bisSchoolId:
type: integer
format: int32
pickRound:
type: string
pickNumber:
type: integer
format: int32
roundPickNumber:
type: integer
format: int32
rank:
type: integer
format: int32
pickValue:
type: string
signingBonus:
type: string
home:
$ref: '#/components/schemas/LocationRestObject'
scoutingReport:
type: string
school:
$ref: '#/components/schemas/SchoolRestObject'
blurb:
type: string
headshotLink:
type: string
person:
$ref: '#/components/schemas/BaseballPersonRestObject'
team:
$ref: '#/components/schemas/BaseballTeamRestObject'
draftType:
$ref: '#/components/schemas/DraftTypeEnumRestObject'
isDrafted:
type: boolean
isPass:
type: boolean
year:
type: string
ContentSummary:
type: object
properties:
hasPreviewArticle:
type: boolean
hasRecapArticle:
type: boolean
hasWrapArticle:
type: boolean
hasHighlightsVideo:
type: boolean
featuredMedia:
$ref: '#/components/schemas/FeaturedMedia'
DynamicEnumRestObject:
type: object
properties:
copyright:
type: string
code:
type: string
description:
type: string
sortOrder:
type: integer
format: int32
FieldingData:
type: object
properties:
requestingUserRole:
$ref: '#/components/schemas/Role'
note:
type: string
summary:
type: object
additionalProperties:
type: string
writeOnly: true
catchersInterference:
type: integer
format: int32
average:
type: string
onBasePercentage:
type: string
onBasePlusSlugging:
type: string
stolenBases:
type: integer
format: int32
caughtStealing:
type: integer
format: int32
slugging:
type: string
outs:
type: integer
format: int32
gidp:
type: integer
format: int32
gitp:
type: integer
format: int32
homeRuns:
type: integer
format: int32
numberOfPitches:
type: integer
format: int32
totalBases:
type: integer
format: int32
gidpOpportunites:
type: integer
format: int32
walks:
type: integer
format: int32
hitByPitch:
type: integer
format: int32
strikeouts:
type: integer
format: int32
airOuts:
type: integer
format: int32
goAo:
type: string
pitchesPerPlateAppearance:
type: number
format: double
intentionalWalks:
type: integer
format: int32
groundOuts:
type: integer
format: int32
flyOuts:
type: integer
format: int32
games:
type: integer
format: int32
gamesStarted:
type: integer
format: int32
doubles:
type: integer
format: int32
hits:
type: integer
format: int32
triples:
type: integer
format: int32
singles:
type: integer
format: int32
runs:
type: integer
format: int32
atBats:
type: integer
format: int32
pickoffs:
type: integer
format: int32
stolenBasePercentage:
type: string
wildPitches:
type: integer
format: int32
sacFlies:
type: integer
format: int32
sacBunts:
type: integer
format: int32
putouts:
type: integer
format: int32
assists:
type: integer
format: int32
chances:
type: integer
format: int32
streak:
type: integer
format: int32
battingOrder:
type: string
totalSwings:
type: integer
format: int32
swingsAndMisses:
type: integer
format: int32
ballsInPlay:
type: integer
format: int32
popOuts:
type: integer
format: int32
lineOuts:
type: integer
format: int32
flyHits:
type: integer
format: int32
popHits:
type: integer
format: int32
lineHits:
type: integer
format: int32
groundHits:
type: integer
format: int32
outfieldAssists:
type: integer
format: int32
errors:
type: integer
format: int32
fieldingPercentage:
type: string
rangeFactorPerGame:
type: string
rangeFactorPer9Inn:
type: string
innings:
type: string
passedBall:
type: integer
format: int32
doublePlays:
type: integer
format: int32
triplePlays:
type: integer
format: int32
catcherERA:
type: string
throwingErrors:
type: integer
format: int32
uzr:
type: number
format: double
position:
$ref: '#/components/schemas/BaseballPosition'
plateAppearances:
type: integer
format: int32
stolenBasePercentageOrNull:
type: string
pitchesPerPlateAppearanceStr:
type: string
Season:
type: object
properties:
seasonId:
type: string
hasWildcard:
type: boolean
springStartDate:
type: string
format: date
springEndDate:
type: string
format: date
offSeasonStartDate:
type: string
format: date
offSeasonEndDate:
type: string
format: date
regularSeasonStartDate:
type: string
format: date
regularSeasonEndDate:
type: string
format: date
seasonStartDate:
type: string
format: date
seasonEndDate:
type: string
format: date
preSeasonStartDate:
type: string
format: date
preSeasonEndDate:
type: string
format: date
postSeasonStartDate:
type: string
format: date
postSeasonEndDate:
type: string
format: date
lastDate1stHalf:
type: string
format: date
firstDate2ndHalf:
type: string
format: date
allStarDate:
type: string
format: date
numberOfGames:
type: integer
format: int32
olympicsParticipation:
type: boolean
tiesInUse:
type: boolean
conferencesInUse:
type: boolean
divisionsInUse:
type: boolean
gameTypeDates:
type: array
items:
$ref: '#/components/schemas/GameTypeDates'
organizationId:
type: integer
format: int32
seasonLevelGamedayType:
type: string
gameLevelGamedayType:
type: string
qualifierPlateAppearances:
type: number
format: double
qualifierOutsPitched:
type: number
format: double
qualifierInningsPitched:
type: number
format: double
BaseballHotColdZone:
type: object
properties:
zone:
type: string
sweetness:
type: string
temp:
type: string
color:
type: string
value:
type: string
GameContentSummaryRestObject:
type: object
properties:
copyright:
type: string
hasPreviewArticle:
type: boolean
hasRecapArticle:
type: boolean
hasWrapArticle:
type: boolean
hasHighlightsVideo:
type: boolean
BaseballInning:
type: object
properties:
runsAway:
type: integer
format: int32
runsHome:
type: integer
format: int32
hitsAway:
type: integer
format: int32
hitsHome:
type: integer
format: int32
errorsAway:
type: integer
format: int32
errorsHome:
type: integer
format: int32
leftOnBaseAway:
type: integer
format: int32
leftOnBaseHome:
type: integer
format: int32
num:
type: integer
format: int32
ordinalNum:
type: string