Files

208 lines
4.5 KiB
JSON

{
"messageType": "snapshot",
"requestId": "request:example-bank",
"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": "bank",
"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
}
},
"savingsRateAnnual": {
"value": 3,
"unit": "percent",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"properties": [
{
"id": "property:synthetic-1",
"name": {
"key": null,
"text": "Beispielgebäude",
"locale": "de",
"args": {}
},
"ownedUnits": 1,
"buyPrice": {
"minor": "100000000",
"currency": "EUR",
"minorUnits": 2
},
"sellPrice": {
"minor": "95000000",
"currency": "EUR",
"minorUnits": 2
},
"rentMonthly": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
}
}
],
"stocks": [
{
"id": "stock:synthetic-1",
"name": {
"key": null,
"text": "Beispiel-Aktie",
"locale": "de",
"args": {}
},
"ownedUnits": 100,
"unitPrice": {
"minor": "1234",
"currency": "EUR",
"minorUnits": 2
},
"series": [
{
"minor": "1200",
"currency": "EUR",
"minorUnits": 2
},
{
"minor": "1234",
"currency": "EUR",
"minorUnits": 2
}
]
}
],
"credit": {
"outstanding": {
"minor": "7500000",
"currency": "EUR",
"minorUnits": 2
},
"limit": {
"minor": "20000000",
"currency": "EUR",
"minorUnits": 2
},
"rateAnnual": {
"value": 8,
"unit": "percent",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"schedule": [
{
"dueOn": "2027-04-01",
"principal": {
"minor": "1000000",
"currency": "EUR",
"minorUnits": 2
},
"interest": {
"minor": "50000",
"currency": "EUR",
"minorUnits": 2
},
"balanceAfter": {
"minor": "6500000",
"currency": "EUR",
"minorUnits": 2
}
}
]
},
"quote": {
"id": "quote:synthetic-bank",
"ownerManagerId": "manager:career-demo-1",
"teamId": "club:harbor",
"expectedRevision": "40",
"scopeId": "scope:desk-40-0",
"expiresOn": "2027-03-15",
"total": {
"minor": "12000000",
"currency": "EUR",
"minorUnits": 2
},
"totalBasis": "immediate",
"chargesNow": {
"minor": "12000000",
"currency": "EUR",
"minorUnits": 2
},
"breakdown": [
{
"code": "synthetic_cost",
"amount": {
"minor": "12000000",
"currency": "EUR",
"minorUnits": 2
}
}
],
"allowed": true,
"reasonCode": null
}
}
}