NFL Statistics Message JSON Schema
{
"definitions": {
"FixtureCompetitorStatistics": {
"type": [
"object",
"null"
],
"properties": {}
},
"FixtureParticipantStatistics": {
"type": [
"object",
"null"
],
"properties": {}
},
"Competitor": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "integer"
},
"href": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"href"
]
},
"Fixture": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "integer"
},
"href": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"href"
]
},
"FixtureCompetitorWithParticipants": {
"type": [
"object",
"null"
],
"properties": {
"competitor": {
"$ref": "#/definitions/Competitor"
},
"statistics": {
"$ref": "#/definitions/FixtureCompetitorStatistics"
},
"participants": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/FixtureParticipant"
}
}
},
"required": [
"competitor",
"statistics",
"participants"
]
},
"FixtureParticipant": {
"type": [
"object",
"null"
],
"properties": {
"participant": {
"$ref": "#/definitions/Participant"
},
"statistics": {
"$ref": "#/definitions/FixtureParticipantStatistics"
}
},
"required": [
"participant",
"statistics"
]
},
"Metadata": {
"type": [
"object",
"null"
],
"properties": {
"Version": {
"type": [
"string",
"null"
]
},
"generatedFromEvent": {
"type": [
"string",
"null"
]
},
"updatedAtUtc": {
"type": "string",
"format": "date-time"
},
"heartbeatExpiresAtUtc": {
"type": "string",
"format": "date-time"
}
},
"required": [
"contractVersion",
"generatedFromEvent",
"updatedAtUtc",
"heartbeatExpiresAtUtc"
]
},
"Participant": {
"type": [
"object",
"null"
],
"properties": {
"id": {
"type": "integer"
},
"href": {
"type": [
"string",
"null"
]
}
},
"required": [
"id",
"href"
]
},
"Source": {
"type": [
"object",
"null"
],
"properties": {
"name": {
"type": [
"string",
"null"
]
},
"version": {
"type": [
"string",
"null"
]
},
"id": {
"type": "integer"
},
"href": {
"type": [
"string",
"null"
]
}
},
"required": [
"name",
"version",
"id",
"href"
]
}
},
"type": "object",
"properties": {
"source": {
"$ref": "#/definitions/Source"
},
"metadata": {
"$ref": "#/definitions/Metadata"
},
"heartbeats": {
"type": "object",
"properties": {
"platform": {
"type": "object",
"properties": {
"pulseAt": {
"type": "string"
},
"expiresAt": {
"type": "string"
}
},
"required": [
"pulseAt",
"expiresAt"
]
},
"source": {
"type": "object",
"properties": {
"isAlive": {
"type": "boolean"
},
"pulseAt": {
"type": "string"
},
"expiresAt": {
"type": "string"
}
},
"required": [
"isAlive",
"pulseAt",
"expiresAt"
]
}
},
"required": [
"platform",
"source"
]
},
"fixture": {
"$ref": "#/definitions/Fixture"
},
"competitors": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/definitions/FixtureCompetitorWithParticipants"
}
}
},
"required": [
"source",
"metadata",
"heartbeats",
"fixture",
"competitors"
]
}