Draft Modern UI JSON contracts and almanac requirements (by Codex)
This commit is contained in:
1 parent
a207b0129e
commit
c2fb772c04
67 files changed
+27796
No files matched your search
@@ -0,0 +1,120 @@
|
||||
{
|
||||
"messageType": "snapshot",
|
||||
"requestId": "request:example-stadium",
|
||||
"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": "stadium",
|
||||
"teamId": "club:harbor",
|
||||
"stadiumId": "stadium:synthetic-harbor",
|
||||
"name": "Beispielstadion",
|
||||
"capacity": 30000,
|
||||
"blocks": [
|
||||
{
|
||||
"id": "stadium-block:A",
|
||||
"seats": 2000,
|
||||
"standing": 1000,
|
||||
"covered": true,
|
||||
"condition": {
|
||||
"value": 80,
|
||||
"unit": "percent",
|
||||
"scale": null,
|
||||
"availability": {
|
||||
"status": "available",
|
||||
"reasonCode": null,
|
||||
"missingFields": []
|
||||
}
|
||||
},
|
||||
"projectId": null
|
||||
}
|
||||
],
|
||||
"facilities": [
|
||||
{
|
||||
"id": "facility:synthetic-parking",
|
||||
"level": 1,
|
||||
"maxLevel": 3,
|
||||
"guiAssetRole": "gui:stadium/parking-1"
|
||||
}
|
||||
],
|
||||
"ticketPrice": {
|
||||
"minor": "1500",
|
||||
"currency": "EUR",
|
||||
"minorUnits": 2
|
||||
},
|
||||
"attendanceSeries": [
|
||||
{
|
||||
"fixtureId": "fixture:et-a-b",
|
||||
"attendance": 0,
|
||||
"capacity": 30000
|
||||
}
|
||||
],
|
||||
"quote": {
|
||||
"id": "quote:synthetic-stadium",
|
||||
"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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user