Draft Modern UI JSON contracts and almanac requirements (by Codex)

This commit is contained in:
Codex committed 2026-10-27 00:08:03 +01:00
1 parent a207b0129e
commit c2fb772c04
67 files changed
+27796

No files matched your search

@@ -0,0 +1,162 @@
{
"messageType": "snapshot",
"requestId": "request:example-match",
"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": "match",
"id": "match:legacy-unknown",
"fixtureId": "fixture:legacy-unknown",
"seasonId": "season:2026-27",
"date": "2027-03-15",
"competition": {
"id": "comp:synthetic-national_tournament",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb national_tournament",
"locale": "de",
"args": {}
},
"kind": "national_tournament",
"editionId": "edition:synthetic-national_tournament-2026-27",
"stageId": "stage:synthetic-final",
"nationId": null,
"rulesId": "rules:synthetic-national_tournament"
},
"roundId": "round:synthetic-final",
"mode": "outdoor",
"home": {
"id": "national:north",
"kind": "national",
"name": "Nationalteam Test-DE",
"shortName": "TEST-DE",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/north/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "national:south",
"kind": "national",
"name": "Nationalteam Süd",
"shortName": "SOUTH",
"nationId": "nation:synthetic-north",
"crestAssetId": "asset:team/south/crest",
"nameAsOf": "2027-03-15"
},
"managerIdsBySide": {
"home": "manager:career-demo-3",
"away": null
},
"result": {
"status": "completed",
"decision": "shootout",
"regulation": null,
"extra": null,
"final": {
"home": 2,
"away": 2
},
"shootout": {
"home": 5,
"away": 4
},
"extraTimePlayed": null,
"winnerTeamId": "national:north",
"countedForTable": false
},
"clock": {
"periodId": "period:shootout",
"elapsedSeconds": null,
"minute": 121,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "121′",
"locale": "de",
"args": {}
}
},
"onFieldCounts": {
"home": null,
"away": null
},
"rules": {
"rulesId": "rules:synthetic-outdoor",
"periods": [
{
"id": "period:first",
"kind": "first_half",
"nominalSeconds": 2700
},
{
"id": "period:second",
"kind": "second_half",
"nominalSeconds": 2700
}
],
"rosterLimit": 24,
"onFieldLimit": 11,
"benchLimit": 6,
"substitutionLimit": 3,
"directShootout": true
},
"referee": {
"id": null,
"name": "Testschiedsrichter"
},
"attendance": 0,
"weather": null,
"lineups": [],
"events": [],
"coverage": {
"status": "partial",
"missing": [
"events",
"actors",
"periods",
"lineup_classification",
"weather"
],
"basis": "legacy_archive"
},
"countingPolicyId": "rules:synthetic-match-counting"
}
}