Async API & JSON Schema
Pulsar Topic
persistent://sports-data-platform/domain-prematch/football_fixtures_upcoming_v1
Description
- Fixtures for the next 48h are automatically published
- Fixtures that have changes and are starting in the next 48h are published
- Any lineup change triggers this message
- Any fixture change triggers this message
- Any teams change triggers this message
- Viewer
- Schema
Loading ....
{
"$schema": "http://json-schema.org/draft-04/schema#",
"id": "https://schemas.example.com/fixture-refdata.schema.json",
"title": "FixtureRefdata",
"type": "object",
"allOf": [
{
"$ref": "#/definitions/FixtureRefdataEntityBase"
}
],
"properties": {
"startDate": {
"type": "string",
"format": "date-time"
},
"metadataProperties": {
"type": "array",
"items": {
"$ref": "#/definitions/JsonbModel"
}
},
"competitors": {
"type": "array",
"items": {
"$ref": "#/definitions/FixtureRefdataCompetitor"
}
}
},
"required": [
"id",
"startDate"
],
"additionalProperties": false,
"definitions": {
"FixtureRefdataEntityBase": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"externalIds": {
"type": "object",
"description": "Maps external system name -> ID value",
"additionalProperties": {
"type": "string"
}
}
},
"required": [
"id"
],
"additionalProperties": false
},
"JsonbModel": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"value": {
"type": "string"
},
"isDeleted": {
"type": "boolean"
}
},
"required": [
"name",
"isDeleted"
],
"additionalProperties": false
},
"FixtureRefdataLineupPlayer": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/FixtureRefdataEntityBase"
}
],
"properties": {
"order": {
"type": "integer"
},
"isStarter": {
"type": "boolean"
},
"name": {
"type": "string"
},
"shirtNumber": {
"type": "string"
},
"position": {
"type": "string"
},
"formationPosition": {
"type": "string"
},
"formationPositionName": {
"type": "string"
}
},
"required": [
"id",
"order",
"isStarter"
],
"additionalProperties": false
},
"FixtureRefdataCompetitor": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/FixtureRefdataEntityBase"
}
],
"properties": {
"name": {
"type": "string"
},
"isHome": {
"type": "boolean"
},
"formation": {
"type": "string"
},
"lineup": {
"type": "array",
"items": {
"$ref": "#/definitions/FixtureRefdataLineupPlayer"
}
}
},
"required": [
"id",
"isHome"
],
"additionalProperties": false
}
}
}