MatchState JSON Schema
- Viewer
- Schema
Loading ....
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "MatchState",
"type": "object",
"additionalProperties": false,
"properties": {
"source": {
"type": "string"
},
"fixtureId": {
"type": "string"
},
"sequence": {
"type": "integer",
"format": "int32"
},
"messageTimestampUtc": {
"type": "string",
"format": "date-time"
},
"isReliable": {
"type": "boolean"
},
"isCoverageCancelled": {
"type": "boolean"
},
"reliabilityReasons": {
"type": "object",
"x-dictionaryKey": {
"$ref": "#/definitions/reliabilityStatusType"
},
"additionalProperties": {
"type": "string"
}
},
"bookmakerId": {
"type": "integer",
"format": "int32"
},
"sourceFixtureData": {
"$ref": "#/definitions/fixtureData"
},
"matchActions": {
"$ref": "#/definitions/matchActions"
},
"matchStatus": {
"$ref": "#/definitions/matchStatus"
},
"statistics": {
"$ref": "#/definitions/statistics"
},
"awayTeam": {
"$ref": "#/definitions/team"
},
"homeTeam": {
"$ref": "#/definitions/team"
},
"coverageCancelledAt": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"currentVarState": {
"$ref": "#/definitions/varState"
},
"varReason": {
"x-deprecated": true,
"x-deprecatedMessage": "Use VarReasonV2 for complete status list",
"oneOf": [
{
"$ref": "#/definitions/varReason"
}
]
},
"varOutcome": {
"x-deprecated": true,
"x-deprecatedMessage": "Use VarOutcomeV2 for complete status list",
"oneOf": [
{
"$ref": "#/definitions/varOutcome"
}
]
},
"varReasonV2": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/varReasonV2"
}
]
},
"varOutcomeV2": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/varOutcomeV2"
}
]
},
"isSecondLeg": {
"type": [
"boolean",
"null"
],
"x-deprecated": true,
"x-deprecatedMessage": "This is fixture information"
},
"firstLegScore": {
"$ref": "#/definitions/score"
},
"normalTimeHalfDuration": {
"type": [
"null",
"string"
],
"format": "duration",
"x-deprecated": true,
"x-deprecatedMessage": "This is fixture information"
},
"extraTimeHalfDuration": {
"type": [
"null",
"string"
],
"format": "duration",
"x-deprecated": true,
"x-deprecatedMessage": "This is fixture information"
},
"canGoToExtraTime": {
"type": [
"boolean",
"null"
],
"x-deprecated": true,
"x-deprecatedMessage": "This is fixture information"
},
"canGoStraightToPenaltiesAfterNormalTime": {
"type": [
"boolean",
"null"
],
"x-deprecated": true,
"x-deprecatedMessage": "This is fixture information"
},
"canGoToPenalties": {
"type": [
"boolean",
"null"
],
"x-deprecated": true,
"x-deprecatedMessage": "This is fixture information"
}
},
"definitions": {
"reliabilityStatusType": {
"type": "string",
"description": "",
"x-enumNames": [
"Heartbeat",
"FeedReliability",
"Coverage"
],
"enum": [
"Heartbeat",
"FeedReliability",
"Coverage"
]
},
"fixtureData": {
"type": "object",
"additionalProperties": false,
"properties": {
"sourceScheduledStartTime": {
"type": "string",
"format": "date-time"
},
"sourceCompetitionId": {
"type": "string"
},
"sourceCompetitionName": {
"type": "string"
},
"sourceVenueId": {
"type": "string"
},
"sourceVenueName": {
"type": "string"
}
}
},
"matchActions": {
"type": "object",
"additionalProperties": false,
"properties": {
"goals": {
"$ref": "#/definitions/goalCollection"
},
"yellowCards": {
"$ref": "#/definitions/matchActionCollection"
},
"secondYellowCards": {
"$ref": "#/definitions/matchActionCollection"
},
"straightRedCards": {
"$ref": "#/definitions/matchActionCollection"
},
"penalties": {
"$ref": "#/definitions/penaltyCollection"
},
"penaltyRiskStateChanges": {
"$ref": "#/definitions/penaltyRiskStateCollection"
},
"substitutions": {
"$ref": "#/definitions/substitutionCollection"
},
"shotsOnTarget": {
"$ref": "#/definitions/shotOnTargetCollection"
},
"shotsOffTarget": {
"$ref": "#/definitions/matchActionCollection"
},
"shotsOffWoodwork": {
"$ref": "#/definitions/shotOffWoodworkCollection"
},
"blockedShots": {
"$ref": "#/definitions/matchActionCollection"
},
"corners": {
"$ref": "#/definitions/matchActionCollection"
},
"cornersV2": {
"$ref": "#/definitions/cornersCollection"
},
"penaltiesAwarded": {
"$ref": "#/definitions/matchActionCollection"
},
"fouls": {
"$ref": "#/definitions/foulCollection"
},
"offsides": {
"$ref": "#/definitions/matchActionCollection"
},
"goalKicks": {
"$ref": "#/definitions/matchActionCollection"
},
"missedPenalties": {
"$ref": "#/definitions/matchActionCollection"
},
"savedPenalties": {
"$ref": "#/definitions/matchActionCollection"
},
"throwIns": {
"$ref": "#/definitions/matchActionCollection"
},
"possessionChanges": {
"$ref": "#/definitions/possessionChangeCollection"
},
"stoppageTimeAnnouncements": {
"$ref": "#/definitions/stoppageTimeAnnouncementCollection"
},
"phaseChanges": {
"$ref": "#/definitions/phaseChangeCollection"
},
"clockActions": {
"$ref": "#/definitions/clockActivityCollection"
},
"dangerStateChanges": {
"$ref": "#/definitions/dangerStateChangeCollection"
},
"bookingStateChanges": {
"$ref": "#/definitions/bookingStateChangeCollection"
},
"lineupUpdates": {
"$ref": "#/definitions/lineupUpdatedCollection"
},
"systemMessages": {
"$ref": "#/definitions/systemMessageCollection"
},
"kickOffs": {
"$ref": "#/definitions/matchActionCollection"
},
"varStateChanges": {
"$ref": "#/definitions/varStateChangeCollection"
},
"cornerRisk": {
"$ref": "#/definitions/cornerRisk"
}
}
},
"goalCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"goals": {
"type": "array",
"items": {
"$ref": "#/definitions/goal"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"goal": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"team": {
"$ref": "#/definitions/teamSide"
},
"scoredByInternalId": {
"type": "string"
},
"assistByInternalId": {
"type": "string"
},
"isOwnGoal": {
"type": [
"boolean",
"null"
]
},
"wasScoredFromPenalty": {
"type": [
"boolean",
"null"
]
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"phase": {
"type": "string",
"description": "",
"x-enumNames": [
"PreMatch",
"FirstHalf",
"HalfTime",
"SecondHalf",
"NormalTime",
"FullTimeNormalTime",
"BeforeExtraTime",
"ExtraTimeFirstHalf",
"ExtraTimeHalfTime",
"ExtraTimeSecondHalf",
"ExtraTime",
"FullTimeExtraTime",
"BeforePenalties",
"Penalties",
"PenaltyTime",
"PostMatch",
"MatchAbandoned"
],
"enum": [
"PreMatch",
"FirstHalf",
"HalfTime",
"SecondHalf",
"NormalTime",
"FullTimeNormalTime",
"BeforeExtraTime",
"ExtraTimeFirstHalf",
"ExtraTimeHalfTime",
"ExtraTimeSecondHalf",
"ExtraTime",
"FullTimeExtraTime",
"BeforePenalties",
"Penalties",
"PenaltyTime",
"PostMatch",
"MatchAbandoned"
]
},
"teamSide": {
"type": "string",
"description": "",
"x-enumNames": [
"Home",
"Away"
],
"enum": [
"Home",
"Away"
]
},
"matchActionCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"matchActions": {
"type": "array",
"items": {
"$ref": "#/definitions/matchAction"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"matchAction": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"team": {
"$ref": "#/definitions/teamSide"
},
"playerInternalId": {
"type": "string"
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"penaltyCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"penalties": {
"type": "array",
"items": {
"$ref": "#/definitions/penalty"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"penalty": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"team": {
"$ref": "#/definitions/teamSide"
},
"playerInternalId": {
"type": "string"
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
},
"penaltyOutcome": {
"$ref": "#/definitions/penaltyOutcome"
}
}
},
"penaltyOutcome": {
"type": "object",
"additionalProperties": false,
"properties": {
"isConfirmed": {
"type": "boolean"
},
"outcome": {
"$ref": "#/definitions/penaltyOutcomeType"
}
}
},
"penaltyOutcomeType": {
"type": "string",
"description": "",
"x-enumNames": [
"Unknown",
"NotTaken",
"Retaken",
"Missed",
"Scored"
],
"enum": [
"Unknown",
"NotTaken",
"Retaken",
"Missed",
"Scored"
]
},
"penaltyRiskStateCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"penaltyRiskChanges": {
"type": "array",
"items": {
"$ref": "#/definitions/penaltyRiskChange"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"penaltyRiskChange": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"penaltyRiskState": {
"$ref": "#/definitions/penaltyRiskState"
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"penaltyRiskState": {
"type": "string",
"description": "",
"x-enumNames": [
"AwayDanger",
"AwaySafe",
"HomeDanger",
"HomeSafe"
],
"enum": [
"AwayDanger",
"AwaySafe",
"HomeDanger",
"HomeSafe"
]
},
"substitutionCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"substitutions": {
"type": "array",
"items": {
"$ref": "#/definitions/substitution"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"substitution": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"team": {
"$ref": "#/definitions/teamSide"
},
"playerOnInternalId": {
"type": "string"
},
"playerOffInternalId": {
"type": "string"
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"shotOnTargetCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"shotsOnTarget": {
"type": "array",
"items": {
"$ref": "#/definitions/shotOnTarget"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"shotOnTarget": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"team": {
"$ref": "#/definitions/teamSide"
},
"playerInternalId": {
"type": "string"
},
"savedByInternalId": {
"type": "string"
},
"ballReturnedToPlay": {
"type": [
"boolean",
"null"
]
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"shotOffWoodworkCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"shotsOffWoodwork": {
"type": "array",
"items": {
"$ref": "#/definitions/shotOffWoodwork"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"shotOffWoodwork": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"team": {
"$ref": "#/definitions/teamSide"
},
"playerInternalId": {
"type": "string"
},
"ballReturnedToPlay": {
"type": [
"boolean",
"null"
]
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"cornersCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"corners": {
"type": "array",
"items": {
"$ref": "#/definitions/corner"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"corner": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"team": {
"$ref": "#/definitions/teamSide"
},
"awarded": {
"$ref": "#/definitions/cornerAction"
},
"taken": {
"$ref": "#/definitions/cornerAction"
}
}
},
"cornerAction": {
"type": "object",
"additionalProperties": false,
"properties": {
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
}
}
},
"foulCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"fouls": {
"type": "array",
"items": {
"$ref": "#/definitions/foul"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"foul": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"foulingTeam": {
"$ref": "#/definitions/teamSide"
},
"fouledPlayerInternalId": {
"type": "string"
},
"fouledByInternalId": {
"type": "string"
},
"foulTakerInternalId": {
"type": "string"
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"possessionChangeCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"possessionChanges": {
"type": "array",
"items": {
"$ref": "#/definitions/possessionChange"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"possessionChange": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"team": {
"$ref": "#/definitions/teamSide"
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"stoppageTimeAnnouncementCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"stoppageTimeAnnouncements": {
"type": "array",
"items": {
"$ref": "#/definitions/stoppageTimeAnnouncement"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"stoppageTimeAnnouncement": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"addedMinutes": {
"type": "integer",
"format": "int32"
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"phaseChangeCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"phaseChanges": {
"type": "array",
"items": {
"$ref": "#/definitions/phaseChange"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"phaseChange": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"previousPhase": {
"$ref": "#/definitions/phase"
},
"currentPhase": {
"$ref": "#/definitions/phase"
},
"currentPhaseStartTime": {
"type": [
"null",
"string"
],
"format": "date-time"
},
"isConfirmed": {
"type": "boolean"
},
"messageId": {
"type": [
"integer",
"null"
],
"format": "int32",
"x-deprecated": true,
"x-deprecatedMessage": "What's this even for?"
},
"message": {
"type": "string",
"x-deprecated": true,
"x-deprecatedMessage": "What's this even for?"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"clockActivityCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"clockActions": {
"type": "array",
"items": {
"$ref": "#/definitions/clockActivity"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"clockActivity": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
},
"activityType": {
"$ref": "#/definitions/clockActivityTypeDto"
},
"isClockRunning": {
"type": "boolean"
},
"isConfirmed": {
"type": "boolean"
}
}
},
"clockActivityTypeDto": {
"type": "string",
"description": "",
"x-enumNames": [
"Start",
"Stop",
"Adjustment"
],
"enum": [
"Start",
"Stop",
"Adjustment"
]
},
"dangerStateChangeCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"dangerStateChanges": {
"type": "array",
"items": {
"$ref": "#/definitions/dangerStateChange"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"dangerStateChange": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"dangerState": {
"$ref": "#/definitions/dangerState"
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"dangerState": {
"type": "string",
"description": "",
"x-enumNames": [
"Safe",
"AwayGoal",
"AwayPenalty",
"AwayDangerousFreeKick",
"AwayCorner",
"AwayAttackingFreeKick",
"AwayDangerousAttack",
"AwayCornerDanger",
"AwayAttack",
"AwayFreeKick",
"AwaySafe",
"HomeSafe",
"HomeFreeKick",
"HomeAttack",
"HomeCornerDanger",
"HomeDangerousAttack",
"HomeAttackingFreeKick",
"HomeCorner",
"HomeDangerousFreeKick",
"HomePenalty",
"HomeGoal"
],
"enum": [
"Safe",
"AwayGoal",
"AwayPenalty",
"AwayDangerousFreeKick",
"AwayCorner",
"AwayAttackingFreeKick",
"AwayDangerousAttack",
"AwayCornerDanger",
"AwayAttack",
"AwayFreeKick",
"AwaySafe",
"HomeSafe",
"HomeFreeKick",
"HomeAttack",
"HomeCornerDanger",
"HomeDangerousAttack",
"HomeAttackingFreeKick",
"HomeCorner",
"HomeDangerousFreeKick",
"HomePenalty",
"HomeGoal"
]
},
"bookingStateChangeCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"bookingStateChanges": {
"type": "array",
"items": {
"$ref": "#/definitions/bookingStateChange"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"bookingStateChange": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"bookingState": {
"$ref": "#/definitions/bookingState"
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"bookingState": {
"type": "string",
"description": "",
"x-enumNames": [
"Safe",
"YellowCardDanger",
"RedCardDanger"
],
"enum": [
"Safe",
"YellowCardDanger",
"RedCardDanger"
]
},
"lineupUpdatedCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"updates": {
"type": "array",
"items": {
"$ref": "#/definitions/lineupUpdated"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"lineupUpdated": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"newLineup": {
"$ref": "#/definitions/lineup"
},
"team": {
"$ref": "#/definitions/teamSide"
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"lineup": {
"type": "object",
"additionalProperties": false,
"properties": {
"startingOnPitch": {
"type": "array",
"items": {
"$ref": "#/definitions/player"
}
},
"startingBench": {
"type": "array",
"items": {
"$ref": "#/definitions/player"
}
},
"formation": {
"type": "string"
}
}
},
"player": {
"type": "object",
"additionalProperties": false,
"properties": {
"internalId": {
"type": "string"
},
"sourceId": {
"type": "string"
},
"sourceName": {
"type": "string"
},
"position": {
"type": [
"integer",
"null"
],
"format": "int32",
"x-deprecated": true,
"x-deprecatedMessage": "Use PlayerPosition"
},
"shirtNumber": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"playerPosition": {
"$ref": "#/definitions/playerPosition"
}
}
},
"playerPosition": {
"type": "string",
"description": "",
"x-enumNames": [
"Unknown",
"GoalKeeper",
"Defender",
"Midfielder",
"Forward"
],
"enum": [
"Unknown",
"GoalKeeper",
"Defender",
"Midfielder",
"Forward"
]
},
"systemMessageCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"systemMessages": {
"type": "array",
"items": {
"$ref": "#/definitions/systemMessage"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"systemMessage": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"messageId": {
"type": "integer",
"format": "int32"
},
"message": {
"type": "string"
},
"timestamp": {
"type": "string",
"format": "date-time"
}
}
},
"varStateChangeCollection": {
"type": "object",
"additionalProperties": false,
"properties": {
"varStateChanges": {
"type": "array",
"items": {
"$ref": "#/definitions/varStateChange"
}
},
"isCollected": {
"type": "boolean"
},
"isReliable": {
"type": "boolean"
}
}
},
"varStateChange": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "integer",
"format": "int32"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"phase": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/phase"
}
]
},
"timeElapsedInPhase": {
"type": [
"null",
"string"
],
"format": "duration"
},
"varState": {
"$ref": "#/definitions/varState"
},
"varReason": {
"x-deprecated": true,
"x-deprecatedMessage": "Use VarReasonV2 for complete status list",
"oneOf": [
{
"$ref": "#/definitions/varReason"
}
]
},
"varOutcome": {
"x-deprecated": true,
"x-deprecatedMessage": "Use VarOutcomeV2 for complete status list",
"oneOf": [
{
"$ref": "#/definitions/varOutcome"
}
]
},
"varReasonV2": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/varReasonV2"
}
]
},
"varOutcomeV2": {
"oneOf": [
{
"type": "null"
},
{
"$ref": "#/definitions/varOutcomeV2"
}
]
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"varState": {
"type": "string",
"description": "",
"x-enumNames": [
"Safe",
"Danger",
"InProgress"
],
"enum": [
"Safe",
"Danger",
"InProgress"
]
},
"varReason": {
"type": "string",
"description": "",
"x-enumNames": [
"NotSet",
"HomeGoal",
"HomePenalty",
"HomeRedCard",
"HomeMistakenIdentity",
"AwayGoal",
"AwayPenalty",
"AwayRedCard",
"AwayMistakenIdentity",
"Goal",
"Penalty",
"RedCard",
"MistakenIdentity",
"HomeUnknown",
"AwayUnknown",
"Unknown"
],
"enum": [
"NotSet",
"HomeGoal",
"HomePenalty",
"HomeRedCard",
"HomeMistakenIdentity",
"AwayGoal",
"AwayPenalty",
"AwayRedCard",
"AwayMistakenIdentity",
"Goal",
"Penalty",
"RedCard",
"MistakenIdentity",
"HomeUnknown",
"AwayUnknown",
"Unknown"
]
},
"varOutcome": {
"type": "string",
"description": "",
"x-enumNames": [
"NotSet",
"HomeNoGoal",
"AwayNoGoal",
"NoGoal",
"HomeGoalAwarded",
"AwayGoalAwarded",
"GoalAwarded",
"HomeNoPenalty",
"AwayNoPenalty",
"NoPenalty",
"HomePenaltyAwarded",
"AwayPenaltyAwarded",
"PenaltyAwarded",
"HomeNoRedCard",
"AwayNoRedCard",
"NoRedCard",
"HomeRedCardGiven",
"AwayRedCardGiven",
"RedCardGiven",
"HomePlayerNotChanged",
"AwayPlayerNotChanged",
"PlayerNotChanged",
"HomePlayerChanged",
"AwayPlayerChanged",
"PlayerChanged",
"HomeNoAction",
"AwayNoAction",
"NoAction",
"HomeUnknown",
"AwayUnknown",
"Unknown"
],
"enum": [
"NotSet",
"HomeNoGoal",
"AwayNoGoal",
"NoGoal",
"HomeGoalAwarded",
"AwayGoalAwarded",
"GoalAwarded",
"HomeNoPenalty",
"AwayNoPenalty",
"NoPenalty",
"HomePenaltyAwarded",
"AwayPenaltyAwarded",
"PenaltyAwarded",
"HomeNoRedCard",
"AwayNoRedCard",
"NoRedCard",
"HomeRedCardGiven",
"AwayRedCardGiven",
"RedCardGiven",
"HomePlayerNotChanged",
"AwayPlayerNotChanged",
"PlayerNotChanged",
"HomePlayerChanged",
"AwayPlayerChanged",
"PlayerChanged",
"HomeNoAction",
"AwayNoAction",
"NoAction",
"HomeUnknown",
"AwayUnknown",
"Unknown"
]
},
"varReasonV2": {
"type": "string",
"description": "",
"x-enumNames": [
"NotSet",
"HomeGoal",
"HomePenalty",
"HomeRedCard",
"HomeMistakenIdentity",
"AwayGoal",
"AwayPenalty",
"AwayRedCard",
"AwayMistakenIdentity",
"Goal",
"Penalty",
"RedCard",
"MistakenIdentity",
"HomeUnknown",
"AwayUnknown",
"Unknown",
"PenaltyRetake",
"HomePenaltyRetake",
"AwayPenaltyRetake"
],
"enum": [
"NotSet",
"HomeGoal",
"HomePenalty",
"HomeRedCard",
"HomeMistakenIdentity",
"AwayGoal",
"AwayPenalty",
"AwayRedCard",
"AwayMistakenIdentity",
"Goal",
"Penalty",
"RedCard",
"MistakenIdentity",
"HomeUnknown",
"AwayUnknown",
"Unknown",
"PenaltyRetake",
"HomePenaltyRetake",
"AwayPenaltyRetake"
]
},
"varOutcomeV2": {
"type": "string",
"description": "",
"x-enumNames": [
"NotSet",
"HomeNoGoal",
"AwayNoGoal",
"NoGoal",
"HomeGoalAwarded",
"AwayGoalAwarded",
"GoalAwarded",
"HomeNoPenalty",
"AwayNoPenalty",
"NoPenalty",
"HomePenaltyAwarded",
"AwayPenaltyAwarded",
"PenaltyAwarded",
"HomeNoRedCard",
"AwayNoRedCard",
"NoRedCard",
"HomeRedCardGiven",
"AwayRedCardGiven",
"RedCardGiven",
"HomePlayerNotChanged",
"AwayPlayerNotChanged",
"PlayerNotChanged",
"HomePlayerChanged",
"AwayPlayerChanged",
"PlayerChanged",
"HomeNoAction",
"AwayNoAction",
"NoAction",
"HomeUnknown",
"AwayUnknown",
"Unknown",
"HomePenaltyWillBeRetaken",
"AwayPenaltyWillBeRetaken",
"HomeNoPenaltyRetake",
"AwayNoPenaltyRetake",
"PenaltyWillBeRetaken",
"NoPenaltyRetake"
],
"enum": [
"NotSet",
"HomeNoGoal",
"AwayNoGoal",
"NoGoal",
"HomeGoalAwarded",
"AwayGoalAwarded",
"GoalAwarded",
"HomeNoPenalty",
"AwayNoPenalty",
"NoPenalty",
"HomePenaltyAwarded",
"AwayPenaltyAwarded",
"PenaltyAwarded",
"HomeNoRedCard",
"AwayNoRedCard",
"NoRedCard",
"HomeRedCardGiven",
"AwayRedCardGiven",
"RedCardGiven",
"HomePlayerNotChanged",
"AwayPlayerNotChanged",
"PlayerNotChanged",
"HomePlayerChanged",
"AwayPlayerChanged",
"PlayerChanged",
"HomeNoAction",
"AwayNoAction",
"NoAction",
"HomeUnknown",
"AwayUnknown",
"Unknown",
"HomePenaltyWillBeRetaken",
"AwayPenaltyWillBeRetaken",
"HomeNoPenaltyRetake",
"AwayNoPenaltyRetake",
"PenaltyWillBeRetaken",
"NoPenaltyRetake"
]
},
"cornerRisk": {
"type": "object",
"additionalProperties": false,
"properties": {
"cornerRiskState": {
"$ref": "#/definitions/cornerRiskState"
},
"isConfirmed": {
"type": "boolean"
},
"timestampUtc": {
"type": "string",
"format": "date-time"
}
}
},
"cornerRiskState": {
"type": "string",
"description": "",
"x-enumNames": [
"Unknown",
"AwayDanger",
"AwaySafe",
"HomeDanger",
"HomeSafe"
],
"enum": [
"Unknown",
"AwayDanger",
"AwaySafe",
"HomeDanger",
"HomeSafe"
]
},
"matchStatus": {
"type": "string",
"description": "",
"x-enumNames": [
"Unknown",
"NotStarted",
"Warmup",
"InProgress",
"Postponed",
"Finished",
"Interrupted",
"CoverageStopped",
"CoverageResumed",
"Abandoned",
"Cancelled",
"Delayed"
],
"enum": [
"Unknown",
"NotStarted",
"Warmup",
"InProgress",
"Postponed",
"Finished",
"Interrupted",
"CoverageStopped",
"CoverageResumed",
"Abandoned",
"Cancelled",
"Delayed"
]
},
"statistics": {
"type": "object",
"additionalProperties": false,
"properties": {
"possession": {
"$ref": "#/definitions/stat"
}
}
},
"stat": {
"type": "object",
"additionalProperties": false,
"properties": {
"home": {
"type": "integer",
"format": "int32"
},
"away": {
"type": "integer",
"format": "int32"
}
}
},
"team": {
"type": "object",
"additionalProperties": false,
"properties": {
"sourceId": {
"type": "string"
},
"sourceName": {
"type": "string"
},
"strip": {
"$ref": "#/definitions/strip"
}
}
},
"strip": {
"type": "object",
"additionalProperties": false,
"properties": {
"color1": {
"$ref": "#/definitions/color"
},
"color2": {
"$ref": "#/definitions/color"
},
"pantsColor": {
"$ref": "#/definitions/color"
},
"socksColor": {
"$ref": "#/definitions/color"
},
"jerseyDesign": {
"$ref": "#/definitions/jerseyDesign"
}
}
},
"color": {
"type": "object",
"additionalProperties": false,
"properties": {
"r": {
"type": "integer",
"format": "byte"
},
"g": {
"type": "integer",
"format": "byte"
},
"b": {
"type": "integer",
"format": "byte"
}
}
},
"jerseyDesign": {
"type": "string",
"description": "",
"x-enumNames": [
"Unknown",
"Plain",
"StripedHorizontal",
"StripedVertical",
"BarHorizontal",
"BarVertical"
],
"enum": [
"Unknown",
"Plain",
"StripedHorizontal",
"StripedVertical",
"BarHorizontal",
"BarVertical"
]
},
"score": {
"type": "object",
"additionalProperties": false,
"properties": {
"home": {
"type": "integer",
"format": "int32"
},
"away": {
"type": "integer",
"format": "int32"
}
}
}
}
}