JSON Schema
- Viewer
- Schema
Loading ....
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "schemas.json.match-state.basketball.v1",
"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"
],
"prefixItems": {
"$ref": "#/definitions/ClockActivityDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<FoulDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"prefixItems": {
"$ref": "#/definitions/FoulDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<FreeThrowOutcomeDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"prefixItems": {
"$ref": "#/definitions/FreeThrowOutcomeDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<PhaseChangeDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"prefixItems": {
"$ref": "#/definitions/PhaseChangeDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<PointDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"prefixItems": {
"$ref": "#/definitions/PointDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<PossessionArrowChangeDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"prefixItems": {
"$ref": "#/definitions/PossessionArrowChangeDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<PossessionChangeDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"prefixItems": {
"$ref": "#/definitions/PossessionChangeDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<TimeoutDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"prefixItems": {
"$ref": "#/definitions/TimeoutDto"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"ActionCollectionDto<TipOffWinnerDto>": {
"type": [
"object",
"null"
],
"properties": {
"actions": {
"type": [
"array",
"null"
],
"prefixItems": {
"$ref": "#/definitions/TipOffWinnerDto"
}
},
"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",
"null"
],
"properties": {
"clockActions": {
"$ref": "#/definitions/ActionCollectionDto<ClockActivityDto>"
},
"points": {
"$ref": "#/definitions/ActionCollectionDto<PointDto>"
},
"possessionChanges": {
"$ref": "#/definitions/ActionCollectionDto<PossessionChangeDto>"
},
"fouls": {
"$ref": "#/definitions/ActionCollectionDto<FoulDto>"
},
"freeThrowOutcomes": {
"$ref": "#/definitions/ActionCollectionDto<FreeThrowOutcomeDto>"
},
"possessionArrowChanges": {
"$ref": "#/definitions/ActionCollectionDto<PossessionArrowChangeDto>"
},
"timeouts": {
"$ref": "#/definitions/ActionCollectionDto<TimeoutDto>"
},
"phaseChanges": {
"$ref": "#/definitions/ActionCollectionDto<PhaseChangeDto>"
},
"matchTipOffWinnerChanges": {
"$ref": "#/definitions/ActionCollectionDto<TipOffWinnerDto>"
}
}
},
"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"
],
"prefixItems": {
"$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"
}
}
},
"MatchFormatDto": {
"type": "object",
"properties": {
"ruleset": {
"type": "string",
"enum": [
"Unknown",
"FIBA",
"NBA",
"NCAA"
]
},
"periodLength": {
"type": "integer"
},
"extratimePeriodLength": {
"type": "integer"
}
}
},
"MatchFormatGranularity": {
"type": "object",
"properties": {
"ruleSet": {
"type": "boolean"
},
"periodLength": {
"type": "boolean"
},
"extraTimePeriodLength": {
"type": "boolean"
}
}
},
"MatchStateDto": {
"type": "object",
"properties": {
"messageTimestamp": {
"type": "string",
"format": "date-time"
},
"gameActions": {
"$ref": "#/definitions/GameActionsDto"
},
"gameSummary": {
"$ref": "#/definitions/GameSummaryDto-1"
},
"matchFormat": {
"$ref": "#/definitions/MatchFormatDto-1"
},
"teams": {
"type": [
"array",
"null"
],
"prefixItems": {
"$ref": "#/definitions/TeamDetailsDto"
}
},
"source": {
"type": [
"string",
"null"
]
},
"fixtureId": {
"type": [
"string",
"null"
]
},
"sequence": {
"type": "integer"
},
"messageTimestampUtc": {
"type": "string",
"format": "date-time"
},
"isReliable": {
"type": "boolean"
},
"isCoverageCancelled": {
"type": "boolean"
},
"reliabilityReasons": {
"type": [
"object",
"null"
],
"additionalProperties": {
"type": "string"
}
}
}
},
"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"
}
}
},
"TeamDetailsDto": {
"type": "object",
"properties": {
"teamId": {
"type": "integer"
},
"teamSide": {
"type": [
"string",
"null"
],
"enum": [
null,
"Home",
"Away"
]
}
}
},
"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"
}
}
}
},
"anyOf": [
{
"$ref": "#/definitions/GameSummaryDto"
},
{
"$ref": "#/definitions/MatchFormatDto"
},
{
"$ref": "#/definitions/MatchStateDto"
},
{
"$ref": "#/definitions/PhaseDetailsDto"
},
{
"$ref": "#/definitions/TeamDetailsDto"
},
{
"$ref": "#/definitions/GameActionsGranularity"
},
{
"$ref": "#/definitions/GameSummaryGranularity"
},
{
"$ref": "#/definitions/MatchFormatGranularity"
},
{
"$ref": "#/definitions/MatchStateGranularity"
},
{
"$ref": "#/definitions/ActionsGranularityBase"
},
{
"$ref": "#/definitions/ActionBaseDto"
},
{
"$ref": "#/definitions/ClockActivityDto"
},
{
"$ref": "#/definitions/FoulDto"
},
{
"$ref": "#/definitions/FreeThrowOutcomeDto"
},
{
"$ref": "#/definitions/PhaseChangeDto"
},
{
"$ref": "#/definitions/PointDto"
},
{
"$ref": "#/definitions/PossessionArrowChangeDto"
},
{
"$ref": "#/definitions/PossessionChangeDto"
},
{
"$ref": "#/definitions/TimeoutDto"
},
{
"$ref": "#/definitions/TipOffWinnerDto"
}
],
"#schema": "#"
}