92 lines
2.1 KiB
JSON
92 lines
2.1 KiB
JSON
{
|
|
"messageType": "snapshot",
|
|
"requestId": "request:example-settings",
|
|
"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": "settings",
|
|
"definitions": [
|
|
{
|
|
"id": "setting:automatic-lineup",
|
|
"label": {
|
|
"key": null,
|
|
"text": "Aufstellung automatisch",
|
|
"locale": "de",
|
|
"args": {}
|
|
},
|
|
"scope": "manager",
|
|
"type": "boolean",
|
|
"value": false,
|
|
"allowedValues": [
|
|
false,
|
|
true
|
|
],
|
|
"availability": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
}
|
|
},
|
|
{
|
|
"id": "setting:ui-theme",
|
|
"label": {
|
|
"key": null,
|
|
"text": "Darstellung",
|
|
"locale": "de",
|
|
"args": {}
|
|
},
|
|
"scope": "ui_global",
|
|
"type": "choice",
|
|
"value": "midnight",
|
|
"allowedValues": [
|
|
"midnight",
|
|
"silver",
|
|
"matchday"
|
|
],
|
|
"availability": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|