169 lines
4.0 KiB
JSON
169 lines
4.0 KiB
JSON
{
|
|
"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": [
|
|
"fairplayPoints"
|
|
]
|
|
},
|
|
"currency": {
|
|
"code": "EUR",
|
|
"minorUnits": 2
|
|
}
|
|
},
|
|
"data": {
|
|
"kind": "statistics",
|
|
"section": "fairplay",
|
|
"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": {
|
|
"yellow": {
|
|
"value": 1,
|
|
"unit": "count",
|
|
"scale": null,
|
|
"availability": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
}
|
|
},
|
|
"secondYellow": {
|
|
"value": 0,
|
|
"unit": "count",
|
|
"scale": null,
|
|
"availability": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
}
|
|
},
|
|
"straightRed": {
|
|
"value": 0,
|
|
"unit": "count",
|
|
"scale": null,
|
|
"availability": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
}
|
|
},
|
|
"dismissals": {
|
|
"value": 0,
|
|
"unit": "count",
|
|
"scale": null,
|
|
"availability": {
|
|
"status": "available",
|
|
"reasonCode": null,
|
|
"missingFields": []
|
|
}
|
|
},
|
|
"fairplayPoints": {
|
|
"value": null,
|
|
"unit": "points",
|
|
"scale": null,
|
|
"availability": {
|
|
"status": "unavailable",
|
|
"reasonCode": "rule_pending",
|
|
"missingFields": [
|
|
"fairplayPoints"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"money": {},
|
|
"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": [
|
|
"almanac",
|
|
"rules_snapshot"
|
|
]
|
|
}
|
|
}
|