122 lines
2.8 KiB
JSON
122 lines
2.8 KiB
JSON
{
|
|
"messageType": "snapshot",
|
|
"requestId": "request:example-balance",
|
|
"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": "balance",
|
|
"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
|
|
}
|
|
},
|
|
"ledger": [
|
|
{
|
|
"id": "ledger:synthetic-gate",
|
|
"transactionId": "transaction:synthetic-match-1",
|
|
"date": "2027-03-15",
|
|
"effectiveDate": "2027-03-15",
|
|
"managerId": "manager:career-demo-1",
|
|
"teamId": "club:harbor",
|
|
"account": "cash",
|
|
"category": "gate_receipts",
|
|
"amount": {
|
|
"minor": "12000000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
},
|
|
"counterpartyId": null,
|
|
"fixtureId": "fixture:et-a-b",
|
|
"reversalOf": null,
|
|
"text": {
|
|
"key": null,
|
|
"text": "Eintrittseinnahmen",
|
|
"locale": "de",
|
|
"args": {}
|
|
}
|
|
}
|
|
],
|
|
"forecast": [
|
|
{
|
|
"periodStart": "2027-04-01",
|
|
"periodEnd": "2027-04-30",
|
|
"category": "salary",
|
|
"amount": {
|
|
"minor": "-30000000",
|
|
"currency": "EUR",
|
|
"minorUnits": 2
|
|
},
|
|
"scenarioId": "scenario:plan-1"
|
|
}
|
|
],
|
|
"actualThrough": "2027-03-15",
|
|
"page": {
|
|
"limit": 200,
|
|
"cursor": null,
|
|
"nextCursor": null,
|
|
"snapshotRevision": "40",
|
|
"total": null,
|
|
"sort": [
|
|
{
|
|
"field": "id",
|
|
"direction": "asc"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|