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,131 @@
|
||||
{
|
||||
"messageType": "snapshot",
|
||||
"requestId": "request:example-statistics",
|
||||
"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": "partial",
|
||||
"reasonCode": "rule_or_ledger_incomplete",
|
||||
"missingFields": [
|
||||
"periodTotals"
|
||||
]
|
||||
},
|
||||
"currency": {
|
||||
"code": "EUR",
|
||||
"minorUnits": 2
|
||||
}
|
||||
},
|
||||
"data": {
|
||||
"kind": "statistics",
|
||||
"section": "season_finance",
|
||||
"scope": {
|
||||
"seasonIds": [
|
||||
"season:2026-27"
|
||||
],
|
||||
"competitionIds": [
|
||||
"comp:synthetic-domestic_cup"
|
||||
],
|
||||
"teamId": null,
|
||||
"managerId": null,
|
||||
"nationId": null,
|
||||
"asOf": "2027-03-15",
|
||||
"ruleId": "rules:synthetic-counting-v1"
|
||||
},
|
||||
"rows": [
|
||||
{
|
||||
"label": {
|
||||
"key": null,
|
||||
"text": "FC Hafenstadt",
|
||||
"locale": "de",
|
||||
"args": {}
|
||||
},
|
||||
"team": {
|
||||
"id": "club:harbor",
|
||||
"kind": "club",
|
||||
"name": "FC Hafenstadt",
|
||||
"shortName": "HARBOR",
|
||||
"nationId": "nation:synthetic-de",
|
||||
"crestAssetId": "asset:team/harbor/crest",
|
||||
"nameAsOf": "2027-03-15"
|
||||
},
|
||||
"player": null,
|
||||
"manager": null,
|
||||
"periodId": null,
|
||||
"fromSecond": null,
|
||||
"untilSecond": null,
|
||||
"entityId": "club:harbor",
|
||||
"teamId": "club:harbor",
|
||||
"managerId": null,
|
||||
"rank": null,
|
||||
"metrics": {
|
||||
"recordedTransactions": {
|
||||
"value": 1,
|
||||
"unit": "count",
|
||||
"scale": null,
|
||||
"availability": {
|
||||
"status": "available",
|
||||
"reasonCode": null,
|
||||
"missingFields": []
|
||||
}
|
||||
}
|
||||
},
|
||||
"money": {
|
||||
"gateReceipts": {
|
||||
"minor": "12000000",
|
||||
"currency": "EUR",
|
||||
"minorUnits": 2
|
||||
}
|
||||
},
|
||||
"coverage": {
|
||||
"status": "complete",
|
||||
"missing": [],
|
||||
"basis": "synthetic_fixture"
|
||||
}
|
||||
}
|
||||
],
|
||||
"series": [],
|
||||
"page": {
|
||||
"limit": 200,
|
||||
"cursor": null,
|
||||
"nextCursor": null,
|
||||
"snapshotRevision": "40",
|
||||
"total": null,
|
||||
"sort": [
|
||||
{
|
||||
"field": "id",
|
||||
"direction": "asc"
|
||||
}
|
||||
]
|
||||
},
|
||||
"provenance": [
|
||||
"finance_ledger"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user