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

106 lines
2.7 KiB
JSON

{
"messageType": "snapshot",
"requestId": "request:example-calendar",
"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": "calendar",
"from": "2027-03-01",
"until": "2027-03-31",
"days": [
{
"date": "2027-03-22",
"fixtureIds": [
"fixture:league-12-a-b"
],
"eventKinds": [
"league"
],
"canSchedule": false,
"reasonCode": "occupied"
}
],
"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
}
]
}
}