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

143 lines
3.4 KiB
JSON

{
"messageType": "snapshot",
"requestId": "request:example-camps",
"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": "camps",
"maps": [
{
"id": "map:synthetic-de",
"name": {
"key": null,
"text": "Deutschland",
"locale": "de",
"args": {}
},
"guiAssetKey": "gui:map/de",
"width": null,
"height": null
}
],
"camps": [
{
"id": "resort:synthetic-1",
"mapId": "map:synthetic-de",
"name": {
"key": null,
"text": "Trainingszentrum Beispiel",
"locale": "de",
"args": {}
},
"place": "Beispielort",
"nationId": "nation:synthetic-de",
"position": null,
"quality": {
"pitch": 6,
"fitness": 5,
"catering": 4,
"lodging": 3
},
"guiImageKey": "gui:camp/1",
"worldImageAssetId": null,
"quote": {
"id": "quote:synthetic-camp",
"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": "base",
"amount": {
"minor": "2000000",
"currency": "EUR",
"minorUnits": 2
}
},
{
"code": "squad",
"amount": {
"minor": "10000000",
"currency": "EUR",
"minorUnits": 2
}
}
],
"allowed": true,
"reasonCode": null
}
}
],
"focus": {
"condition": 5,
"technique": 5,
"play": 5,
"recovery": {
"value": null,
"unit": "rating",
"scale": null,
"availability": {
"status": "unavailable",
"reasonCode": "not_recorded",
"missingFields": [
"value"
]
}
}
},
"staysThisSeason": 1,
"seasonLimit": 3,
"bookedThisWeek": false
}
}