240 lines
5.7 KiB
JSON
240 lines
5.7 KiB
JSON
{
|
|
"messageType": "snapshot",
|
|
"requestId": "request:example-desktop",
|
|
"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": "desktop",
|
|
"manager": {
|
|
"id": "manager:career-demo-1",
|
|
"slot": 0,
|
|
"name": "Testmanager 1",
|
|
"control": "human",
|
|
"status": "active",
|
|
"teamId": "club:harbor",
|
|
"portraitGuiKey": "gui:manager/photo/1",
|
|
"portraitStyle": "photo",
|
|
"strengthChoice": 1,
|
|
"employments": [
|
|
{
|
|
"id": "employment:demo-1",
|
|
"managerId": "manager:career-demo-1",
|
|
"teamId": "club:harbor",
|
|
"role": "club_manager",
|
|
"from": "2026-07-01",
|
|
"until": null,
|
|
"endReason": null
|
|
}
|
|
]
|
|
},
|
|
"team": {
|
|
"id": "club:harbor",
|
|
"kind": "club",
|
|
"name": "FC Hafenstadt",
|
|
"shortName": "HARBOR",
|
|
"nationId": "nation:synthetic-de",
|
|
"crestAssetId": "asset:team/harbor/crest",
|
|
"nameAsOf": "2027-03-15"
|
|
},
|
|
"accounts": {
|
|
"cash": {
|
|
"minor": "250000000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
},
|
|
"savings": {
|
|
"minor": "30000000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
},
|
|
"debt": {
|
|
"minor": "7500000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
},
|
|
"netAssets": {
|
|
"minor": "272500000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
}
|
|
},
|
|
"nextFixture": {
|
|
"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
|
|
},
|
|
"menuAvailability": {
|
|
"training": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
},
|
|
"camps": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
},
|
|
"bank": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
},
|
|
"stadium": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
},
|
|
"toto": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
},
|
|
"transfer": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
},
|
|
"contracts": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
},
|
|
"advertising": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
},
|
|
"environment": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
}
|
|
},
|
|
"nextAction": {
|
|
"id": "continue:desktop-40",
|
|
"kind": "next_manager",
|
|
"enabled": true,
|
|
"reasonCode": null
|
|
},
|
|
"warnings": [
|
|
{
|
|
"code": "squad_injury",
|
|
"severity": "warning",
|
|
"text": {
|
|
"key": null,
|
|
"text": "Eine Person ist verletzt.",
|
|
"locale": "de",
|
|
"args": {}
|
|
},
|
|
"targetReadKind": "squad"
|
|
}
|
|
],
|
|
"widgets": [
|
|
{
|
|
"id": "widget:cash",
|
|
"metric": null,
|
|
"money": {
|
|
"minor": "250000000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
},
|
|
"series": [
|
|
{
|
|
"date": "2027-03-01",
|
|
"metric": null,
|
|
"money": {
|
|
"minor": "230000000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
}
|
|
},
|
|
{
|
|
"date": "2027-03-15",
|
|
"metric": null,
|
|
"money": {
|
|
"minor": "250000000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
}
|
|
}
|
|
],
|
|
"entityId": "club:harbor"
|
|
}
|
|
]
|
|
}
|
|
}
|