Files
Dreierpack-Manager/docs/new_ui/integration/examples/reports.json
T

188 lines
4.7 KiB
JSON

{
"messageType": "snapshot",
"requestId": "request:example-reports",
"meta": {
"contractVersion": "bmh-modern-ui@draft1",
"draft": true,
"sourceRevision": "a207b0129e06f0659a5e7b30afa3680739a33029",
"careerId": "career:synthetic-demo",
"worldId": "world:synthetic-demo",
"worldRevision": "fixture-1",
"stateRevision": "40",
"projectionRevision": "40",
"locale": "de",
"date": "2027-03-15",
"season": {
"id": "season:2026-27",
"startDate": "2026-07-01",
"endDate": "2027-06-30",
"label": "2026/27",
"completed": false
},
"scope": {
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"role": "club",
"scopeId": "scope:desk-40-0",
"allowedCommands": [
"session.advance",
"lineup.commit",
"manager.resign.commit"
]
},
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "reports",
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"fixtures": [
{
"id": "fixture:league-12-a-b",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
}
],
"table": [
{
"rank": 1,
"team": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"played": 12,
"won": 8,
"drawn": 3,
"lost": 1,
"goalsFor": 24,
"goalsAgainst": 11,
"points": 24,
"pointAdjustment": -3,
"zone": "continental"
},
{
"rank": 2,
"team": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"played": 12,
"won": 7,
"drawn": 2,
"lost": 3,
"goalsFor": 19,
"goalsAgainst": 13,
"points": 23,
"pointAdjustment": 0,
"zone": null
}
],
"strengths": [
{
"team": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"metrics": {
"starting11": {
"value": 68,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
}
],
"page": {
"limit": 200,
"cursor": null,
"nextCursor": null,
"snapshotRevision": "40",
"total": null,
"sort": [
{
"field": "id",
"direction": "asc"
}
]
},
"tieBreakPolicyId": "rules:synthetic-table"
}
}