JSON Schema
- Viewer
- Schema
Loading ....
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "FeedMatchEvent",
"type": "object",
"additionalProperties": false,
"properties": {
"sportId": {
"type": "integer",
"format": "int32"
},
"fixtureId": {
"type": "string"
},
"source": {
"type": "string"
},
"sequenceId": {
"type": "integer",
"format": "int32"
},
"actionId": {
"type": "integer",
"format": "int32"
},
"insertedBeforeActionId": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"isCancelled": {
"type": "boolean"
},
"isConfirmed": {
"type": "boolean"
},
"isCompleted": {
"type": [
"boolean",
"null"
]
},
"isModified": {
"type": [
"boolean",
"null"
]
},
"action": {
"oneOf": [
{
"$ref": "#/definitions/Clock"
},
{
"$ref": "#/definitions/Ejection"
},
{
"$ref": "#/definitions/Reliability"
},
{
"$ref": "#/definitions/Foul"
},
{
"$ref": "#/definitions/FreeThrow"
},
{
"$ref": "#/definitions/Lineup"
},
{
"$ref": "#/definitions/MatchFormatUpdate"
},
{
"$ref": "#/definitions/MatchStatusChange"
},
{
"$ref": "#/definitions/PeriodTransition"
},
{
"$ref": "#/definitions/PossessionArrowChange"
},
{
"$ref": "#/definitions/PossessionChange"
},
{
"$ref": "#/definitions/Rebound"
},
{
"$ref": "#/definitions/Shot"
},
{
"$ref": "#/definitions/Substitution"
},
{
"$ref": "#/definitions/Timeout"
},
{
"$ref": "#/definitions/TipOffWinnerChange"
},
{
"$ref": "#/definitions/Turnover"
}
]
},
"messageTimestampUtc": {
"type": "string",
"format": "date-time"
},
"type": {
"type": "string",
"x-enumNames": [
"Clock",
"Ejection",
"Foul",
"FreeThrow",
"Lineup",
"MatchFormatUpdate",
"MatchStatusChange",
"Participation",
"PeriodTransition",
"PossessionArrowChange",
"PossessionChange",
"Rebound",
"Reliability",
"Shot",
"Substitution",
"Timeout",
"TipOffWinnerChange",
"Turnover"
],
"enum": [
"Clock",
"Ejection",
"Foul",
"FreeThrow",
"Lineup",
"MatchFormatUpdate",
"MatchStatusChange",
"Participation",
"PeriodTransition",
"PossessionArrowChange",
"PossessionChange",
"Rebound",
"Reliability",
"Shot",
"Substitution",
"Timeout",
"TipOffWinnerChange",
"Turnover"
]
}
},
"definitions": {
"Clock": {
"title": "Clock",
"type": "object",
"additionalProperties": false,
"properties": {
"activityType": {
"$ref": "#/definitions/ClockActivityType"
},
"isClockRunning": {
"type": "boolean"
},
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"Reliability": {
"title": "Reliability",
"type": "object",
"additionalProperties": false,
"properties": {
"utcTimestamp": {
"type": "string",
"format": "date-time"
},
"isReliable": {
"type": "boolean"
},
"reason": {
"type": "string"
}
}
},
"Ejection": {
"title": "Ejection",
"type": "object",
"additionalProperties": false,
"properties": {
"team": {
"$ref": "#/definitions/Team"
},
"competitor": {
"$ref": "#/definitions/Competitor"
},
"players": {
"type": "array",
"items": {
"$ref": "#/definitions/Participant"
}
},
"type": {
"$ref": "#/definitions/EjectionType"
},
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"Foul": {
"title": "Foul",
"type": "object",
"additionalProperties": false,
"properties": {
"team": {
"$ref": "#/definitions/Team"
},
"competitor": {
"$ref": "#/definitions/Competitor"
},
"players": {
"type": "array",
"items": {
"$ref": "#/definitions/Participant"
}
},
"type": {
"$ref": "#/definitions/FoulType"
},
"subType": {
"$ref": "#/definitions/FoulSubType"
},
"foulCount": {
"$ref": "#/definitions/FoulCount"
},
"incrementsFoulCount": {
"type": "boolean"
},
"numberOfFreeThrowsAwarded": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"areFreeThrowsCompleted": {
"type": [
"boolean",
"null"
]
},
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"FreeThrow": {
"title": "FreeThrow",
"type": "object",
"additionalProperties": false,
"properties": {
"team": {
"$ref": "#/definitions/Team"
},
"competitor": {
"$ref": "#/definitions/Competitor"
},
"players": {
"type": "array",
"items": {
"$ref": "#/definitions/Participant"
}
},
"isMade": {
"type": [
"boolean",
"null"
]
},
"associatedFoulId": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"score": {
"$ref": "#/definitions/Score"
},
"attemptNumber": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"totalAttempts": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"Lineup": {
"title": "Lineup",
"type": "object",
"additionalProperties": false,
"properties": {
"team": {
"$ref": "#/definitions/Team"
},
"competitor": {
"$ref": "#/definitions/Competitor"
},
"players": {
"type": "array",
"items": {
"$ref": "#/definitions/Participant"
}
},
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"MatchFormatUpdate": {
"title": "MatchFormatUpdate",
"type": "object",
"additionalProperties": false,
"properties": {
"ruleset": {
"$ref": "#/definitions/MatchFormatRuleset"
},
"periodLength": {
"type": [
"string",
"null"
]
},
"overtimeLength": {
"type": [
"string",
"null"
]
},
"numberOfRegulationPeriods": {
"type": "integer",
"format": "int32"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"MatchStatusChange": {
"title": "MatchStatusChange",
"type": "object",
"additionalProperties": false,
"properties": {
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
},
"status": {
"$ref": "#/definitions/MatchStatus"
}
}
},
"PeriodTransition": {
"title": "PeriodTransition",
"type": "object",
"additionalProperties": false,
"properties": {
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"PossessionArrowChange": {
"title": "PossessionArrowChange",
"type": "object",
"additionalProperties": false,
"properties": {
"team": {
"$ref": "#/definitions/Team"
},
"competitor": {
"$ref": "#/definitions/Competitor"
},
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"PossessionChange": {
"title": "PossessionChange",
"type": "object",
"additionalProperties": false,
"properties": {
"team": {
"oneOf": [
{
"$ref": "#/definitions/Team"
},
{
"type": "null"
}
]
},
"competitor": {
"$ref": "#/definitions/Competitor"
},
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"Rebound": {
"title": "Rebound",
"type": "object",
"additionalProperties": false,
"properties": {
"team": {
"$ref": "#/definitions/Team"
},
"competitor": {
"$ref": "#/definitions/Competitor"
},
"players": {
"type": "array",
"items": {
"$ref": "#/definitions/Participant"
}
},
"type": {
"$ref": "#/definitions/ReboundType"
},
"associatedShotId": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"associatedFreeThrowId": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"Shot": {
"title": "Shot",
"type": "object",
"additionalProperties": false,
"properties": {
"team": {
"$ref": "#/definitions/Team"
},
"competitor": {
"$ref": "#/definitions/Competitor"
},
"players": {
"type": "array",
"items": {
"$ref": "#/definitions/Participant"
}
},
"value": {
"type": "integer",
"format": "int32"
},
"isMade": {
"type": [
"boolean",
"null"
]
},
"type": {
"$ref": "#/definitions/ShotType"
},
"score": {
"$ref": "#/definitions/Score"
},
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"Substitution": {
"title": "Substitution",
"type": "object",
"additionalProperties": false,
"properties": {
"team": {
"$ref": "#/definitions/Team"
},
"competitor": {
"$ref": "#/definitions/Competitor"
},
"players": {
"type": "array",
"items": {
"$ref": "#/definitions/Participant"
}
},
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"Timeout": {
"title": "Timeout",
"type": "object",
"additionalProperties": false,
"properties": {
"team": {
"oneOf": [
{
"$ref": "#/definitions/Team"
},
{
"type": "null"
}
]
},
"competitor": {
"$ref": "#/definitions/Competitor"
},
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"TipOffWinnerChange": {
"title": "TipOffWinnerChange",
"type": "object",
"additionalProperties": false,
"properties": {
"team": {
"$ref": "#/definitions/Team"
},
"competitor": {
"$ref": "#/definitions/Competitor"
},
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"Turnover": {
"title": "Turnover",
"type": "object",
"additionalProperties": false,
"properties": {
"team": {
"$ref": "#/definitions/Team"
},
"competitor": {
"$ref": "#/definitions/Competitor"
},
"players": {
"type": "array",
"items": {
"$ref": "#/definitions/Participant"
}
},
"type": {
"$ref": "#/definitions/TurnoverType"
},
"gameTime": {
"type": [
"string",
"null"
]
},
"period": {
"$ref": "#/definitions/Period"
},
"utcTimestamp": {
"type": "string",
"format": "date-time"
}
}
},
"Competitor": {
"title": "Competitor",
"type": [
"object",
"null"
],
"additionalProperties": false,
"properties": {
"id": {
"type": [
"string",
"null"
]
}
}
},
"Participant": {
"title": "Participant",
"type": "object",
"additionalProperties": false,
"properties": {
"competitorId": {
"type": [
"string",
"null"
]
},
"id": {
"type": [
"string",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"type": {
"$ref": "#/definitions/ParticipantType"
}
}
},
"Period": {
"title": "Period",
"type": [
"object",
"null"
],
"additionalProperties": false,
"properties": {
"number": {
"type": "integer",
"format": "int32"
},
"type": {
"$ref": "#/definitions/PeriodType"
},
"progressStatus": {
"$ref": "#/definitions/PeriodStatusNullable"
}
}
},
"Score": {
"title": "Score",
"type": [
"object",
"null"
],
"additionalProperties": false,
"properties": {
"home": {
"type": "integer",
"format": "int32"
},
"away": {
"type": "integer",
"format": "int32"
}
}
},
"FoulCount": {
"title": "FoulCount",
"type": [
"object",
"null"
],
"additionalProperties": false,
"properties": {
"home": {
"type": "integer",
"format": "int32"
},
"away": {
"type": "integer",
"format": "int32"
}
}
},
"Team": {
"type": "string",
"x-enumNames": [
"Unknown",
"Home",
"Away"
],
"enum": [
"Unknown",
"Home",
"Away"
]
},
"ClockActivityType": {
"type": [
"string",
"null"
],
"x-enumNames": [
"Unknown",
"Start",
"Stop",
"Adjustment",
"SetClock"
],
"enum": [
"Unknown",
"Start",
"Stop",
"Adjustment",
"SetClock"
]
},
"EjectionType": {
"type": [
"string",
"null"
],
"x-enumNames": [
"Unknown",
"Disqualification",
"FouledOut"
],
"enum": [
"Unknown",
"Disqualification",
"FouledOut"
]
},
"FoulType": {
"type": [
"string",
"null"
],
"x-enumNames": [
"Unknown",
"PersonalDefensive",
"PersonalOffensive",
"Technical",
"SetFouls"
],
"enum": [
"Unknown",
"PersonalDefensive",
"PersonalOffensive",
"Technical",
"SetFouls"
]
},
"FoulSubType": {
"type": [
"string",
"null"
],
"x-enumNames": [
"Unknown",
"OneAndOne"
],
"enum": [
"Unknown",
"OneAndOne"
]
},
"MatchFormatRuleset": {
"type": [
"string",
"null"
],
"x-enumNames": [
"Unknown",
"Fiba",
"Nba",
"Ncaa"
],
"enum": [
"Unknown",
"Fiba",
"Nba",
"Ncaa"
]
},
"MatchStatus": {
"type": [
"string",
"null"
],
"x-enumNames": [
"Unknown",
"NotStarted",
"Warmup",
"InProgress",
"Finished",
"Interrupted",
"Cancelled",
"Abandoned"
],
"enum": [
"Unknown",
"NotStarted",
"Warmup",
"InProgress",
"Finished",
"Interrupted",
"Cancelled",
"Abandoned"
]
},
"ParticipantType": {
"type": "string",
"x-enumNames": [
"Unknown",
"Shooter",
"Blocker",
"Assister",
"Rebounder",
"TurnoverBy",
"Stealer",
"FoulBy",
"FoulOn",
"EjectionOn",
"SubstitutedIn",
"SubstitutedOut",
"LineupStarter",
"LineupBench"
],
"enum": [
"Unknown",
"Shooter",
"Blocker",
"Assister",
"Rebounder",
"TurnoverBy",
"Stealer",
"FoulBy",
"FoulOn",
"EjectionOn",
"SubstitutedIn",
"SubstitutedOut",
"LineupStarter",
"LineupBench"
]
},
"PeriodType": {
"type": "string",
"x-enumNames": [
"Unknown",
"Regular",
"Overtime"
],
"enum": [
"Unknown",
"Regular",
"Overtime"
]
},
"PeriodStatus": {
"type": "string",
"x-enumNames": [
"Unknown",
"NotStarted",
"InProgress",
"Complete"
],
"enum": [
"Unknown",
"NotStarted",
"InProgress",
"Complete"
]
},
"PeriodStatusNullable": {
"type": [
"string",
"null"
],
"x-enumNames": [
"Unknown",
"NotStarted",
"InProgress",
"Complete"
],
"enum": [
"Unknown",
"NotStarted",
"InProgress",
"Complete"
]
},
"ReboundType": {
"type": [
"string",
"null"
],
"x-enumNames": [
"Unknown",
"Defensive",
"Offensive",
"DefensiveDeadBall",
"OffensiveDeadBall"
],
"enum": [
"Unknown",
"Defensive",
"Offensive",
"DefensiveDeadBall",
"OffensiveDeadBall"
]
},
"ShotType": {
"type": [
"string",
"null"
],
"x-enumNames": [
"Unknown",
"Dunk",
"Layup",
"Fadeaway",
"TipInDunk",
"TipInLayup",
"JumpShot",
"AlleyOop",
"DrivingLayup",
"HookShot",
"FloatingJumpShot",
"StepbackJumpShot",
"PullUpJumpShot",
"TurnaroundJumpShot",
"WrongBasket",
"ReverseLayup",
"EuroStep",
"AlleyOopDunk"
],
"enum": [
"Unknown",
"Dunk",
"Layup",
"Fadeaway",
"TipInDunk",
"TipInLayup",
"JumpShot",
"AlleyOop",
"DrivingLayup",
"HookShot",
"FloatingJumpShot",
"StepbackJumpShot",
"PullUpJumpShot",
"TurnaroundJumpShot",
"WrongBasket",
"ReverseLayup",
"EuroStep",
"AlleyOopDunk"
]
},
"TurnoverType": {
"type": [
"string",
"null"
],
"x-enumNames": [
"Unknown",
"BackCourt",
"BackCourtTimeViolation",
"BadPass",
"BallHandling",
"DoubleDribble",
"FiveSeconds",
"FreeThrowLaneViolation",
"JumpBall",
"None",
"Offensive",
"OffensiveGoalTending",
"Other",
"OutOfBounds",
"ShotClock",
"ThreeSeconds",
"Travel"
],
"enum": [
"Unknown",
"BackCourt",
"BackCourtTimeViolation",
"BadPass",
"BallHandling",
"DoubleDribble",
"FiveSeconds",
"FreeThrowLaneViolation",
"JumpBall",
"None",
"Offensive",
"OffensiveGoalTending",
"Other",
"OutOfBounds",
"ShotClock",
"ThreeSeconds",
"Travel"
]
}
}
}