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

128 lines
2.8 KiB
JSON

{
"messageType": "snapshot",
"requestId": "request:example-entry",
"meta": {
"contractVersion": "bmh-modern-ui@draft1",
"draft": true,
"sourceRevision": "a207b0129e06f0659a5e7b30afa3680739a33029",
"careerId": null,
"worldId": "world:synthetic-demo",
"worldRevision": "fixture-1",
"stateRevision": "0",
"projectionRevision": "0",
"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": null,
"teamId": null,
"role": "session",
"scopeId": "scope:library",
"allowedCommands": []
},
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "entry",
"setup": {
"durationOptions": [
1,
2,
3,
4,
5
],
"difficultyOptions": [
{
"id": "difficulty:synthetic-normal",
"label": {
"key": null,
"text": "Normal",
"locale": "de",
"args": {}
}
}
],
"modeOptions": [
{
"id": "mode:synthetic-club",
"label": {
"key": null,
"text": "Verein",
"locale": "de",
"args": {}
}
}
],
"minManagers": 1,
"maxManagers": 4,
"leagueAvailable": true,
"nationalAvailable": true
},
"teams": [
{
"team": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"competitionId": "comp:synthetic-league",
"manageable": true,
"reasonCode": null
},
{
"team": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"competitionId": "comp:synthetic-league",
"manageable": false,
"reasonCode": "human_already_owned"
}
],
"portraits": [
{
"guiKey": "gui:manager/photo/1",
"style": "photo",
"available": true
}
],
"page": {
"limit": 200,
"cursor": null,
"nextCursor": null,
"snapshotRevision": "0",
"total": null,
"sort": [
{
"field": "id",
"direction": "asc"
}
]
}
}
}