JSON Schema
- Viewer
- Schema
Loading ....
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "MatchState",
"type": "object",
"additionalProperties": false,
"required": [
"sequence",
"messageTimestampUtc",
"isReliable",
"isCoverageCancelled",
"messageTimestamp"
],
"properties": {
"source": {
"$ref": "#/definitions/MessageSourceDto"
},
"sequence": {
"type": "integer",
"format": "int32",
"description": "Message sequence number to track if any messages were missed to receive. Always incremented by one."
},
"fixtureId": {
"type": "string",
"description": "Unique identifier of fixture that event occured. Provided by Fixtures API"
},
"messageTimestampUtc": {
"type": "string",
"format": "date-time",
"description": "Match state update time in UTC timezone. Must be provided in ISO 8601 date-time format."
},
"isReliable": {
"type": "boolean"
},
"isCoverageCancelled": {
"type": "boolean"
},
"reliabilityReasons": {
"type": [
"object",
"null"
],
"properties": {
"heartbeat": {
"type": "string"
},
"feedReliability": {
"type": "string"
},
"coverage": {
"type": "string"
}
}
},
"gameActions": {
"$ref": "#/definitions/GameActionsDto"
},
"gameSummary": {
"$ref": "#/definitions/GameSummaryDto"
},
"matchFormat": {
"$ref": "#/definitions/MatchFormatDto"
},
"teams": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/TeamDetailsDto"
}
},
"messageTimestamp": {
"type": "string",
"format": "date-time",
"description": "Match state update time in UTC timezone. Must be provided in ISO 8601 date-time format."
}
},
"definitions": {
"ActionBaseDto": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"actionId": {
"type": "integer"
},
"currentPhase": {
"type": "string",
"enum": [
"PreGame",
"FirstQuarter",
"BeforeSecondQuarter",
"SecondQuarter",
"FirstHalf",
"HalfTime",
"ThirdQuarter",
"BeforeFourthQuarter",
"FourthQuarter",
"SecondHalf",
"BeforeOvertime",
"Overtime",
"PostGame",
"GameAbandoned"
]
},
"overtimeCount": {
"type": "integer"
},
"timeRemainingInPhase": {
"type": [
"string",
"null"
]
},
"timestampUtc": {
"type": "string",
"format": "date-time"
},
"isConfirmed": {
"type": "boolean"
}
}
},
"ActionCollectionDto<ClockActivityDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/ClockActivityDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<FoulDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/FoulDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<FreeThrowOutcomeDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/FreeThrowOutcomeDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<PhaseChangeDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/PhaseChangeDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<PointDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/PointDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<PossessionArrowChangeDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/PossessionArrowChangeDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<PossessionChangeDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/PossessionChangeDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<TimeoutDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/TimeoutDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<TipOffWinnerDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/TipOffWinnerDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ClockActionCollectionDto": {
"$ref": "#/definitions/ActionCollectionDto<ClockActivityDto>"
},
"PointActionCollectionDto": {
"$ref": "#/definitions/ActionCollectionDto<PointDto>"
},
"FreeThrowActionCollectionDto": {
"$ref": "#/definitions/ActionCollectionDto<FreeThrowOutcomeDto>"
},
"FoulActionCollectionDto": {
"$ref": "#/definitions/ActionCollectionDto<FoulDto>"
},
"PossessionChangeActionCollectionDto": {
"$ref": "#/definitions/ActionCollectionDto<PossessionChangeDto>"
},
"PossessionArrowChangeActionCollectionDto": {
"$ref": "#/definitions/ActionCollectionDto<PossessionArrowChangeDto>"
},
"TimeoutActionCollectionDto": {
"$ref": "#/definitions/ActionCollectionDto<TimeoutDto>"
},
"PhaseChangeActionCollectionDto": {
"$ref": "#/definitions/ActionCollectionDto<PhaseChangeDto>"
},
"TipOffWinnerActionCollectionDto": {
"$ref": "#/definitions/ActionCollectionDto<TipOffWinnerDto>"
},
"ShotActionCollectionDto": {
"type": "object",
"properties": {
"actions": {
"type": [
"array",
"null"
],
"items": {
"type": "object"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"TurnoverActionCollectionDto": {
"type": "object",
"properties": {
"actions": {
"type": [
"array",
"null"
],
"items": {
"type": "object"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ReboundActionCollectionDto": {
"type": "object",
"properties": {
"actions": {
"type": [
"array",
"null"
],
"items": {
"type": "object"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"SubstitutionActionCollectionDto": {
"type": "object",
"properties": {
"actions": {
"type": [
"array",
"null"
],
"items": {
"type": "object"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionsGranularityBase": {
"type": "object",
"properties": {
"id": {
"type": "boolean"
},
"actionId": {
"type": "boolean"
},
"currentPhase": {
"type": "boolean"
},
"overtimeCount": {
"type": "boolean"
},
"timeRemainingInPhase": {
"type": "boolean"
},
"timestampUtc": {
"type": "boolean"
},
"isConfirmed": {
"type": "boolean"
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ClockActivityDto": {
"type": "object",
"properties": {
"activityType": {
"type": "string",
"enum": [
"Start",
"Stop",
"Adjustment",
"SetClock"
]
},
"isClockRunning": {
"type": "boolean"
},
"id": {
"type": "string",
"format": "uuid"
},
"actionId": {
"type": "integer"
},
"currentPhase": {
"type": "string",
"enum": [
"PreGame",
"FirstQuarter",
"BeforeSecondQuarter",
"SecondQuarter",
"FirstHalf",
"HalfTime",
"ThirdQuarter",
"BeforeFourthQuarter",
"FourthQuarter",
"SecondHalf",
"BeforeOvertime",
"Overtime",
"PostGame",
"GameAbandoned"
]
},
"overtimeCount": {
"type": "integer"
},
"timeRemainingInPhase": {
"type": [
"string",
"null"
]
},
"timestampUtc": {
"type": "string",
"format": "date-time"
},
"isConfirmed": {
"type": "boolean"
}
}
},
"ClockGranularity": {
"type": [
"object",
"null"
],
"properties": {
"activityType": {
"type": "boolean"
},
"isClockRunning": {
"type": "boolean"
},
"id": {
"type": "boolean"
},
"actionId": {
"type": "boolean"
},
"currentPhase": {
"type": "boolean"
},
"overtimeCount": {
"type": "boolean"
},
"timeRemainingInPhase": {
"type": "boolean"
},
"timestampUtc": {
"type": "boolean"
},
"isConfirmed": {
"type": "boolean"
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"FoulCountDto": {
"type": [
"object",
"null"
],
"properties": {
"home": {
"type": "integer"
},
"away": {
"type": "integer"
}
}
},
"FoulDto": {
"type": "object",
"properties": {
"foulingTeam": {
"type": [
"string",
"null"
],
"enum": [
null,
"Home",
"Away"
]
},
"type": {
"type": "string",
"enum": [
"Unknown",
"PersonalDefensive",
"PersonalOffensive",
"Technical",
"SetFouls"
]
},
"subType": {
"type": [
"string",
"null"
],
"enum": [
null,
"Unknown",
"OneAndOne"
]
},
"value": {
"type": "string",
"enum": [
"Unknown",
"One",
"Two"
]
},
"foulCount": {
"$ref": "#/definitions/FoulCountDto"
},
"incrementsFoulCount": {
"type": "boolean"
},
"numberOfFreeThrowsAwarded": {
"type": "integer"
},
"areFreeThrowsCompleted": {
"type": "boolean"
},
"id": {
"type": "string",
"format": "uuid"
},
"actionId": {
"type": "integer"
},
"currentPhase": {
"type": "string",
"enum": [
"PreGame",
"FirstQuarter",
"BeforeSecondQuarter",
"SecondQuarter",
"FirstHalf",
"HalfTime",
"ThirdQuarter",
"BeforeFourthQuarter",
"FourthQuarter",
"SecondHalf",
"BeforeOvertime",
"Overtime",
"PostGame",
"GameAbandoned"
]
},
"overtimeCount": {
"type": "integer"
},
"timeRemainingInPhase": {
"type": [
"string",
"null"
]
},
"timestampUtc": {
"type": "string",
"format": "date-time"
},
"isConfirmed": {
"type": "boolean"
}
}
},
"FoulsGranularity": {
"type": [
"object",
"null"
],
"properties": {
"foulingTeam": {
"type": "boolean"
},
"type": {
"type": "boolean"
},
"value": {
"type": "boolean"
},
"foulCount": {
"type": "boolean"
},
"incrementsFoulCount": {
"type": "boolean"
},
"numberOfFreeThrowsAwarded": {
"type": "boolean"
},
"areFreeThrowsCompleted": {
"type": "boolean"
},
"id": {
"type": "boolean"
},
"actionId": {
"type": "boolean"
},
"currentPhase": {
"type": "boolean"
},
"overtimeCount": {
"type": "boolean"
},
"timeRemainingInPhase": {
"type": "boolean"
},
"timestampUtc": {
"type": "boolean"
},
"isConfirmed": {
"type": "boolean"
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"FreeThrowOutcomeDto": {
"type": "object",
"properties": {
"scored": {
"type": "boolean"
},
"associatedFoulId": {
"type": "string",
"format": "uuid"
},
"id": {
"type": "string",
"format": "uuid"
},
"actionId": {
"type": "integer"
},
"currentPhase": {
"type": "string",
"enum": [
"PreGame",
"FirstQuarter",
"BeforeSecondQuarter",
"SecondQuarter",
"FirstHalf",
"HalfTime",
"ThirdQuarter",
"BeforeFourthQuarter",
"FourthQuarter",
"SecondHalf",
"BeforeOvertime",
"Overtime",
"PostGame",
"GameAbandoned"
]
},
"overtimeCount": {
"type": "integer"
},
"timeRemainingInPhase": {
"type": [
"string",
"null"
]
},
"timestampUtc": {
"type": "string",
"format": "date-time"
},
"isConfirmed": {
"type": "boolean"
}
}
},
"FreeThrowOutcomesGranularity": {
"type": [
"object",
"null"
],
"properties": {
"scored": {
"type": "boolean"
},
"associatedFoulId": {
"type": "boolean"
},
"id": {
"type": "boolean"
},
"actionId": {
"type": "boolean"
},
"currentPhase": {
"type": "boolean"
},
"overtimeCount": {
"type": "boolean"
},
"timeRemainingInPhase": {
"type": "boolean"
},
"timestampUtc": {
"type": "boolean"
},
"isConfirmed": {
"type": "boolean"
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"GameActionsDto": {
"type": "object",
"properties": {
"clockActions": {
"$ref": "#/definitions/ClockActionCollectionDto"
},
"points": {
"$ref": "#/definitions/PointActionCollectionDto"
},
"shots": {
"$ref": "#/definitions/ShotActionCollectionDto"
},
"freeThrowOutcomes": {
"$ref": "#/definitions/FreeThrowActionCollectionDto"
},
"fouls": {
"$ref": "#/definitions/FoulActionCollectionDto"
},
"turnovers": {
"$ref": "#/definitions/TurnoverActionCollectionDto"
},
"rebounds": {
"$ref": "#/definitions/ReboundActionCollectionDto"
},
"possessionChanges": {
"$ref": "#/definitions/PossessionChangeActionCollectionDto"
},
"possessionArrowChanges": {
"$ref": "#/definitions/PossessionArrowChangeActionCollectionDto"
},
"substitutions": {
"$ref": "#/definitions/SubstitutionActionCollectionDto"
},
"timeouts": {
"$ref": "#/definitions/TimeoutActionCollectionDto"
},
"phaseChanges": {
"$ref": "#/definitions/PhaseChangeActionCollectionDto"
},
"matchTipOffWinnerChanges": {
"$ref": "#/definitions/TipOffWinnerActionCollectionDto"
}
}
},
"GameActionsGranularity": {
"type": "object",
"properties": {
"clockActions": {
"$ref": "#/definitions/ClockGranularity"
},
"points": {
"$ref": "#/definitions/PointsGranularity"
},
"possessionChanges": {
"$ref": "#/definitions/PossessionChangesGranularity"
},
"fouls": {
"$ref": "#/definitions/FoulsGranularity"
},
"freeThrowOutcomes": {
"$ref": "#/definitions/FreeThrowOutcomesGranularity"
},
"possessionArrowChanges": {
"$ref": "#/definitions/PossessionArrowChangesGranularity"
},
"timeouts": {
"$ref": "#/definitions/TimeoutsGranularity"
},
"phaseChanges": {
"$ref": "#/definitions/PhaseChangesGranularity"
},
"matchTipOffWinnerChanges": {
"$ref": "#/definitions/MatchTipOffWinnerChangesGranularity"
}
}
},
"GameSummaryDto": {
"type": "object",
"properties": {
"scores": {
"$ref": "#/definitions/ScoreDataDto"
},
"foulCount": {
"$ref": "#/definitions/FoulCountDto"
},
"numberOfFreeThrowsRemaining": {
"type": [
"integer",
"null"
]
},
"possession": {
"type": "string",
"enum": [
"Neutral",
"Home",
"Away"
]
},
"currentPhase": {
"type": "string",
"enum": [
"PreGame",
"FirstQuarter",
"BeforeSecondQuarter",
"SecondQuarter",
"FirstHalf",
"HalfTime",
"ThirdQuarter",
"BeforeFourthQuarter",
"FourthQuarter",
"SecondHalf",
"BeforeOvertime",
"Overtime",
"PostGame",
"GameAbandoned"
]
},
"phasesInGame": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/PhaseDetailsDto"
}
},
"overtimeCount": {
"type": "integer"
},
"isClockRunning": {
"type": "boolean"
},
"possessionArrowDirection": {
"type": "string",
"enum": [
"Neutral",
"Home",
"Away"
]
},
"matchTipOffWinner": {
"type": "string",
"enum": [
"Unknown",
"Home",
"Away"
]
},
"timeRemainingInPhaseAtTimestamp": {
"$ref": "#/definitions/TimestampedTimeRemainingInPhaseDto"
},
"isGameOver": {
"type": "boolean"
},
"timeoutCount": {
"$ref": "#/definitions/TimeoutCountDto"
},
"technicalWinner": {
"$ref": "#/definitions/TechnicalWinnerDto"
}
}
},
"GameSummaryGranularity": {
"type": "object",
"properties": {
"scores": {
"$ref": "#/definitions/ScoreDataGranularity"
},
"foulCount": {
"type": "boolean"
},
"numberOfFreeThrowsRemaining": {
"type": "boolean"
},
"possession": {
"type": "boolean"
},
"currentPhase": {
"type": "boolean"
},
"phasesInGame": {
"$ref": "#/definitions/PhaseDetailsGranularity"
},
"overtimeCount": {
"type": "boolean"
},
"isClockRunning": {
"type": "boolean"
},
"possessionArrowDirection": {
"type": "boolean"
},
"matchTipOffWinner": {
"type": "boolean"
},
"timeRemainingInPhaseAtTimestamp": {
"type": "boolean"
},
"isGameOver": {
"type": "boolean"
},
"timeoutCount": {
"type": "boolean"
}
}
},
"RulesetDto": {
"type": "string",
"enum": [
"Unknown",
"FIBA",
"NBA",
"NCAA"
]
},
"MatchFormatDto": {
"type": "object",
"properties": {
"ruleset": {
"$ref": "#/definitions/RulesetDto"
},
"periodLength": {
"type": "integer",
"format": "int32",
"description": "Defines regular period length in minutes"
},
"extratimePeriodLength": {
"type": "integer",
"format": "int32",
"description": "Defines overtime period length in minutes"
}
},
"required": [
"ruleset",
"periodLength",
"extratimePeriodLength"
]
},
"MatchFormatGranularity": {
"type": "object",
"properties": {
"ruleSet": {
"type": "boolean"
},
"periodLength": {
"type": "boolean"
},
"extraTimePeriodLength": {
"type": "boolean"
}
}
},
"BaseMatchState": {
"type": "object",
"title": "Base match state",
"properties": {
"source": {
"$ref": "#/definitions/MessageSourceDto"
},
"sequence": {
"type": "integer",
"format": "int32",
"description": "Message sequence number to track if any messages were missed to receive. Always incremented by one."
},
"fixtureId": {
"type": "string",
"description": "Unique identifier of fixture that event occured. Provided by Fixtures API"
},
"messageTimestampUtc": {
"type": "string",
"format": "date-time",
"description": "Match state update time in UTC timezone. Must be provided in ISO 8601 date-time format."
},
"isReliable": {
"type": "boolean"
},
"isCoverageCancelled": {
"type": "boolean"
},
"reliabilityReasons": {
"type": [
"object",
"null"
],
"properties": {
"heartbeat": {
"type": "string"
},
"feedReliability": {
"type": "string"
},
"coverage": {
"type": "string"
}
}
}
},
"required": [
"sequence",
"messageTimestampUtc",
"isReliable",
"isCoverageCancelled"
]
},
"MessageSourceDto": {
"type": "string",
"enum": [
"Unknown",
"GeniusPremium",
"GeniusLiveStats",
"GeniusScoresheet",
"GeniusSportsInPlay"
]
},
"MatchStateDto": {
"type": "object",
"title": "Match state",
"allOf": [
{
"$ref": "#/definitions/BaseMatchState"
}
],
"properties": {
"gameActions": {
"$ref": "#/definitions/GameActionsDto"
},
"gameSummary": {
"$ref": "#/definitions/GameSummaryDto"
},
"matchFormat": {
"$ref": "#/definitions/MatchFormatDto"
},
"teams": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/TeamDetailsDto"
}
},
"messageTimestamp": {
"type": "string",
"format": "date-time",
"description": "Match state update time in UTC timezone. Must be provided in ISO 8601 date-time format."
}
},
"required": [
"messageTimestamp"
]
},
"MatchStateGranularity": {
"type": "object",
"properties": {
"sourceId": {
"type": [
"string",
"null"
]
},
"fixtureId": {
"type": [
"string",
"null"
]
},
"gameActions": {
"$ref": "#/definitions/GameActionsGranularity-1"
},
"gameSummary": {
"$ref": "#/definitions/GameSummaryGranularity-1"
},
"matchFormat": {
"$ref": "#/definitions/MatchFormatGranularity-1"
}
}
},
"MatchTipOffWinnerChangesGranularity": {
"type": [
"object",
"null"
],
"properties": {
"matchTipOffWinner": {
"type": "boolean"
},
"id": {
"type": "boolean"
},
"actionId": {
"type": "boolean"
},
"currentPhase": {
"type": "boolean"
},
"overtimeCount": {
"type": "boolean"
},
"timeRemainingInPhase": {
"type": "boolean"
},
"timestampUtc": {
"type": "boolean"
},
"isConfirmed": {
"type": "boolean"
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"PhaseChangeDto": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"actionId": {
"type": "integer"
},
"currentPhase": {
"type": "string",
"enum": [
"PreGame",
"FirstQuarter",
"BeforeSecondQuarter",
"SecondQuarter",
"FirstHalf",
"HalfTime",
"ThirdQuarter",
"BeforeFourthQuarter",
"FourthQuarter",
"SecondHalf",
"BeforeOvertime",
"Overtime",
"PostGame",
"GameAbandoned"
]
},
"overtimeCount": {
"type": "integer"
},
"timeRemainingInPhase": {
"type": [
"string",
"null"
]
},
"timestampUtc": {
"type": "string",
"format": "date-time"
},
"isConfirmed": {
"type": "boolean"
}
}
},
"PhaseChangesGranularity": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "boolean"
},
"actionId": {
"type": "boolean"
},
"currentPhase": {
"type": "boolean"
},
"overtimeCount": {
"type": "boolean"
},
"timeRemainingInPhase": {
"type": "boolean"
},
"timestampUtc": {
"type": "boolean"
},
"isConfirmed": {
"type": "boolean"
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"PhaseDetailsDto": {
"type": "object",
"properties": {
"phaseType": {
"type": "string",
"enum": [
"PreGame",
"FirstQuarter",
"BeforeSecondQuarter",
"SecondQuarter",
"FirstHalf",
"HalfTime",
"ThirdQuarter",
"BeforeFourthQuarter",
"FourthQuarter",
"SecondHalf",
"BeforeOvertime",
"Overtime",
"PostGame",
"GameAbandoned"
]
},
"isPlayablePhase": {
"type": "boolean"
},
"phaseDurationMilliseconds": {
"type": "integer"
}
}
},
"PhaseDetailsGranularity": {
"type": [
"object",
"null"
],
"properties": {
"phaseType": {
"type": "boolean"
},
"isPlayablePhase": {
"type": "boolean"
},
"phaseDurationMilliseconds": {
"type": "boolean"
}
}
},
"PointDto": {
"type": "object",
"properties": {
"pointType": {
"type": "string",
"enum": [
"FreeThrow",
"TwoPoint",
"ThreePoint",
"SetScore"
]
},
"teamScoring": {
"type": [
"string",
"null"
],
"enum": [
null,
"Home",
"Away"
]
},
"scoreAfterPoint": {
"$ref": "#/definitions/ScoreDto"
},
"id": {
"type": "string",
"format": "uuid"
},
"actionId": {
"type": "integer"
},
"currentPhase": {
"type": "string",
"enum": [
"PreGame",
"FirstQuarter",
"BeforeSecondQuarter",
"SecondQuarter",
"FirstHalf",
"HalfTime",
"ThirdQuarter",
"BeforeFourthQuarter",
"FourthQuarter",
"SecondHalf",
"BeforeOvertime",
"Overtime",
"PostGame",
"GameAbandoned"
]
},
"overtimeCount": {
"type": "integer"
},
"timeRemainingInPhase": {
"type": [
"string",
"null"
]
},
"timestampUtc": {
"type": "string",
"format": "date-time"
},
"isConfirmed": {
"type": "boolean"
}
}
},
"PointsGranularity": {
"type": [
"object",
"null"
],
"properties": {
"pointType": {
"type": "boolean"
},
"teamScoring": {
"type": "boolean"
},
"scoreAfterPoint": {
"type": "boolean"
},
"id": {
"type": "boolean"
},
"actionId": {
"type": "boolean"
},
"currentPhase": {
"type": "boolean"
},
"overtimeCount": {
"type": "boolean"
},
"timeRemainingInPhase": {
"type": "boolean"
},
"timestampUtc": {
"type": "boolean"
},
"isConfirmed": {
"type": "boolean"
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"PossessionArrowChangeDto": {
"type": "object",
"properties": {
"possessionArrowDirection": {
"type": "string",
"enum": [
"Neutral",
"Home",
"Away"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"actionId": {
"type": "integer"
},
"currentPhase": {
"type": "string",
"enum": [
"PreGame",
"FirstQuarter",
"BeforeSecondQuarter",
"SecondQuarter",
"FirstHalf",
"HalfTime",
"ThirdQuarter",
"BeforeFourthQuarter",
"FourthQuarter",
"SecondHalf",
"BeforeOvertime",
"Overtime",
"PostGame",
"GameAbandoned"
]
},
"overtimeCount": {
"type": "integer"
},
"timeRemainingInPhase": {
"type": [
"string",
"null"
]
},
"timestampUtc": {
"type": "string",
"format": "date-time"
},
"isConfirmed": {
"type": "boolean"
}
}
},
"PossessionArrowChangesGranularity": {
"type": [
"object",
"null"
],
"properties": {
"possessionArrowDirection": {
"type": "boolean"
},
"id": {
"type": "boolean"
},
"actionId": {
"type": "boolean"
},
"currentPhase": {
"type": "boolean"
},
"overtimeCount": {
"type": "boolean"
},
"timeRemainingInPhase": {
"type": "boolean"
},
"timestampUtc": {
"type": "boolean"
},
"isConfirmed": {
"type": "boolean"
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"PossessionChangeDto": {
"type": "object",
"properties": {
"teamInPossession": {
"type": "string",
"enum": [
"Neutral",
"Home",
"Away"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"actionId": {
"type": "integer"
},
"currentPhase": {
"type": "string",
"enum": [
"PreGame",
"FirstQuarter",
"BeforeSecondQuarter",
"SecondQuarter",
"FirstHalf",
"HalfTime",
"ThirdQuarter",
"BeforeFourthQuarter",
"FourthQuarter",
"SecondHalf",
"BeforeOvertime",
"Overtime",
"PostGame",
"GameAbandoned"
]
},
"overtimeCount": {
"type": "integer"
},
"timeRemainingInPhase": {
"type": [
"string",
"null"
]
},
"timestampUtc": {
"type": "string",
"format": "date-time"
},
"isConfirmed": {
"type": "boolean"
}
}
},
"PossessionChangesGranularity": {
"type": [
"object",
"null"
],
"properties": {
"teamInPossession": {
"type": "boolean"
},
"id": {
"type": "boolean"
},
"actionId": {
"type": "boolean"
},
"currentPhase": {
"type": "boolean"
},
"overtimeCount": {
"type": "boolean"
},
"timeRemainingInPhase": {
"type": "boolean"
},
"timestampUtc": {
"type": "boolean"
},
"isConfirmed": {
"type": "boolean"
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ScoreDataDto": {
"type": [
"object",
"null"
],
"properties": {
"firstTeamToScore": {
"type": [
"string",
"null"
],
"enum": [
null,
"Home",
"Away"
]
},
"lastTeamToScore": {
"type": [
"string",
"null"
],
"enum": [
null,
"Home",
"Away"
]
},
"firstQuarterScore": {
"$ref": "#/definitions/ScoreDto"
},
"secondQuarterScore": {
"$ref": "#/definitions/ScoreDto"
},
"thirdQuarterScore": {
"$ref": "#/definitions/ScoreDto"
},
"fourthQuarterScore": {
"$ref": "#/definitions/ScoreDto"
},
"firstHalfScore": {
"$ref": "#/definitions/ScoreDto"
},
"secondHalfScore": {
"$ref": "#/definitions/ScoreDto"
},
"overtimeScore": {
"$ref": "#/definitions/ScoreDto"
},
"regulationTimeFinalScore": {
"$ref": "#/definitions/ScoreDto"
},
"currentScore": {
"$ref": "#/definitions/ScoreDto"
}
}
},
"ScoreDataGranularity": {
"type": [
"object",
"null"
],
"properties": {
"firstTeamToScore": {
"type": "boolean"
},
"lastTeamToScore": {
"type": "boolean"
},
"firstQuarterScore": {
"type": "boolean"
},
"secondQuarterScore": {
"type": "boolean"
},
"thirdQuarterScore": {
"type": "boolean"
},
"fourthQuarterScore": {
"type": "boolean"
},
"firstHalfScore": {
"type": "boolean"
},
"secondHalfScore": {
"type": "boolean"
},
"overtimeScore": {
"type": "boolean"
},
"regulationTimeFinalScore": {
"type": "boolean"
},
"currentScore": {
"type": "boolean"
}
}
},
"ScoreDto": {
"type": [
"object",
"null"
],
"properties": {
"home": {
"type": "integer"
},
"away": {
"type": "integer"
}
}
},
"TeamLineupParticipantDto": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"isStarter": {
"type": [
"boolean",
"null"
]
},
"status": {
"$ref": "#/definitions/TeamLineupParticipantStatusDto"
}
},
"required": [
"id"
]
},
"TeamLineupParticipantStatusDto": {
"type": "string",
"enum": [
"Unknown",
"OnCourt",
"OnBench",
"OnBenchNotPlayed",
"Ejected",
"EjectedNotPlayed"
]
},
"TeamDetailsDto": {
"type": "object",
"properties": {
"teamId": {
"type": "integer",
"format": "int32"
},
"teamSide": {
"oneOf": [
{
"type": "null"
},
{
"type": "string",
"enum": [
"Home",
"Away"
]
}
]
},
"participants": {
"type": "array",
"items": {
"$ref": "#/definitions/TeamLineupParticipantDto"
}
}
},
"required": [
"teamId",
"participants"
]
},
"TechnicalWinnerDto": {
"type": [
"object",
"null"
],
"properties": {
"teamSide": {
"type": "string",
"enum": [
"Home",
"Away"
]
},
"technicalWinType": {
"type": "string",
"enum": [
"WinByDefault",
"Forfeit"
]
},
"timeRemainingInPhase": {
"type": [
"string",
"null"
]
}
}
},
"TimeoutCountDto": {
"type": [
"object",
"null"
],
"properties": {
"home": {
"type": "integer"
},
"away": {
"type": "integer"
}
}
},
"TimeoutDto": {
"type": "object",
"properties": {
"team": {
"type": [
"string",
"null"
],
"enum": [
null,
"Home",
"Away"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"actionId": {
"type": "integer"
},
"currentPhase": {
"type": "string",
"enum": [
"PreGame",
"FirstQuarter",
"BeforeSecondQuarter",
"SecondQuarter",
"FirstHalf",
"HalfTime",
"ThirdQuarter",
"BeforeFourthQuarter",
"FourthQuarter",
"SecondHalf",
"BeforeOvertime",
"Overtime",
"PostGame",
"GameAbandoned"
]
},
"overtimeCount": {
"type": "integer"
},
"timeRemainingInPhase": {
"type": [
"string",
"null"
]
},
"timestampUtc": {
"type": "string",
"format": "date-time"
},
"isConfirmed": {
"type": "boolean"
}
}
},
"TimeoutsGranularity": {
"type": [
"object",
"null"
],
"properties": {
"team": {
"type": "boolean"
},
"id": {
"type": "boolean"
},
"actionId": {
"type": "boolean"
},
"currentPhase": {
"type": "boolean"
},
"overtimeCount": {
"type": "boolean"
},
"timeRemainingInPhase": {
"type": "boolean"
},
"timestampUtc": {
"type": "boolean"
},
"isConfirmed": {
"type": "boolean"
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"TimestampedTimeRemainingInPhaseDto": {
"type": [
"object",
"null"
],
"properties": {
"timeRemainingInPhase": {
"type": "string"
},
"utcTimeStamp": {
"type": "string",
"format": "date-time"
}
}
},
"TipOffWinnerDto": {
"type": "object",
"properties": {
"matchTipOffWinner": {
"type": "string",
"enum": [
"Unknown",
"Home",
"Away"
]
},
"id": {
"type": "string",
"format": "uuid"
},
"actionId": {
"type": "integer"
},
"currentPhase": {
"type": "string",
"enum": [
"PreGame",
"FirstQuarter",
"BeforeSecondQuarter",
"SecondQuarter",
"FirstHalf",
"HalfTime",
"ThirdQuarter",
"BeforeFourthQuarter",
"FourthQuarter",
"SecondHalf",
"BeforeOvertime",
"Overtime",
"PostGame",
"GameAbandoned"
]
},
"overtimeCount": {
"type": "integer"
},
"timeRemainingInPhase": {
"type": [
"string",
"null"
]
},
"timestampUtc": {
"type": "string",
"format": "date-time"
},
"isConfirmed": {
"type": "boolean"
}
}
}
}
}