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

+232
View File
@@ -0,0 +1,232 @@
<!-- SPDX-License-Identifier: GPL-3.0-only -->
# Almanach: belastbare Auswertungen statt erfundener Statistik
Grundlage sind `src/modern/game/almanac.hpp/.cpp`,
`src/modern/content/statistics.cpp`, die vorhandenen Engine-Notizen und der
[bereits vereinbarte Almanach-Lesevertrag](../desktop/almanac/DATA_CONTRACT.md).
Dieses Dokument erweitert die Anforderungen auf alle Statistikmenüs. Es ändert
weder F10/OBS noch Classic oder die Saisonlogik. Die folgenden Normalformen und
Regeln sind als Entwurf zu entscheiden; bestehende Rohdaten werden nicht als
vollständiger bezeichnet, als sie tatsächlich sind.
## Vorhandene Aufzeichnungen und ihre Grenzen
F10 führt historische Saison-, Liga-, Vereins-, Spieler-, Manager- und
Schiedsrichtertabellen sowie Spiele, Ereignisse, Aufstellungen, Endtabellen und
Sieger. Geschlossene Saisons bleiben selbständig lesbar. Spieleridentitäten
wechseln bei Wiederverwendung eines Laufzeitslots; ein generierter neuer Spieler
ist eine neue Karriere, auch wenn der Name gleich bleibt. Auf-/Abstieg tauscht
Laufzeitnummern, nicht die Weltidentität eines Vereins.
Die tatsächlich vorhandenen Ereignisse sind Tor, Gelb, direkt Rot, Gelb-Rot,
Verletzung, Wechsel, Shootoutkick und Fehlschuss. Weitere DTO-Kategorien wie
Eigentor, Keeperparade, VAR oder administrativer Stand sind **Erweiterungshaken**,
keine Behauptung eines bereits vorhandenen F10-Feldes. `Goal.detail==1` fasst
Elfmeter/Freistoß zusammen. Daraus darf die UI keine getrennten Zähler erfinden.
`Miss` belegt eine Chance ohne Tor; es belegt nicht sämtliche Schüsse, Schüsse
aufs Tor oder Torwartaktionen.
Nicht jede Nation, jeder Amateur oder Pokalausländer hat einen Kader. Der
Recorder überspringt leere Kaderplätze; deshalb ist die Grenze „erste elf =
Startelf“ in einem verkürzten Vektor nicht immer gesichert. F10 speichert keine
historischen Rückennummern, Positionen, Ratings, Verletzungsdiagnosen, Gehälter,
Transferpreise, Ballbesitz, xG oder Laufdistanzen. Saisonale Namen sind der
historische Tabelleneintrag dieser ID, nicht zwingend ihr tagesgenauer Namensstand.
`AlmanacStanding` verwendet unter anderem begrenzte Tor-/Spielzähler. Neue
Projektionen summieren in ausreichend breiten Zählern und benennen vorhandene
Formatgrenzen; sie erzeugen keine Genauigkeit, die im Archiv verlorenging.
Frühere Binärversionen ohne Tabellen/Sieger haben bei solchen Auswertungen eine
Datenlücke, nicht automatisch null Titel.
## Mindestidentitäten und Kontext pro Match
| Bedarf | Normalisierung / notwendiger Nachweis |
| --- | --- |
| Karriere und Saison | `careerId`, stabile `seasonId`, Start-/Enddatum, `display_start_year`, Archivversion und Archivdigest |
| Fixture und Austragung | dauerhafte `fixtureId` für die geplante Partie; `matchId` für die tatsächlich gewertete Austragung; Replay/Verschiebung explizit verknüpfen |
| Ältere Matches ohne IDs | persistierter Schlüssel aus Karriere, Saison und **ursprünglichem** Matchordinal; nicht aus aktueller Sortierung, Vereinsnamen oder Datum konstruieren |
| Wettbewerb | stabile Competition-ID, Edition-ID, Saison, Liga/Pokal/National/Freundschaft/Indoor/Relegation, Gruppe/Stufe/Runde, Hin-/Rückspielbezug |
| Format | `outdoor/indoor`, tatsächliche Perioden, Kaderlimit, tatsächliche Personen auf dem Feld, Wechselregelreferenz; Indoor nicht als Outdoor mit anderem Hintergrund |
| Beteiligte | beide historischen Team-IDs; Club/National unterscheiden; Manager-ID und zum Zeitpunkt gültige Amtszeit/Steuerungsart je Seite |
| Zeit und Reihenfolge | ursprüngliche Ereignisreihenfolge, Periode, Minute, bekannte Sekunden/Nachspielzeit; ISO-Spieltag getrennt vom Saisonlabel |
| Ergebnis | Spieltore ohne Shootout, getrennte PSO-Tore, Entscheidungsart, ET-Teilnahme, bekannte 90-Minuten-/ET-Teilstände, Abbruch/Wertung/Annullierung |
| Aufstellungen | Starter und Bank getrennt, sichere Klassifizierung, nominierter Kader, Feldzahl und Abwesenheiten; fehlende Spielerreferenz = `null` |
| Umgebung | Schiedsrichter-ID falls belegt, sonst historischer Name/Unbekannt; Zuschauer, Kapazität, Wetter; echte Null erhalten |
| Vollständigkeit | Coverage für Ereignisse, Akteure, Perioden, Aufstellungen, Disziplin, Wetter, Zuschauer und Shootoutfolge |
| Zählkontext | Regel-ID/Version, zählen für Tabelle/Spielerstatistik/Serien/Highscore, Freundschafts-/Indoorbehandlung, effektiver Korrekturstand |
F10 besitzt bislang keine eigenen dauerhaften Match-/Event-IDs. Ein stabiler
Adapter-ID-Index kann vorhandene Saisonordinale abbilden, ohne Archive umzuschreiben.
Neue Aufzeichnungen sollten Fixture-/Match-/Event-IDs originär erhalten.
Ereignis-IDs dürfen sich bei Pagination, Übersetzung, Sortieren oder Korrekturen
nicht ändern. Die ursprüngliche Reihenfolge ist besonders für gleichminütige
Shootoutkicks und Verletzung → Wechsel unverzichtbar.
## Ergebnisphasen und ET/PSO
`result.final` enthält Tore aus dem Spiel einschließlich belegter Verlängerung,
**ohne** Shootout. `regulation` enthält die regulären Tore; `extra` im Entwurf
nur die **zusätzlich** in ET erzielten Tore. Bei vollständig bekannten Phasen gilt
`final = regulation + extra`. Ein Shootout entscheidet den Sieger, erhöht aber
weder Spieltore noch Ligatore, Tordifferenz, Torschützen- oder Vorlagenzähler.
Für bestehendes `decided==2` ist ET-Teilnahme allein nicht gesichert. Ohne weitere
Information sind `extraTimePlayed`, `regulation` und `extra` deshalb `null`.
Ein Match kann direkt ins Shootout gehen. Die UI darf keine 120′ und keinen
bekannten Halbzeitstand aus einem bloßen PSO-Endstand anzeigen. Auch minute 121
ist ein altes Markerformat, keine sekundengenaue Dauer.
Nur wenn Vollständigkeit und Phasen nachgewiesen sind, darf ein Projektor
Teilstände aus Torereignissen ableiten und gegen den Endstand prüfen. Bei einer
Lücke wird nicht mit Phantomtoren aufgefüllt. Eine administrative Wertung kann
absichtlich vom Torprotokoll abweichen und benötigt ihren eigenen Kontext.
## Korrektur-, Dedupe- und Aggregationsmodell
Vorschlag für neue Projektionen:
1. Originalarchive bleiben unverändert. Ein append-only Korrekturledger verweist
auf Archivdigest, Match-/Event-ID, Grund, Erfassungs- und Wirksamkeitsdatum.
2. `replace`, `void`, `restore` bilden einen expliziten Versionsverlauf.
`supersedesId` darf keinen Zyklus erzeugen; konkurrierende Korrekturen brauchen
eine definierte Konfliktentscheidung. Kein „letzter Arrayeintrag gewinnt“.
3. Ein Match/Event ist je Snapshot genau einmal effektiv. Replays haben eine
eigene Austragungs-ID; die Annullierung der alten Austragung ist explizit.
4. Reads binden `asOf`, Filter, Regelversion und `projectionRevision` an einen
konsistenten Stand. Rückdatierte Korrekturen invalidieren betroffene
Statistiken/Cursor und erzeugen eine neue Projektionsrevision.
5. UI-Rückblick, Tickerreplay und ein erneut zugestelltes Event buchen nichts.
Live zählt dieselbe Event-ID/Revision nicht doppelt; ein höherer Eventstand
ersetzt seine ältere Projektion statt sie nochmals hinzuzufügen.
6. Finanzkorrekturen sind Gegenbuchungen über `reversalOf`/Transaktions-ID;
Matchkorrekturen erzeugen keine ausgedachten Einnahmenrückzahlungen.
Das Korrekturledger ist eine Anforderung. Es existiert dadurch noch kein
historischer Engine-Editor. Rechte, Konfliktlösung und Archivmigrationsgrenze
stehen in D06. Beispiele `almanac-correction.json` und die bounded QA prüfen nur
die vorgeschlagene Identitäts-/Revisionsform.
## Auswertungen: Quelle, Aggregation und offene Fragen
| Ansicht | Aus F10 ableitbar, soweit vollständig | Zusätzlich nötig / bewusst nicht ableitbar |
| --- | --- | --- |
| Tore | zählbare `Goal`-Events je Player-ID/Competition-Edition/Saison; Shootout separat | Eigentor- und administrativer Trefferkontext; fehlende Akteure als unbekannte Teamtore, nicht fremdem Spieler zuordnen |
| Vorlagen | gültiges `Goal.other`, je Tor höchstens eine belegte Vorlage | kein Erfinden aus Nachschuss/Freistoß; Assistregel und Eigentorbehandlung versionieren |
| Gelb/Rot | YellowCard, SecondYellow und RedCard getrennt zählen | ob zweite Gelbe in „Gelb“ nochmals erscheint und wie Gelb-Rot in Fairplay gewichtet wird, entscheiden |
| Einsätze | Menge der belegten Starter ∪ eingewechselten Spieler je Match | verkürzte unklassifizierte Aufstellung; Indoor-Wiederkehr; Bank ohne Einsatz zählt nicht |
| Minuten | bekannte Intervalle auf dem Feld minus Ausschluss/Abgang | Sekunden-/Nachspielzeit-/Halbzeitgrenzen und Indoor-Wechselpaare; bei Minutenpräzision keine exakten Sekunden vortäuschen |
| Fairplay | Karten pro tatsächlich handelndem Team; danach Strafpunktregel | Regel-ID, zweite Gelbe, Strafen außerhalb des Matchs, Wettbewerbsfilter und stabile Gleichstände |
| Erfolge/Vereinsgeschichte | Meister/Endplatz und gespeicherte Sieger pro Edition | Teilnahme/Nichtteilnahme, ausgeschiedene Runde, Auf-/Abstiegskontext und Amtszeiten; Siegerliste allein reicht nicht |
| Highscore | einzelne Titel/Plätze können beitragen | autoritative Highscoreprojektion/Regelversion, Vermögen, Einrichtungen, Teamwert, Geduld, Managerhistorie und externer Ranglistenbestand |
| Möglichkeiten | belegte Goals/Miss als benannte Engine-Chancenarten | kein vollständiger Schussdatensatz, keine xG/Paraden/„aufs Tor“-Quote ohne zusätzliche Enginezählung |
| Transferhistorie | nichts Belastbares über Geschäftsvorgänge | Transferledger mit Parteien, Personen-ID, Vertrag, Gebühr, Leihart, Abschluss/Wirksamkeit/Storno, Währung |
| Analytics | Tor-/Punkt-/Ergebnisserien aus belegten Matches | Stärke/Moral/Finanzen/Publikumsentwicklung brauchen datierte Snapshots/Ledger; REL.-Basis 0 ist undefiniert |
| Ewige Tabelle | zählbare Ligamatches, Endtabellen und historische Teamidentitäten | Regel-/Punkteabzugs-/Wertungsledger, Saisonteilnahme und Tabellen-Tiebreakversion |
| WM-/Nationalstatistik | nationale Wettbewerbseditionen, Spiele/Sieger, bekannte Spielerereignisse | Qualifikation/Gruppentabellen/Bracket/Turnierregeln, Nominierungen, Teams ohne Kader und historische Nationalitätszuordnung |
| Saisonfinanzen | Zuschauerzahlen allein | Finanzledger mit Kategorie, periodischer Abgrenzung, Brutto/Netto, Prämien, Gehältern, Zinsen, Krediten und Storno; Einnahmen nie als Zuschauer × heutigen Preis raten |
| Serien/Rekorde | chronologische Spielausgänge und Torfolgen je definierter Auswahl | Umgang mit PSO, neutralem Platz, abgesagten/abgebrochenen/wiederholten Spielen, Wettbewerbs-/Saisongrenzen; Leistungs-/Finanzrekorde brauchen Zusatzdaten |
| Siegerlisten | `winners`, Liga-Endtabellen und Editionen | Archivversionen ohne Sieger, Duplikatprüfung Finale/Meister, Hallen-Turniere vs Masters, geteilte Titel/kein Zweiter |
| Minutenstatistik | vollständig zugeordnete Ereignisse in benannten Zeitintervallen | Zeitbasis für ET/Indoor/Nachspielzeit, genaue Eventarten; unbekannte Periode hat eigene Unknown-Gruppe |
| Direkter Vergleich | Begegnungen zwischen stabilen Team-IDs, je Contextfilter | Heim-/Gast/neutral, PSO-/ET-Wertung, Vereinsumbenennung; Namen sind keine Identität |
| Zuschauer/Schiedsrichter/Wetter | vorhandene Matchfelder mit sicherer Bekanntheit | Kapazität am Matchtag, neutraler Ort, Schiedsrichter-Person-ID, fehlende vs tatsächliche Nullwerte |
| Sportschau/Elf des Tages | Matchereignisse können Fakten belegen | autoritative Ratings/Auswahlregel und Repräsentation fehlender Kader. Kein HTML-Stärke-plus-Bonus-Algorithmus |
### Spieler- und Kartenzähler
Die vorhandene Engine-JSON-Abfrage `player_stats` zählt `YellowCard`,
`SecondYellow`, `RedCard` getrennt; Sortierung „red“ benutzt direkt Rot plus
Gelb-Rot. Sortiergleichstand: weniger Einsätze, danach Name; gleicher
Metrikwert erhält denselben Wettbewerbsrang. Der ausgegebene Verein ist die
Seite des **letzten Spiels in dieser Auswahl**, nicht notwendigerweise der
aktuelle Arbeitgeber. Die neue Projektion sollte das als `lastRepresentedTeam`
kennzeichnen und mehrere historische Teams nicht verschlucken.
**Konkrete Adapterprüfung:** Die vorhandene Implementierung nimmt bei Einsätzen
`min(11,lineup.size())` als Starter und erhöht bei jedem Substitutionsevent.
Das beweist keine korrekte individuelle Einsatzzahl bei verkürzten Aufstellungen,
sechs Indoor-Feldspielern oder Wieder-Einwechslungen. Neue Reads müssen diese
Kontexte testen beziehungsweise `partial` melden. Das ist ein Vertragsrisiko,
kein hier nachgewiesener Spielsimulationsfehler und keine still korrigierte Regel.
Vorgeschlagener Einsatznachweis: pro Match Player-ID als Menge erfassen; ein
bekannter Einsatz zählt genau einmal, auch bei zweimaligem Betreten. Für
spezielle Indoor-Rotationsregeln ist zu klären, ob die bisherige Anzeige bewusst
eine andere Größe meint. Einsätze und Minuten bleiben getrennte Metriken.
Die Fairplay-Goldformel ist `Gelb + 4 × Rot`. Sie entscheidet nicht, ob „Rot“
Gelb-Rot einschließt und ob die erste/zweite Gelbe doppelt zählt. Bis D08 geklärt
ist, bleiben `yellow`, `secondYellow`, `straightRed`, `dismissals` eigenständige
Metriken; `fairplayPoints` ist entweder autoritativ mit Regel-ID oder unbekannt.
Keine UI berechnet sich ihre eigene alternative Tabelle.
### Titel, Erfolge und Managerwechsel
Meister wird je Competition-Edition einmal aus der maßgeblichen Abschlusstabelle
oder einem referenzierten Winner-Record erkannt, nicht aus beiden doppelt.
Pokal-/Indoor-Ausgaben innerhalb einer Saison benötigen Editionen. Masters und
vorgelagerte Hallenturniere sind unterschiedliche Titel. Nichtteilnahme ist ein
expliziter Teilnahmezustand, kein früher Pokalausgang und kein letzter Platz.
Managererfolge zählen nur zur belegten Amtszeit/Steuerung. Aufgeben löscht weder
die historische Manager-ID noch frühere Titel. Die neue KI übernimmt das Team,
nicht den Namen, die Person oder deren Highscorehistorie. Eine Quelle mit nur
Managername/Slot pro Match kann gleiche Namen oder Slotwiederverwendung nicht
zuverlässig trennen; erforderlich ist ein persistierter ID-/Amtszeitenindex.
Bundestrainerübernahme/Rückkehr kann eine andere aktive Rolle derselben Person
sein; das ist nicht automatisch ein neuer Manager. Siehe D12/D13.
`modern/game/highscore.cpp` enthält bereits eine eigene autoritative Berechnung
mit Kontexten für aktiven Manager/Saisonwechsel und Nationalrolle. Sie verwendet
neben Titeln/Historie auch Nicht-Matchwerte. Der neue JSON-Adapter soll deren
Ergebnis und Regel-/Kontextkennung transportieren; dieses Dokument übernimmt
keine Konstanten als neue Regel und die UI darf die Berechnung nicht ersetzen.
### Tabellen, Serien und Minuten
Tabellenpunkte hängen vom gültigen Regelprofil und Abzügen ab. Die 3/1/0-
HTML-Demoregel ist kein universeller Ersatz. `pointAdjustment` kommt aus einem
expliziten Nachweis; ein Unterschied zwischen Spielsumme und Endtabelle darf
nicht willkürlich als Abzug „erklärt“ werden. Finale Tabellen sind für den
historischen Endstand maßgeblich, Matches für nachgewiesene Teilzeiträume.
Serien werden je stabiler Team-ID, zählbarem Match und dokumentierter
Wettbewerbs-/Saisonauswahl in tatsächlicher Austragungsreihenfolge gebildet.
Ein Ligaremís mit späterem PSO-Sieg im Pokal ist nicht automatisch ein identischer
Siegtyp. Rescheduled Fixtures behalten ihren ursprünglichen Spieltag und erhalten
ein neues Austragungsdatum. Ein Wiederholungsspiel ist keine zweite Wertung der
annullierten Austragung. Rekorde benötigen mehrere Gleichstandsinhaber.
Bei Minutenbuckets müssen Grenzen exakt angegeben sein, beispielsweise `(0,5]`,
`(5,10]` innerhalb **einer** belegten Periode. 45+2, 90+3, ET-Perioden und Indoor
werden nicht still in den letzten 90-Minuten-Bucket geworfen. F10 liefert diese
feine Periodengenauigkeit nicht immer; dann Unknown-Gruppe statt falscher Kurve.
Es gibt keine Division durch unbekannte Spieldauer und kein REL.-Diagramm bei
Basis 0 ohne ausdrücklichen Unavailable-Zustand.
## Unverzichtbare Zusatzledger
| Ledger / Snapshot | Mindestfelder |
| --- | --- |
| Finanzbuchung | ID, Transaktions-ID, Owner/Team, Konto/Kategorie, Buchungs- und Wirksamkeitsdatum, Betrag/Währung/Minor Units, Gegenpartei, Fixture-/Vertragsbezug, `reversalOf` |
| Transfer/Vertrag | Personen-ID, abgebender/aufnehmender Club, Kauf/Leihe/Rückkehr, Offer-/Quote-ID, Statusverlauf, vereinbarte/gebuchte Beträge, Gehaltsperiode/Laufzeit, Abschluss-/Wirksamkeitsdatum, Storno |
| Manageramt | unveränderliche Personen-ID, Slot nur als Präsentationsbezug, Team/Rolle, Start/Ende/Grund, aktive oder suspendierte Kontrolle, KI-Übergabe, Nationalübernahme/Rückkehr |
| Wettbewerbsregeln/Teilnahme | Edition/Gruppe/Runde, Teilnehmer, Fortschritt/Ausscheiden, Punkte-/Tie-/PSO-Regelversion, Zählbarkeit für jede Auswertung |
| Teamzustand im Zeitverlauf | datierte tatsächliche Stärke, Moral, Anlagen, Kapazität und Preise für historische Kurven/Highscore; nicht heutige Werte rückprojizieren |
| Nominierung | Nationalteam, Datum/Edition, nominierte IDs, Heimatclub und bekannte Position zum Zeitpunkt, Grund für leeren/teilweisen Kader |
| Korrekturen/Wertungen | Ziel-IDs/Digests, Operation, Version, wirksam/erfasst, Grund, Supersession, betroffene Aggregationen |
| Highscorebestand | Ergebnis-ID, Manageridentität, Regel-/Kontextversion, Snapshotzeitpunkt, Komponenten und externer Persistenz-/Importkontext |
Für alle Ledger gilt: keine UI-seitige Buchung während eines Reads, keine
Präsentationsdaten als zweite Wahrheit und keine nachträgliche Vermischung von
heutiger Kaderzuordnung mit historischen National-/Clubauftritten.
## Kosten und Lesegrenze
Der Almanach kann über viele Saisons wachsen. Eine Abfrage dekodiert/cacht nur
benötigte Saisons und aggregiert auf Engine-/Sessionsseite. Sie liefert Cursor,
Gesamtzahl oder `null`, Filter, Sortierung, Coverage und Projektionsrevision.
Die UI erhält weder alle Binärarchive in jedem Snapshot noch rohe Tabellen-
Indizes. Cacheinvalidierung folgt Korrekturen/Regelversionen; geschlossene
Archive werden durch bloßes Öffnen nicht neu geschrieben. Grenzen für Zeitraum,
Abbruch langer Abfragen und cache budget sind unter D18 festzulegen.
+36
View File
@@ -0,0 +1,36 @@
<!-- SPDX-License-Identifier: GPL-3.0-only -->
# Entscheidungen vor dem Engineadapter
Diese Liste ist bewusst offen. Vorschläge im Schema sind keine Enginezusagen.
P0 blockiert eine korrekte Datenanbindung; P1 kann zunächst mit explizitem
Unavailable beantwortet werden. Maßgebliche neue Nutzeranforderungen sind bei
D12 bereits festgelegt, ihre technische Umsetzung ist noch nicht bestätigt.
| ID | Prio | Entscheidung / belegter Konflikt | Bis zur Antwort |
| --- | --- | --- | --- |
| D01 | P0 | Ein einheitlicher Geld-/Revisionstyp: Draft benutzt int64-/uint64-Dezimalstrings. Aktuelle JSON-Enginewerte sind teils ganze Euro; Demo Minor Units. Wo werden Skalierung, Zinsperiode und Rundung normiert? | Adapter konvertiert explizit; keine stillen Centannahmen. |
| D02 | P0 | Wer stellt Karriere-/Manager-/Fixture-/Match-/Event-/Edition-IDs dauerhaft bereit? Wie werden Altordinale und wiederverwendete Slots abgebildet? | Persistierte Zuordnung; keine Sortier-/Namens-ID. |
| D03 | P0 | Request-Dedupe, Wiederholung nach Timeout und Neustart: Ergebnis wiedergeben oder `duplicate_request`? Retention und Payloadvergleich? | Kein automatisches Wiederholen einer Geldaktion ohne eindeutigen Status. |
| D04 | P0 | Versionierter Read-/Command-Umschlag, authoritative revision owner und Read-by-manager. Aktuelle read() nimmt ActiveManager implizit. | JSON-Owner wird gegen Session geprüft, nicht als Berechtigung vertraut. |
| D05 | P0 | Quotes: welche C++-Previews verbrauchen RNG/Revision und werden darum `quote.request`? Welcher Scope, Ablauf, Nachfrage-/Annahmevertrag? | Read liefert nur vorhandene Quote oder unavailable. |
| D06 | P0 | Korrekturledger, Annullierung/Replay, rückwirkende Wertungen und Archivversionen: Rechte, Konflikte, Migrationsschema? | Archive bleiben unverändert; keine Korrekturen erfinden. |
| D07 | P0 | Neue Matchaufzeichnung: explizite Periode/Sekunden/Nachspielzeit, ET-Teilnahme bei PSO, administrative Wertung, Eigentore? | Altphasen bleiben null; keine 120′ aus decided==2. |
| D08 | P0 | Fairplay: direkte Gelbe, zweite Gelbe, Gelb-Rot und direkt Rot genau wie zählen? Welche Wettbewerbe, außerordentliche Strafen, Gleichstände? | Rohkategorien getrennt, Punktwert nur mit beschlossener Regel-ID. |
| D09 | P0 | Einsätze/Minuten bei Indoor-Rotationen, verkürzten Lineups, Wiedereinwechslung. Aktuelles player_stats nimmt erste min11 und zählt jeden Wechsel. | Partiell markieren; kein Nachweis vollständiger Einsatzstatistik. |
| D10 | P0 | Nationale/Club-/Indoor-Menücapabilities je Phase; zusätzliche POC-Sperren von belegten Engine-Sperren trennen. | Enginegrund und UI-Policy getrennt ausweisen. |
| D11 | P0 | Indoor: sechs Feldspieler und elf Kaderplätze sind belegt. Welche Perioden, Bank-/Wechselpaare, Wiedereinwechselbarkeit und Auswertungszählung gelten im JSON? | Limits getrennt, übrige Regeln nicht aus 11er-Outdoor übernehmen. |
| D12 | P0 | **Nutzer festgelegt:** Aufgeben bestätigen; weitere Menschen → KI übernimmt; letzte Person → GameEnd. Welche atomare Engineaktion, Reihenfolge nächster aktiver Manager und Endpersistenz? | Nur klare Dummy-/Vertragsdarstellung, keine angebliche Implementierung. |
| D13 | P0 | Unveränderliche Manageridentität über Join/Aufgeben/Slotkompaktierung sowie Nationalübernahme/Rückkehr mit suspendierter Clubrolle. | Amtszeiten erhalten; archivierte Identität nie neu verwenden. |
| D14 | P1 | Highscore-JSON über vorhandene Engineberechnung: Regel-/Kontextversion, externe Tabellen, National-/Saisonwechselkomponenten? | Kein aus Titeln nachgebauter Highscore. |
| D15 | P1 | Sportschau/Elf des Tages: autoritative Ratings und Auswahlregel, fehlende Spieler-/Nationalkader; Schritte in Pokal/Indoor/National? | Unavailable statt HTML-Bonusformel. |
| D16 | P1 | Historische Namen/Assetstände und Spielerzuordnung nach Transfer: letzter Auftritt, Arbeitgeber oder mehrere Teams? | Historische F10-Namen; Kennzeichnung letzter vertretenes Team, kein heutiges Profil als Historie. |
| D17 | P1 | Finanz-/Transfer-/Nominierungs-/Teilnahmeledger und datierte Teamwerte: Persistenz, Storno, Jahres-/Monatsabgrenzung? | Nicht aus Almanach-Zuschauern/Ergebnissen raten. |
| D18 | P1 | Pagination/Archiv-Caching: Cursorinvalidierung, maximale Saisons, Arbeitsbudget, Abbruch langer Reads? | Max200 DTO-Zeilen pro Seite, konsistente Revision und ID-Tiebreak. |
| D19 | P1 | Engine-Handoff für Continue und Live: Sequenzen, Resync, Scope-Token, Presentationpause vs Simulationspause; letzter Callback vor Postmatch? | Kein Timer der UI avanciert selbst eine Engineminute. |
| D20 | P1 | Vereinssuche nach Nutzerauftrag zukünftig read-only: Filter/Angebotsrechte/Verfügbarkeit. Join verwendet bestehenden Flow. | `future_readonly`; kein funktionsloser Engine-Command behauptet. |
| D21 | P0 | Welcher separate Claude-Engine-Ref ist maßgeblich? Geprüftes origin/main enthält keine Modern-Dateien. | Beide geprüften Refs dokumentiert, keinen neueren Stand geraten. |
| D22 | P1 | Presseevent-Registry der geplanten 104 Kurztemplates: feste semantische Type-/Payload-/Scope-IDs, Varianten, DE/EN-Texte, Dedupe-/Tombstonepersistenz. | Gemeinsame Entwurfstypen; keine 104 angeblich integrierten Engineevents. |
Ein beantworteter Punkt erhält eine datierte Referenz auf Code/Tests oder eine
explizite Nutzerentscheidung. Ein Dummyfixture und ein grüner Schemavalidator
schließen einen Punkt nicht.
+47
View File
@@ -0,0 +1,47 @@
<!-- SPDX-License-Identifier: GPL-3.0-only -->
# Semantische Presseereignisse und unveränderliche Artikel
Zusatzvertrag aus dem parallelen News-Paket, noch keine bestätigte
Engineverdrahtung von 104 Templates:
```text
BMHNews.fromEvent(
{id,type,date,scope:{kind:'club'|'national'|'global',id,name},data,variant?},
{language:'de'|'en'}
) -> {ok,article|error}
```
Die Engine liefert stabile Ereignis-ID, semantischen Typ, ISO-Datum, Scope und
**typisierte Fakten**. Kein HTML, keine fertige DOM-Tabelle, kein Grafikpfad.
Typen und Pflichtfelder pro Template werden in einer versionierten Registry
abgeglichen (D22). Die Entwurfsschemas `PressEvent`, `PressScope`, `PressMoney`
und `Article` enthalten dafür Team-/Personenbezüge, Score, Zähler, Geld und
Prozentwerte. `PressMoney={minor,currency}` verwendet die Währungspräzision des
Session-/Weltkontexts; die anderen Money-DTOs führen sie zusätzlich explizit.
Die konkreten Common-Payloadnamen im Entwurf sind Vorschläge, keine bereits
angenommene 104-Typen-Registry. Ein fehlendes Pflichtfeld führt zu einem Fehler,
nicht zu einem Satz mit geratenem Spielernamen oder Betrag.
Artikel besitzen eine unveränderliche ID, `sourceEventId`, `dedupeKey` und
getrennte DE-/EN-Plaintext-Snapshots. Eine spätere Sprachumschaltung oder ein
neues Template darf einen bestehenden Artikel nicht inhaltlich umschreiben.
Varianten sind explizit oder deterministisch an Ereignis/Registry gebunden;
Rendern/Lesen zieht keinen Spiel-RNG. Für neue Übersetzungsrevisionen ist die
Snapshot-/Migrationspolitik noch festzulegen.
Dedupe wird karriere- und scopegebunden persistent gespeichert, **auch nach
Löschen des Artikels**. Ein Zustell-Replay darf keinen gelöschten Artikel neu
erzeugen. Eine Korrektur ist ein eigenes semantisches Ereignis mit Bezug auf den
alten Vorgang; sie überschreibt weder Originalevent noch Artikelsnapshot.
Private Vereinsmeldungen werden nicht durch einen Filterwechsel einem fremden
Manager zugestellt. Globale Meldungen brauchen eine ausdrücklich definierte
Zustellung/Dedupe pro Empfänger oder gemeinsamen Artikelbestand.
Postfachaktionen (`news.update`) ändern gelesen/archiviert/gelöscht, nicht die
Geschäftsvorgänge hinter der Nachricht. Klickbare Folgeaktionen referenzieren
separate revisions-/ownergebundene Commands. Eine Pressemeldung bucht keine
Ablöse, wechselt keinen Verein und ersetzt kein Finanz-/Transferledger.
`press-event.json` und `press-article.json` sind synthetische Strukturbeispiele.
Sie beweisen weder die geplanten 104 Kurztemplates noch acht Scope-Seeds oder
bereits registrierte Engineevents; diese kommen aus dem separaten News-Bericht.
+70
View File
@@ -0,0 +1,70 @@
<!-- SPDX-License-Identifier: GPL-3.0-only -->
# Begrenzte QA dieses Datenvertrags
Ausgeführt in der Nacht 26./27. Oktober 2026 auf den synthetischen Dateien dieses Pakets:
**85 Prüfungen bestanden, keine fehlgeschlagen.** Einzelbelege stehen in
[qa-results.json](qa-results.json). Python 3.13 mit `jsonschema` validiert den
Draft-2020-12-Schemakopf, alle 53 Fixtures und ausgewählte zusätzliche
Semantikbedingungen. Alle 32 vorgeschlagenen Readmodel-Arten besitzen mindestens
ein Beispiel; die 47 Menüeinträge referenzieren bekannte Readmodel-Arten.
Reproduzierbare Befehle vom Repositoryroot:
```sh
python3 docs/new_ui/integration/tools/generate_schema.py
python3 docs/new_ui/integration/tools/generate_examples.py
python3 docs/new_ui/integration/tools/validate_contract.py
```
Die zwei Generatoren wurden erneut ausgeführt; ihre 56 Schema-/Index-/Fixture-
JSON-Dateien waren bytegleich. Die QA-Resultate selbst enthalten keine Uhrzeit
oder privaten Laufzeitpfad und sind ebenfalls nachvollziehbar.
## Geprüfte Stichproben
- Form und Pflichtfelder aller Beispieldaten, ISO-Datum, Plaintext statt
Markup-Feldern, numerisch genaue Money-/Revisionstrings und Skalierungsgrenzen.
- Vier aktive Personen mit unterschiedlicher Teamkontrolle, Owner-/Welt-/
Revisionsabweichungen, Archividentität, KI-Übergabe und Ende beim letzten
Menschen. Geprüft wird die Konsistenz der **DTO-Beispiele**, kein Engine-Ende.
- Bekanntes ET-Ergebnis, separates direktes National-Shootout, sechs Indoor-
Feldspieler/elf Kaderlimit, Team ohne Kader und bewusst unbekannte ET-Phase
eines alten Shootoutrecords. Tor- und Kickzählung bleiben getrennt.
- Monotone Ereignisfolge, eindeutige Events, Akteure in bekannten Aufstellungen,
Starter/Bank/Kadergröße und richtige Unterscheidung von unbekannt und echter 0.
- Konsistente Quotenzerlegung, Owner/Revision, feste Pagingrevision, stabile
Korrekturidentität, kein selbstreferenzieller Korrekturverlauf.
- Protokoll-/Datenfehler werden durch gezielt beschädigte Kopien abgeprüft:
ungültiges Datum, Bruchteilscent, int64-/uint64-Überlauf, falsche Präzision,
falscher ET-Endstand, Shootouttore im Spielstand, doppelte/umgeordnete Events,
11er-Indoorfeld, falsche Kadergröße, fremder Akteur, doppelte Kontrolle,
widersprüchliches GameEnd, falsche Korrektur-ID/Zyklus, Quoten- und Cursorfehler
sowie inkonsistente Start-Manageranzahl und eine auf ein fremdes Fixture
gebundene TOTO-Vorhersage.
## Was diese QA ausdrücklich nicht beweist
Es wurde keine Engine ausgeführt, kein C++-Adapter gebaut, kein OBS verändert,
kein Originaldatensatz gelesen und keine native oder HTML-Bildabnahme gemacht.
Die 33 Commandentwürfe sind als Schema aufgeführt; nur eine begrenzte Auswahl
von Payload-/Kontextbeispielen wurde geprüft, nicht sämtliche fachlichen
Transitionsregeln. Die Bool-/Mengenkonsistenz des Handover-Beispiels ist keine
Implementierung von Aufgeben. Der Einsatzmengencheck ist eine Referenzforderung,
kein Beweis einer schon korrigierten Indoor-Engineprojektion.
Die geplante Presse-Registry, Templatevarianten und persistente Dedupe nach
Löschen bleiben Prüfaufgabe des separaten News-/Sessionpakets. Hier werden ihre
Event-/Artikel-DTOs und DE/EN-Snapshotformen validiert; eine triviale gleiche-ID-
Mengenprobe wird bewusst nicht als Persistenznachweis ausgegeben.
Die offenen Entscheidungen in [OPEN_DECISIONS.md](OPEN_DECISIONS.md) bleiben
auch bei grüner Schema-QA offen. Vor echter Anbindung sind Read-RNG-/Revision-
Unveränderlichkeit, atomare Fehler, Live-Resync, Save-/Neustartpersistenz und
Kontextmatrizen an den tatsächlich implementierten Sessiondiensten zu testen.
Zusätzlich wurde der tatsächlich gelesene private HTML-Helper `submenus.money(n)`
mit rein synthetischen Argumenten im vorhandenen JavaScript-Laufzeitsystem
aufgerufen: `money(15)` ergibt `15 €`, `money(1500)` ergibt `1.500 €`.
Das bestätigt die bestehende Whole-Euro-Formattergrenze; es ist kein Browser-
oder Engineintegrationstest und wird nicht zu den 85 öffentlichen DTO-Prüfungen
hinzugezählt. Quellhash und Resultat bleiben im privaten Übergabebeleg.
+226
View File
@@ -0,0 +1,226 @@
<!-- SPDX-License-Identifier: GPL-3.0-only -->
# Engine–Modern-UI: JSON-Datenvertrag für Desktop, Live und Nachspiel
**Arbeitsentwurf der Nacht 26./27. Oktober 2026, keine Fertigmeldung.** Dieses Paket benennt,
was die Oberfläche benötigt, welche Quellen bereits belegt sind und welche
Adapter beziehungsweise Engineentscheidungen noch fehlen. Es implementiert
weder Saisonregeln noch einen Engineadapter oder eine neue Matchoberfläche.
Alle Beispiele sind synthetisch. Sie dürfen nicht als gespielte Engineergebnisse,
als HTML-Referenzwerte oder als Regression gegen Originaldaten ausgegeben werden.
| Einstieg | Inhalt |
| --- | --- |
| [Schemas](schemas/ui-contract.schema.json) | JSON Schema 2020-12; gemeinsame Typen, Readmodels, Kommandos, Fehler und Ergebnisse |
| [Index](schemas/contract-index.json) | Namen der vorgeschlagenen Reads und Commands |
| [Menüvertrag](menu-contracts.json) | 47 Menü-/Auswertungsbereiche mit sichtbaren Daten und Code-/HTML-Quellen |
| [Almanach und Auswertungen](ALMANAC.md) | Ereignisse, Identitäten, Vollständigkeit, Korrekturen, Aggregationen und notwendige Zusatzledger |
| [Pressevertrag](PRESS.md) | Semantische Events, unveränderliche DE/EN-Snapshots und Lösch-Dedupe |
| [Offene Entscheidungen](OPEN_DECISIONS.md) | Priorisierte Rückfragen für Claude/Engine, ohne stillschweigende Antworten |
| [Beispiele](examples/index.json) | 53 Dateien: vier Manager, Verein/National, ET, PSO, Indoor, unbekannte Altphasen, Geschäftsdaten und Aufgeben |
| [Quellbasis](provenance.json) | Getrennte Revisionen und Hashes der geprüften Vertragsquellen |
| [QA](QA.md) | Tatsächlich ausgeführte Schema-/Semantikprüfungen und Grenzen |
## Zwei öffentliche Grundlagen und eine private Referenz
Die untersuchte Modern-UI-/Enginebasis ist `origin/0.3` bei
`a207b0129e06f0659a5e7b30afa3680739a33029`. Das im selben Repository geprüfte
`origin/main` zeigt auf `b879d5be008739f69afef562fb4bce56f1bdc778` und enthält
**keine** `src/modern`- oder `docs/new_engine`-Dateien. Daraus folgt keine Aussage
über einen möglicherweise getrennten, neueren Claude-Enginezweig; dessen
Repository und Revision sind noch abzugleichen. Änderungen an diesen Grundlagen
müssen vor der Implementierung erneut verglichen werden.
Die private HTML-Referenz hat den separat protokollierten Git-Stand
zunächst `f8932de2009137e738962763c5fcbb75c2467570`; der abschließende
Hashabgleich protokolliert `72ddff945f75276d1b0a93e7a9cb5a61beefa9dd` plus
die parallel entstandenen Working-Tree-Änderungen. `match-model.js`,
`match-broadcast.js`, `match-intervention.js`, `post-match.js` und die Desktop-
Menüprovider wurden für Daten und Interaktionen gelesen. Zusätzliche uncommittete Änderungen sind unter `workingTreeChanges`
und mit ihren tatsächlichen Dateihashes protokolliert. Die JS-Dateihashes
sind ein Inventar, keine Behauptung einer vollständigen Browser- oder Bild-QA.
Öffentlich werden weder Originalgrafiken noch Originaltextinventare oder echte
Namen/Spieldaten mitgeliefert. Neue Manager-Aufgeben-Anforderungen stammen aus
dem Nutzerauftrag; ihre Auflistung behauptet noch keinen HTML-/Enginecode.
## Was heute vorhanden ist
`ModernSession::read()` und `read_statistics()` liefern bereits JSON für
`status`, `leagues`, `table`, `fixtures`, `squad`, `toto`, `sponsor`,
`competitions`, `winners` und `player_stats`. Diese Antworten sind **nicht**
bereits das hier vorgeschlagene `bmh-modern-ui@draft1`-Protokoll: durchgängiger
Umschlag, Manager-/Sessionidentitäten, Scope, Pagination und Revision fehlen
teilweise. Zudem benutzt die Leseseite bisher den aktiven Manager der Engine.
Daneben existieren zahlreiche C++-Projektionen und revisionierte Dienste für
Desktop, Transfers, Bank, Verträge, Trainingslager und Liveeingriffe. Ihre
Existenz ist in `menu-contracts.json` belegt. Ein C++-Request mit Laufzeitindizes,
Callbacks oder Quelladressfeldern ist noch kein stabiler JSON-DTO-Vertrag.
Der Adapter muss solche internen Bezüge in IDs und semantische Aktionen
übersetzen. Keine UI greift direkt auf `GameState`, Archive oder RNG zu.
Die aktuelle native Modern UI verwendet für viele Menüs weiterhin `DemoSource`
und deterministische Vorschauen. Der während der Nacht ergänzte `live-ticker-adapter.js` ist eine getrennte
HTML-Demoadaption; seine aus Portraits gebildeten Manager-IDs und Zeit/ID-
Sortierung sind kein Enginevertrag. Die initial gelesene HTML-Übertragung war eine 90-Minuten-Club-Demo.
Die Nacht-Fassung normalisiert jetzt `context.role/surface/managerPortrait`
und zeigt Club-Outdoor mit 90, Club-Indoor mit 40 Minuten sowie National-Outdoor.
Diese 40 Minuten und die Skalierung synthetischer Ereignisse sind **Dummyregeln**,
keine bestätigte Enginezeit. Timer, Torschützenformeln und Elf-des-Tages-Wertung
sind keine Enginevorgabe. Der spätere Adapter darf weder diese Regeln übernehmen noch
fehlende echte Werte durch die Demo ersetzen.
## Verbindliche Entwurfsprinzipien
- Daten sind JSON-Objekte, Zahlen mit Einheiten und logische Assetreferenzen.
Keine HTML-, RML-, CSS- oder SVG-Fragmente aus der Engine. `Text.text` ist
**Plaintext**; die UI behandelt ihn als Text, nie als Markup.
- `worldId/worldRevision` bezeichnet den geladenen Datensatz. `careerId` trennt
Karrieren derselben Welt. `stateRevision` bezeichnet den aktiven Zustand;
`projectionRevision` zusätzlich Korrektur-/Aggregationsstände. Vor Karriere-
start dürfen Welt/Karriere unbekannt sein und bleiben `null`.
- IDs sind stabile Zeichenketten. Manageridentität bleibt über Vereinswechsel,
Umbenennung und Aufgeben bestehen. Runtime-Slots, Rang, Tabellenposition,
Bildindex und Anzeigename sind niemals fachliche Identität.
- Alle Reads sind frei von **Spiel-RNG**, Buchung, Fortschritt und Spielrevision.
Auswahl, Scrollen, Picker-Abbruch, Theme, Chartschalter und Ticker-Abspieltempo
bleiben UI-Zustand. Eine existierende C++-„Preview“, die Quoten erzeugt und
RNG/Zustand fortschreibt, wird ausdrücklich über `quote.request` adaptiert,
nicht während eines vermeintlich harmlosen Reads aufgerufen.
- Mutationen tragen `requestId`, Welt-/Karriere-ID, `expectedRevision`,
Manager-/Team-/Scopeidentität und bei Bedarf Quote-/Live-/Fortsetzungstoken.
Ownerangaben im JSON sind **keine Autorisierung**: die Session prüft sie gegen
ihren tatsächlichen aktiven Kontext. Erfolg wird genau einmal publiziert;
Eine **protokoll-/validierungsbedingte** Ablehnung erhält Zustand, beide RNGs,
Geld und Revision. Ein fachlich erfolgloser, aber regelgerecht ausgeführter
Versuch (z. B. Angebot abgelehnt/Abwerben versucht) kann dagegen ein akzeptierter
Command mit `outcome=offer_rejected` und neuem Zustand sein. Solche Enginefolgen
werden nicht fälschlich als rollbackpflichtiger Transportfehler ausgegeben.
- Derselbe `requestId` darf nach Timeout nicht doppelt buchen. Gleiches Payload
erhält das gespeicherte Ergebnis oder einen eindeutigen Duplikatstatus;
verändertes Payload bei gleicher ID wird abgewiesen. Aufbewahrungsdauer und
Verhalten über Neustarts stehen unter D03 zur Entscheidung.
- `Availability` und `Coverage` trennen fehlend, unvollständig und belegt. `0`
ist ein bekannter Nullwert; unbekannt ist `null` plus Grund. Fehlende Kader
erzeugen keine Phantomspieler. Kein fremder Verein wird als Ersatzmanagerteam
gewählt. `unavailable` darf der Renderer neutral darstellen.
## Einheiten, Geld und Zeit
`Money={minor, currency, minorUnits}` verwendet eine vorzeichenbehaftete
**Dezimalzeichenkette** für die kleinste Währungseinheit. `"1500"`, EUR, 2
bedeutet 15 Euro. Das vermeidet Präzisionsverlust in JS oberhalb von 2^53.
Dasselbe gilt für uint64-Revisionen und Sequenzen. Werte müssen zusätzlich in
den vereinbarten int64-/uint64-Grenzen liegen. Dies ist eine Entwurfsentscheidung,
keine Behauptung einer schon umgestellten Engine; Alternative siehe D01.
Die drei Schichten dürfen nicht durch gleichnamige `cash`-Felder vermischt werden:
| Schicht | Beispiel 15 Euro | Richtige Grenze |
| --- | --- | --- |
| Vorhandene Engine-Reads / bisheriges HTML-Dummy `bank.cash` | `15` ganze Euro | Einmal geprüft nach Minor Units normalisieren. |
| Neuer JSON-DTO | `{minor:"1500",currency:"EUR",minorUnits:2}` | Exakte kanonische Transportform, keine formatierte Zeichenkette. |
| Bisheriger HTML-Formatter `submenus.money(n)` | `money(15)` | Erwartet ganze/anzeigefertige Euro, also DTO vorher **gezielt zurück** übersetzen; nicht `money(1500)`. |
| Nativer Demo-/neuer Money-Formatter | Minor-Unit-Wert `1500` | Bereits Minor Units: nicht noch einmal ×100 skalieren. |
Der HTML-Adapter darf daher **kein blindes ×100** übernehmen. Bestehende HTML-
Statewerte und native Demostände brauchen getrennte, versionierte Adapter.
Größere Decimalstrings dürfen für Anzeige nicht ungeprüft in einen ungenauen
JS-Number gewandelt werden. Lokalisierung, Währungssymbol und Nachkommastellen
gehören an den passenden Formatter, nicht in den Enginebetrag.
Aktuelle `read.status.money` und mehrere Engine-C++-Werte sind ganze Engine-
Euro. Der Adapter konvertiert geprüft mit `10^minorUnits`; er interpretiert sie
nicht als bereits vorhandene Centwerte. `ContractPlayer.current_monthly_salary`
und `ContractRequest.monthly_salary` belegen Monatsgehälter; Jahreswert und
Gesamtlaufzeit sind andere Felder. Quoten enthalten `totalBasis` und `chargesNow`:
ein Monatsangebot ist keine sofortige Kontobuchung. Zinsbasis, Gebühren,
Rundung, Aktienkurse, Mengen und Vertragspreise sind je Aktion abzugleichen.
Kalendertage sind ISO `YYYY-MM-DD`; Saison-ID, Saisonlabel und Kalenderjahr
bleiben getrennt. Historische Spieltage werden über `almanac_date()` übertragen.
Dateizeitstempel benutzen UTC-`date-time`. Livezeit führt Periode, Minute und,
nur wenn belegt, Sekunden/Nachspielzeit. Indoor- und Verlängerungsperioden dürfen
nicht auf eine feste 0–90-Prozentachse gequetscht werden. Die Indoor-Periodenlängen bleiben im Beispiel ausdrücklich unbekannt;
maßgeblich sind die Periodenwerte der tatsächlichen Engine. Abwesenheiten
führen Wert **und** Einheit: vorhandene Wochenzähler dürfen nicht still in
exakte Verletzungstage oder Sperrspiele umgedeutet werden.
## Vier Manager und das neue Manager-Untermenü
Der Sessionkontext enthält bis zu vier Personen und `activeManagerId`.
`humanOwnership` ordnet Teams der aktiven menschlichen Kontrolle zu; eine
archivierte Person ist keine aktive Kontrolle. Ein Team kann nicht durch eine
veraltete Auswahl plötzlich einem anderen Manager gehören. Zwei menschliche
Manager im selben Spiel ergeben zwei Eingriffsrechte, aber nur **ein** Match.
Das neue Untermenü bündelt **Aufgeben**, **Vereinssuche** und **Neuer Spieler**.
Die Vereinssuche ist vorerst eine als `future_readonly` erklärte Lesecapability.
Neuer Spieler benutzt den bestehenden Join-Pfad und dessen gesperrte/belegte
Plätze, keinen zweiten Startflow. Aufgeben zeigt eine revisionsgebundene
Bestätigung: Bei weiteren Menschen übernimmt die KI das bisherige Team;
beim letzten Menschen endet die Sitzung mit `last_human_resigned`. Identität,
Amtszeiten und historische Titel bleiben im separat paginierten `manager_archive`. Das aktive
Vier-Slot-Limit ist kein Limit für historische Personen. Das Ergebnis enthält
AI-Handover, neue aktive Person oder `null`, `sessionState` und `terminationReason`.
**Das ist der neue Nutzervertrag, keine hier implementierte Enginelogik.**
Der neue HTML-Kontext `role` wird auf den DTO-Scope, `surface` auf das
Matchformat und `managerPortrait` ausschließlich auf GUI-Porträtbindung abgebildet.
Die Dummy-Porträtnummer erzeugt keine dauerhafte Engine-Manager-ID. Aktuell
normalisiert HTML die Nationalrolle auf Outdoor; ein künftiger Enginecommand
muss einen nicht unterstützten National-/Indoor-Kontext ausdrücklich ablehnen,
statt eine andere Sportart heimlich zu simulieren.
Die 0.3-Auswahl erlaubt derzeit deutsche Vereinsmanager und die belegte
Deutschland-Nationalrolle; ausländische Clubs bzw. andere Nationaltrainer sind
nicht pauschal als wählbar anzunehmen. Im National-Schreibtisch sind TOTO,
Bank, Trainingslager, Training und Stadion durch den vorhandenen Enginekontext
gesperrt (`ui/desk_state.cpp`); zusätzliche POC-Sperren für Sponsoren, Transfers,
Verträge und Umfeld sind davon getrennte UI-Policy. `menuAvailability` trägt den
konkreten Grund, statt nur `club=null` zu deuten. Der synthetische National-
Managerfall steht für diese Deutschland-kompatible Rolle; andere Nationalteams
bleiben als Gegner darstellbar.
Indoor unterscheidet `rosterSize`, `rosterLimit`, `onFieldCount`,
`onFieldLimit` und `benchLimit`. Belegt sind sechs Personen auf dem Feld und elf
Kaderplätze (`game/lineup.cpp`); eine 11er-Feldregel aus der Outdooransicht darf
nicht übernommen werden. `benchLimit=5` im Fixture ist die restliche
Kapazitätsaufteilung des synthetischen 11/6-Beispiels, keine Aussage über einen
neuen Wechselmodus. Wechselanzahl und Wiedereinwechselbarkeit bleiben D11.
## Pagination, Live und Nachspiel
Listen haben max. 200 Zeilen pro Seite. Cursor sind opak und binden Filter,
Sortierung, Owner, Revision und die letzte stabile ID. Sortieren findet vor dem
Paginieren statt, gleiche Metrik hat einen ausdrücklich bestimmten Rang und
ID-Tiebreak. Top-3-Karten und Restliste müssen denselben Snapshot verwenden.
Ein alter Cursor führt zu `invalid_cursor`/Neuabfrage statt zu Mischständen.
Das Schema validiert die Form, nicht die Serversemantik eines Cursors.
Live liefert `presentationId`, `scopeToken`, monotone `sequence`, Match-/Event-
IDs, beobachtete Spiele und Managerbezüge. Ein Managerwechsel, Nachspiel oder
Halbzeitwechsel darf einen alten Eingriff nicht neu zuordnen. Verlorene oder
falsch geordnete Deltas verlangen Resync; Wiederholung darf keine Tore doppeln.
Präsentationspause/Abspieltempo und Engine-Fortschritt bleiben getrennt.
Postmatch enthält die fünf vorhandenen HTML-Schritte Ergebnisse, Bericht,
Elf des Tages, Übersicht und Tabelle. Rückblick/Seek verändert keine Saison.
Nur `postmatch.continue` mit passendem Fortsetzungstoken darf die Engine genau
einmal fortsetzen. Auszeichnungen und Tabellen sind autoritative Projektionen;
keine UI-Torformel, 3-Punkte-Regel oder nominierte Elf wird nachgerechnet.
Welche Schritte in Pokal/National/Indoor verfügbar sind, liefert Capability
statt eines leeren, scheinbar fertigen Ligabilds.
## Übergabe und Abnahme
Claude kann zunächst Umschlag/IDs/Einheiten und die P0-Entscheidungen festlegen,
dann je Menü einen Sessionadapter samt Read-/Command-Tests liefern. Root bindet
die native UI daran an. Die bestehenden Enginefunktionen und Classic bleiben
hier unverändert. Je Lieferung sind Quelle, unterstützte Kontexte, Fehler,
Revision, RNG-Unveränderlichkeit der Reads und atomare Negativfälle nachzuweisen.
Eine bestandene Schema-QA bestätigt nur diesen Vertragsentwurf, keinen bereits
lauffähigen Engineadapter, kein OBS-Migrationsformat und keine native Match-QA.
Die Schemadatei und alle Beispiel-DTOs lassen sich ohne Engine oder Spieldaten
mit den Generatoren unter `tools/` reproduzieren. Der Validator benötigt Python
mit `jsonschema`; er validiert ausschließlich diese begrenzten Designfixtures.
@@ -0,0 +1,108 @@
{
"messageType": "snapshot",
"requestId": "request:example-advertising",
"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": "advertising",
"teamId": "club:harbor",
"slots": [
{
"id": "advert-slot:board1",
"kind": "boards",
"sponsorId": null,
"sponsorName": null,
"monthly": null,
"remainingMonths": null,
"available": true
}
],
"offers": [
{
"id": "quote:synthetic-advert",
"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": "month",
"chargesNow": {
"minor": "0",
"currency": "EUR",
"minorUnits": 2
},
"breakdown": [
{
"code": "synthetic_cost",
"amount": {
"minor": "12000000",
"currency": "EUR",
"minorUnits": 2
}
}
],
"allowed": true,
"reasonCode": null
}
],
"budgets": [
{
"id": "budget:fan-items",
"label": {
"key": null,
"text": "Fanartikel",
"locale": "de",
"args": {}
},
"amount": {
"minor": "500000",
"currency": "EUR",
"minorUnits": 2
},
"period": "month"
}
]
}
}
@@ -0,0 +1,676 @@
{
"kind": "correction",
"id": "correction:synthetic-1",
"targetId": "match:et-a-b",
"operation": "replace",
"supersedesId": null,
"recordedOn": "2027-03-16",
"effectiveOn": "2027-03-15",
"reason": {
"key": null,
"text": "Synthetische Ergebniskorrektur",
"locale": "de",
"args": {}
},
"archiveDigest": "0000000000000000000000000000000000000000000000000000000000000000",
"replacementMatch": {
"kind": "match",
"id": "match:et-a-b",
"fixtureId": "fixture:et-a-b",
"seasonId": "season:2026-27",
"date": "2027-03-15",
"competition": {
"id": "comp:synthetic-domestic_cup",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb domestic_cup",
"locale": "de",
"args": {}
},
"kind": "domestic_cup",
"editionId": "edition:synthetic-domestic_cup-2026-27",
"stageId": "stage:synthetic-final",
"nationId": null,
"rulesId": "rules:synthetic-domestic_cup"
},
"roundId": "round:synthetic-final",
"mode": "outdoor",
"home": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"managerIdsBySide": {
"home": "manager:career-demo-1",
"away": "manager:career-demo-2"
},
"result": {
"status": "completed",
"decision": "extra_time",
"regulation": {
"home": 1,
"away": 1
},
"extra": {
"home": 0,
"away": 1
},
"final": {
"home": 1,
"away": 2
},
"shootout": null,
"extraTimePlayed": true,
"winnerTeamId": "club:forest",
"countedForTable": false
},
"clock": {
"periodId": "period:extra-second",
"elapsedSeconds": null,
"minute": 120,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "120′",
"locale": "de",
"args": {}
}
},
"onFieldCounts": {
"home": 11,
"away": 11
},
"rules": {
"rulesId": "rules:synthetic-outdoor",
"periods": [
{
"id": "period:first",
"kind": "first_half",
"nominalSeconds": 2700
},
{
"id": "period:second",
"kind": "second_half",
"nominalSeconds": 2700
},
{
"id": "period:extra-first",
"kind": "extra_first",
"nominalSeconds": 900
},
{
"id": "period:extra-second",
"kind": "extra_second",
"nominalSeconds": 900
}
],
"rosterLimit": 24,
"onFieldLimit": 11,
"benchLimit": 6,
"substitutionLimit": 3,
"directShootout": false
},
"referee": {
"id": null,
"name": "Testschiedsrichter"
},
"attendance": 0,
"weather": {
"temperatureCelsius": 0,
"rainScale0To7": 0
},
"lineups": [
{
"teamId": "club:harbor",
"starters": [
{
"id": "player:harbor-0",
"name": "Testperson harbor 0",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"gk"
],
"shirtNumber": 1
},
{
"id": "player:harbor-1",
"name": "Testperson harbor 1",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 2
},
{
"id": "player:harbor-2",
"name": "Testperson harbor 2",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 3
},
{
"id": "player:harbor-3",
"name": "Testperson harbor 3",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 4
},
{
"id": "player:harbor-4",
"name": "Testperson harbor 4",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 5
},
{
"id": "player:harbor-5",
"name": "Testperson harbor 5",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 6
},
{
"id": "player:harbor-6",
"name": "Testperson harbor 6",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 7
},
{
"id": "player:harbor-7",
"name": "Testperson harbor 7",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 8
},
{
"id": "player:harbor-8",
"name": "Testperson harbor 8",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 9
},
{
"id": "player:harbor-9",
"name": "Testperson harbor 9",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 10
},
{
"id": "player:harbor-10",
"name": "Testperson harbor 10",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 11
}
],
"bench": [
{
"id": "player:harbor-11",
"name": "Testperson harbor 11",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 12
},
{
"id": "player:harbor-12",
"name": "Testperson harbor 12",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 13
},
{
"id": "player:harbor-13",
"name": "Testperson harbor 13",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 14
}
],
"classificationKnown": true,
"rosterSize": 14,
"onFieldCount": 11,
"onFieldLimit": 11,
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
}
},
{
"teamId": "club:forest",
"starters": [
{
"id": "player:forest-0",
"name": "Testperson forest 0",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"gk"
],
"shirtNumber": 1
},
{
"id": "player:forest-1",
"name": "Testperson forest 1",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 2
},
{
"id": "player:forest-2",
"name": "Testperson forest 2",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 3
},
{
"id": "player:forest-3",
"name": "Testperson forest 3",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 4
},
{
"id": "player:forest-4",
"name": "Testperson forest 4",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 5
},
{
"id": "player:forest-5",
"name": "Testperson forest 5",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 6
},
{
"id": "player:forest-6",
"name": "Testperson forest 6",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 7
},
{
"id": "player:forest-7",
"name": "Testperson forest 7",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 8
},
{
"id": "player:forest-8",
"name": "Testperson forest 8",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 9
},
{
"id": "player:forest-9",
"name": "Testperson forest 9",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 10
},
{
"id": "player:forest-10",
"name": "Testperson forest 10",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 11
}
],
"bench": [
{
"id": "player:forest-11",
"name": "Testperson forest 11",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 12
},
{
"id": "player:forest-12",
"name": "Testperson forest 12",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 13
},
{
"id": "player:forest-13",
"name": "Testperson forest 13",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 14
}
],
"classificationKnown": true,
"rosterSize": 14,
"onFieldCount": 11,
"onFieldLimit": 11,
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
}
}
],
"events": [
{
"id": "event:et-a-b-1",
"eventRevision": "1",
"sequence": "1",
"kind": "goal",
"teamId": "club:harbor",
"actorPlayerId": "player:harbor-10",
"otherPlayerId": null,
"clock": {
"periodId": "period:first",
"elapsedSeconds": null,
"minute": 10,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "10′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "club:harbor",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 1",
"locale": "de",
"args": {}
}
},
{
"id": "event:et-a-b-2",
"eventRevision": "1",
"sequence": "2",
"kind": "goal",
"teamId": "club:forest",
"actorPlayerId": "player:forest-9",
"otherPlayerId": null,
"clock": {
"periodId": "period:first",
"elapsedSeconds": null,
"minute": 45,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "45′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "club:forest",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 2",
"locale": "de",
"args": {}
}
},
{
"id": "event:et-a-b-3",
"eventRevision": "1",
"sequence": "3",
"kind": "yellow",
"teamId": "club:harbor",
"actorPlayerId": "player:harbor-3",
"otherPlayerId": null,
"clock": {
"periodId": "period:second",
"elapsedSeconds": null,
"minute": 50,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "50′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": null,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 3",
"locale": "de",
"args": {}
}
},
{
"id": "event:et-a-b-4",
"eventRevision": "1",
"sequence": "4",
"kind": "substitution",
"teamId": "club:harbor",
"actorPlayerId": "player:harbor-11",
"otherPlayerId": "player:harbor-7",
"clock": {
"periodId": "period:second",
"elapsedSeconds": null,
"minute": 60,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "60′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": null,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 4",
"locale": "de",
"args": {}
}
},
{
"id": "event:et-a-b-5",
"eventRevision": "2",
"sequence": "5",
"kind": "goal",
"teamId": "club:forest",
"actorPlayerId": "player:forest-10",
"otherPlayerId": null,
"clock": {
"periodId": "period:extra-second",
"elapsedSeconds": null,
"minute": 110,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "110′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "club:forest",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 5",
"locale": "de",
"args": {}
}
}
],
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
},
"countingPolicyId": "rules:synthetic-match-counting"
},
"effectiveProjectionRevision": "41"
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,121 @@
{
"messageType": "snapshot",
"requestId": "request:example-balance",
"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": "balance",
"accounts": {
"cash": {
"minor": "250000000",
"currency": "EUR",
"minorUnits": 2
},
"savings": {
"minor": "30000000",
"currency": "EUR",
"minorUnits": 2
},
"debt": {
"minor": "7500000",
"currency": "EUR",
"minorUnits": 2
},
"netAssets": {
"minor": "272500000",
"currency": "EUR",
"minorUnits": 2
}
},
"ledger": [
{
"id": "ledger:synthetic-gate",
"transactionId": "transaction:synthetic-match-1",
"date": "2027-03-15",
"effectiveDate": "2027-03-15",
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"account": "cash",
"category": "gate_receipts",
"amount": {
"minor": "12000000",
"currency": "EUR",
"minorUnits": 2
},
"counterpartyId": null,
"fixtureId": "fixture:et-a-b",
"reversalOf": null,
"text": {
"key": null,
"text": "Eintrittseinnahmen",
"locale": "de",
"args": {}
}
}
],
"forecast": [
{
"periodStart": "2027-04-01",
"periodEnd": "2027-04-30",
"category": "salary",
"amount": {
"minor": "-30000000",
"currency": "EUR",
"minorUnits": 2
},
"scenarioId": "scenario:plan-1"
}
],
"actualThrough": "2027-03-15",
"page": {
"limit": 200,
"cursor": null,
"nextCursor": null,
"snapshotRevision": "40",
"total": null,
"sort": [
{
"field": "id",
"direction": "asc"
}
]
}
}
}
+207
View File
@@ -0,0 +1,207 @@
{
"messageType": "snapshot",
"requestId": "request:example-bank",
"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": "bank",
"accounts": {
"cash": {
"minor": "250000000",
"currency": "EUR",
"minorUnits": 2
},
"savings": {
"minor": "30000000",
"currency": "EUR",
"minorUnits": 2
},
"debt": {
"minor": "7500000",
"currency": "EUR",
"minorUnits": 2
},
"netAssets": {
"minor": "272500000",
"currency": "EUR",
"minorUnits": 2
}
},
"savingsRateAnnual": {
"value": 3,
"unit": "percent",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"properties": [
{
"id": "property:synthetic-1",
"name": {
"key": null,
"text": "Beispielgebäude",
"locale": "de",
"args": {}
},
"ownedUnits": 1,
"buyPrice": {
"minor": "100000000",
"currency": "EUR",
"minorUnits": 2
},
"sellPrice": {
"minor": "95000000",
"currency": "EUR",
"minorUnits": 2
},
"rentMonthly": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
}
}
],
"stocks": [
{
"id": "stock:synthetic-1",
"name": {
"key": null,
"text": "Beispiel-Aktie",
"locale": "de",
"args": {}
},
"ownedUnits": 100,
"unitPrice": {
"minor": "1234",
"currency": "EUR",
"minorUnits": 2
},
"series": [
{
"minor": "1200",
"currency": "EUR",
"minorUnits": 2
},
{
"minor": "1234",
"currency": "EUR",
"minorUnits": 2
}
]
}
],
"credit": {
"outstanding": {
"minor": "7500000",
"currency": "EUR",
"minorUnits": 2
},
"limit": {
"minor": "20000000",
"currency": "EUR",
"minorUnits": 2
},
"rateAnnual": {
"value": 8,
"unit": "percent",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"schedule": [
{
"dueOn": "2027-04-01",
"principal": {
"minor": "1000000",
"currency": "EUR",
"minorUnits": 2
},
"interest": {
"minor": "50000",
"currency": "EUR",
"minorUnits": 2
},
"balanceAfter": {
"minor": "6500000",
"currency": "EUR",
"minorUnits": 2
}
}
]
},
"quote": {
"id": "quote:synthetic-bank",
"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
}
}
}
@@ -0,0 +1,105 @@
{
"messageType": "snapshot",
"requestId": "request:example-calendar",
"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": "calendar",
"from": "2027-03-01",
"until": "2027-03-31",
"days": [
{
"date": "2027-03-22",
"fixtureIds": [
"fixture:league-12-a-b"
],
"eventKinds": [
"league"
],
"canSchedule": false,
"reasonCode": "occupied"
}
],
"fixtures": [
{
"id": "fixture:league-12-a-b",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
}
]
}
}
+142
View File
@@ -0,0 +1,142 @@
{
"messageType": "snapshot",
"requestId": "request:example-camps",
"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": "camps",
"maps": [
{
"id": "map:synthetic-de",
"name": {
"key": null,
"text": "Deutschland",
"locale": "de",
"args": {}
},
"guiAssetKey": "gui:map/de",
"width": null,
"height": null
}
],
"camps": [
{
"id": "resort:synthetic-1",
"mapId": "map:synthetic-de",
"name": {
"key": null,
"text": "Trainingszentrum Beispiel",
"locale": "de",
"args": {}
},
"place": "Beispielort",
"nationId": "nation:synthetic-de",
"position": null,
"quality": {
"pitch": 6,
"fitness": 5,
"catering": 4,
"lodging": 3
},
"guiImageKey": "gui:camp/1",
"worldImageAssetId": null,
"quote": {
"id": "quote:synthetic-camp",
"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": "base",
"amount": {
"minor": "2000000",
"currency": "EUR",
"minorUnits": 2
}
},
{
"code": "squad",
"amount": {
"minor": "10000000",
"currency": "EUR",
"minorUnits": 2
}
}
],
"allowed": true,
"reasonCode": null
}
}
],
"focus": {
"condition": 5,
"technique": 5,
"play": 5,
"recovery": {
"value": null,
"unit": "rating",
"scale": null,
"availability": {
"status": "unavailable",
"reasonCode": "not_recorded",
"missingFields": [
"value"
]
}
}
},
"staysThisSeason": 1,
"seasonLimit": 3,
"bookedThisWeek": false
}
}
@@ -0,0 +1,120 @@
{
"messageType": "command",
"requestId": "request:command-career-start",
"careerId": "career:synthetic-demo",
"worldId": "world:synthetic-demo",
"expectedRevision": "40",
"owner": {
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"role": "club",
"scopeId": "scope:desk-40-0",
"allowedCommands": [
"session.advance",
"lineup.commit",
"manager.resign.commit"
]
},
"scopeToken": null,
"kind": "career.start",
"payload": {
"setup": {
"players": 4,
"durationSeasons": 3,
"difficultyId": "difficulty:synthetic-normal",
"modeId": "mode:synthetic-club",
"leagueEnabled": true,
"nationalEnabled": true
},
"managers": [
{
"id": "manager:career-demo-1",
"slot": 0,
"name": "Testmanager 1",
"control": "human",
"status": "active",
"teamId": "club:harbor",
"portraitGuiKey": "gui:manager/photo/1",
"portraitStyle": "photo",
"strengthChoice": 1,
"employments": [
{
"id": "employment:demo-1",
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"role": "club_manager",
"from": "2026-07-01",
"until": null,
"endReason": null
}
]
},
{
"id": "manager:career-demo-2",
"slot": 1,
"name": "Testmanager 2",
"control": "human",
"status": "active",
"teamId": "club:forest",
"portraitGuiKey": "gui:manager/photo/2",
"portraitStyle": "photo",
"strengthChoice": 1,
"employments": [
{
"id": "employment:demo-2",
"managerId": "manager:career-demo-2",
"teamId": "club:forest",
"role": "club_manager",
"from": "2026-07-01",
"until": null,
"endReason": null
}
]
},
{
"id": "manager:career-demo-3",
"slot": 2,
"name": "Testmanager 3",
"control": "human",
"status": "active",
"teamId": "national:north",
"portraitGuiKey": "gui:manager/photo/3",
"portraitStyle": "photo",
"strengthChoice": 1,
"employments": [
{
"id": "employment:demo-3",
"managerId": "manager:career-demo-3",
"teamId": "national:north",
"role": "national_coach",
"from": "2026-07-01",
"until": null,
"endReason": null
}
]
},
{
"id": "manager:career-demo-4",
"slot": 3,
"name": "Testmanager 4",
"control": "human",
"status": "active",
"teamId": "club:hill",
"portraitGuiKey": "gui:manager/photo/4",
"portraitStyle": "photo",
"strengthChoice": 1,
"employments": [
{
"id": "employment:demo-4",
"managerId": "manager:career-demo-4",
"teamId": "club:hill",
"role": "club_manager",
"from": "2026-07-01",
"until": null,
"endReason": null
}
]
}
]
}
}
@@ -0,0 +1,24 @@
{
"messageType": "command",
"requestId": "request:command-live-substitute",
"careerId": "career:synthetic-demo",
"worldId": "world:synthetic-demo",
"expectedRevision": "40",
"owner": {
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"role": "club",
"scopeId": "scope:desk-40-0",
"allowedCommands": [
"live.substitute",
"live.tactics"
]
},
"scopeToken": "scope:live-40-matchday-12",
"kind": "live.substitute",
"payload": {
"matchId": "match:et-a-b",
"outPlayerId": "player:harbor-8",
"inPlayerId": "player:harbor-12"
}
}
@@ -0,0 +1,24 @@
{
"messageType": "command",
"requestId": "request:command-manager-resign-commit",
"careerId": "career:synthetic-demo",
"worldId": "world:synthetic-demo",
"expectedRevision": "40",
"owner": {
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"role": "club",
"scopeId": "scope:desk-40-0",
"allowedCommands": [
"session.advance",
"lineup.commit",
"manager.resign.commit"
]
},
"scopeToken": null,
"kind": "manager.resign.commit",
"payload": {
"confirmationToken": "confirm:resign-manager-1-r40",
"confirmed": true
}
}
@@ -0,0 +1,431 @@
{
"messageType": "snapshot",
"requestId": "request:example-contracts",
"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": "contracts",
"teamId": "club:harbor",
"players": [
{
"playerId": "player:harbor-0",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-1",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-2",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-3",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-4",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-5",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-6",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-7",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-8",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-9",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-10",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-11",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-12",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-13",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-14",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-15",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-16",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-17",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-18",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
},
{
"playerId": "player:harbor-19",
"salaryMonthly": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"remainingMonths": 15,
"insuranceMonths": 12,
"insuranceFee": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"offerAllowed": true,
"reasonCode": null
}
],
"teamBonuses": [
{
"id": "bonus:synthetic-win",
"amount": {
"minor": "100000",
"currency": "EUR",
"minorUnits": 2
},
"basis": "win"
}
],
"quote": {
"id": "quote:synthetic-contract",
"ownerManagerId": "manager:career-demo-1",
"teamId": "club:harbor",
"expectedRevision": "40",
"scopeId": "scope:desk-40-0",
"expiresOn": "2027-03-15",
"total": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
},
"totalBasis": "month",
"chargesNow": {
"minor": "0",
"currency": "EUR",
"minorUnits": 2
},
"breakdown": [
{
"code": "salary_monthly",
"amount": {
"minor": "1500000",
"currency": "EUR",
"minorUnits": 2
}
}
],
"allowed": true,
"reasonCode": null
}
}
}
@@ -0,0 +1,239 @@
{
"messageType": "snapshot",
"requestId": "request:example-desktop",
"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": "desktop",
"manager": {
"id": "manager:career-demo-1",
"slot": 0,
"name": "Testmanager 1",
"control": "human",
"status": "active",
"teamId": "club:harbor",
"portraitGuiKey": "gui:manager/photo/1",
"portraitStyle": "photo",
"strengthChoice": 1,
"employments": [
{
"id": "employment:demo-1",
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"role": "club_manager",
"from": "2026-07-01",
"until": null,
"endReason": null
}
]
},
"team": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"accounts": {
"cash": {
"minor": "250000000",
"currency": "EUR",
"minorUnits": 2
},
"savings": {
"minor": "30000000",
"currency": "EUR",
"minorUnits": 2
},
"debt": {
"minor": "7500000",
"currency": "EUR",
"minorUnits": 2
},
"netAssets": {
"minor": "272500000",
"currency": "EUR",
"minorUnits": 2
}
},
"nextFixture": {
"id": "fixture:league-12-a-b",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
},
"menuAvailability": {
"training": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"camps": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"bank": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"stadium": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"toto": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"transfer": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"contracts": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"advertising": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"environment": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"nextAction": {
"id": "continue:desktop-40",
"kind": "next_manager",
"enabled": true,
"reasonCode": null
},
"warnings": [
{
"code": "squad_injury",
"severity": "warning",
"text": {
"key": null,
"text": "Eine Person ist verletzt.",
"locale": "de",
"args": {}
},
"targetReadKind": "squad"
}
],
"widgets": [
{
"id": "widget:cash",
"metric": null,
"money": {
"minor": "250000000",
"currency": "EUR",
"minorUnits": 2
},
"series": [
{
"date": "2027-03-01",
"metric": null,
"money": {
"minor": "230000000",
"currency": "EUR",
"minorUnits": 2
}
},
{
"date": "2027-03-15",
"metric": null,
"money": {
"minor": "250000000",
"currency": "EUR",
"minorUnits": 2
}
}
],
"entityId": "club:harbor"
}
]
}
}
@@ -0,0 +1,152 @@
{
"messageType": "snapshot",
"requestId": "request:example-desktop",
"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-3",
"teamId": "national:north",
"role": "national",
"scopeId": "scope:desk-40-2",
"allowedCommands": [
"session.advance",
"lineup.commit",
"manager.resign.commit"
]
},
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "desktop",
"manager": {
"id": "manager:career-demo-3",
"slot": 2,
"name": "Testmanager 3",
"control": "human",
"status": "active",
"teamId": "national:north",
"portraitGuiKey": "gui:manager/photo/3",
"portraitStyle": "photo",
"strengthChoice": 1,
"employments": [
{
"id": "employment:demo-3",
"managerId": "manager:career-demo-3",
"teamId": "national:north",
"role": "national_coach",
"from": "2026-07-01",
"until": null,
"endReason": null
}
]
},
"team": {
"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"
},
"accounts": null,
"nextFixture": null,
"menuAvailability": {
"training": {
"status": "unavailable",
"reasonCode": "national_engine_desk_lock",
"missingFields": [
"data"
]
},
"camps": {
"status": "unavailable",
"reasonCode": "national_engine_desk_lock",
"missingFields": [
"data"
]
},
"bank": {
"status": "unavailable",
"reasonCode": "national_engine_desk_lock",
"missingFields": [
"data"
]
},
"stadium": {
"status": "unavailable",
"reasonCode": "national_engine_desk_lock",
"missingFields": [
"data"
]
},
"toto": {
"status": "unavailable",
"reasonCode": "national_engine_desk_lock",
"missingFields": [
"data"
]
},
"transfer": {
"status": "unavailable",
"reasonCode": "national_ui_policy",
"missingFields": [
"data"
]
},
"contracts": {
"status": "unavailable",
"reasonCode": "national_ui_policy",
"missingFields": [
"data"
]
},
"advertising": {
"status": "unavailable",
"reasonCode": "national_ui_policy",
"missingFields": [
"data"
]
},
"environment": {
"status": "unavailable",
"reasonCode": "national_ui_policy",
"missingFields": [
"data"
]
}
},
"nextAction": {
"id": "continue:desktop-40",
"kind": "next_manager",
"enabled": true,
"reasonCode": null
},
"warnings": [],
"widgets": []
}
}
File diff suppressed because it is too large. Load diff
+127
View File
@@ -0,0 +1,127 @@
{
"messageType": "snapshot",
"requestId": "request:example-entry",
"meta": {
"contractVersion": "bmh-modern-ui@draft1",
"draft": true,
"sourceRevision": "a207b0129e06f0659a5e7b30afa3680739a33029",
"careerId": null,
"worldId": "world:synthetic-demo",
"worldRevision": "fixture-1",
"stateRevision": "0",
"projectionRevision": "0",
"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": null,
"teamId": null,
"role": "session",
"scopeId": "scope:library",
"allowedCommands": []
},
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "entry",
"setup": {
"durationOptions": [
1,
2,
3,
4,
5
],
"difficultyOptions": [
{
"id": "difficulty:synthetic-normal",
"label": {
"key": null,
"text": "Normal",
"locale": "de",
"args": {}
}
}
],
"modeOptions": [
{
"id": "mode:synthetic-club",
"label": {
"key": null,
"text": "Verein",
"locale": "de",
"args": {}
}
}
],
"minManagers": 1,
"maxManagers": 4,
"leagueAvailable": true,
"nationalAvailable": true
},
"teams": [
{
"team": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"competitionId": "comp:synthetic-league",
"manageable": true,
"reasonCode": null
},
{
"team": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"competitionId": "comp:synthetic-league",
"manageable": false,
"reasonCode": "human_already_owned"
}
],
"portraits": [
{
"guiKey": "gui:manager/photo/1",
"style": "photo",
"available": true
}
],
"page": {
"limit": 200,
"cursor": null,
"nextCursor": null,
"snapshotRevision": "0",
"total": null,
"sort": [
{
"field": "id",
"direction": "asc"
}
]
}
}
}
@@ -0,0 +1,101 @@
{
"messageType": "snapshot",
"requestId": "request:example-environment",
"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": "environment",
"teamId": "club:harbor",
"services": [
{
"id": "service:youth",
"label": {
"key": null,
"text": "Jugendförderung",
"locale": "de",
"args": {}
},
"stars": 6,
"monthlyCost": {
"minor": "300000",
"currency": "EUR",
"minorUnits": 2
},
"effect": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
],
"youthCandidates": [],
"quote": {
"id": "quote:synthetic-environment",
"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
}
}
}
@@ -0,0 +1,14 @@
{
"messageType": "error",
"requestId": "request:command-resign",
"code": "stale_revision",
"message": {
"key": null,
"text": "Die Ansicht ist veraltet. Bitte neu laden.",
"locale": "de",
"args": {}
},
"currentRevision": "41",
"retryable": true,
"stateChanged": false
}
@@ -0,0 +1,81 @@
{
"messageType": "snapshot",
"requestId": "request:example-files",
"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": "files",
"entries": [
{
"id": "save:synthetic-1",
"worldId": "world:synthetic-demo",
"careerId": "career:synthetic-demo",
"name": "Beispielkarriere",
"kind": "career",
"modifiedAt": "2027-03-15T12:00:00Z",
"seasonId": "season:2026-27",
"date": "2027-03-15",
"managerIds": [
"manager:career-demo-1",
"manager:career-demo-2",
"manager:career-demo-3",
"manager:career-demo-4"
],
"previewAssetId": null,
"token": "file-token:synthetic-1",
"isDefault": false
}
],
"page": {
"limit": 200,
"cursor": null,
"nextCursor": null,
"snapshotRevision": "40",
"total": null,
"sort": [
{
"field": "id",
"direction": "asc"
}
]
},
"provider": "engine_career"
}
}
+271
View File
@@ -0,0 +1,271 @@
{
"fixtures": [
{
"file": "session-four-managers.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "desktop-club.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "desktop-national.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "manager-resign-preview.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "manager-resign-ai-handover.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "manager-last-human-game-end.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "manager-archive.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "session-after-last-resign.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "command-resign.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "command-career-start.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "squad.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "lineup.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "tactics.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "training.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "camps.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "reports.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "calendar.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "scheduling.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "transfer.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "contracts.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "bank.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "balance.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "advertising.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "environment.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "stadium.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "toto.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "news.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "settings.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "files.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "opening.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "match-extra-time.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "match-national-shootout.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "match-indoor.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "match-legacy-unknown-phases.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "live-ticker.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "command-live-substitution.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "postmatch.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "statistics.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "statistics-fairplay.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "statistics-achievements.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "statistics-highscore.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "statistics-transfer_history.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "statistics-season_finance.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "statistics-minute_buckets.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "almanac.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "almanac-correction.json",
"schemaRef": "#/$defs/Correction",
"synthetic": true
},
{
"file": "query-page.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "error-stale-revision.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "library.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "entry.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "entity.json",
"schemaRef": "#",
"synthetic": true
},
{
"file": "press-event.json",
"schemaRef": "#/$defs/PressEvent",
"synthetic": true
},
{
"file": "press-article.json",
"schemaRef": "#/$defs/Article",
"synthetic": true
}
],
"allSynthetic": true,
"notEngineGold": true
}
@@ -0,0 +1,77 @@
{
"messageType": "snapshot",
"requestId": "request:example-library",
"meta": {
"contractVersion": "bmh-modern-ui@draft1",
"draft": true,
"sourceRevision": "a207b0129e06f0659a5e7b30afa3680739a33029",
"careerId": null,
"worldId": null,
"worldRevision": "fixture-1",
"stateRevision": "0",
"projectionRevision": "0",
"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": null,
"teamId": null,
"role": "session",
"scopeId": "scope:library",
"allowedCommands": []
},
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "library",
"activeWorldId": null,
"entries": [
{
"id": "mod:synthetic",
"worldId": "world:synthetic-demo",
"name": "Synthetische Beispielwelt",
"format": "modern",
"version": "1.0",
"description": {
"key": null,
"text": "Ausschließlich Testdaten",
"locale": "de",
"args": {}
},
"installed": true,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
],
"page": {
"limit": 200,
"cursor": null,
"nextCursor": null,
"snapshotRevision": "0",
"total": null,
"sort": [
{
"field": "id",
"direction": "asc"
}
]
}
}
}
@@ -0,0 +1,447 @@
{
"messageType": "snapshot",
"requestId": "request:example-lineup",
"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": "lineup",
"teamId": "club:harbor",
"formationId": "formation:synthetic-442",
"order": [
"player:harbor-0",
"player:harbor-1",
"player:harbor-2",
"player:harbor-3",
"player:harbor-4",
"player:harbor-5",
"player:harbor-6",
"player:harbor-7",
"player:harbor-8",
"player:harbor-9",
"player:harbor-10",
"player:harbor-11",
"player:harbor-12",
"player:harbor-13",
"player:harbor-14",
"player:harbor-15",
"player:harbor-16",
"player:harbor-17",
"player:harbor-18",
"player:harbor-19"
],
"positions": [
{
"playerId": "player:harbor-0",
"x": 0.1,
"y": 0.1
},
{
"playerId": "player:harbor-1",
"x": 0.30000000000000004,
"y": 0.1
},
{
"playerId": "player:harbor-2",
"x": 0.5,
"y": 0.1
},
{
"playerId": "player:harbor-3",
"x": 0.7000000000000001,
"y": 0.1
},
{
"playerId": "player:harbor-4",
"x": 0.1,
"y": 0.4
},
{
"playerId": "player:harbor-5",
"x": 0.30000000000000004,
"y": 0.4
},
{
"playerId": "player:harbor-6",
"x": 0.5,
"y": 0.4
},
{
"playerId": "player:harbor-7",
"x": 0.7000000000000001,
"y": 0.4
},
{
"playerId": "player:harbor-8",
"x": 0.1,
"y": 0.7
},
{
"playerId": "player:harbor-9",
"x": 0.30000000000000004,
"y": 0.7
},
{
"playerId": "player:harbor-10",
"x": 0.5,
"y": 0.7
}
],
"takers": {
"penalty": "player:harbor-10",
"freeKick": "player:harbor-9",
"corner": "player:harbor-8"
},
"instructions": [
{
"playerId": "player:harbor-0",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-1",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-2",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-3",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-4",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-5",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-6",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-7",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-8",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-9",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-10",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-11",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-12",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-13",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-14",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-15",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-16",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-17",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-18",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
{
"playerId": "player:harbor-19",
"values": {
"pressing": {
"value": 1,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
}
],
"savedFormations": [
{
"id": "formation:synthetic-custom1",
"name": {
"key": null,
"text": "Eigene Aufstellung",
"locale": "de",
"args": {}
},
"editable": true
}
],
"liveScopeToken": null
}
}
@@ -0,0 +1,708 @@
{
"messageType": "snapshot",
"requestId": "request:example-live",
"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": "live",
"presentationId": "presentation:matchday-12",
"scopeToken": "scope:live-40-matchday-12",
"lastSequence": "4",
"managerGames": [
{
"managerId": "manager:career-demo-1",
"matchId": "match:et-a-b",
"teamId": "club:harbor"
},
{
"managerId": "manager:career-demo-2",
"matchId": "match:et-a-b",
"teamId": "club:forest"
}
],
"watchedMatchIds": [
"match:et-a-b"
],
"focusMatchId": "match:et-a-b",
"matches": [
{
"kind": "match",
"id": "match:et-a-b",
"fixtureId": "fixture:et-a-b",
"seasonId": "season:2026-27",
"date": "2027-03-15",
"competition": {
"id": "comp:synthetic-domestic_cup",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb domestic_cup",
"locale": "de",
"args": {}
},
"kind": "domestic_cup",
"editionId": "edition:synthetic-domestic_cup-2026-27",
"stageId": "stage:synthetic-final",
"nationId": null,
"rulesId": "rules:synthetic-domestic_cup"
},
"roundId": "round:synthetic-final",
"mode": "outdoor",
"home": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"managerIdsBySide": {
"home": "manager:career-demo-1",
"away": "manager:career-demo-2"
},
"result": {
"status": "live",
"decision": "unknown",
"regulation": null,
"extra": null,
"final": {
"home": 1,
"away": 1
},
"shootout": null,
"extraTimePlayed": null,
"winnerTeamId": null,
"countedForTable": false
},
"clock": {
"periodId": "period:second",
"elapsedSeconds": null,
"minute": 70,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "70′",
"locale": "de",
"args": {}
}
},
"onFieldCounts": {
"home": 11,
"away": 11
},
"rules": {
"rulesId": "rules:synthetic-outdoor",
"periods": [
{
"id": "period:first",
"kind": "first_half",
"nominalSeconds": 2700
},
{
"id": "period:second",
"kind": "second_half",
"nominalSeconds": 2700
},
{
"id": "period:extra-first",
"kind": "extra_first",
"nominalSeconds": 900
},
{
"id": "period:extra-second",
"kind": "extra_second",
"nominalSeconds": 900
}
],
"rosterLimit": 24,
"onFieldLimit": 11,
"benchLimit": 6,
"substitutionLimit": 3,
"directShootout": false
},
"referee": {
"id": null,
"name": "Testschiedsrichter"
},
"attendance": 0,
"weather": {
"temperatureCelsius": 0,
"rainScale0To7": 0
},
"lineups": [
{
"teamId": "club:harbor",
"starters": [
{
"id": "player:harbor-0",
"name": "Testperson harbor 0",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"gk"
],
"shirtNumber": 1
},
{
"id": "player:harbor-1",
"name": "Testperson harbor 1",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 2
},
{
"id": "player:harbor-2",
"name": "Testperson harbor 2",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 3
},
{
"id": "player:harbor-3",
"name": "Testperson harbor 3",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 4
},
{
"id": "player:harbor-4",
"name": "Testperson harbor 4",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 5
},
{
"id": "player:harbor-5",
"name": "Testperson harbor 5",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 6
},
{
"id": "player:harbor-6",
"name": "Testperson harbor 6",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 7
},
{
"id": "player:harbor-7",
"name": "Testperson harbor 7",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 8
},
{
"id": "player:harbor-8",
"name": "Testperson harbor 8",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 9
},
{
"id": "player:harbor-9",
"name": "Testperson harbor 9",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 10
},
{
"id": "player:harbor-10",
"name": "Testperson harbor 10",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 11
}
],
"bench": [
{
"id": "player:harbor-11",
"name": "Testperson harbor 11",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 12
},
{
"id": "player:harbor-12",
"name": "Testperson harbor 12",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 13
},
{
"id": "player:harbor-13",
"name": "Testperson harbor 13",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 14
}
],
"classificationKnown": true,
"rosterSize": 14,
"onFieldCount": 11,
"onFieldLimit": 11,
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
}
},
{
"teamId": "club:forest",
"starters": [
{
"id": "player:forest-0",
"name": "Testperson forest 0",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"gk"
],
"shirtNumber": 1
},
{
"id": "player:forest-1",
"name": "Testperson forest 1",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 2
},
{
"id": "player:forest-2",
"name": "Testperson forest 2",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 3
},
{
"id": "player:forest-3",
"name": "Testperson forest 3",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 4
},
{
"id": "player:forest-4",
"name": "Testperson forest 4",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 5
},
{
"id": "player:forest-5",
"name": "Testperson forest 5",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 6
},
{
"id": "player:forest-6",
"name": "Testperson forest 6",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 7
},
{
"id": "player:forest-7",
"name": "Testperson forest 7",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 8
},
{
"id": "player:forest-8",
"name": "Testperson forest 8",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 9
},
{
"id": "player:forest-9",
"name": "Testperson forest 9",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 10
},
{
"id": "player:forest-10",
"name": "Testperson forest 10",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 11
}
],
"bench": [
{
"id": "player:forest-11",
"name": "Testperson forest 11",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 12
},
{
"id": "player:forest-12",
"name": "Testperson forest 12",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 13
},
{
"id": "player:forest-13",
"name": "Testperson forest 13",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 14
}
],
"classificationKnown": true,
"rosterSize": 14,
"onFieldCount": 11,
"onFieldLimit": 11,
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
}
}
],
"events": [
{
"id": "event:et-a-b-1",
"eventRevision": "1",
"sequence": "1",
"kind": "goal",
"teamId": "club:harbor",
"actorPlayerId": "player:harbor-10",
"otherPlayerId": null,
"clock": {
"periodId": "period:first",
"elapsedSeconds": null,
"minute": 10,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "10′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "club:harbor",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 1",
"locale": "de",
"args": {}
}
},
{
"id": "event:et-a-b-2",
"eventRevision": "1",
"sequence": "2",
"kind": "goal",
"teamId": "club:forest",
"actorPlayerId": "player:forest-9",
"otherPlayerId": null,
"clock": {
"periodId": "period:first",
"elapsedSeconds": null,
"minute": 45,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "45′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "club:forest",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 2",
"locale": "de",
"args": {}
}
},
{
"id": "event:et-a-b-3",
"eventRevision": "1",
"sequence": "3",
"kind": "yellow",
"teamId": "club:harbor",
"actorPlayerId": "player:harbor-3",
"otherPlayerId": null,
"clock": {
"periodId": "period:second",
"elapsedSeconds": null,
"minute": 50,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "50′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": null,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 3",
"locale": "de",
"args": {}
}
},
{
"id": "event:et-a-b-4",
"eventRevision": "1",
"sequence": "4",
"kind": "substitution",
"teamId": "club:harbor",
"actorPlayerId": "player:harbor-11",
"otherPlayerId": "player:harbor-7",
"clock": {
"periodId": "period:second",
"elapsedSeconds": null,
"minute": 60,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "60′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": null,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 4",
"locale": "de",
"args": {}
}
}
],
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
},
"countingPolicyId": "rules:synthetic-match-counting"
}
],
"paused": true,
"canIntervene": true,
"availableCommands": [
"live.substitute",
"live.tactics"
],
"eventPage": {
"limit": 200,
"cursor": null,
"nextCursor": null,
"snapshotRevision": "40",
"total": null,
"sort": [
{
"field": "id",
"direction": "asc"
}
]
},
"resyncRequired": false
}
}
@@ -0,0 +1,79 @@
{
"messageType": "snapshot",
"requestId": "request:example-manager_archive",
"meta": {
"contractVersion": "bmh-modern-ui@draft1",
"draft": true,
"sourceRevision": "a207b0129e06f0659a5e7b30afa3680739a33029",
"careerId": "career:synthetic-demo",
"worldId": "world:synthetic-demo",
"worldRevision": "fixture-1",
"stateRevision": "41",
"projectionRevision": "41",
"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": null,
"teamId": null,
"role": "session",
"scopeId": "scope:manager-archive-41",
"allowedCommands": []
},
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "manager_archive",
"managers": [
{
"id": "manager:career-demo-1",
"slot": 0,
"name": "Testmanager 1",
"control": "archived",
"status": "resigned",
"teamId": "club:harbor",
"portraitGuiKey": "gui:manager/photo/1",
"portraitStyle": "photo",
"strengthChoice": 1,
"employments": [
{
"id": "employment:demo-1",
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"role": "club_manager",
"from": "2026-07-01",
"until": "2027-03-15",
"endReason": "resigned"
}
]
}
],
"page": {
"limit": 200,
"cursor": null,
"nextCursor": null,
"snapshotRevision": "41",
"total": null,
"sort": [
{
"field": "id",
"direction": "asc"
}
]
}
}
}
@@ -0,0 +1,51 @@
{
"messageType": "command_result",
"requestId": "request:last-resign",
"accepted": true,
"previousRevision": "40",
"newRevision": "41",
"outcome": "career_ended",
"changedReadKinds": [
"session",
"manager_menu",
"desktop"
],
"ownershipChange": {
"kind": "ownership_change",
"managerId": "manager:career-demo-1",
"archivedIdentity": {
"id": "manager:career-demo-1",
"slot": 0,
"name": "Testmanager 1",
"control": "archived",
"status": "resigned",
"teamId": "club:harbor",
"portraitGuiKey": "gui:manager/photo/1",
"portraitStyle": "photo",
"strengthChoice": 1,
"employments": [
{
"id": "employment:demo-1",
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"role": "club_manager",
"from": "2026-07-01",
"until": "2027-03-15",
"endReason": "resigned"
}
]
},
"teamId": "club:harbor",
"aiHandover": false,
"activeManagerId": null,
"humanOwnership": [],
"sessionState": "ended",
"terminationReason": "last_human_resigned"
},
"feedback": {
"key": null,
"text": "Die letzte menschliche Person hat aufgegeben.",
"locale": "de",
"args": {}
}
}
@@ -0,0 +1,70 @@
{
"messageType": "command_result",
"requestId": "request:resign-1",
"accepted": true,
"previousRevision": "40",
"newRevision": "41",
"outcome": "applied",
"changedReadKinds": [
"session",
"manager_menu",
"desktop"
],
"ownershipChange": {
"kind": "ownership_change",
"managerId": "manager:career-demo-1",
"archivedIdentity": {
"id": "manager:career-demo-1",
"slot": 0,
"name": "Testmanager 1",
"control": "archived",
"status": "resigned",
"teamId": "club:harbor",
"portraitGuiKey": "gui:manager/photo/1",
"portraitStyle": "photo",
"strengthChoice": 1,
"employments": [
{
"id": "employment:demo-1",
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"role": "club_manager",
"from": "2026-07-01",
"until": "2027-03-15",
"endReason": "resigned"
}
]
},
"teamId": "club:harbor",
"aiHandover": true,
"activeManagerId": "manager:career-demo-2",
"humanOwnership": [
{
"teamId": "club:forest",
"controller": "human",
"managerId": "manager:career-demo-2",
"sinceRevision": "40"
},
{
"teamId": "national:north",
"controller": "human",
"managerId": "manager:career-demo-3",
"sinceRevision": "40"
},
{
"teamId": "club:hill",
"controller": "human",
"managerId": "manager:career-demo-4",
"sinceRevision": "40"
}
],
"sessionState": "desktop",
"terminationReason": null
},
"feedback": {
"key": null,
"text": "Das Team wird von der KI übernommen.",
"locale": "de",
"args": {}
}
}
@@ -0,0 +1,66 @@
{
"messageType": "snapshot",
"requestId": "request:example-manager_menu",
"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": "manager_menu",
"activeManagerId": "manager:career-demo-1",
"humanCount": 4,
"canJoin": false,
"clubSearch": {
"status": "unavailable",
"reasonCode": "future_readonly",
"missingFields": [
"results"
]
},
"resignPreview": {
"confirmationToken": "confirm:resign-manager-1-r40",
"expectedRevision": "40",
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"aiHandover": true,
"lastHumanEndsSession": false,
"nextActiveManagerId": "manager:career-demo-2",
"terminationReason": null
}
}
}
@@ -0,0 +1,702 @@
{
"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:et-a-b",
"fixtureId": "fixture:et-a-b",
"seasonId": "season:2026-27",
"date": "2027-03-15",
"competition": {
"id": "comp:synthetic-domestic_cup",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb domestic_cup",
"locale": "de",
"args": {}
},
"kind": "domestic_cup",
"editionId": "edition:synthetic-domestic_cup-2026-27",
"stageId": "stage:synthetic-final",
"nationId": null,
"rulesId": "rules:synthetic-domestic_cup"
},
"roundId": "round:synthetic-final",
"mode": "outdoor",
"home": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"managerIdsBySide": {
"home": "manager:career-demo-1",
"away": "manager:career-demo-2"
},
"result": {
"status": "completed",
"decision": "extra_time",
"regulation": {
"home": 1,
"away": 1
},
"extra": {
"home": 1,
"away": 0
},
"final": {
"home": 2,
"away": 1
},
"shootout": null,
"extraTimePlayed": true,
"winnerTeamId": "club:harbor",
"countedForTable": false
},
"clock": {
"periodId": "period:extra-second",
"elapsedSeconds": null,
"minute": 120,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "120′",
"locale": "de",
"args": {}
}
},
"onFieldCounts": {
"home": 11,
"away": 11
},
"rules": {
"rulesId": "rules:synthetic-outdoor",
"periods": [
{
"id": "period:first",
"kind": "first_half",
"nominalSeconds": 2700
},
{
"id": "period:second",
"kind": "second_half",
"nominalSeconds": 2700
},
{
"id": "period:extra-first",
"kind": "extra_first",
"nominalSeconds": 900
},
{
"id": "period:extra-second",
"kind": "extra_second",
"nominalSeconds": 900
}
],
"rosterLimit": 24,
"onFieldLimit": 11,
"benchLimit": 6,
"substitutionLimit": 3,
"directShootout": false
},
"referee": {
"id": null,
"name": "Testschiedsrichter"
},
"attendance": 0,
"weather": {
"temperatureCelsius": 0,
"rainScale0To7": 0
},
"lineups": [
{
"teamId": "club:harbor",
"starters": [
{
"id": "player:harbor-0",
"name": "Testperson harbor 0",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"gk"
],
"shirtNumber": 1
},
{
"id": "player:harbor-1",
"name": "Testperson harbor 1",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 2
},
{
"id": "player:harbor-2",
"name": "Testperson harbor 2",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 3
},
{
"id": "player:harbor-3",
"name": "Testperson harbor 3",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 4
},
{
"id": "player:harbor-4",
"name": "Testperson harbor 4",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 5
},
{
"id": "player:harbor-5",
"name": "Testperson harbor 5",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 6
},
{
"id": "player:harbor-6",
"name": "Testperson harbor 6",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 7
},
{
"id": "player:harbor-7",
"name": "Testperson harbor 7",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 8
},
{
"id": "player:harbor-8",
"name": "Testperson harbor 8",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 9
},
{
"id": "player:harbor-9",
"name": "Testperson harbor 9",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 10
},
{
"id": "player:harbor-10",
"name": "Testperson harbor 10",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 11
}
],
"bench": [
{
"id": "player:harbor-11",
"name": "Testperson harbor 11",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 12
},
{
"id": "player:harbor-12",
"name": "Testperson harbor 12",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 13
},
{
"id": "player:harbor-13",
"name": "Testperson harbor 13",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 14
}
],
"classificationKnown": true,
"rosterSize": 14,
"onFieldCount": 11,
"onFieldLimit": 11,
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
}
},
{
"teamId": "club:forest",
"starters": [
{
"id": "player:forest-0",
"name": "Testperson forest 0",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"gk"
],
"shirtNumber": 1
},
{
"id": "player:forest-1",
"name": "Testperson forest 1",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 2
},
{
"id": "player:forest-2",
"name": "Testperson forest 2",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 3
},
{
"id": "player:forest-3",
"name": "Testperson forest 3",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 4
},
{
"id": "player:forest-4",
"name": "Testperson forest 4",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 5
},
{
"id": "player:forest-5",
"name": "Testperson forest 5",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 6
},
{
"id": "player:forest-6",
"name": "Testperson forest 6",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 7
},
{
"id": "player:forest-7",
"name": "Testperson forest 7",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 8
},
{
"id": "player:forest-8",
"name": "Testperson forest 8",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 9
},
{
"id": "player:forest-9",
"name": "Testperson forest 9",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 10
},
{
"id": "player:forest-10",
"name": "Testperson forest 10",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 11
}
],
"bench": [
{
"id": "player:forest-11",
"name": "Testperson forest 11",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 12
},
{
"id": "player:forest-12",
"name": "Testperson forest 12",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 13
},
{
"id": "player:forest-13",
"name": "Testperson forest 13",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 14
}
],
"classificationKnown": true,
"rosterSize": 14,
"onFieldCount": 11,
"onFieldLimit": 11,
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
}
}
],
"events": [
{
"id": "event:et-a-b-1",
"eventRevision": "1",
"sequence": "1",
"kind": "goal",
"teamId": "club:harbor",
"actorPlayerId": "player:harbor-10",
"otherPlayerId": null,
"clock": {
"periodId": "period:first",
"elapsedSeconds": null,
"minute": 10,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "10′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "club:harbor",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 1",
"locale": "de",
"args": {}
}
},
{
"id": "event:et-a-b-2",
"eventRevision": "1",
"sequence": "2",
"kind": "goal",
"teamId": "club:forest",
"actorPlayerId": "player:forest-9",
"otherPlayerId": null,
"clock": {
"periodId": "period:first",
"elapsedSeconds": null,
"minute": 45,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "45′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "club:forest",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 2",
"locale": "de",
"args": {}
}
},
{
"id": "event:et-a-b-3",
"eventRevision": "1",
"sequence": "3",
"kind": "yellow",
"teamId": "club:harbor",
"actorPlayerId": "player:harbor-3",
"otherPlayerId": null,
"clock": {
"periodId": "period:second",
"elapsedSeconds": null,
"minute": 50,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "50′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": null,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 3",
"locale": "de",
"args": {}
}
},
{
"id": "event:et-a-b-4",
"eventRevision": "1",
"sequence": "4",
"kind": "substitution",
"teamId": "club:harbor",
"actorPlayerId": "player:harbor-11",
"otherPlayerId": "player:harbor-7",
"clock": {
"periodId": "period:second",
"elapsedSeconds": null,
"minute": 60,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "60′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": null,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 4",
"locale": "de",
"args": {}
}
},
{
"id": "event:et-a-b-5",
"eventRevision": "1",
"sequence": "5",
"kind": "goal",
"teamId": "club:harbor",
"actorPlayerId": "player:harbor-11",
"otherPlayerId": null,
"clock": {
"periodId": "period:extra-second",
"elapsedSeconds": null,
"minute": 110,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "110′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "club:harbor",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 5",
"locale": "de",
"args": {}
}
}
],
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
},
"countingPolicyId": "rules:synthetic-match-counting"
}
}
@@ -0,0 +1,497 @@
{
"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:indoor-final",
"fixtureId": "fixture:indoor-final",
"seasonId": "season:2026-27",
"date": "2027-03-15",
"competition": {
"id": "comp:synthetic-indoor",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb indoor",
"locale": "de",
"args": {}
},
"kind": "indoor",
"editionId": "edition:synthetic-indoor-2026-27",
"stageId": "stage:synthetic-final",
"nationId": null,
"rulesId": "rules:synthetic-indoor"
},
"roundId": "round:synthetic-final",
"mode": "indoor",
"home": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"managerIdsBySide": {
"home": "manager:career-demo-1",
"away": "manager:career-demo-2"
},
"result": {
"status": "completed",
"decision": "regulation",
"regulation": {
"home": 2,
"away": 1
},
"extra": null,
"final": {
"home": 2,
"away": 1
},
"shootout": null,
"extraTimePlayed": false,
"winnerTeamId": "club:harbor",
"countedForTable": false
},
"clock": {
"periodId": null,
"elapsedSeconds": null,
"minute": null,
"stoppageSeconds": null,
"precision": "unknown",
"label": {
"key": null,
"text": "Spielende",
"locale": "de",
"args": {}
}
},
"onFieldCounts": {
"home": 6,
"away": 6
},
"rules": {
"rulesId": "rules:synthetic-indoor",
"periods": [],
"rosterLimit": 11,
"onFieldLimit": 6,
"benchLimit": 5,
"substitutionLimit": 3,
"directShootout": false
},
"referee": {
"id": null,
"name": "Testschiedsrichter"
},
"attendance": 0,
"weather": {
"temperatureCelsius": 0,
"rainScale0To7": 0
},
"lineups": [
{
"teamId": "club:harbor",
"starters": [
{
"id": "player:harbor-0",
"name": "Testperson harbor 0",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"gk"
],
"shirtNumber": 1
},
{
"id": "player:harbor-1",
"name": "Testperson harbor 1",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 2
},
{
"id": "player:harbor-2",
"name": "Testperson harbor 2",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 3
},
{
"id": "player:harbor-3",
"name": "Testperson harbor 3",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 4
},
{
"id": "player:harbor-4",
"name": "Testperson harbor 4",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 5
},
{
"id": "player:harbor-5",
"name": "Testperson harbor 5",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 6
}
],
"bench": [
{
"id": "player:harbor-6",
"name": "Testperson harbor 6",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 7
},
{
"id": "player:harbor-7",
"name": "Testperson harbor 7",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 8
},
{
"id": "player:harbor-8",
"name": "Testperson harbor 8",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 9
}
],
"classificationKnown": true,
"rosterSize": 9,
"onFieldCount": 6,
"onFieldLimit": 6,
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
}
},
{
"teamId": "club:forest",
"starters": [
{
"id": "player:forest-0",
"name": "Testperson forest 0",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"gk"
],
"shirtNumber": 1
},
{
"id": "player:forest-1",
"name": "Testperson forest 1",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 2
},
{
"id": "player:forest-2",
"name": "Testperson forest 2",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 3
},
{
"id": "player:forest-3",
"name": "Testperson forest 3",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 4
},
{
"id": "player:forest-4",
"name": "Testperson forest 4",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 5
},
{
"id": "player:forest-5",
"name": "Testperson forest 5",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 6
}
],
"bench": [
{
"id": "player:forest-6",
"name": "Testperson forest 6",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 7
},
{
"id": "player:forest-7",
"name": "Testperson forest 7",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 8
},
{
"id": "player:forest-8",
"name": "Testperson forest 8",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 9
}
],
"classificationKnown": true,
"rosterSize": 9,
"onFieldCount": 6,
"onFieldLimit": 6,
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
}
}
],
"events": [
{
"id": "event:indoor-final-1",
"eventRevision": "1",
"sequence": "1",
"kind": "goal",
"teamId": "club:harbor",
"actorPlayerId": "player:harbor-3",
"otherPlayerId": null,
"clock": {
"periodId": null,
"elapsedSeconds": null,
"minute": 3,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "3′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "club:harbor",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 1",
"locale": "de",
"args": {}
}
},
{
"id": "event:indoor-final-2",
"eventRevision": "1",
"sequence": "2",
"kind": "goal",
"teamId": "club:forest",
"actorPlayerId": "player:forest-4",
"otherPlayerId": null,
"clock": {
"periodId": null,
"elapsedSeconds": null,
"minute": 8,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "8′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "club:forest",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 2",
"locale": "de",
"args": {}
}
},
{
"id": "event:indoor-final-3",
"eventRevision": "1",
"sequence": "3",
"kind": "goal",
"teamId": "club:harbor",
"actorPlayerId": "player:harbor-4",
"otherPlayerId": null,
"clock": {
"periodId": null,
"elapsedSeconds": null,
"minute": 17,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "17′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "club:harbor",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 3",
"locale": "de",
"args": {}
}
}
],
"coverage": {
"status": "partial",
"missing": [
"periods",
"seconds"
],
"basis": "synthetic_fixture"
},
"countingPolicyId": "rules:synthetic-match-counting"
}
}
@@ -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"
}
}
@@ -0,0 +1,816 @@
{
"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-3",
"teamId": "national:north",
"role": "national",
"scopeId": "scope:desk-40-2",
"allowedCommands": [
"session.advance",
"lineup.commit",
"manager.resign.commit"
]
},
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "match",
"id": "match:national-pso",
"fixtureId": "fixture:national-pso",
"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": {
"home": 2,
"away": 2
},
"extra": null,
"final": {
"home": 2,
"away": 2
},
"shootout": {
"home": 5,
"away": 4
},
"extraTimePlayed": false,
"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": 11,
"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": {
"temperatureCelsius": 0,
"rainScale0To7": 0
},
"lineups": [
{
"teamId": "national:north",
"starters": [
{
"id": "player:north-0",
"name": "Testperson north 0",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"gk"
],
"shirtNumber": 1
},
{
"id": "player:north-1",
"name": "Testperson north 1",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 2
},
{
"id": "player:north-2",
"name": "Testperson north 2",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 3
},
{
"id": "player:north-3",
"name": "Testperson north 3",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 4
},
{
"id": "player:north-4",
"name": "Testperson north 4",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"def"
],
"shirtNumber": 5
},
{
"id": "player:north-5",
"name": "Testperson north 5",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 6
},
{
"id": "player:north-6",
"name": "Testperson north 6",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 7
},
{
"id": "player:north-7",
"name": "Testperson north 7",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 8
},
{
"id": "player:north-8",
"name": "Testperson north 8",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"mid"
],
"shirtNumber": 9
},
{
"id": "player:north-9",
"name": "Testperson north 9",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 10
},
{
"id": "player:north-10",
"name": "Testperson north 10",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 11
}
],
"bench": [
{
"id": "player:north-11",
"name": "Testperson north 11",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 12
},
{
"id": "player:north-12",
"name": "Testperson north 12",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 13
},
{
"id": "player:north-13",
"name": "Testperson north 13",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 14
}
],
"classificationKnown": true,
"rosterSize": 14,
"onFieldCount": 11,
"onFieldLimit": 11,
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
}
},
{
"teamId": "national:south",
"starters": [],
"bench": [],
"classificationKnown": false,
"rosterSize": 0,
"onFieldCount": null,
"onFieldLimit": 11,
"coverage": {
"status": "none",
"missing": [
"actors",
"lineup_classification"
],
"basis": "synthetic_fixture"
}
}
],
"events": [
{
"id": "event:national-pso-1",
"eventRevision": "1",
"sequence": "1",
"kind": "goal",
"teamId": "national:north",
"actorPlayerId": "player:north-10",
"otherPlayerId": null,
"clock": {
"periodId": "period:first",
"elapsedSeconds": null,
"minute": 10,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "10′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "national:north",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 1",
"locale": "de",
"args": {}
}
},
{
"id": "event:national-pso-2",
"eventRevision": "1",
"sequence": "2",
"kind": "goal",
"teamId": "national:south",
"actorPlayerId": null,
"otherPlayerId": null,
"clock": {
"periodId": "period:first",
"elapsedSeconds": null,
"minute": 20,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "20′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "national:south",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 2",
"locale": "de",
"args": {}
}
},
{
"id": "event:national-pso-3",
"eventRevision": "1",
"sequence": "3",
"kind": "goal",
"teamId": "national:north",
"actorPlayerId": "player:north-9",
"otherPlayerId": null,
"clock": {
"periodId": "period:second",
"elapsedSeconds": null,
"minute": 60,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "60′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "national:north",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 3",
"locale": "de",
"args": {}
}
},
{
"id": "event:national-pso-4",
"eventRevision": "1",
"sequence": "4",
"kind": "goal",
"teamId": "national:south",
"actorPlayerId": null,
"otherPlayerId": null,
"clock": {
"periodId": "period:second",
"elapsedSeconds": null,
"minute": 70,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "70′",
"locale": "de",
"args": {}
}
},
"goalKind": "open_play",
"scored": null,
"recipientTeamId": "national:south",
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 4",
"locale": "de",
"args": {}
}
},
{
"id": "event:national-pso-5",
"eventRevision": "1",
"sequence": "5",
"kind": "shootout_kick",
"teamId": "national:north",
"actorPlayerId": "player:north-1",
"otherPlayerId": null,
"clock": {
"periodId": "period:shootout",
"elapsedSeconds": null,
"minute": 121,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "121′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": true,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 5",
"locale": "de",
"args": {}
}
},
{
"id": "event:national-pso-6",
"eventRevision": "1",
"sequence": "6",
"kind": "shootout_kick",
"teamId": "national:south",
"actorPlayerId": null,
"otherPlayerId": null,
"clock": {
"periodId": "period:shootout",
"elapsedSeconds": null,
"minute": 121,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "121′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": true,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 6",
"locale": "de",
"args": {}
}
},
{
"id": "event:national-pso-7",
"eventRevision": "1",
"sequence": "7",
"kind": "shootout_kick",
"teamId": "national:north",
"actorPlayerId": "player:north-2",
"otherPlayerId": null,
"clock": {
"periodId": "period:shootout",
"elapsedSeconds": null,
"minute": 121,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "121′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": true,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 7",
"locale": "de",
"args": {}
}
},
{
"id": "event:national-pso-8",
"eventRevision": "1",
"sequence": "8",
"kind": "shootout_kick",
"teamId": "national:south",
"actorPlayerId": null,
"otherPlayerId": null,
"clock": {
"periodId": "period:shootout",
"elapsedSeconds": null,
"minute": 121,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "121′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": true,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 8",
"locale": "de",
"args": {}
}
},
{
"id": "event:national-pso-9",
"eventRevision": "1",
"sequence": "9",
"kind": "shootout_kick",
"teamId": "national:north",
"actorPlayerId": "player:north-3",
"otherPlayerId": null,
"clock": {
"periodId": "period:shootout",
"elapsedSeconds": null,
"minute": 121,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "121′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": true,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 9",
"locale": "de",
"args": {}
}
},
{
"id": "event:national-pso-10",
"eventRevision": "1",
"sequence": "10",
"kind": "shootout_kick",
"teamId": "national:south",
"actorPlayerId": null,
"otherPlayerId": null,
"clock": {
"periodId": "period:shootout",
"elapsedSeconds": null,
"minute": 121,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "121′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": true,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 10",
"locale": "de",
"args": {}
}
},
{
"id": "event:national-pso-11",
"eventRevision": "1",
"sequence": "11",
"kind": "shootout_kick",
"teamId": "national:north",
"actorPlayerId": "player:north-4",
"otherPlayerId": null,
"clock": {
"periodId": "period:shootout",
"elapsedSeconds": null,
"minute": 121,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "121′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": true,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 11",
"locale": "de",
"args": {}
}
},
{
"id": "event:national-pso-12",
"eventRevision": "1",
"sequence": "12",
"kind": "shootout_kick",
"teamId": "national:south",
"actorPlayerId": null,
"otherPlayerId": null,
"clock": {
"periodId": "period:shootout",
"elapsedSeconds": null,
"minute": 121,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "121′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": true,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 12",
"locale": "de",
"args": {}
}
},
{
"id": "event:national-pso-13",
"eventRevision": "1",
"sequence": "13",
"kind": "shootout_kick",
"teamId": "national:north",
"actorPlayerId": "player:north-5",
"otherPlayerId": null,
"clock": {
"periodId": "period:shootout",
"elapsedSeconds": null,
"minute": 121,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "121′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": true,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 13",
"locale": "de",
"args": {}
}
},
{
"id": "event:national-pso-14",
"eventRevision": "1",
"sequence": "14",
"kind": "shootout_kick",
"teamId": "national:south",
"actorPlayerId": null,
"otherPlayerId": null,
"clock": {
"periodId": "period:shootout",
"elapsedSeconds": null,
"minute": 121,
"stoppageSeconds": null,
"precision": "minute",
"label": {
"key": null,
"text": "121′",
"locale": "de",
"args": {}
}
},
"goalKind": null,
"scored": false,
"recipientTeamId": null,
"supersedesEventId": null,
"text": {
"key": null,
"text": "Synthetisches Ereignis 14",
"locale": "de",
"args": {}
}
}
],
"coverage": {
"status": "partial",
"missing": [
"actors",
"discipline"
],
"basis": "synthetic_fixture"
},
"countingPolicyId": "rules:synthetic-match-counting"
}
}
@@ -0,0 +1,97 @@
{
"messageType": "snapshot",
"requestId": "request:example-news",
"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": "news",
"events": [],
"articles": [],
"dedupePolicyId": "rules:press-dedupe-v1",
"messages": [
{
"id": "message:synthetic-1",
"ownerManagerId": "manager:career-demo-1",
"date": "2027-03-15",
"sender": {
"key": null,
"text": "Geschäftsstelle",
"locale": "de",
"args": {}
},
"subject": {
"key": null,
"text": "Beispielmeldung",
"locale": "de",
"args": {}
},
"paragraphs": [
{
"key": null,
"text": "Die Vorschau enthält ausschließlich synthetische Daten.",
"locale": "de",
"args": {}
}
],
"category": "club",
"read": false,
"folder": "inbox",
"entityIds": [
"club:harbor"
],
"actionIds": []
}
],
"unreadCount": 1,
"page": {
"limit": 200,
"cursor": null,
"nextCursor": null,
"snapshotRevision": "40",
"total": null,
"sort": [
{
"field": "id",
"direction": "asc"
}
]
}
}
}
@@ -0,0 +1,66 @@
{
"messageType": "snapshot",
"requestId": "request:example-opening",
"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": "opening",
"phase": "draw",
"entrants": [
{
"competitionId": "comp:synthetic-international_club",
"teamIds": [
"club:harbor",
"club:forest"
]
}
],
"pairings": [
{
"fixtureId": "fixture:league-12-a-b",
"homeId": "club:harbor",
"awayId": "club:forest",
"revealed": false
}
],
"pendingPresentationId": "presentation:opening-1",
"canContinue": false
}
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,30 @@
{
"id": "article:match-et-a-b",
"sourceEventId": "press-event:match-et-a-b",
"type": "press-type:match-result",
"date": "2027-03-15",
"scope": {
"kind": "club",
"id": "club:harbor",
"name": "FC Hafenstadt"
},
"dedupeKey": "career:synthetic-demo|press-event:match-et-a-b|club:harbor",
"snapshots": {
"de": {
"headline": "Testteam gewinnt",
"lead": "Synthetischer Bericht nach einem Beispielspiel.",
"paragraphs": [
"Der Bericht enthält keine Enginebehauptung."
]
},
"en": {
"headline": "Test team wins",
"lead": "Synthetic report after an example match.",
"paragraphs": [
"This report makes no engine implementation claim."
]
}
},
"read": false,
"deleted": false
}
@@ -0,0 +1,49 @@
{
"id": "press-event:match-et-a-b",
"type": "press-type:match-result",
"date": "2027-03-15",
"scope": {
"kind": "club",
"id": "club:harbor",
"name": "FC Hafenstadt"
},
"data": {
"team": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"opponent": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"score": {
"home": 2,
"away": 1
},
"competition": {
"id": "comp:synthetic-domestic_cup",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb domestic_cup",
"locale": "de",
"args": {}
},
"kind": "domestic_cup",
"editionId": "edition:synthetic-domestic_cup-2026-27",
"stageId": "stage:synthetic-final",
"nationId": null,
"rulesId": "rules:synthetic-domestic_cup"
}
},
"variant": null
}
@@ -0,0 +1,33 @@
{
"messageType": "query",
"requestId": "request:query-stats",
"kind": "statistics",
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"atRevision": "40",
"filters": {
"seasonId": "season:2026-27",
"competitionId": "comp:synthetic-domestic_cup",
"matchId": null,
"fixtureId": null,
"nationId": null,
"from": "2027-01-01",
"until": "2027-03-15",
"section": "player_stats",
"search": ""
},
"page": {
"limit": 50,
"cursor": null,
"sort": [
{
"field": "goals",
"direction": "desc"
},
{
"field": "id",
"direction": "asc"
}
]
}
}
@@ -0,0 +1,187 @@
{
"messageType": "snapshot",
"requestId": "request:example-reports",
"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": "reports",
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"fixtures": [
{
"id": "fixture:league-12-a-b",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
}
],
"table": [
{
"rank": 1,
"team": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"played": 12,
"won": 8,
"drawn": 3,
"lost": 1,
"goalsFor": 24,
"goalsAgainst": 11,
"points": 24,
"pointAdjustment": -3,
"zone": "continental"
},
{
"rank": 2,
"team": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"played": 12,
"won": 7,
"drawn": 2,
"lost": 3,
"goalsFor": 19,
"goalsAgainst": 13,
"points": 23,
"pointAdjustment": 0,
"zone": null
}
],
"strengths": [
{
"team": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"metrics": {
"starting11": {
"value": 68,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
}
],
"page": {
"limit": 200,
"cursor": null,
"nextCursor": null,
"snapshotRevision": "40",
"total": null,
"sort": [
{
"field": "id",
"direction": "asc"
}
]
},
"tieBreakPolicyId": "rules:synthetic-table"
}
}
@@ -0,0 +1,134 @@
{
"messageType": "snapshot",
"requestId": "request:example-scheduling",
"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": "scheduling",
"kindOfPlan": "reschedule",
"fixtures": [
{
"id": "fixture:league-12-a-b",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:harbor",
"kind": "club",
"name": "FC Hafenstadt",
"shortName": "HARBOR",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/harbor/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
}
],
"opponents": [
{
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
}
],
"venues": [
"home",
"away",
"neutral"
],
"availableDates": [
"2027-03-23"
],
"quote": {
"id": "quote:synthetic-reschedule",
"ownerManagerId": "manager:career-demo-1",
"teamId": "club:harbor",
"expectedRevision": "40",
"scopeId": "scope:desk-40-0",
"expiresOn": "2027-03-15",
"total": {
"minor": "0",
"currency": "EUR",
"minorUnits": 2
},
"totalBasis": "immediate",
"chargesNow": {
"minor": "0",
"currency": "EUR",
"minorUnits": 2
},
"breakdown": [],
"allowed": true,
"reasonCode": null
},
"originalFixtureId": "fixture:league-12-a-b",
"originalDate": "2027-03-20"
}
}
@@ -0,0 +1,54 @@
{
"messageType": "snapshot",
"requestId": "request:example-session",
"meta": {
"contractVersion": "bmh-modern-ui@draft1",
"draft": true,
"sourceRevision": "a207b0129e06f0659a5e7b30afa3680739a33029",
"careerId": "career:synthetic-demo",
"worldId": "world:synthetic-demo",
"worldRevision": "fixture-1",
"stateRevision": "41",
"projectionRevision": "41",
"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": null,
"teamId": null,
"role": "session",
"scopeId": "scope:manager-archive-41",
"allowedCommands": []
},
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "session",
"sessionState": "ended",
"activeManagerId": null,
"managers": [],
"humanOwnership": [],
"archivedManagerIds": [
"manager:career-demo-1"
],
"archivedManagerCount": 1,
"terminationReason": "last_human_resigned",
"mode": "mixed",
"canAdvance": false,
"blockingReason": "session_ended"
}
}
@@ -0,0 +1,170 @@
{
"messageType": "snapshot",
"requestId": "request:example-session",
"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": "session",
"sessionState": "desktop",
"activeManagerId": "manager:career-demo-1",
"managers": [
{
"id": "manager:career-demo-1",
"slot": 0,
"name": "Testmanager 1",
"control": "human",
"status": "active",
"teamId": "club:harbor",
"portraitGuiKey": "gui:manager/photo/1",
"portraitStyle": "photo",
"strengthChoice": 1,
"employments": [
{
"id": "employment:demo-1",
"managerId": "manager:career-demo-1",
"teamId": "club:harbor",
"role": "club_manager",
"from": "2026-07-01",
"until": null,
"endReason": null
}
]
},
{
"id": "manager:career-demo-2",
"slot": 1,
"name": "Testmanager 2",
"control": "human",
"status": "active",
"teamId": "club:forest",
"portraitGuiKey": "gui:manager/photo/2",
"portraitStyle": "photo",
"strengthChoice": 1,
"employments": [
{
"id": "employment:demo-2",
"managerId": "manager:career-demo-2",
"teamId": "club:forest",
"role": "club_manager",
"from": "2026-07-01",
"until": null,
"endReason": null
}
]
},
{
"id": "manager:career-demo-3",
"slot": 2,
"name": "Testmanager 3",
"control": "human",
"status": "active",
"teamId": "national:north",
"portraitGuiKey": "gui:manager/photo/3",
"portraitStyle": "photo",
"strengthChoice": 1,
"employments": [
{
"id": "employment:demo-3",
"managerId": "manager:career-demo-3",
"teamId": "national:north",
"role": "national_coach",
"from": "2026-07-01",
"until": null,
"endReason": null
}
]
},
{
"id": "manager:career-demo-4",
"slot": 3,
"name": "Testmanager 4",
"control": "human",
"status": "active",
"teamId": "club:hill",
"portraitGuiKey": "gui:manager/photo/4",
"portraitStyle": "photo",
"strengthChoice": 1,
"employments": [
{
"id": "employment:demo-4",
"managerId": "manager:career-demo-4",
"teamId": "club:hill",
"role": "club_manager",
"from": "2026-07-01",
"until": null,
"endReason": null
}
]
}
],
"humanOwnership": [
{
"teamId": "club:harbor",
"controller": "human",
"managerId": "manager:career-demo-1",
"sinceRevision": "40"
},
{
"teamId": "club:forest",
"controller": "human",
"managerId": "manager:career-demo-2",
"sinceRevision": "40"
},
{
"teamId": "national:north",
"controller": "human",
"managerId": "manager:career-demo-3",
"sinceRevision": "40"
},
{
"teamId": "club:hill",
"controller": "human",
"managerId": "manager:career-demo-4",
"sinceRevision": "40"
}
],
"archivedManagerIds": [],
"archivedManagerCount": 0,
"terminationReason": null,
"mode": "mixed",
"canAdvance": true,
"blockingReason": null
}
}
@@ -0,0 +1,91 @@
{
"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": []
}
}
]
}
}
File diff suppressed because it is too large. Load diff
@@ -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
}
}
}
@@ -0,0 +1,125 @@
{
"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": "available",
"reasonCode": null,
"missingFields": []
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "statistics",
"section": "achievements",
"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": {
"domesticCupTitles": {
"value": 1,
"unit": "count",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
},
"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",
"manager_history",
"rules_snapshot"
]
}
}
@@ -0,0 +1,168 @@
{
"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"
]
}
}
@@ -0,0 +1,83 @@
{
"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": "unavailable",
"reasonCode": "requires_nonmatch_ledger",
"missingFields": [
"rows"
]
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "statistics",
"section": "highscore",
"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": [],
"series": [],
"page": {
"limit": 200,
"cursor": null,
"nextCursor": null,
"snapshotRevision": "40",
"total": null,
"sort": [
{
"field": "id",
"direction": "asc"
}
]
},
"provenance": [
"manager_history",
"current_team_state",
"external_highscores",
"rules_snapshot"
]
}
}
@@ -0,0 +1,187 @@
{
"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": "available",
"reasonCode": null,
"missingFields": []
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "statistics",
"section": "minute_buckets",
"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": "Torintervall",
"locale": "de",
"args": {}
},
"team": null,
"player": null,
"manager": null,
"periodId": "period:first",
"fromSecond": 300,
"untilSecond": 600,
"entityId": null,
"teamId": null,
"managerId": null,
"rank": null,
"metrics": {
"goals": {
"value": 1,
"unit": "count",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
},
"money": {},
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
}
},
{
"label": {
"key": null,
"text": "Torintervall",
"locale": "de",
"args": {}
},
"team": null,
"player": null,
"manager": null,
"periodId": "period:first",
"fromSecond": 2400,
"untilSecond": 2700,
"entityId": null,
"teamId": null,
"managerId": null,
"rank": null,
"metrics": {
"goals": {
"value": 1,
"unit": "count",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
},
"money": {},
"coverage": {
"status": "complete",
"missing": [],
"basis": "synthetic_fixture"
}
},
{
"label": {
"key": null,
"text": "Torintervall",
"locale": "de",
"args": {}
},
"team": null,
"player": null,
"manager": null,
"periodId": "period:extra-second",
"fromSecond": 0,
"untilSecond": 300,
"entityId": null,
"teamId": null,
"managerId": null,
"rank": null,
"metrics": {
"goals": {
"value": 1,
"unit": "count",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
},
"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"
]
}
}
@@ -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"
]
}
}
@@ -0,0 +1,80 @@
{
"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": "unavailable",
"reasonCode": "requires_nonmatch_ledger",
"missingFields": [
"rows"
]
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "statistics",
"section": "transfer_history",
"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": [],
"series": [],
"page": {
"limit": 200,
"cursor": null,
"nextCursor": null,
"snapshotRevision": "40",
"total": null,
"sort": [
{
"field": "id",
"direction": "asc"
}
]
},
"provenance": [
"transfer_ledger"
]
}
}
@@ -0,0 +1,175 @@
{
"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": "available",
"reasonCode": null,
"missingFields": []
},
"currency": {
"code": "EUR",
"minorUnits": 2
}
},
"data": {
"kind": "statistics",
"section": "player_stats",
"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": "Testperson harbor 11",
"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": {
"id": "player:harbor-11",
"name": "Testperson harbor 11",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 12
},
"manager": null,
"periodId": null,
"fromSecond": null,
"untilSecond": null,
"entityId": "player:harbor-11",
"teamId": "club:harbor",
"managerId": null,
"rank": 1,
"metrics": {
"goals": {
"value": 1,
"unit": "count",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"appearances": {
"value": 1,
"unit": "count",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"yellow": {
"value": 0,
"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": []
}
}
},
"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"
]
}
}
@@ -0,0 +1,66 @@
{
"messageType": "snapshot",
"requestId": "request:example-tactics",
"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": "tactics",
"teamId": "club:harbor",
"controls": [
{
"id": "tactic:effort",
"label": {
"key": null,
"text": "Einsatz",
"locale": "de",
"args": {}
},
"value": 6,
"choices": [],
"range": {
"min": 0,
"max": 15,
"step": 1
}
}
],
"liveScopeToken": null
}
}
+606
View File
@@ -0,0 +1,606 @@
{
"messageType": "snapshot",
"requestId": "request:example-toto",
"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": "toto",
"couponId": "coupon:synthetic-12",
"fixtures": [
{
"id": "fixture:toto-0",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:coupon-home-0",
"kind": "club",
"name": "coupon-home-0",
"shortName": "COUPON-HOME-0",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-home-0/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:coupon-away-0",
"kind": "club",
"name": "coupon-away-0",
"shortName": "COUPON-AWAY-0",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-away-0/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
},
{
"id": "fixture:toto-1",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:coupon-home-1",
"kind": "club",
"name": "coupon-home-1",
"shortName": "COUPON-HOME-1",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-home-1/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:coupon-away-1",
"kind": "club",
"name": "coupon-away-1",
"shortName": "COUPON-AWAY-1",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-away-1/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
},
{
"id": "fixture:toto-2",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:coupon-home-2",
"kind": "club",
"name": "coupon-home-2",
"shortName": "COUPON-HOME-2",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-home-2/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:coupon-away-2",
"kind": "club",
"name": "coupon-away-2",
"shortName": "COUPON-AWAY-2",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-away-2/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
},
{
"id": "fixture:toto-3",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:coupon-home-3",
"kind": "club",
"name": "coupon-home-3",
"shortName": "COUPON-HOME-3",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-home-3/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:coupon-away-3",
"kind": "club",
"name": "coupon-away-3",
"shortName": "COUPON-AWAY-3",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-away-3/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
},
{
"id": "fixture:toto-4",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:coupon-home-4",
"kind": "club",
"name": "coupon-home-4",
"shortName": "COUPON-HOME-4",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-home-4/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:coupon-away-4",
"kind": "club",
"name": "coupon-away-4",
"shortName": "COUPON-AWAY-4",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-away-4/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
},
{
"id": "fixture:toto-5",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:coupon-home-5",
"kind": "club",
"name": "coupon-home-5",
"shortName": "COUPON-HOME-5",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-home-5/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:coupon-away-5",
"kind": "club",
"name": "coupon-away-5",
"shortName": "COUPON-AWAY-5",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-away-5/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
},
{
"id": "fixture:toto-6",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:coupon-home-6",
"kind": "club",
"name": "coupon-home-6",
"shortName": "COUPON-HOME-6",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-home-6/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:coupon-away-6",
"kind": "club",
"name": "coupon-away-6",
"shortName": "COUPON-AWAY-6",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-away-6/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
},
{
"id": "fixture:toto-7",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:coupon-home-7",
"kind": "club",
"name": "coupon-home-7",
"shortName": "COUPON-HOME-7",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-home-7/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:coupon-away-7",
"kind": "club",
"name": "coupon-away-7",
"shortName": "COUPON-AWAY-7",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-away-7/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
},
{
"id": "fixture:toto-8",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:coupon-home-8",
"kind": "club",
"name": "coupon-home-8",
"shortName": "COUPON-HOME-8",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-home-8/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:coupon-away-8",
"kind": "club",
"name": "coupon-away-8",
"shortName": "COUPON-AWAY-8",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-away-8/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
},
{
"id": "fixture:toto-9",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:coupon-home-9",
"kind": "club",
"name": "coupon-home-9",
"shortName": "COUPON-HOME-9",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-home-9/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:coupon-away-9",
"kind": "club",
"name": "coupon-away-9",
"shortName": "COUPON-AWAY-9",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-away-9/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
},
{
"id": "fixture:toto-10",
"matchId": null,
"competition": {
"id": "comp:synthetic-league",
"name": {
"key": null,
"text": "Synthetischer Wettbewerb league",
"locale": "de",
"args": {}
},
"kind": "league",
"editionId": "edition:synthetic-league-2026-27",
"stageId": null,
"nationId": "nation:synthetic-de",
"rulesId": "rules:synthetic-league"
},
"seasonId": "season:2026-27",
"originalDate": "2027-03-20",
"scheduledDate": "2027-03-22",
"roundId": "round:synthetic-12",
"home": {
"id": "club:coupon-home-10",
"kind": "club",
"name": "coupon-home-10",
"shortName": "COUPON-HOME-10",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-home-10/crest",
"nameAsOf": "2027-03-15"
},
"away": {
"id": "club:coupon-away-10",
"kind": "club",
"name": "coupon-away-10",
"shortName": "COUPON-AWAY-10",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/coupon-away-10/crest",
"nameAsOf": "2027-03-15"
},
"status": "postponed",
"result": null
}
],
"columns": [
{
"id": "column:1",
"picks": [
{
"fixtureId": "fixture:toto-0",
"pick": "home"
},
{
"fixtureId": "fixture:toto-1",
"pick": "draw"
},
{
"fixtureId": "fixture:toto-2",
"pick": "away"
},
{
"fixtureId": "fixture:toto-3",
"pick": "home"
},
{
"fixtureId": "fixture:toto-4",
"pick": "draw"
},
{
"fixtureId": "fixture:toto-5",
"pick": "away"
},
{
"fixtureId": "fixture:toto-6",
"pick": "home"
},
{
"fixtureId": "fixture:toto-7",
"pick": "draw"
},
{
"fixtureId": "fixture:toto-8",
"pick": "away"
},
{
"fixtureId": "fixture:toto-9",
"pick": "home"
},
{
"fixtureId": "fixture:toto-10",
"pick": "draw"
}
],
"hits": null
}
],
"stake": {
"minor": "400",
"currency": "EUR",
"minorUnits": 2
},
"fee": {
"minor": "100",
"currency": "EUR",
"minorUnits": 2
},
"payout": null,
"status": "draft",
"quote": {
"id": "quote:synthetic-toto",
"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
}
}
}
@@ -0,0 +1,440 @@
{
"messageType": "snapshot",
"requestId": "request:example-training",
"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": "training",
"teamId": "club:harbor",
"exercises": [
{
"id": "exercise:synthetic-0",
"allocation": 1,
"max": 5,
"unit": "sessions"
},
{
"id": "exercise:synthetic-1",
"allocation": 1,
"max": 5,
"unit": "sessions"
},
{
"id": "exercise:synthetic-2",
"allocation": 1,
"max": 5,
"unit": "sessions"
},
{
"id": "exercise:synthetic-3",
"allocation": 1,
"max": 5,
"unit": "sessions"
},
{
"id": "exercise:synthetic-4",
"allocation": 1,
"max": 5,
"unit": "sessions"
},
{
"id": "exercise:synthetic-5",
"allocation": 1,
"max": 5,
"unit": "sessions"
},
{
"id": "exercise:synthetic-6",
"allocation": 1,
"max": 5,
"unit": "sessions"
},
{
"id": "exercise:synthetic-7",
"allocation": 1,
"max": 5,
"unit": "sessions"
},
{
"id": "exercise:synthetic-8",
"allocation": 1,
"max": 5,
"unit": "sessions"
}
],
"types": [
{
"id": "training-type:synthetic-0",
"allocation": 1,
"max": 5
},
{
"id": "training-type:synthetic-1",
"allocation": 1,
"max": 5
},
{
"id": "training-type:synthetic-2",
"allocation": 1,
"max": 5
},
{
"id": "training-type:synthetic-3",
"allocation": 1,
"max": 5
}
],
"budget": {
"value": 18,
"unit": "points",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"playerPlans": [
{
"playerId": "player:harbor-0",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-1",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-2",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-3",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-4",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-5",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-6",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-7",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-8",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-9",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-10",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-11",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-12",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-13",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-14",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-15",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-16",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-17",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-18",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
},
{
"playerId": "player:harbor-19",
"focusId": "focus:synthetic-condition",
"intensity": {
"value": 2,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
},
"automatic": false
}
],
"automation": {
"individual": false
}
}
}
@@ -0,0 +1,168 @@
{
"messageType": "snapshot",
"requestId": "request:example-transfer",
"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": "transfer",
"teamId": "club:harbor",
"market": [
{
"id": "offer:synthetic-1",
"player": {
"id": "player:forest-10",
"name": "Testperson forest 10",
"photoAssetId": null,
"nationIds": [
"nation:synthetic-de"
],
"positions": [
"fwd"
],
"shirtNumber": 11
},
"ownerTeam": {
"id": "club:forest",
"kind": "club",
"name": "SV Waldhain",
"shortName": "FOREST",
"nationId": "nation:synthetic-de",
"crestAssetId": "asset:team/forest/crest",
"nameAsOf": "2027-03-15"
},
"offerKind": "purchase",
"price": {
"minor": "90000000",
"currency": "EUR",
"minorUnits": 2
},
"salaryMonthly": {
"minor": "1200000",
"currency": "EUR",
"minorUnits": 2
},
"termMonths": 24,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
],
"pendingOrders": [
{
"id": "order:synthetic-1",
"playerId": "player:forest-10",
"kind": "purchase",
"status": "submitted",
"quoteId": "quote:synthetic-transfer"
}
],
"search": {
"nationId": null,
"competitionId": null,
"teamId": null,
"positions": [
"fwd"
],
"maxFee": {
"minor": "100000000",
"currency": "EUR",
"minorUnits": 2
},
"criteria": {
"strength": {
"value": 60,
"unit": "rating",
"scale": null,
"availability": {
"status": "available",
"reasonCode": null,
"missingFields": []
}
}
}
},
"quote": {
"id": "quote:synthetic-transfer",
"ownerManagerId": "manager:career-demo-1",
"teamId": "club:harbor",
"expectedRevision": "40",
"scopeId": "scope:desk-40-0",
"expiresOn": "2027-03-15",
"total": {
"minor": "90000000",
"currency": "EUR",
"minorUnits": 2
},
"totalBasis": "immediate",
"chargesNow": {
"minor": "90000000",
"currency": "EUR",
"minorUnits": 2
},
"breakdown": [
{
"code": "transfer_fee",
"amount": {
"minor": "90000000",
"currency": "EUR",
"minorUnits": 2
}
}
],
"allowed": true,
"reasonCode": null
},
"page": {
"limit": 200,
"cursor": null,
"nextCursor": null,
"snapshotRevision": "40",
"total": null,
"sort": [
{
"field": "id",
"direction": "asc"
}
]
}
}
}
File diff suppressed because it is too large. Load diff
+307
View File
@@ -0,0 +1,307 @@
{
"draft": true,
"date": "2026-10-26",
"capturedUtc": "2026-10-26T22:55:54.445652+00:00",
"public_ui_engine_ref": {
"ref": "origin/0.3",
"commit": "a207b0129e06f0659a5e7b30afa3680739a33029"
},
"public_main_ref": {
"ref": "origin/main",
"commit": "b879d5be008739f69afef562fb4bce56f1bdc778",
"modern_paths_present": false,
"note": "No src/modern or docs/new_engine in this checked remote main. Separate Claude repository/ref remains unconfirmed.",
"verification": "git fetch origin main, 2026-10-26; no Modern paths"
},
"private_html_ref": {
"commit": "72ddff945f75276d1b0a93e7a9cb5a61beefa9dd",
"workingTreeChanges": [
" M desktop/index.html",
" M desktop/launcher.html",
" M desktop/match-broadcast.js",
" M desktop/match-concepts/multiplayer-view.js",
" M desktop/modern.html",
"?? desktop/live-ticker-adapter.js",
"?? desktop/match-live.css"
],
"files": [
{
"file": "desktop/almanac-menu.js",
"sha256": "c1a0bf12a5c155126d76a881a5c6a12af498a0e9e8c7775e49ea9a12e3e843d2",
"role": "private_html_reference_only"
},
{
"file": "desktop/assets.js",
"sha256": "07f6d14cb288f4ccd70717920748669794788b35a692f8037261ba12f6b5e529",
"role": "private_html_reference_only"
},
{
"file": "desktop/camp-map-data.js",
"sha256": "311217bd7ea6a866e5ccc07dda2b9eb1be46c8f912b0bfdcfa1556faf6483a6e",
"role": "private_html_reference_only"
},
{
"file": "desktop/camp-menu.js",
"sha256": "d2a35071740d3f6a075dcf14e0c990eb4d2c7f40459357e19d35b38fef1cf147",
"role": "private_html_reference_only"
},
{
"file": "desktop/club-data.js",
"sha256": "4000775cc578fc0d89178c3dd6a4420d6f2854d9872dad95c5730f0013a16bf8",
"role": "private_html_reference_only"
},
{
"file": "desktop/desktop-page.js",
"sha256": "9c7ec5dc97ad6b0d7a597270002fcfe0f272042f96d7b83b118b7316ad1faa9a",
"role": "private_html_reference_only"
},
{
"file": "desktop/desktop-views.js",
"sha256": "e14ac626552a39335092e29f211484b8334b4dbbb44c8dc21fc79af4d77f36a9",
"role": "private_html_reference_only"
},
{
"file": "desktop/desktop.js",
"sha256": "74ac3485dead9356666dd4a650e2453924dc5ff3725a5518693fdf1229d7d1f5",
"role": "private_html_reference_only"
},
{
"file": "desktop/finance-menus.js",
"sha256": "59a6ae6757d80f86ba79c0072e6c9e287c00c79b163ce3939d780a962a01f78b",
"role": "private_html_reference_only"
},
{
"file": "desktop/game-session.js",
"sha256": "a10085cb0f4f4f3b070fdac20bcd523055843bb05dbf8498926064f92a077908",
"role": "private_html_reference_only"
},
{
"file": "desktop/game-setup-menu.js",
"sha256": "1a9789c6edac5ac104ea79a2aa61f1e8bcc2ded26f17d97851f6772a81977426",
"role": "private_html_reference_only"
},
{
"file": "desktop/league-preview.js",
"sha256": "b825cd55b923c99dcaf880ffb72f11fd539cafb9ce95959b735f58ceb8dd362a",
"role": "private_html_reference_only"
},
{
"file": "desktop/live-ticker-adapter.js",
"sha256": "794946283785348af5fc129bf9bf4a830619d902a76fbb6482bc2acc1db719f8",
"role": "private_html_reference_only"
},
{
"file": "desktop/main-menu.js",
"sha256": "c1ba7ab422b5208a54518c56388eff504bab32c99d821aca537f0d61e372baee",
"role": "private_html_reference_only"
},
{
"file": "desktop/management-menus.js",
"sha256": "7ef0cdb28c0c3535f98d3484ade37b9f9e059212e21bd7e5da53f1d7c7000f04",
"role": "private_html_reference_only"
},
{
"file": "desktop/match-broadcast.js",
"sha256": "40cf593269711ca38981c7226fa74c7883af09b29648e0cde54178d4dc5be0e1",
"role": "private_html_reference_only"
},
{
"file": "desktop/match-intervention.js",
"sha256": "e945771c6b1880076dbd4efcb24a403aaf9b351d516dee3c50aebd3c19509715",
"role": "private_html_reference_only"
},
{
"file": "desktop/match-model.js",
"sha256": "bf5b8c8c49928d1897a83505e1e8abec66081a0579f58123b7395f4066ab6acc",
"role": "private_html_reference_only"
},
{
"file": "desktop/match-teams.js",
"sha256": "c3233a2f8671fffffceafd6cf6f691cf64844272be1152f430356077690b6d40",
"role": "private_html_reference_only"
},
{
"file": "desktop/mod-library.js",
"sha256": "b2d796474bdb21960b391c9b06228f7c24499294dc37e69a44ec8fd3fa9e4b1f",
"role": "private_html_reference_only"
},
{
"file": "desktop/modern-desktop.js",
"sha256": "fb78882e392784e6c253d7f410ea492bfc278c12e50e850bc5a7f1dfa058458a",
"role": "private_html_reference_only"
},
{
"file": "desktop/modern-dialogs.js",
"sha256": "24a63a2dea28276396a182159f0c372d5fa88508c2fe2b84b310c416ed000923",
"role": "private_html_reference_only"
},
{
"file": "desktop/modern-layout.js",
"sha256": "5aa2e771e44c91028426483bfd71941769226907160d35fac2ada2549b07a9c2",
"role": "private_html_reference_only"
},
{
"file": "desktop/modern-page.js",
"sha256": "8a34a111e1649a69290a2d514336b8a1315c5bdf0feae4c428896eaad429f342",
"role": "private_html_reference_only"
},
{
"file": "desktop/new-player-menu.js",
"sha256": "e3f3a4c30e1cea093ede5f5cba36de7807437b14996dc789f4ee85e8d78cd0a2",
"role": "private_html_reference_only"
},
{
"file": "desktop/news-menu.js",
"sha256": "4c7effdd9bc6f50412ea35640da692d51e826497c56a9a3d6c02ccb4b70a20ac",
"role": "private_html_reference_only"
},
{
"file": "desktop/number-calculator.js",
"sha256": "910c78d1dd651e58c6c53b3fb52024064b06cabfd3b8311de766af2ab580f510",
"role": "private_html_reference_only"
},
{
"file": "desktop/page-navigation.js",
"sha256": "c409cd3c15619f721594928fc00f2104b36c93afa71214446410a316c9a2775f",
"role": "private_html_reference_only"
},
{
"file": "desktop/poc-common.js",
"sha256": "77ce38cad5f221631d671500e1c7d74fe0b343ebcf83a8287926d4a20027ef21",
"role": "private_html_reference_only"
},
{
"file": "desktop/post-match.js",
"sha256": "1e9694843096188260748c0d281bb1e767be236ed56fc6b885fb1f8b4d109842",
"role": "private_html_reference_only"
},
{
"file": "desktop/report-menus.js",
"sha256": "7111f0f0d43efe54d026f6b4f1df12a84da4ea5becde0aac3b371ae2a2ac6c27",
"role": "private_html_reference_only"
},
{
"file": "desktop/save-load-menu.js",
"sha256": "b68eb080348eb91c834f4e9ec883661b237493550d68913e4656497addebc35d",
"role": "private_html_reference_only"
},
{
"file": "desktop/scaled-select.js",
"sha256": "526a64f5cec16bb7bf7b145cbde05ccf0c7103ba6c3cceb253a7c3aee389b249",
"role": "private_html_reference_only"
},
{
"file": "desktop/season-opening.js",
"sha256": "b9cc2f2aa746fea76d05b2d89018d936f34eb4b06799e026a36af9f6e7f39849",
"role": "private_html_reference_only"
},
{
"file": "desktop/settings-menu.js",
"sha256": "bc44466cb046f5b5e6f54e8706b2539b233f2dec6abf7b8e1892a581d6664142",
"role": "private_html_reference_only"
},
{
"file": "desktop/squad-menus.js",
"sha256": "58af159b0485f33e389e96bd52d8b2d6b1e35ba69658cd3ad060e52b0ec47f25",
"role": "private_html_reference_only"
},
{
"file": "desktop/stadium-menus.js",
"sha256": "cb24886af00662f38433a9e925d8c4e05d79459f3439a7ee23624cf75ba897ca",
"role": "private_html_reference_only"
},
{
"file": "desktop/submenus.js",
"sha256": "b420610d793f715714c9c41a2492420bc1202c32a4aa9a243aa5b7c4c19d5467",
"role": "private_html_reference_only"
},
{
"file": "desktop/system-menus.js",
"sha256": "64e0b6d1da2ba07d833701fa6ab8a85aeb35e5e62049ae4166352a4c524cb41d",
"role": "private_html_reference_only"
},
{
"file": "desktop/toto-menu.js",
"sha256": "b826e67290a312fd0477ac1f3abbbb771cf95f0959251ecf06d309160c0508b6",
"role": "private_html_reference_only"
},
{
"file": "desktop/transfer-menu.js",
"sha256": "47dbe5e901acd477e611fad63a7b79341a06a00f6462335d1b003511fbeb1ccf",
"role": "private_html_reference_only"
},
{
"file": "desktop/trophies.js",
"sha256": "6faa1dd67b9eb7fdf3dbc91efb7f542c6069c47a84f1d6778ad77dcf0eaf6e9f",
"role": "private_html_reference_only"
}
],
"initialAnalyzedCommit": "f8932de2009137e738962763c5fcbb75c2467570"
},
"public_evidence": [
{
"file": "src/modern/content/projections.cpp",
"sha256": "fd6244e25e099046d59c7755e07ff7a5e316ad0acd9a3f8eebafaa7adf789cc0"
},
{
"file": "src/modern/content/statistics.cpp",
"sha256": "9562227c3713419e9c2710a94772145be4d70c6cfd9c3bed68933ddd5f0cb41a"
},
{
"file": "src/modern/app/modern_session.hpp",
"sha256": "6dc556ca3987eee66d928b927a689ecf7287dd4169bf21220fe0e6909647279f"
},
{
"file": "src/modern/game/almanac.hpp",
"sha256": "3d0ea4c28bd3c29c77fa670243b0adb397626ed6eb9f53bcec4bb65ddcae51a1"
},
{
"file": "src/modern/game/almanac.cpp",
"sha256": "8171a536b883d6a672ac26bdcaec4dc41732b843e2fc766a643b78c118cea0d7"
},
{
"file": "src/modern/game/highscore.cpp",
"sha256": "a5b1b2636344f611c65b24b7300e4c06cc9f94875c78c2fa5ab29363f235c9ba"
},
{
"file": "docs/new_engine/ui-abfragen.md",
"sha256": "9f8cf7de7aba96a4822422cdd838d61bb4c50991c1f059f50c4783b147d16a5d"
},
{
"file": "docs/new_engine/statistik.md",
"sha256": "f422c97ffa67a316dad18f85cba6a1e8818d7a1cac0bdf4c57e17f442faa8491"
},
{
"file": "docs/new_ui/desktop/almanac/DATA_CONTRACT.md",
"sha256": "26e48d3416676da498ecb75d89ee88f896a982ebe28a5c73289e87f967463224"
}
],
"new_user_request": "Manager submenu resignation/AI handover/last human game end, 2026-10-26; requirement not yet engine implementation.",
"html_context_addendum": {
"capturedUtc": "2026-10-26T23:03:37.024445+00:00",
"commit": "bac3aa72892390d466c016a8788622e6e9c51f2d",
"files": [
{
"file": "desktop/submenus.js",
"sha256": "dc198a0fc8c05991dd4f6d9de987b93bdb961cfab022331ef8125a2d62babbd1"
},
{
"file": "desktop/finance-menus.js",
"sha256": "59a6ae6757d80f86ba79c0072e6c9e287c00c79b163ce3939d780a962a01f78b"
},
{
"file": "desktop/match-model.js",
"sha256": "c40abc91b16f744d84ef09c6e9c6ad37bfc767ea420b0d2c1b5653907ab79e20"
},
{
"file": "desktop/team-directory.js",
"sha256": "902acae4c2c0939d262805d63b2d09c8408ef968fdbaff4421d9176a49b3ef68"
},
{
"file": "desktop/live-ticker-adapter.js",
"sha256": "e5675a992d08f7c21e86b4412c02b1fdf49af6be7e3be5a9f7385288a24fedef"
}
],
"note": "Parallel working-tree context/money addendum. 90/40 demo duration does not establish engine rules."
}
}
+352
View File
@@ -0,0 +1,352 @@
{
"status": "design_fixture_qa_only",
"engineExecuted": false,
"nativeUiTested": false,
"fixtureCount": 53,
"readKinds": 32,
"menuCount": 47,
"passed": 85,
"failed": 0,
"checks": [
{
"check": "fixture:session-four-managers.json",
"passed": true
},
{
"check": "fixture:desktop-club.json",
"passed": true
},
{
"check": "fixture:desktop-national.json",
"passed": true
},
{
"check": "fixture:manager-resign-preview.json",
"passed": true
},
{
"check": "fixture:manager-resign-ai-handover.json",
"passed": true
},
{
"check": "fixture:manager-last-human-game-end.json",
"passed": true
},
{
"check": "fixture:manager-archive.json",
"passed": true
},
{
"check": "fixture:session-after-last-resign.json",
"passed": true
},
{
"check": "fixture:command-resign.json",
"passed": true
},
{
"check": "fixture:command-career-start.json",
"passed": true
},
{
"check": "fixture:squad.json",
"passed": true
},
{
"check": "fixture:lineup.json",
"passed": true
},
{
"check": "fixture:tactics.json",
"passed": true
},
{
"check": "fixture:training.json",
"passed": true
},
{
"check": "fixture:camps.json",
"passed": true
},
{
"check": "fixture:reports.json",
"passed": true
},
{
"check": "fixture:calendar.json",
"passed": true
},
{
"check": "fixture:scheduling.json",
"passed": true
},
{
"check": "fixture:transfer.json",
"passed": true
},
{
"check": "fixture:contracts.json",
"passed": true
},
{
"check": "fixture:bank.json",
"passed": true
},
{
"check": "fixture:balance.json",
"passed": true
},
{
"check": "fixture:advertising.json",
"passed": true
},
{
"check": "fixture:environment.json",
"passed": true
},
{
"check": "fixture:stadium.json",
"passed": true
},
{
"check": "fixture:toto.json",
"passed": true
},
{
"check": "fixture:news.json",
"passed": true
},
{
"check": "fixture:settings.json",
"passed": true
},
{
"check": "fixture:files.json",
"passed": true
},
{
"check": "fixture:opening.json",
"passed": true
},
{
"check": "fixture:match-extra-time.json",
"passed": true
},
{
"check": "fixture:match-national-shootout.json",
"passed": true
},
{
"check": "fixture:match-indoor.json",
"passed": true
},
{
"check": "fixture:match-legacy-unknown-phases.json",
"passed": true
},
{
"check": "fixture:live-ticker.json",
"passed": true
},
{
"check": "fixture:command-live-substitution.json",
"passed": true
},
{
"check": "fixture:postmatch.json",
"passed": true
},
{
"check": "fixture:statistics.json",
"passed": true
},
{
"check": "fixture:statistics-fairplay.json",
"passed": true
},
{
"check": "fixture:statistics-achievements.json",
"passed": true
},
{
"check": "fixture:statistics-highscore.json",
"passed": true
},
{
"check": "fixture:statistics-transfer_history.json",
"passed": true
},
{
"check": "fixture:statistics-season_finance.json",
"passed": true
},
{
"check": "fixture:statistics-minute_buckets.json",
"passed": true
},
{
"check": "fixture:almanac.json",
"passed": true
},
{
"check": "fixture:almanac-correction.json",
"passed": true
},
{
"check": "fixture:query-page.json",
"passed": true
},
{
"check": "fixture:error-stale-revision.json",
"passed": true
},
{
"check": "fixture:library.json",
"passed": true
},
{
"check": "fixture:entry.json",
"passed": true
},
{
"check": "fixture:entity.json",
"passed": true
},
{
"check": "fixture:press-event.json",
"passed": true
},
{
"check": "fixture:press-article.json",
"passed": true
},
{
"check": "reject:html-payload",
"passed": true
},
{
"check": "reject:invalid-date",
"passed": true
},
{
"check": "reject:fractional-cent",
"passed": true
},
{
"check": "reject:money-overflow",
"passed": true
},
{
"check": "reject:revision-overflow",
"passed": true
},
{
"check": "reject:currency-precision",
"passed": true
},
{
"check": "reject:et-final-sum",
"passed": true
},
{
"check": "reject:pso-added-to-goals",
"passed": true
},
{
"check": "reject:duplicate-event",
"passed": true
},
{
"check": "reject:reordered-pso",
"passed": true
},
{
"check": "reject:indoor-eleven",
"passed": true
},
{
"check": "reject:roster-size",
"passed": true
},
{
"check": "reject:foreign-actor",
"passed": true
},
{
"check": "reject:duplicate-ownership",
"passed": true
},
{
"check": "reject:last-human-active",
"passed": true
},
{
"check": "reject:correction-id-change",
"passed": true
},
{
"check": "reject:correction-cycle",
"passed": true
},
{
"check": "reject:quote-sum",
"passed": true
},
{
"check": "reject:page-revision",
"passed": true
},
{
"check": "reject:quote-owner",
"passed": true
},
{
"check": "reject:start-count",
"passed": true
},
{
"check": "reject:coupon-wrong-fixture",
"passed": true
},
{
"check": "command-owner-context",
"passed": true
},
{
"check": "reject:stale-command-context",
"passed": true
},
{
"check": "reject:foreign-manager-context",
"passed": true
},
{
"check": "reject:foreign-world-context",
"passed": true
},
{
"check": "all-read-model-kinds-have-fixtures",
"passed": true
},
{
"check": "legacy-pso-does-not-invent-et",
"passed": true
},
{
"check": "shootout-excluded-from-match-goals",
"passed": true
},
{
"check": "appearance-union-starters-and-entered-bench",
"passed": true
},
{
"check": "zero-attendance-and-weather-remain-known",
"passed": true
},
{
"check": "all-menu-read-references-resolve",
"passed": true
}
]
}
@@ -0,0 +1,73 @@
{
"status": "design_draft",
"readKinds": [
"library",
"entry",
"entity",
"session",
"manager_archive",
"manager_menu",
"desktop",
"squad",
"lineup",
"tactics",
"training",
"camps",
"reports",
"calendar",
"scheduling",
"transfer",
"contracts",
"bank",
"balance",
"advertising",
"environment",
"stadium",
"toto",
"news",
"settings",
"files",
"opening",
"match",
"live",
"postmatch",
"statistics",
"almanac"
],
"commandKinds": [
"quote.request",
"career.start",
"manager.join.begin",
"manager.join.confirm",
"manager.join.cancel",
"manager.resign.commit",
"session.advance",
"opening.continue",
"lineup.commit",
"tactics.commit",
"training.commit",
"camp.book",
"transfer.submit",
"transfer.cancel",
"contract.offer",
"contract.insure",
"contract.bonus",
"advertising.accept",
"budget.commit",
"bank.commit",
"stadium.commit",
"environment.commit",
"ticket.commit",
"friendly.book",
"fixture.reschedule",
"toto.submit",
"news.update",
"settings.commit",
"live.substitute",
"live.tactics",
"postmatch.continue",
"career.save",
"career.load"
],
"rootSchema": "ui-contract.schema.json"
}
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,141 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-3.0-only
"""Generate synthetic DTO design examples, never played-engine claims."""
import json,copy
from pathlib import Path
P=Path(__file__).resolve().parents[1]/'examples';P.mkdir(exist_ok=True)
manifest=[]
def save(name,v,ref='#'):
(P/(name+'.json')).write_text(json.dumps(v,ensure_ascii=False,indent=2)+'\n');manifest.append({'file':name+'.json','schemaRef':ref,'synthetic':True})
def text(s,key=None):return {'key':key,'text':s,'locale':'de','args':{}}
def avail(status='available',reason=None,fields=[]):return {'status':status,'reasonCode':reason,'missingFields':fields}
def cov(status='complete',missing=[]):return {'status':status,'missing':missing,'basis':'synthetic_fixture'}
def money(v):return {'minor':str(v),'currency':'EUR','minorUnits':2}
def metric(v,unit='count'):return {'value':v,'unit':unit,'scale':None,'availability':avail() if v is not None else avail('unavailable','not_recorded',['value'])}
def team(i,kind='club'):
return {'id':('national:' if kind=='national' else 'club:')+i,'kind':kind,'name':{'harbor':'FC Hafenstadt','forest':'SV Waldhain','hill':'SC Hügelstadt','north':'Nationalteam Nord','south':'Nationalteam Süd'}.get(i,i),'shortName':i.upper(),'nationId':'nation:synthetic-'+('north' if kind=='national' else 'de'),'crestAssetId':'asset:team/'+i+'/crest','nameAsOf':'2027-03-15'}
A,B,C,N,O=team('harbor'),team('forest'),team('hill'),team('north','national'),team('south','national')
N.update(name='Nationalteam Test-DE',shortName='TEST-DE',nationId='nation:synthetic-de')
def player(t,n,pos=None):return {'id':'player:'+t+'-'+str(n),'name':'Testperson '+t+' '+str(n),'photoAssetId':None,'nationIds':['nation:synthetic-de'],'positions':[pos or ('gk' if n==0 else 'def' if n<5 else 'mid' if n<9 else 'fwd')],'shirtNumber':n+1}
def manager(i,t):return {'id':'manager:career-demo-'+str(i),'slot':i-1,'name':'Testmanager '+str(i),'control':'human','status':'active','teamId':t['id'],'portraitGuiKey':'gui:manager/photo/'+str(i),'portraitStyle':'photo','strengthChoice':1,'employments':[{'id':'employment:demo-'+str(i),'managerId':'manager:career-demo-'+str(i),'teamId':t['id'],'role':'national_coach' if t['kind']=='national' else 'club_manager','from':'2026-07-01','until':None,'endReason':None}]}
M=[manager(i,t) for i,t in enumerate([A,B,N,C],1)]
def owner(m):return {'teamId':m['teamId'],'controller':'human','managerId':m['id'],'sinceRevision':'40'}
def scope(m=M[0]):return {'managerId':m['id'],'teamId':m['teamId'],'role':'national' if m['slot']==2 else 'club','scopeId':'scope:desk-40-'+str(m['slot']),'allowedCommands':['session.advance','lineup.commit','manager.resign.commit']}
season={'id':'season:2026-27','startDate':'2026-07-01','endDate':'2027-06-30','label':'2026/27','completed':False}
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':season,'scope':scope(),'availability':avail(),'currency':{'code':'EUR','minorUnits':2}}
def snapshot(data,m=None):return {'messageType':'snapshot','requestId':'request:example-'+data['kind'],'meta':copy.deepcopy(m or meta),'data':data}
def page(n=200):return {'limit':n,'cursor':None,'nextCursor':None,'snapshotRevision':'40','total':None,'sort':[{'field':'id','direction':'asc'}]}
def quote(id='camp'):
if id=='camp':total=12000000;parts=[{'code':'base','amount':money(2000000)},{'code':'squad','amount':money(10000000)}]
elif id=='transfer':total=90000000;parts=[{'code':'transfer_fee','amount':money(total)}]
elif id=='contract':total=1500000;parts=[{'code':'salary_monthly','amount':money(total)}]
elif id=='reschedule':total=0;parts=[]
else:total=12000000;parts=[{'code':'synthetic_cost','amount':money(total)}]
future=id in ['contract','advert']
return {'id':'quote:synthetic-'+id,'ownerManagerId':M[0]['id'],'teamId':A['id'],'expectedRevision':'40','scopeId':'scope:desk-40-0','expiresOn':'2027-03-15','total':money(total),'totalBasis':'month' if future else 'immediate','chargesNow':money(0 if future else total),'breakdown':parts,'allowed':True,'reasonCode':None}
def competition(kind='league'):
return {'id':'comp:synthetic-'+kind,'name':text('Synthetischer Wettbewerb '+kind),'kind':kind,'editionId':'edition:synthetic-'+kind+'-2026-27','stageId':'stage:synthetic-final' if kind!='league' else None,'nationId':'nation:synthetic-de' if kind=='league' else None,'rulesId':'rules:synthetic-'+kind}
accounts={'cash':money(250000000),'savings':money(30000000),'debt':money(7500000),'netAssets':money(272500000)}
fixture={'id':'fixture:league-12-a-b','matchId':None,'competition':competition(),'seasonId':season['id'],'originalDate':'2027-03-20','scheduledDate':'2027-03-22','roundId':'round:synthetic-12','home':A,'away':B,'status':'postponed','result':None}
session={'kind':'session','sessionState':'desktop','activeManagerId':M[0]['id'],'managers':M,'humanOwnership':[owner(m) for m in M],'archivedManagerIds':[],'archivedManagerCount':0,'terminationReason':None,'mode':'mixed','canAdvance':True,'blockingReason':None}
save('session-four-managers',snapshot(session))
desktop={'kind':'desktop','manager':M[0],'team':A,'accounts':accounts,'nextFixture':fixture,'menuAvailability':{k:avail() for k in ['training','camps','bank','stadium','toto','transfer','contracts','advertising','environment']},'nextAction':{'id':'continue:desktop-40','kind':'next_manager','enabled':True,'reasonCode':None},'warnings':[{'code':'squad_injury','severity':'warning','text':text('Eine Person ist verletzt.'),'targetReadKind':'squad'}],'widgets':[{'id':'widget:cash','metric':None,'money':money(250000000),'series':[{'date':'2027-03-01','metric':None,'money':money(230000000)},{'date':'2027-03-15','metric':None,'money':money(250000000)}],'entityId':A['id']}]}
save('desktop-club',snapshot(desktop))
nat=copy.deepcopy(desktop);nat['manager']=M[2];nat['team']=N;nat['accounts']=None;nat['warnings']=[];nat['widgets']=[];nat['nextFixture']=None;nat['menuAvailability']={k:avail('unavailable','national_engine_desk_lock' if k in ['training','camps','bank','stadium','toto'] else 'national_ui_policy',['data']) for k in desktop['menuAvailability']};natmeta=copy.deepcopy(meta);natmeta['scope']=scope(M[2]);save('desktop-national',snapshot(nat,natmeta))
menu={'kind':'manager_menu','activeManagerId':M[0]['id'],'humanCount':4,'canJoin':False,'clubSearch':avail('unavailable','future_readonly',['results']),'resignPreview':{'confirmationToken':'confirm:resign-manager-1-r40','expectedRevision':'40','managerId':M[0]['id'],'teamId':A['id'],'aiHandover':True,'lastHumanEndsSession':False,'nextActiveManagerId':M[1]['id'],'terminationReason':None}}
save('manager-resign-preview',snapshot(menu))
arch=copy.deepcopy(M[0]);arch.update(control='archived',status='resigned');arch['employments'][0].update(until='2027-03-15',endReason='resigned')
change={'kind':'ownership_change','managerId':M[0]['id'],'archivedIdentity':arch,'teamId':A['id'],'aiHandover':True,'activeManagerId':M[1]['id'],'humanOwnership':[owner(m) for m in M[1:]],'sessionState':'desktop','terminationReason':None}
result={'messageType':'command_result','requestId':'request:resign-1','accepted':True,'previousRevision':'40','newRevision':'41','outcome':'applied','changedReadKinds':['session','manager_menu','desktop'],'ownershipChange':change,'feedback':text('Das Team wird von der KI übernommen.')};save('manager-resign-ai-handover',result)
ended=copy.deepcopy(result);ended['requestId']='request:last-resign';ended['outcome']='career_ended';ended['ownershipChange'].update(aiHandover=False,activeManagerId=None,humanOwnership=[],sessionState='ended',terminationReason='last_human_resigned');ended['feedback']=text('Die letzte menschliche Person hat aufgegeben.');save('manager-last-human-game-end',ended)
archmeta=copy.deepcopy(meta);archmeta.update(stateRevision='41',projectionRevision='41');archmeta['scope']={'managerId':None,'teamId':None,'role':'session','scopeId':'scope:manager-archive-41','allowedCommands':[]}
save('manager-archive',snapshot({'kind':'manager_archive','managers':[arch],'page':{**page(),'snapshotRevision':'41'}},archmeta))
ended_session=copy.deepcopy(session);ended_session.update(sessionState='ended',activeManagerId=None,managers=[],humanOwnership=[],archivedManagerIds=[arch['id']],archivedManagerCount=1,terminationReason='last_human_resigned',canAdvance=False,blockingReason='session_ended');save('session-after-last-resign',snapshot(ended_session,archmeta))
def command(kind,payload,m=M[0],token=None):return {'messageType':'command','requestId':'request:command-'+kind.replace('.','-'),'careerId':meta['careerId'],'worldId':meta['worldId'],'expectedRevision':'40','owner':scope(m),'scopeToken':token,'kind':kind,'payload':payload}
save('command-resign',command('manager.resign.commit',{'confirmationToken':'confirm:resign-manager-1-r40','confirmed':True}))
save('command-career-start',command('career.start',{'setup':{'players':4,'durationSeasons':3,'difficultyId':'difficulty:synthetic-normal','modeId':'mode:synthetic-club','leagueEnabled':True,'nationalEnabled':True},'managers':M}))
players=[player('harbor',i) for i in range(20)]
entries=[{'player':p,'clubId':A['id'],'squadTeamId':A['id'],'role':'starter' if i<11 else 'bench' if i<17 else 'none','availability':'injured' if i==19 else 'fit','injuryRemaining':{'value':2 if i==19 else 0,'unit':'weeks'},'suspensionRemaining':{'value':0,'unit':'weeks'},'age':20+i%10,'metrics':{'strength':metric(55+i,'rating'),'condition':metric(80,'rating')},'salaryMonthly':money(1500000+i*10000),'contractUntil':'2028-06-30'} for i,p in enumerate(players)]
save('squad',snapshot({'kind':'squad','team':A,'players':entries,'rosterSize':20,'rosterLimit':24,'onFieldCount':11,'onFieldLimit':11,'benchLimit':6,'page':page()}))
lineup={'kind':'lineup','teamId':A['id'],'formationId':'formation:synthetic-442','order':[p['id'] for p in players],'positions':[{'playerId':p['id'],'x':.1+(i%4)*.2,'y':.1+(i//4)*.3} for i,p in enumerate(players[:11])],'takers':{'penalty':players[10]['id'],'freeKick':players[9]['id'],'corner':players[8]['id']},'instructions':[{'playerId':p['id'],'values':{'pressing':metric(1,'rating')}} for p in players],'savedFormations':[{'id':'formation:synthetic-custom1','name':text('Eigene Aufstellung'),'editable':True}],'liveScopeToken':None};save('lineup',snapshot(lineup))
save('tactics',snapshot({'kind':'tactics','teamId':A['id'],'controls':[{'id':'tactic:effort','label':text('Einsatz'),'value':6,'choices':[],'range':{'min':0,'max':15,'step':1}}],'liveScopeToken':None}))
save('training',snapshot({'kind':'training','teamId':A['id'],'exercises':[{'id':'exercise:synthetic-'+str(i),'allocation':1,'max':5,'unit':'sessions'} for i in range(9)],'types':[{'id':'training-type:synthetic-'+str(i),'allocation':1,'max':5} for i in range(4)],'budget':metric(18,'points'),'playerPlans':[{'playerId':p['id'],'focusId':'focus:synthetic-condition','intensity':metric(2,'rating'),'automatic':False} for p in players],'automation':{'individual':False}}))
save('camps',snapshot({'kind':'camps','maps':[{'id':'map:synthetic-de','name':text('Deutschland'),'guiAssetKey':'gui:map/de','width':None,'height':None}],'camps':[{'id':'resort:synthetic-1','mapId':'map:synthetic-de','name':text('Trainingszentrum Beispiel'),'place':'Beispielort','nationId':'nation:synthetic-de','position':None,'quality':{'pitch':6,'fitness':5,'catering':4,'lodging':3},'guiImageKey':'gui:camp/1','worldImageAssetId':None,'quote':quote()}],'focus':{'condition':5,'technique':5,'play':5,'recovery':metric(None,'rating')},'staysThisSeason':1,'seasonLimit':3,'bookedThisWeek':False}))
reports={'kind':'reports','competition':competition(),'fixtures':[fixture],'table':[{'rank':1,'team':A,'played':12,'won':8,'drawn':3,'lost':1,'goalsFor':24,'goalsAgainst':11,'points':24,'pointAdjustment':-3,'zone':'continental'},{'rank':2,'team':B,'played':12,'won':7,'drawn':2,'lost':3,'goalsFor':19,'goalsAgainst':13,'points':23,'pointAdjustment':0,'zone':None}],'strengths':[{'team':A,'metrics':{'starting11':metric(68,'rating')}}],'page':page(),'tieBreakPolicyId':'rules:synthetic-table'};save('reports',snapshot(reports))
save('calendar',snapshot({'kind':'calendar','from':'2027-03-01','until':'2027-03-31','days':[{'date':'2027-03-22','fixtureIds':[fixture['id']],'eventKinds':['league'],'canSchedule':False,'reasonCode':'occupied'}],'fixtures':[fixture]}))
save('scheduling',snapshot({'kind':'scheduling','kindOfPlan':'reschedule','fixtures':[fixture],'opponents':[B],'venues':['home','away','neutral'],'availableDates':['2027-03-23'],'quote':quote('reschedule'),'originalFixtureId':fixture['id'],'originalDate':'2027-03-20'}))
save('transfer',snapshot({'kind':'transfer','teamId':A['id'],'market':[{'id':'offer:synthetic-1','player':player('forest',10),'ownerTeam':B,'offerKind':'purchase','price':money(90000000),'salaryMonthly':money(1200000),'termMonths':24,'availability':avail()}],'pendingOrders':[{'id':'order:synthetic-1','playerId':'player:forest-10','kind':'purchase','status':'submitted','quoteId':'quote:synthetic-transfer'}],'search':{'nationId':None,'competitionId':None,'teamId':None,'positions':['fwd'],'maxFee':money(100000000),'criteria':{'strength':metric(60,'rating')}},'quote':quote('transfer'),'page':page()}))
contracts={'kind':'contracts','teamId':A['id'],'players':[{'playerId':p['id'],'salaryMonthly':money(1500000),'remainingMonths':15,'insuranceMonths':12,'insuranceFee':money(300000),'offerAllowed':True,'reasonCode':None} for p in players],'teamBonuses':[{'id':'bonus:synthetic-win','amount':money(100000),'basis':'win'}],'quote':quote('contract')};save('contracts',snapshot(contracts))
save('bank',snapshot({'kind':'bank','accounts':accounts,'savingsRateAnnual':metric(3,'percent'),'properties':[{'id':'property:synthetic-1','name':text('Beispielgebäude'),'ownedUnits':1,'buyPrice':money(100000000),'sellPrice':money(95000000),'rentMonthly':money(300000)}],'stocks':[{'id':'stock:synthetic-1','name':text('Beispiel-Aktie'),'ownedUnits':100,'unitPrice':money(1234),'series':[money(1200),money(1234)]}],'credit':{'outstanding':money(7500000),'limit':money(20000000),'rateAnnual':metric(8,'percent'),'schedule':[{'dueOn':'2027-04-01','principal':money(1000000),'interest':money(50000),'balanceAfter':money(6500000)}]},'quote':quote('bank')}))
ledger={'id':'ledger:synthetic-gate','transactionId':'transaction:synthetic-match-1','date':'2027-03-15','effectiveDate':'2027-03-15','managerId':M[0]['id'],'teamId':A['id'],'account':'cash','category':'gate_receipts','amount':money(12000000),'counterpartyId':None,'fixtureId':'fixture:et-a-b','reversalOf':None,'text':text('Eintrittseinnahmen')}
save('balance',snapshot({'kind':'balance','accounts':accounts,'ledger':[ledger],'forecast':[{'periodStart':'2027-04-01','periodEnd':'2027-04-30','category':'salary','amount':money(-30000000),'scenarioId':'scenario:plan-1'}],'actualThrough':'2027-03-15','page':page()}))
save('advertising',snapshot({'kind':'advertising','teamId':A['id'],'slots':[{'id':'advert-slot:board1','kind':'boards','sponsorId':None,'sponsorName':None,'monthly':None,'remainingMonths':None,'available':True}],'offers':[quote('advert')],'budgets':[{'id':'budget:fan-items','label':text('Fanartikel'),'amount':money(500000),'period':'month'}]}))
save('environment',snapshot({'kind':'environment','teamId':A['id'],'services':[{'id':'service:youth','label':text('Jugendförderung'),'stars':6,'monthlyCost':money(300000),'effect':avail()}],'youthCandidates':[],'quote':quote('environment')}))
save('stadium',snapshot({'kind':'stadium','teamId':A['id'],'stadiumId':'stadium:synthetic-harbor','name':'Beispielstadion','capacity':30000,'blocks':[{'id':'stadium-block:A','seats':2000,'standing':1000,'covered':True,'condition':metric(80,'percent'),'projectId':None}],'facilities':[{'id':'facility:synthetic-parking','level':1,'maxLevel':3,'guiAssetRole':'gui:stadium/parking-1'}],'ticketPrice':money(1500),'attendanceSeries':[{'fixtureId':'fixture:et-a-b','attendance':0,'capacity':30000}],'quote':quote('stadium')}))
toto_fixtures=[]
for i in range(11):
tf=copy.deepcopy(fixture);tf.update(id='fixture:toto-'+str(i),home=team('coupon-home-'+str(i)),away=team('coupon-away-'+str(i)));toto_fixtures.append(tf)
save('toto',snapshot({'kind':'toto','couponId':'coupon:synthetic-12','fixtures':toto_fixtures,'columns':[{'id':'column:1','picks':[{'fixtureId':tf['id'],'pick':['home','draw','away'][i%3]} for i,tf in enumerate(toto_fixtures)],'hits':None}],'stake':money(400),'fee':money(100),'payout':None,'status':'draft','quote':quote('toto')}))
save('news',snapshot({'kind':'news','events':[],'articles':[],'dedupePolicyId':'rules:press-dedupe-v1','messages':[{'id':'message:synthetic-1','ownerManagerId':M[0]['id'],'date':'2027-03-15','sender':text('Geschäftsstelle'),'subject':text('Beispielmeldung'),'paragraphs':[text('Die Vorschau enthält ausschließlich synthetische Daten.')],'category':'club','read':False,'folder':'inbox','entityIds':[A['id']],'actionIds':[]}],'unreadCount':1,'page':page()}))
save('settings',snapshot({'kind':'settings','definitions':[{'id':'setting:automatic-lineup','label':text('Aufstellung automatisch'),'scope':'manager','type':'boolean','value':False,'allowedValues':[False,True],'availability':avail()},{'id':'setting:ui-theme','label':text('Darstellung'),'scope':'ui_global','type':'choice','value':'midnight','allowedValues':['midnight','silver','matchday'],'availability':avail()}]}))
save('files',snapshot({'kind':'files','entries':[{'id':'save:synthetic-1','worldId':meta['worldId'],'careerId':meta['careerId'],'name':'Beispielkarriere','kind':'career','modifiedAt':'2027-03-15T12:00:00Z','seasonId':season['id'],'date':meta['date'],'managerIds':[m['id'] for m in M],'previewAssetId':None,'token':'file-token:synthetic-1','isDefault':False}],'page':page(),'provider':'engine_career'}))
save('opening',snapshot({'kind':'opening','phase':'draw','entrants':[{'competitionId':competition('international_club')['id'],'teamIds':[A['id'],B['id']]}],'pairings':[{'fixtureId':fixture['id'],'homeId':A['id'],'awayId':B['id'],'revealed':False}],'pendingPresentationId':'presentation:opening-1','canContinue':False}))
def clock(minute=0,period='second',precision='minute'):
return {'periodId':'period:'+period,'elapsedSeconds':minute*60 if precision=='second' else None,'minute':minute,'stoppageSeconds':None,'precision':precision,'label':text(str(minute)+'′')}
def event(mid,n,kind,minute,tm,actor=None,other=None,period='second',scored=None):return {'id':'event:'+mid+'-'+str(n),'eventRevision':'1','sequence':str(n),'kind':kind,'teamId':tm,'actorPlayerId':actor,'otherPlayerId':other,'clock':clock(minute,period),'goalKind':'open_play' if kind=='goal' else None,'scored':scored,'recipientTeamId':tm if kind=='goal' else None,'supersedesEventId':None,'text':text('Synthetisches Ereignis '+str(n))}
def match(mid,home=A,away=B,indoor=False):
mode='indoor' if indoor else 'outdoor';count=6 if indoor else 11
return {'kind':'match','id':'match:'+mid,'fixtureId':'fixture:'+mid,'seasonId':season['id'],'date':'2027-03-15','competition':competition('indoor' if indoor else 'domestic_cup'),'roundId':'round:synthetic-final','mode':mode,'home':home,'away':away,'managerIdsBySide':{'home':M[0]['id'],'away':M[1]['id']},'result':{'status':'completed','decision':'extra_time','regulation':{'home':1,'away':1},'extra':{'home':1,'away':0},'final':{'home':2,'away':1},'shootout':None,'extraTimePlayed':True,'winnerTeamId':home['id'],'countedForTable':False},'clock':clock(120,'extra-second'),'onFieldCounts':{'home':count,'away':count},'rules':{'rulesId':'rules:synthetic-'+mode,'periods':[{'id':'period:indoor-1' if indoor else 'period:first','kind':'indoor_period' if indoor else 'first_half','nominalSeconds':600 if indoor else 2700},{'id':'period:indoor-2' if indoor else 'period:second','kind':'indoor_period' if indoor else 'second_half','nominalSeconds':600 if indoor else 2700}],'rosterLimit':11 if indoor else 24,'onFieldLimit':count,'benchLimit':5 if indoor else 6,'substitutionLimit':3,'directShootout':False},'referee':{'id':None,'name':'Testschiedsrichter'},'attendance':0,'weather':{'temperatureCelsius':0,'rainScale0To7':0},'lineups':[{'teamId':t['id'],'starters':[player(t['id'].split(':')[1],i) for i in range(count)],'bench':[player(t['id'].split(':')[1],i) for i in range(count,count+3)],'classificationKnown':True,'rosterSize':count+3,'onFieldCount':count,'onFieldLimit':count,'coverage':cov()} for t in [home,away]],'events':[],'coverage':cov(),'countingPolicyId':'rules:synthetic-match-counting'}
et=match('et-a-b');et['events']=[event('et-a-b',1,'goal',10,A['id'],'player:harbor-10',period='first'),event('et-a-b',2,'goal',45,B['id'],'player:forest-9',period='first'),event('et-a-b',3,'yellow',50,A['id'],'player:harbor-3'),event('et-a-b',4,'substitution',60,A['id'],'player:harbor-11','player:harbor-7'),event('et-a-b',5,'goal',110,A['id'],'player:harbor-11',period='extra-second')];et['rules']['periods'] +=[{'id':'period:extra-first','kind':'extra_first','nominalSeconds':900},{'id':'period:extra-second','kind':'extra_second','nominalSeconds':900}];save('match-extra-time',snapshot(et))
pso=match('national-pso',N,O);pso['competition']=competition('national_tournament');pso['managerIdsBySide']={'home':M[2]['id'],'away':None};pso['result'].update(decision='shootout',regulation={'home':2,'away':2},extra=None,final={'home':2,'away':2},shootout={'home':5,'away':4},extraTimePlayed=False,winnerTeamId=N['id']);pso['clock']=clock(121,'shootout');pso['rules']['directShootout']=True;pso['lineups'][1].update(starters=[],bench=[],classificationKnown=False,rosterSize=0,onFieldCount=None,coverage=cov('none',['actors','lineup_classification']));pso['onFieldCounts']['away']=None;pso['coverage']=cov('partial',['actors','discipline']);pso['events']=[event('national-pso',1,'goal',10,N['id'],'player:north-10',period='first'),event('national-pso',2,'goal',20,O['id'],None,period='first'),event('national-pso',3,'goal',60,N['id'],'player:north-9'),event('national-pso',4,'goal',70,O['id'],None)]
for i in range(10):pso['events'].append(event('national-pso',i+5,'shootout_kick',121,N['id'] if i%2==0 else O['id'],'player:north-'+str(i//2+1) if i%2==0 else None,period='shootout',scored=i!=9))
pm=copy.deepcopy(meta);pm['scope']=scope(M[2]);save('match-national-shootout',snapshot(pso,pm))
ind=match('indoor-final',indoor=True);ind['result'].update(decision='regulation',regulation={'home':2,'away':1},extra=None,final={'home':2,'away':1},extraTimePlayed=False);ind['clock']=clock(20,'indoor-2');ind['events']=[event('indoor-final',1,'goal',3,A['id'],'player:harbor-3',period='indoor-1'),event('indoor-final',2,'goal',8,B['id'],'player:forest-4',period='indoor-1'),event('indoor-final',3,'goal',17,A['id'],'player:harbor-4',period='indoor-2')];ind['rules']['periods']=[];ind['clock'].update(periodId=None,minute=None,precision='unknown',label=text('Spielende'));ind['coverage']=cov('partial',['periods','seconds'])
for e in ind['events']:e['clock']['periodId']=None
save('match-indoor',snapshot(ind))
legacy=copy.deepcopy(pso);legacy['id']='match:legacy-unknown';legacy['fixtureId']='fixture:legacy-unknown';legacy['result'].update(regulation=None,extra=None,extraTimePlayed=None);legacy['events']=[];legacy['lineups']=[];legacy['onFieldCounts']={'home':None,'away':None};legacy['coverage']=cov('partial',['events','actors','periods','lineup_classification','weather']);legacy['coverage']['basis']='legacy_archive';legacy['weather']=None;save('match-legacy-unknown-phases',snapshot(legacy))
live=copy.deepcopy(et);live['result']['status']='live';live['result']['decision']='unknown';live['result'].update(regulation=None,extra=None,final={'home':1,'away':1},winnerTeamId=None,extraTimePlayed=None);live['clock']=clock(70);live['events']=live['events'][:4]
save('live-ticker',snapshot({'kind':'live','presentationId':'presentation:matchday-12','scopeToken':'scope:live-40-matchday-12','lastSequence':'4','managerGames':[{'managerId':M[0]['id'],'matchId':et['id'],'teamId':A['id']},{'managerId':M[1]['id'],'matchId':et['id'],'teamId':B['id']}],'watchedMatchIds':[et['id']],'focusMatchId':et['id'],'matches':[live],'paused':True,'canIntervene':True,'availableCommands':['live.substitute','live.tactics'],'eventPage':page(),'resyncRequired':False}))
live_command=command('live.substitute',{'matchId':et['id'],'outPlayerId':'player:harbor-8','inPlayerId':'player:harbor-12'},token='scope:live-40-matchday-12');live_command['owner']['allowedCommands']=['live.substitute','live.tactics'];save('command-live-substitution',live_command)
save('postmatch',snapshot({'kind':'postmatch','presentationId':'presentation:postmatch-12','stage':'results','matches':[et,ind],'teamOfRound':[],'tables':[reports],'totals':{'goals':metric(6),'attendance':metric(0)},'continueToken':'continue:postmatch-12','continueAvailability':avail()}))
stats={'kind':'statistics','section':'player_stats','scope':{'seasonIds':[season['id']],'competitionIds':[et['competition']['id']],'teamId':None,'managerId':None,'nationId':None,'asOf':meta['date'],'ruleId':'rules:synthetic-counting-v1'},'rows':[{'label':text('Testperson harbor 11'),'team':A,'player':player('harbor',11),'manager':None,'periodId':None,'fromSecond':None,'untilSecond':None,'entityId':'player:harbor-11','teamId':A['id'],'managerId':None,'rank':1,'metrics':{'goals':metric(1),'appearances':metric(1),'yellow':metric(0),'secondYellow':metric(0),'straightRed':metric(0)},'money':{},'coverage':cov()}],'series':[],'page':page(),'provenance':['almanac','rules_snapshot']};save('statistics',snapshot(stats))
for section,provenance in [('fairplay',['almanac','rules_snapshot']),('achievements',['almanac','manager_history','rules_snapshot']),('highscore',['manager_history','current_team_state','external_highscores','rules_snapshot']),('transfer_history',['transfer_ledger']),('season_finance',['finance_ledger']),('minute_buckets',['almanac'])]:
st=copy.deepcopy(stats);st['section']=section;st['provenance']=provenance
if section=='fairplay':
st['rows'][0].update(entityId=A['id'],label=text(A['name']),player=None,rank=None)
st['rows'][0]['metrics']={'yellow':metric(1),'secondYellow':metric(0),'straightRed':metric(0),'dismissals':metric(0),'fairplayPoints':metric(None,'points')}
st['rows'][0]['metrics']['fairplayPoints']['availability']=avail('unavailable','rule_pending',['fairplayPoints'])
if section=='achievements':
st['rows'][0].update(entityId=A['id'],label=text(A['name']),player=None,rank=None)
st['rows'][0]['metrics']={'domesticCupTitles':metric(1)}
if section in ['highscore','transfer_history']:st['rows']=[]
if section=='season_finance':
st['rows'][0].update(entityId=A['id'],label=text(A['name']),player=None,rank=None)
st['rows'][0]['metrics']={'recordedTransactions':metric(1)};st['rows'][0]['money']={'gateReceipts':money(12000000)}
if section=='minute_buckets':
base=copy.deepcopy(st['rows'][0]);base.update(entityId=None,teamId=None,team=None,player=None,rank=None,money={})
st['rows']=[]
for period,lo,hi in [('period:first',300,600),('period:first',2400,2700),('period:extra-second',0,300)]:
r=copy.deepcopy(base);r.update(label=text('Torintervall'),periodId=period,fromSecond=lo,untilSecond=hi,metrics={'goals':metric(1)});st['rows'].append(r)
sm=copy.deepcopy(meta)
if section in ['highscore','transfer_history']:sm['availability']=avail('unavailable','requires_nonmatch_ledger',['rows'])
if section in ['fairplay','season_finance']:sm['availability']=avail('partial','rule_or_ledger_incomplete',['fairplayPoints' if section=='fairplay' else 'periodTotals'])
save('statistics-'+section,snapshot(st,sm))
save('almanac',snapshot({'kind':'almanac','query':'day','seasonIds':[season['id']],'dates':[meta['date']],'matches':[et,ind,pso],'tables':[],'page':page(),'correctionRevision':'0'}))
corrected=copy.deepcopy(et);corrected['result'].update(final={'home':1,'away':2},extra={'home':0,'away':1},winnerTeamId=B['id']);corrected['events'][-1].update(teamId=B['id'],actorPlayerId='player:forest-10',recipientTeamId=B['id'],eventRevision='2')
save('almanac-correction',{'kind':'correction','id':'correction:synthetic-1','targetId':et['id'],'operation':'replace','supersedesId':None,'recordedOn':'2027-03-16','effectiveOn':'2027-03-15','reason':text('Synthetische Ergebniskorrektur'),'archiveDigest':'0'*64,'replacementMatch':corrected,'effectiveProjectionRevision':'41'},'#/$defs/Correction')
save('query-page',{'messageType':'query','requestId':'request:query-stats','kind':'statistics','managerId':M[0]['id'],'teamId':A['id'],'atRevision':'40','filters':{'seasonId':season['id'],'competitionId':et['competition']['id'],'matchId':None,'fixtureId':None,'nationId':None,'from':'2027-01-01','until':meta['date'],'section':'player_stats','search':''},'page':{'limit':50,'cursor':None,'sort':[{'field':'goals','direction':'desc'},{'field':'id','direction':'asc'}]}})
save('error-stale-revision',{'messageType':'error','requestId':'request:command-resign','code':'stale_revision','message':text('Die Ansicht ist veraltet. Bitte neu laden.'),'currentRevision':'41','retryable':True,'stateChanged':False})
# Main menu has no invented career or manager yet.
lm=copy.deepcopy(meta);lm.update(careerId=None,worldId=None,stateRevision='0',projectionRevision='0');lm['scope']={'managerId':None,'teamId':None,'role':'session','scopeId':'scope:library','allowedCommands':[]}
save('library',snapshot({'kind':'library','activeWorldId':None,'entries':[{'id':'mod:synthetic','worldId':'world:synthetic-demo','name':'Synthetische Beispielwelt','format':'modern','version':'1.0','description':text('Ausschließlich Testdaten'),'installed':True,'availability':avail()}],'page':{**page(),'snapshotRevision':'0'}},lm))
em=copy.deepcopy(lm);em['worldId']=meta['worldId']
save('entry',snapshot({'kind':'entry','setup':{'durationOptions':[1,2,3,4,5],'difficultyOptions':[{'id':'difficulty:synthetic-normal','label':text('Normal')}],'modeOptions':[{'id':'mode:synthetic-club','label':text('Verein')}],'minManagers':1,'maxManagers':4,'leagueAvailable':True,'nationalAvailable':True},'teams':[{'team':A,'competitionId':competition()['id'],'manageable':True,'reasonCode':None},{'team':B,'competitionId':competition()['id'],'manageable':False,'reasonCode':'human_already_owned'}],'portraits':[{'guiKey':M[0]['portraitGuiKey'],'style':'photo','available':True}],'page':{**page(),'snapshotRevision':'0'}},em))
save('entity',snapshot({'kind':'entity','team':A,'player':players[0],'squad':entries,'metrics':{'strength':metric(67,'rating')},'biography':[{'label':text('Gründungsjahr'),'value':None}],'contracts':None,'historyAvailability':avail('partial','not_recorded',['biography'])}))
press={'id':'press-event:match-et-a-b','type':'press-type:match-result','date':meta['date'],'scope':{'kind':'club','id':A['id'],'name':A['name']},'data':{'team':A,'opponent':B,'score':{'home':2,'away':1},'competition':et['competition']},'variant':None}
save('press-event',press,'#/$defs/PressEvent')
article={'id':'article:match-et-a-b','sourceEventId':press['id'],'type':press['type'],'date':press['date'],'scope':press['scope'],'dedupeKey':'career:synthetic-demo|press-event:match-et-a-b|club:harbor','snapshots':{'de':{'headline':'Testteam gewinnt','lead':'Synthetischer Bericht nach einem Beispielspiel.','paragraphs':['Der Bericht enthält keine Enginebehauptung.']},'en':{'headline':'Test team wins','lead':'Synthetic report after an example match.','paragraphs':['This report makes no engine implementation claim.']}},'read':False,'deleted':False}
save('press-article',article,'#/$defs/Article')
(P/'index.json').write_text(json.dumps({'fixtures':manifest,'allSynthetic':True,'notEngineGold':True},indent=2)+'\n')
print('fixtures',len(manifest))
@@ -0,0 +1,127 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-3.0-only
"""Rebuild the proposed JSON schema; no engine or original data access."""
from pathlib import Path
import json, hashlib, subprocess
ROOT=Path(__file__).resolve().parents[1]
(ROOT/'schemas').mkdir(parents=True,exist_ok=True);(ROOT/'examples').mkdir(exist_ok=True)
def ref(n):return {'$ref':'#/$defs/'+n}
def nullable(v):return {'anyOf':[v,{'type':'null'}]}
def arr(v,lo=0,hi=200):return {'type':'array','items':v,'minItems':lo,'maxItems':hi}
def obj(props,required=None):return {'type':'object','properties':props,'required':list(props) if required is None else required,'additionalProperties':False}
def enum(*v):return {'enum':list(v)}
def string(limit=512):return {'type':'string','maxLength':limit}
def integer(lo=0,hi=2147483647):return {'type':'integer','minimum':lo,'maximum':hi}
def mapping(v):return {'type':'object','additionalProperties':v,'maxProperties':200}
def record(kind,props):return obj({'kind':{'const':kind},**props})
ID={'type':'string','pattern':r'^[a-z][a-z0-9_.-]*:[A-Za-z0-9_./:@-]+$','maxLength':256}
DEC={'type':'string','pattern':r'^(0|[1-9][0-9]*)$','maxLength':20}
D={}
D['Id']=ID;D['Revision']=DEC
D['ManagerInputName']={'type':'string','minLength':1,'maxLength':24,'pattern':r'^[^\u0000-\u001f\u007f-\u009f]+$'}
D['Date']={'type':'string','format':'date','pattern':r'^\d{4}-\d{2}-\d{2}$'}
D['Text']=obj({'key':nullable(string(160)),'text':string(10000),'locale':enum('de','en'),'args':mapping({'type':['string','integer','boolean','null']})})
D['Money']=obj({'minor':{'type':'string','pattern':r'^(0|-?[1-9][0-9]*)$','maxLength':20},'currency':{'type':'string','pattern':'^[A-Z]{3}$'},'minorUnits':integer(0,4)})
D['Availability']=obj({'status':enum('available','partial','unavailable'),'reasonCode':nullable(string(100)),'missingFields':arr(string(200),0,100)})
D['Metric']=obj({'value':nullable({'type':'number'}),'unit':enum('count','points','percent','rating','stars','seconds','celsius','capacity','ratio'),'scale':nullable(obj({'min':{'type':'number'},'max':{'type':'number'},'step':{'type':'number','exclusiveMinimum':0}})),'availability':ref('Availability')})
D['Team']=obj({'id':ref('Id'),'kind':enum('club','national'),'name':string(),'shortName':string(100),'nationId':nullable(ref('Id')),'crestAssetId':nullable(ref('Id')),'nameAsOf':nullable(ref('Date'))})
D['Player']=obj({'id':ref('Id'),'name':string(),'photoAssetId':nullable(ref('Id')),'nationIds':arr(ref('Id'),0,4),'positions':nullable(arr(enum('gk','def','mid','fwd'),0,4)),'shirtNumber':nullable(integer(0,99))})
D['Competition']=obj({'id':ref('Id'),'name':ref('Text'),'kind':enum('league','domestic_cup','international_club','national_tournament','friendly','indoor','relegation'),'editionId':ref('Id'),'stageId':nullable(ref('Id')),'nationId':nullable(ref('Id')),'rulesId':ref('Id')})
D['Season']=obj({'id':ref('Id'),'startDate':ref('Date'),'endDate':ref('Date'),'label':string(20),'completed':{'type':'boolean'}})
D['Employment']=obj({'id':ref('Id'),'managerId':ref('Id'),'teamId':ref('Id'),'role':enum('club_manager','national_coach'),'from':ref('Date'),'until':nullable(ref('Date')),'endReason':nullable(enum('resigned','dismissed','retired','career_end'))})
D['Manager']=obj({'id':ref('Id'),'slot':integer(0,3),'name':string(100),'control':enum('human','ai','archived'),'status':enum('active','resigned','dismissed','retired'),'teamId':nullable(ref('Id')),'portraitGuiKey':nullable(ref('Id')),'portraitStyle':enum('photo','painted'),'strengthChoice':integer(0,2),'employments':arr(ref('Employment'),0,200)})
D['Ownership']=obj({'teamId':ref('Id'),'controller':enum('human','ai'),'managerId':nullable(ref('Id')),'sinceRevision':ref('Revision')})
D['Scope']=obj({'managerId':nullable(ref('Id')),'teamId':nullable(ref('Id')),'role':enum('club','national','observer','session'),'scopeId':ref('Id'),'allowedCommands':arr(string(100),0,100)})
D['Page']=obj({'limit':integer(1,200),'cursor':nullable(string(2048)),'nextCursor':nullable(string(2048)),'snapshotRevision':ref('Revision'),'total':nullable(integer()),'sort':arr(obj({'field':string(100),'direction':enum('asc','desc')}),1,5)})
D['Coverage']=obj({'status':enum('complete','partial','none'),'missing':arr(enum('actors','lineup_classification','events','periods','seconds','referee','attendance','weather','discipline','shootout_order'),0,20),'basis':enum('engine_recorded','legacy_archive','synthetic_fixture','corrected_projection')})
D['Meta']=obj({'contractVersion':{'const':'bmh-modern-ui@draft1'},'draft':{'const':True},'sourceRevision':string(64),'careerId':nullable(ref('Id')),'worldId':nullable(ref('Id')),'worldRevision':string(100),'stateRevision':ref('Revision'),'projectionRevision':ref('Revision'),'locale':enum('de','en'),'date':ref('Date'),'season':ref('Season'),'scope':ref('Scope'),'availability':ref('Availability'),'currency':obj({'code':{'type':'string','pattern':'^[A-Z]{3}$'},'minorUnits':integer(0,4)})})
D['Session']=record('session',{'sessionState':enum('setup','opening','desktop','live','postmatch','ended'),'activeManagerId':nullable(ref('Id')),'managers':arr(ref('Manager'),0,4),'humanOwnership':arr(ref('Ownership'),0,4),'archivedManagerIds':arr(ref('Id'),0,200),'archivedManagerCount':integer(),'terminationReason':nullable(enum('last_human_resigned','career_completed','user_ended','engine_failure')),'mode':enum('club','national','mixed'),'canAdvance':{'type':'boolean'},'blockingReason':nullable(string(100))})
D['Quote']=obj({'id':ref('Id'),'ownerManagerId':ref('Id'),'teamId':ref('Id'),'expectedRevision':ref('Revision'),'scopeId':ref('Id'),'expiresOn':nullable(ref('Date')),'total':ref('Money'),'totalBasis':enum('immediate','month','season','term'),'chargesNow':nullable(ref('Money')),'breakdown':arr(obj({'code':string(100),'amount':ref('Money')}),0,30),'allowed':{'type':'boolean'},'reasonCode':nullable(string(100))})
D['ManagerArchive']=record('manager_archive',{'managers':arr(ref('Manager'),0,200),'page':ref('Page')})
D['ManagerMenu']=record('manager_menu',{'activeManagerId':ref('Id'),'humanCount':integer(1,4),'canJoin':{'type':'boolean'},'clubSearch':ref('Availability'),'resignPreview':obj({'confirmationToken':ref('Id'),'expectedRevision':ref('Revision'),'managerId':ref('Id'),'teamId':ref('Id'),'aiHandover':{'type':'boolean'},'lastHumanEndsSession':{'type':'boolean'},'nextActiveManagerId':nullable(ref('Id')),'terminationReason':nullable(enum('last_human_resigned'))})})
D['Accounts']=obj({'cash':ref('Money'),'savings':ref('Money'),'debt':ref('Money'),'netAssets':ref('Money')})
D['Fixture']=obj({'id':ref('Id'),'matchId':nullable(ref('Id')),'competition':ref('Competition'),'seasonId':ref('Id'),'originalDate':ref('Date'),'scheduledDate':ref('Date'),'roundId':ref('Id'),'home':ref('Team'),'away':ref('Team'),'status':enum('scheduled','postponed','live','completed','cancelled'),'result':nullable(obj({'home':integer(),'away':integer()}))})
D['Desktop']=record('desktop',{'manager':ref('Manager'),'team':ref('Team'),'accounts':nullable(ref('Accounts')),'nextFixture':nullable(ref('Fixture')),'menuAvailability':mapping(ref('Availability')),'nextAction':obj({'id':ref('Id'),'kind':enum('next_manager','next_day','kickoff','opening','national_selection','none'),'enabled':{'type':'boolean'},'reasonCode':nullable(string(100))}),'warnings':arr(obj({'code':string(100),'severity':enum('info','warning','blocking'),'text':ref('Text'),'targetReadKind':nullable(string(100))}),0,50),'widgets':arr(obj({'id':ref('Id'),'metric':nullable(ref('Metric')),'money':nullable(ref('Money')),'series':arr(obj({'date':ref('Date'),'metric':nullable(ref('Metric')),'money':nullable(ref('Money'))}),0,200),'entityId':nullable(ref('Id'))}),0,48)})
D['SquadEntry']=obj({'player':ref('Player'),'clubId':nullable(ref('Id')),'squadTeamId':ref('Id'),'role':enum('starter','bench','none'),'availability':enum('fit','injured','suspended','unknown'),'injuryRemaining':obj({'value':nullable(integer()),'unit':enum('days','weeks','matches','unknown')}),'suspensionRemaining':obj({'value':nullable(integer()),'unit':enum('days','weeks','matches','unknown')}),'age':nullable(integer(0,100)),'metrics':mapping(ref('Metric')),'salaryMonthly':nullable(ref('Money')),'contractUntil':nullable(ref('Date'))})
D['Squad']=record('squad',{'team':ref('Team'),'players':arr(ref('SquadEntry'),0,100),'rosterSize':integer(0,100),'rosterLimit':nullable(integer(1,100)),'onFieldCount':nullable(integer(0,24)),'onFieldLimit':nullable(integer(1,24)),'benchLimit':nullable(integer(0,24)),'page':ref('Page')})
D['Lineup']=record('lineup',{'teamId':ref('Id'),'formationId':ref('Id'),'order':arr(ref('Id'),0,100),'positions':arr(obj({'playerId':ref('Id'),'x':{'type':'number','minimum':0,'maximum':1},'y':{'type':'number','minimum':0,'maximum':1}}),0,24),'takers':obj({'penalty':nullable(ref('Id')),'freeKick':nullable(ref('Id')),'corner':nullable(ref('Id'))}),'instructions':arr(obj({'playerId':ref('Id'),'values':mapping(ref('Metric'))}),0,100),'savedFormations':arr(obj({'id':ref('Id'),'name':ref('Text'),'editable':{'type':'boolean'}}),0,20),'liveScopeToken':nullable(ref('Id'))})
D['Tactics']=record('tactics',{'teamId':ref('Id'),'controls':arr(obj({'id':ref('Id'),'label':ref('Text'),'value':{'type':['integer','boolean','string']},'choices':arr(obj({'value':{'type':['integer','string']},'label':ref('Text')}),0,30),'range':nullable(obj({'min':integer(-100),'max':integer(-100),'step':integer(1)}))}),0,40),'liveScopeToken':nullable(ref('Id'))})
D['Training']=record('training',{'teamId':ref('Id'),'exercises':arr(obj({'id':ref('Id'),'allocation':integer(),'max':integer(),'unit':enum('sessions','points')}),0,30),'types':arr(obj({'id':ref('Id'),'allocation':integer(),'max':integer()}),0,20),'budget':ref('Metric'),'playerPlans':arr(obj({'playerId':ref('Id'),'focusId':ref('Id'),'intensity':ref('Metric'),'automatic':{'type':'boolean'}}),0,100),'automation':mapping({'type':'boolean'})})
D['Camps']=record('camps',{'maps':arr(obj({'id':ref('Id'),'name':ref('Text'),'guiAssetKey':ref('Id'),'width':nullable(integer(1)),'height':nullable(integer(1))}),0,20),'camps':arr(obj({'id':ref('Id'),'mapId':ref('Id'),'name':ref('Text'),'place':string(),'nationId':nullable(ref('Id')),'position':nullable(obj({'x':{'type':'number'},'y':{'type':'number'},'space':enum('normalized','map_pixels')})),'quality':obj({'pitch':integer(0,6),'fitness':integer(0,6),'catering':integer(0,6),'lodging':integer(0,6)}),'guiImageKey':nullable(ref('Id')),'worldImageAssetId':nullable(ref('Id')),'quote':ref('Quote')}),0,200),'focus':obj({'condition':integer(0,15),'technique':integer(0,15),'play':integer(0,15),'recovery':ref('Metric')}),'staysThisSeason':integer(),'seasonLimit':integer(),'bookedThisWeek':{'type':'boolean'}})
D['TableRow']=obj({'rank':integer(1),'team':ref('Team'),'played':integer(),'won':integer(),'drawn':integer(),'lost':integer(),'goalsFor':integer(),'goalsAgainst':integer(),'points':integer(-100000),'pointAdjustment':integer(-100000),'zone':nullable(enum('champion','promotion','playoff','continental','relegation'))})
D['Reports']=record('reports',{'competition':ref('Competition'),'fixtures':arr(ref('Fixture'),0,200),'table':arr(ref('TableRow'),0,200),'strengths':arr(obj({'team':ref('Team'),'metrics':mapping(ref('Metric'))}),0,200),'page':ref('Page'),'tieBreakPolicyId':ref('Id')})
D['Calendar']=record('calendar',{'from':ref('Date'),'until':ref('Date'),'days':arr(obj({'date':ref('Date'),'fixtureIds':arr(ref('Id'),0,100),'eventKinds':arr(enum('league','cup','national','friendly','indoor','training_camp','other'),0,20),'canSchedule':{'type':'boolean'},'reasonCode':nullable(string(100))}),0,400),'fixtures':arr(ref('Fixture'),0,200)})
D['Scheduling']=record('scheduling',{'kindOfPlan':enum('friendly','reschedule'),'fixtures':arr(ref('Fixture'),0,200),'opponents':arr(ref('Team'),0,200),'venues':arr(enum('home','away','neutral'),0,3),'availableDates':arr(ref('Date'),0,400),'quote':nullable(ref('Quote')),'originalFixtureId':nullable(ref('Id')),'originalDate':nullable(ref('Date'))})
D['Transfer']=record('transfer',{'teamId':ref('Id'),'market':arr(obj({'id':ref('Id'),'player':ref('Player'),'ownerTeam':nullable(ref('Team')),'offerKind':enum('purchase','sale','loan','return','poach'),'price':nullable(ref('Money')),'salaryMonthly':nullable(ref('Money')),'termMonths':nullable(integer(0,120)),'availability':ref('Availability')}),0,200),'pendingOrders':arr(obj({'id':ref('Id'),'playerId':ref('Id'),'kind':enum('purchase','sale','loan','return','poach'),'status':enum('draft','submitted','accepted','rejected','cancelled'),'quoteId':nullable(ref('Id'))}),0,200),'search':obj({'nationId':nullable(ref('Id')),'competitionId':nullable(ref('Id')),'teamId':nullable(ref('Id')),'positions':arr(enum('gk','def','mid','fwd'),0,4),'maxFee':ref('Money'),'criteria':mapping(ref('Metric'))}),'quote':nullable(ref('Quote')),'page':ref('Page')})
D['Contracts']=record('contracts',{'teamId':ref('Id'),'players':arr(obj({'playerId':ref('Id'),'salaryMonthly':ref('Money'),'remainingMonths':integer(0,120),'insuranceMonths':integer(0,24),'insuranceFee':nullable(ref('Money')),'offerAllowed':{'type':'boolean'},'reasonCode':nullable(string(100))}),0,100),'teamBonuses':arr(obj({'id':ref('Id'),'amount':ref('Money'),'basis':enum('match','win','goal','season','title')}),0,20),'quote':nullable(ref('Quote'))})
D['FinanceEntry']=obj({'id':ref('Id'),'transactionId':ref('Id'),'date':ref('Date'),'effectiveDate':ref('Date'),'managerId':nullable(ref('Id')),'teamId':ref('Id'),'account':enum('cash','savings','debt','assets'),'category':string(100),'amount':ref('Money'),'counterpartyId':nullable(ref('Id')),'fixtureId':nullable(ref('Id')),'reversalOf':nullable(ref('Id')),'text':ref('Text')})
D['Bank']=record('bank',{'accounts':ref('Accounts'),'savingsRateAnnual':ref('Metric'),'properties':arr(obj({'id':ref('Id'),'name':ref('Text'),'ownedUnits':integer(),'buyPrice':ref('Money'),'sellPrice':ref('Money'),'rentMonthly':ref('Money')}),0,200),'stocks':arr(obj({'id':ref('Id'),'name':ref('Text'),'ownedUnits':integer(),'unitPrice':ref('Money'),'series':arr(ref('Money'),0,200)}),0,200),'credit':obj({'outstanding':ref('Money'),'limit':ref('Money'),'rateAnnual':ref('Metric'),'schedule':arr(obj({'dueOn':ref('Date'),'principal':ref('Money'),'interest':ref('Money'),'balanceAfter':ref('Money')}),0,200)}),'quote':nullable(ref('Quote'))})
D['Balance']=record('balance',{'accounts':ref('Accounts'),'ledger':arr(ref('FinanceEntry'),0,200),'forecast':arr(obj({'periodStart':ref('Date'),'periodEnd':ref('Date'),'category':string(100),'amount':ref('Money'),'scenarioId':ref('Id')}),0,200),'actualThrough':ref('Date'),'page':ref('Page')})
D['Advertising']=record('advertising',{'teamId':ref('Id'),'slots':arr(obj({'id':ref('Id'),'kind':enum('boards','shirt','tv'),'sponsorId':nullable(ref('Id')),'sponsorName':nullable(ref('Text')),'monthly':nullable(ref('Money')),'remainingMonths':nullable(integer()),'available':{'type':'boolean'}}),0,50),'offers':arr(ref('Quote'),0,200),'budgets':arr(obj({'id':ref('Id'),'label':ref('Text'),'amount':ref('Money'),'period':enum('month','season')}),0,30)})
D['Environment']=record('environment',{'teamId':ref('Id'),'services':arr(obj({'id':ref('Id'),'label':ref('Text'),'stars':integer(0,6),'monthlyCost':ref('Money'),'effect':ref('Availability')}),0,30),'youthCandidates':arr(ref('Player'),0,200),'quote':nullable(ref('Quote'))})
D['Stadium']=record('stadium',{'teamId':ref('Id'),'stadiumId':ref('Id'),'name':string(),'capacity':integer(),'blocks':arr(obj({'id':ref('Id'),'seats':integer(),'standing':integer(),'covered':{'type':'boolean'},'condition':ref('Metric'),'projectId':nullable(ref('Id'))}),0,30),'facilities':arr(obj({'id':ref('Id'),'level':integer(),'maxLevel':integer(),'guiAssetRole':nullable(ref('Id'))}),0,40),'ticketPrice':ref('Money'),'attendanceSeries':arr(obj({'fixtureId':ref('Id'),'attendance':nullable(integer()),'capacity':nullable(integer())}),0,200),'quote':nullable(ref('Quote'))})
D['Toto']=record('toto',{'couponId':ref('Id'),'fixtures':arr(ref('Fixture'),0,11),'columns':arr(obj({'id':ref('Id'),'picks':arr(obj({'fixtureId':ref('Id'),'pick':nullable(enum('home','draw','away'))}),11,11),'hits':nullable(integer(0,11))}),0,6),'stake':ref('Money'),'fee':ref('Money'),'payout':nullable(ref('Money')),'status':enum('draft','submitted','settled'),'quote':nullable(ref('Quote'))})
D['PressMoney']=obj({'minor':{'type':'string','pattern':r'^(0|-?[1-9][0-9]*)$','maxLength':20},'currency':{'type':'string','pattern':'^[A-Z]{3}$'}})
D['PressScope']=obj({'kind':enum('club','national','global'),'id':nullable(ref('Id')),'name':string()})
D['PressEvent']=obj({'id':ref('Id'),'type':ref('Id'),'date':ref('Date'),'scope':ref('PressScope'),'data':obj({'team':ref('Team'),'opponent':ref('Team'),'player':ref('Player'),'manager':ref('Manager'),'score':ref('Score'),'amount':ref('PressMoney'),'percent':{'type':'number','minimum':0,'maximum':100},'count':integer(),'competition':ref('Competition'),'transactionId':ref('Id')},[]),'variant':nullable(string(100))})
D['ArticleSnapshot']=obj({'headline':string(500),'lead':string(2000),'paragraphs':arr(string(10000),0,50)})
D['Article']=obj({'id':ref('Id'),'sourceEventId':ref('Id'),'type':ref('Id'),'date':ref('Date'),'scope':ref('PressScope'),'dedupeKey':string(512),'snapshots':obj({'de':ref('ArticleSnapshot'),'en':ref('ArticleSnapshot')}),'read':{'type':'boolean'},'deleted':{'type':'boolean'}})
D['News']=record('news',{'events':arr(ref('PressEvent'),0,200),'articles':arr(ref('Article'),0,200),'dedupePolicyId':ref('Id'),'messages':arr(obj({'id':ref('Id'),'ownerManagerId':ref('Id'),'date':ref('Date'),'sender':ref('Text'),'subject':ref('Text'),'paragraphs':arr(ref('Text'),0,50),'category':string(100),'read':{'type':'boolean'},'folder':enum('inbox','archive','trash'),'entityIds':arr(ref('Id'),0,30),'actionIds':arr(ref('Id'),0,20)}),0,200),'unreadCount':integer(),'page':ref('Page')})
D['Settings']=record('settings',{'definitions':arr(obj({'id':ref('Id'),'label':ref('Text'),'scope':enum('ui_global','career','manager','team'),'type':enum('boolean','choice','range'),'value':{'type':['integer','boolean','string','null']},'allowedValues':arr({'type':['integer','boolean','string']},0,100),'availability':ref('Availability')}),0,200)})
D['Files']=record('files',{'entries':arr(obj({'id':ref('Id'),'worldId':ref('Id'),'careerId':ref('Id'),'name':string(100),'kind':enum('career','desktop_view'),'modifiedAt':{'type':'string','format':'date-time'},'seasonId':ref('Id'),'date':ref('Date'),'managerIds':arr(ref('Id'),0,4),'previewAssetId':nullable(ref('Id')),'token':ref('Id'),'isDefault':{'type':'boolean'}}),0,200),'page':ref('Page'),'provider':enum('ui_demo','engine_career','ui_preferences')})
D['Opening']=record('opening',{'phase':enum('uefa','champions','winners','draw','overview','done'),'entrants':arr(obj({'competitionId':ref('Id'),'teamIds':arr(ref('Id'),0,200)}),0,20),'pairings':arr(obj({'fixtureId':ref('Id'),'homeId':ref('Id'),'awayId':ref('Id'),'revealed':{'type':'boolean'}}),0,200),'pendingPresentationId':nullable(ref('Id')),'canContinue':{'type':'boolean'}})
D['Clock']=obj({'periodId':nullable(ref('Id')),'elapsedSeconds':nullable(integer()),'minute':nullable(integer(0,999)),'stoppageSeconds':nullable(integer()),'precision':enum('second','minute','unknown'),'label':ref('Text')})
D['Score']=obj({'home':integer(),'away':integer()})
D['Result']=obj({'status':enum('scheduled','live','completed','abandoned','voided'),'decision':enum('regulation','extra_time','shootout','administrative','unknown'),'regulation':nullable(ref('Score')),'extra':nullable(ref('Score')),'final':nullable(ref('Score')),'shootout':nullable(ref('Score')),'extraTimePlayed':nullable({'type':'boolean'}),'winnerTeamId':nullable(ref('Id')),'countedForTable':nullable({'type':'boolean'})})
D['Event']=obj({'id':ref('Id'),'eventRevision':ref('Revision'),'sequence':ref('Revision'),'kind':enum('goal','own_goal','miss','chance','save','attack','yellow','second_yellow','red','injury','substitution','shootout_kick','period_start','period_end','var_correction','score_adjustment'),'teamId':nullable(ref('Id')),'actorPlayerId':nullable(ref('Id')),'otherPlayerId':nullable(ref('Id')),'clock':ref('Clock'),'goalKind':nullable(enum('open_play','penalty','free_kick','set_piece_unknown','follow_up','corner','own_goal','unknown')),'scored':nullable({'type':'boolean'}),'recipientTeamId':nullable(ref('Id')),'supersedesEventId':nullable(ref('Id')),'text':ref('Text')})
D['HistoricalLineup']=obj({'teamId':ref('Id'),'starters':arr(ref('Player'),0,24),'bench':arr(ref('Player'),0,24),'classificationKnown':{'type':'boolean'},'rosterSize':integer(0,48),'onFieldCount':nullable(integer(0,24)),'onFieldLimit':nullable(integer(1,24)),'coverage':ref('Coverage')})
D['Match']=record('match',{'id':ref('Id'),'fixtureId':ref('Id'),'seasonId':ref('Id'),'date':ref('Date'),'competition':ref('Competition'),'roundId':ref('Id'),'mode':enum('outdoor','indoor'),'home':ref('Team'),'away':ref('Team'),'managerIdsBySide':obj({'home':nullable(ref('Id')),'away':nullable(ref('Id'))}),'result':ref('Result'),'clock':ref('Clock'),'onFieldCounts':obj({'home':nullable(integer(0,24)),'away':nullable(integer(0,24))}),'rules':obj({'rulesId':ref('Id'),'periods':arr(obj({'id':ref('Id'),'kind':enum('first_half','second_half','extra_first','extra_second','indoor_period','shootout'),'nominalSeconds':nullable(integer(1))}),0,10),'rosterLimit':nullable(integer(1,100)),'onFieldLimit':nullable(integer(1,24)),'benchLimit':nullable(integer(0,24)),'substitutionLimit':nullable(integer(0,100)),'directShootout':nullable({'type':'boolean'})}),'referee':nullable(obj({'id':nullable(ref('Id')),'name':string()})),'attendance':nullable(integer()),'weather':nullable(obj({'temperatureCelsius':nullable({'type':'number'}),'rainScale0To7':nullable(integer(0,7))})),'lineups':arr(ref('HistoricalLineup'),0,2),'events':arr(ref('Event'),0,20000),'coverage':ref('Coverage'),'countingPolicyId':ref('Id')})
D['Live']=record('live',{'presentationId':ref('Id'),'scopeToken':ref('Id'),'lastSequence':ref('Revision'),'managerGames':arr(obj({'managerId':ref('Id'),'matchId':ref('Id'),'teamId':ref('Id')}),0,4),'watchedMatchIds':arr(ref('Id'),1,4),'focusMatchId':ref('Id'),'matches':arr(ref('Match'),1,4),'paused':{'type':'boolean'},'canIntervene':{'type':'boolean'},'availableCommands':arr(string(100),0,30),'eventPage':ref('Page'),'resyncRequired':{'type':'boolean'}})
D['Postmatch']=record('postmatch',{'presentationId':ref('Id'),'stage':enum('results','report','eleven','overview','table'),'matches':arr(ref('Match'),0,200),'teamOfRound':arr(obj({'player':ref('Player'),'team':ref('Team'),'position':enum('gk','def','mid','fwd'),'metric':ref('Metric'),'selectionRuleId':ref('Id')}),0,24),'tables':arr(ref('Reports'),0,20),'totals':mapping(ref('Metric')),'continueToken':nullable(ref('Id')),'continueAvailability':ref('Availability')})
D['StatRow']=obj({'label':ref('Text'),'team':nullable(ref('Team')),'player':nullable(ref('Player')),'manager':nullable(ref('Manager')),'periodId':nullable(ref('Id')),'fromSecond':nullable(integer()),'untilSecond':nullable(integer()),'entityId':nullable(ref('Id')),'teamId':nullable(ref('Id')),'managerId':nullable(ref('Id')),'rank':nullable(integer(1)),'metrics':mapping(ref('Metric')),'money':mapping(ref('Money')),'coverage':ref('Coverage')})
D['Statistics']=record('statistics',{'section':enum('fairplay','player_stats','achievements','highscore','opportunities','transfer_history','analytics','all_time_table','world_cup','season_finance','streaks_records','winners','minute_buckets'),'scope':obj({'seasonIds':arr(ref('Id'),0,200),'competitionIds':arr(ref('Id'),0,200),'teamId':nullable(ref('Id')),'managerId':nullable(ref('Id')),'nationId':nullable(ref('Id')),'asOf':ref('Date'),'ruleId':ref('Id')}),'rows':arr(ref('StatRow'),0,200),'series':arr(obj({'metricId':ref('Id'),'unit':string(40),'points':arr(obj({'date':ref('Date'),'value':nullable({'type':'number'}),'money':nullable(ref('Money')),'coverage':ref('Coverage')}),0,200),'relativeBase':nullable({'type':'number'})}),0,20),'page':ref('Page'),'provenance':arr(enum('almanac','manager_history','finance_ledger','transfer_ledger','rules_snapshot','current_team_state','external_highscores','correction_ledger'),1,8)})
D['Almanac']=record('almanac',{'query':enum('index','calendar','day','match'),'seasonIds':arr(ref('Id'),0,200),'dates':arr(ref('Date'),0,400),'matches':arr(ref('Match'),0,200),'tables':arr(ref('Reports'),0,20),'page':ref('Page'),'correctionRevision':ref('Revision')})
D['Correction']=record('correction',{'id':ref('Id'),'targetId':ref('Id'),'operation':enum('replace','void','restore'),'supersedesId':nullable(ref('Id')),'recordedOn':ref('Date'),'effectiveOn':ref('Date'),'reason':ref('Text'),'archiveDigest':nullable({'type':'string','pattern':'^[a-f0-9]{64}$'}),'replacementMatch':nullable(ref('Match')),'effectiveProjectionRevision':ref('Revision')})
D['OwnershipChange']=record('ownership_change',{'managerId':ref('Id'),'archivedIdentity':ref('Manager'),'teamId':ref('Id'),'aiHandover':{'type':'boolean'},'activeManagerId':nullable(ref('Id')),'humanOwnership':arr(ref('Ownership'),0,4),'sessionState':enum('desktop','ended'),'terminationReason':nullable(enum('last_human_resigned'))})
D['Library']=record('library',{'activeWorldId':nullable(ref('Id')),'entries':arr(obj({'id':ref('Id'),'worldId':nullable(ref('Id')),'name':string(),'format':enum('classic','modern','invalid'),'version':nullable(string(100)),'description':ref('Text'),'installed':{'type':'boolean'},'availability':ref('Availability')}),0,200),'page':ref('Page')})
D['Entry']=record('entry',{'setup':obj({'durationOptions':arr(integer(1,100),1,100),'difficultyOptions':arr(obj({'id':ref('Id'),'label':ref('Text')}),1,100),'modeOptions':arr(obj({'id':ref('Id'),'label':ref('Text')}),1,20),'minManagers':{'const':1},'maxManagers':{'const':4},'leagueAvailable':{'type':'boolean'},'nationalAvailable':{'type':'boolean'}}),'teams':arr(obj({'team':ref('Team'),'competitionId':nullable(ref('Id')),'manageable':{'type':'boolean'},'reasonCode':nullable(string(100))}),0,200),'portraits':arr(obj({'guiKey':ref('Id'),'style':enum('photo','painted'),'available':{'type':'boolean'}}),0,100),'page':ref('Page')})
D['Entity']=record('entity',{'team':nullable(ref('Team')),'player':nullable(ref('Player')),'squad':arr(ref('SquadEntry'),0,100),'metrics':mapping(ref('Metric')),'biography':arr(obj({'label':ref('Text'),'value':nullable(ref('Text'))}),0,100),'contracts':nullable(ref('Contracts')),'historyAvailability':ref('Availability')})
READS=['library','entry','entity','session','manager_archive','manager_menu','desktop','squad','lineup','tactics','training','camps','reports','calendar','scheduling','transfer','contracts','bank','balance','advertising','environment','stadium','toto','news','settings','files','opening','match','live','postmatch','statistics','almanac']
TYPE={v:Dn for Dn,v in [(n,D[n]['properties']['kind']['const']) for n in D if isinstance(D[n],dict) and 'properties'in D[n] and 'kind'in D[n]['properties'] and 'const' in D[n]['properties']['kind']]}
D['Query']=obj({'messageType':{'const':'query'},'requestId':ref('Id'),'kind':enum(*READS,'club_search'),'managerId':nullable(ref('Id')),'teamId':nullable(ref('Id')),'atRevision':nullable(ref('Revision')),'filters':obj({'seasonId':nullable(ref('Id')),'competitionId':nullable(ref('Id')),'matchId':nullable(ref('Id')),'fixtureId':nullable(ref('Id')),'nationId':nullable(ref('Id')),'from':nullable(ref('Date')),'until':nullable(ref('Date')),'section':nullable(string(100)),'search':string(200)}),'page':obj({'limit':integer(1,200),'cursor':nullable(string(2048)),'sort':arr(obj({'field':string(100),'direction':enum('asc','desc')}),0,5)})})
COMMANDS={
'quote.request':obj({'domain':enum('camp','transfer','contract','advertising','bank','stadium','environment','ticket','friendly','reschedule','toto'),'targetId':nullable(ref('Id')),'parameters':obj({'amount':nullable(ref('Money')),'units':nullable(integer(1)),'months':nullable(integer(0,120)),'optionId':nullable(ref('Id')),'date':nullable(ref('Date'))})}),
'career.start':obj({'setup':obj({'players':integer(1,4),'durationSeasons':integer(1,100),'difficultyId':ref('Id'),'modeId':ref('Id'),'leagueEnabled':{'type':'boolean'},'nationalEnabled':{'type':'boolean'}}),'managers':arr(ref('Manager'),1,4)}),
'manager.join.begin':obj({}), 'manager.join.confirm':obj({'draftId':ref('Id'),'name':ref('ManagerInputName'),'teamId':ref('Id'),'portraitGuiKey':ref('Id'),'portraitStyle':enum('photo','painted')}),
'manager.join.cancel':obj({'draftId':ref('Id')}),
'manager.resign.commit':obj({'confirmationToken':ref('Id'),'confirmed':{'const':True}}),
'session.advance':obj({'continueToken':ref('Id')}), 'opening.continue':obj({'presentationId':ref('Id'),'continueToken':ref('Id')}),
'lineup.commit':ref('Lineup'),'tactics.commit':ref('Tactics'),'training.commit':ref('Training'),
'camp.book':obj({'campId':ref('Id'),'quoteId':ref('Id')}),
'transfer.submit':obj({'playerId':ref('Id'),'offerId':ref('Id'),'quoteId':ref('Id'),'kind':enum('purchase','sale','loan','return','poach'),'fee':ref('Money'),'salaryMonthly':ref('Money'),'termMonths':integer(1,120)}),
'transfer.cancel':obj({'orderId':ref('Id')}),
'contract.offer':obj({'playerId':ref('Id'),'quoteId':ref('Id'),'salaryMonthly':ref('Money'),'termMonths':integer(1,120)}),
'contract.insure':obj({'playerId':ref('Id'),'quoteId':ref('Id'),'months':integer(0,24)}),
'contract.bonus':obj({'bonusId':ref('Id'),'amount':ref('Money'),'quoteId':ref('Id')}),
'advertising.accept':obj({'slotId':ref('Id'),'quoteId':ref('Id')}),
'budget.commit':obj({'budgetId':ref('Id'),'amount':ref('Money'),'period':enum('month','season'),'quoteId':ref('Id')}),
'bank.commit':obj({'action':enum('deposit','withdraw','credit','repay','buy_stock','sell_stock','buy_property','sell_property'),'assetId':nullable(ref('Id')),'amount':ref('Money'),'units':nullable(integer(1)),'quoteId':ref('Id')}),
'stadium.commit':obj({'projectId':ref('Id'),'quoteId':ref('Id')}),'environment.commit':obj({'serviceId':ref('Id'),'stars':integer(0,6),'quoteId':ref('Id')}),
'ticket.commit':obj({'price':ref('Money'),'quoteId':ref('Id')}),
'friendly.book':obj({'opponentId':ref('Id'),'date':ref('Date'),'venue':enum('home','away','neutral'),'quoteId':ref('Id')}),
'fixture.reschedule':obj({'fixtureId':ref('Id'),'date':ref('Date'),'quoteId':ref('Id')}),
'toto.submit':obj({'couponId':ref('Id'),'quoteId':ref('Id'),'columns':arr(obj({'id':ref('Id'),'picks':arr(obj({'fixtureId':ref('Id'),'pick':enum('home','draw','away')}),11,11)}),1,6)}),
'news.update':obj({'messageId':ref('Id'),'action':enum('read','unread','archive','trash','restore')}),
'settings.commit':obj({'settingId':ref('Id'),'value':{'type':['boolean','integer','string']}}),
'live.substitute':obj({'matchId':ref('Id'),'outPlayerId':ref('Id'),'inPlayerId':ref('Id')}),
'live.tactics':ref('Tactics'),'postmatch.continue':obj({'presentationId':ref('Id'),'continueToken':ref('Id')}),
'career.save':obj({'slotId':ref('Id'),'token':nullable(ref('Id'))}),'career.load':obj({'slotId':ref('Id'),'token':ref('Id')})
}
D['Command']={'oneOf':[obj({'messageType':{'const':'command'},'requestId':ref('Id'),'careerId':ref('Id'),'worldId':ref('Id'),'expectedRevision':ref('Revision'),'owner':ref('Scope'),'scopeToken':nullable(ref('Id')),'kind':{'const':k},'payload':v}) for k,v in COMMANDS.items()]}
D['Snapshot']=obj({'messageType':{'const':'snapshot'},'requestId':ref('Id'),'meta':ref('Meta'),'data':{'oneOf':[ref(TYPE[k]) for k in READS]}})
D['Error']=obj({'messageType':{'const':'error'},'requestId':ref('Id'),'code':enum('stale_revision','wrong_manager','wrong_team','wrong_world','wrong_career','stale_quote','wrong_scope','insufficient_funds','invalid_request','unavailable','incomplete_history','invalid_cursor','duplicate_request','session_ended','confirmation_required','unsupported_context'),'message':ref('Text'),'currentRevision':ref('Revision'),'retryable':{'type':'boolean'},'stateChanged':{'const':False}})
D['CommandResult']=obj({'messageType':{'const':'command_result'},'requestId':ref('Id'),'accepted':{'const':True},'previousRevision':ref('Revision'),'newRevision':ref('Revision'),'outcome':enum('applied','no_change','offer_pending','offer_rejected','career_ended'),'changedReadKinds':arr(string(100),0,50),'ownershipChange':nullable(ref('OwnershipChange')),'feedback':ref('Text')})
schema={'$schema':'https://json-schema.org/draft/2020-12/schema','$id':'urn:openbmh:modern-ui:draft1','title':'Modern UI JSON DTO design draft, not an implemented engine protocol','description':'Synthetic integration contract proposal. Existing engine APIs require adapters and open decisions documented alongside.','$defs':D,'oneOf':[ref(n) for n in ['Query','Command','Snapshot','Error','CommandResult']]}
(ROOT/'schemas/ui-contract.schema.json').write_text(json.dumps(schema,ensure_ascii=False,indent=2)+'\n')
(ROOT/'schemas/contract-index.json').write_text(json.dumps({'status':'design_draft','readKinds':READS,'commandKinds':list(COMMANDS),'rootSchema':'ui-contract.schema.json'},indent=2)+'\n')
print('definitions',len(D),'reads',len(READS),'commands',len(COMMANDS))
@@ -0,0 +1,268 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-3.0-only
"""Bounded design-fixture validation. Does not load or simulate an engine."""
from __future__ import annotations
import argparse
import copy
import json
from pathlib import Path
from jsonschema import Draft202012Validator, FormatChecker
ROOT = Path(__file__).resolve().parents[1]
class ContractError(ValueError):
pass
def require(condition, reason):
if not condition:
raise ContractError(reason)
def walk(value):
yield value
if isinstance(value, dict):
for item in value.values():
yield from walk(item)
elif isinstance(value, list):
for item in value:
yield from walk(item)
def semantic(document):
revision_names = {'stateRevision','projectionRevision','expectedRevision','previousRevision',
'newRevision','eventRevision','sequence','lastSequence','sinceRevision',
'snapshotRevision','currentRevision','correctionRevision'}
for node in walk(document):
if not isinstance(node, dict):
continue
for key, value in node.items():
if key in revision_names and value is not None:
require(isinstance(value, str) and 0 <= int(value) <= 2**64-1, 'uint64 overflow')
if {'minor','currency'} <= node.keys():
require(isinstance(node['minor'],str) and -(2**63) <= int(node['minor']) <= 2**63-1,
'money int64 overflow')
if {'min','max','step'} <= node.keys():
require(node['min'] <= node['max'] and node['step'] > 0, 'invalid numeric scale')
if {'id','total','breakdown','ownerManagerId','expectedRevision'} <= node.keys():
require(sum(int(v['amount']['minor']) for v in node['breakdown']) == int(node['total']['minor']),
'quote breakdown mismatch')
if node.get('kind') == 'match':
match(node)
if node.get('kind') == 'toto':
ids=[fixture['id'] for fixture in node['fixtures']]
require(len(ids)==11 and len(set(ids))==11,'coupon fixture identity mismatch')
for column in node['columns']:
picks=[pick['fixtureId'] for pick in column['picks']]
require(len(picks)==11 and len(set(picks))==11 and set(picks)==set(ids),
'coupon pick bound to wrong fixture')
if node.get('kind') == 'squad':
require(node['rosterSize']==len(node['players']),'squad roster size mismatch')
if node['onFieldCount'] is not None:
require(node['onFieldCount']==sum(p['role']=='starter' for p in node['players']),
'squad field count mismatch')
if node.get('kind') == 'manager_archive':
require(all(m['control']=='archived' for m in node['managers']),'active person in archive')
if node.get('kind') == 'session':
managers = node['managers']
require(all(m['control']=='human' and m['status']=='active' for m in managers),'inactive manager in active roster')
require(len({m['slot'] for m in managers})==len(managers),'duplicate active slot')
require(not {m['id'] for m in managers}.intersection(node['archivedManagerIds']),'archived identity reused')
require(len({m['id'] for m in managers}) == len(managers), 'duplicate manager identity')
humans = {m['id']:m for m in managers if m['control']=='human' and m['status']=='active'}
ownership = node['humanOwnership']
require(len({r['teamId'] for r in ownership})==len(ownership), 'duplicate team ownership')
require(len({r['managerId'] for r in ownership})==len(ownership), 'duplicate manager ownership')
for r in ownership:
require(r['controller']=='human' and r['managerId'] in humans, 'ownership lacks active human')
require(humans[r['managerId']]['teamId']==r['teamId'], 'wrong owned team')
if node['sessionState'] in ['desktop','live','postmatch']:
require(node['activeManagerId'] in humans, 'active manager missing')
if node.get('kind') == 'ownership_change':
require(node['archivedIdentity']['id']==node['managerId'] and
node['archivedIdentity']['control']=='archived', 'archived identity changed')
remaining = {r['managerId'] for r in node['humanOwnership']}
require(node['managerId'] not in remaining, 'resigned human retained control')
if not remaining:
require(node['sessionState']=='ended' and node['activeManagerId'] is None and
node['terminationReason']=='last_human_resigned', 'last human did not terminate')
else:
require(node['sessionState']=='desktop' and node['activeManagerId'] in remaining and
node['aiHandover'] and node['terminationReason'] is None, 'AI handover inconsistent')
if node.get('kind') == 'correction':
require(node['supersedesId'] != node['id'], 'correction cycle')
if node['replacementMatch']:
require(node['replacementMatch']['id']==node['targetId'], 'correction changed match identity')
if document.get('messageType')=='snapshot':
meta=document['meta']
for node in walk(document['data']):
if not isinstance(node,dict):
continue
if {'minor','currency','minorUnits'} <= node.keys():
require(node['currency']==meta['currency']['code'] and
node['minorUnits']==meta['currency']['minorUnits'], 'currency precision mismatch')
if {'snapshotRevision','nextCursor'} <= node.keys():
require(node['snapshotRevision']==meta['stateRevision'], 'page revision mismatch')
if {'total','ownerManagerId','expectedRevision'} <= node.keys():
require(node['expectedRevision']==meta['stateRevision'] and
node['ownerManagerId']==meta['scope']['managerId'] and
node['teamId']==meta['scope']['teamId'], 'quote owner or revision mismatch')
data=document['data']
if data['kind']=='desktop' and data['team']['kind']=='national':
require(data['accounts'] is None, 'national desk acquired club cash')
for key in ['training','camps','bank','stadium','toto']:
require(data['menuAvailability'][key]['status']=='unavailable', 'national engine menu not blocked')
if document.get('messageType')=='command' and document['kind']=='career.start':
payload=document['payload']
for manager in payload['managers']:
name=manager['name']
require(name==name.strip() and 1<=len(name)<=24 and not any(ord(c)<32 or 127<=ord(c)<=159 for c in name),'invalid manager name')
require(payload['setup']['players']==len(payload['managers']), 'start manager count mismatch')
require(len({m['id'] for m in payload['managers']})==len(payload['managers']), 'duplicate start manager')
require(len({m['teamId'] for m in payload['managers']})==len(payload['managers']), 'duplicate start team')
require(len({m['portraitGuiKey'] for m in payload['managers']})==len(payload['managers']), 'duplicate portrait')
def match(m):
sides={m['home']['id']:'home',m['away']['id']:'away'}
require(len(sides)==2,'same match sides')
ids=[e['id'] for e in m['events']]
seq=[int(e['sequence']) for e in m['events']]
require(len(set(ids))==len(ids),'duplicate event identity')
require(all(a<b for a,b in zip(seq,seq[1:])),'out-of-order sequence')
r=m['result']
if r['regulation'] is not None and r['final'] is not None:
for side in ['home','away']:
extra=r['extra'][side] if r['extra'] is not None else 0
require(r['regulation'][side]+extra==r['final'][side], 'phase score mismatch')
if r['extraTimePlayed'] is True:
require(r['regulation'] is not None and r['extra'] is not None,'known ET lacks phase score')
if r['extraTimePlayed'] is None:
require(r['extra'] is None,'unknown ET fabricated extra score')
known_rosters={}
for lineup in m['lineups']:
require(lineup['teamId'] in sides,'lineup on wrong team')
all_players=lineup['starters']+lineup['bench']
pids=[p['id'] for p in all_players]
require(len(set(pids))==len(pids),'duplicate lineup player')
require(lineup['rosterSize']==len(pids),'roster size mismatch')
if lineup['classificationKnown']:
require(lineup['onFieldCount']==len(lineup['starters']),'on-field count mismatch')
require(len(lineup['starters'])<=lineup['onFieldLimit'],'too many field players')
if m['rules']['rosterLimit'] is not None:
require(len(pids)<=m['rules']['rosterLimit'],'roster limit exceeded')
if lineup['coverage']['status']=='complete':
known_rosters[lineup['teamId']]=set(pids)
if m['mode']=='indoor':
# Explicitly the supplied source-aligned synthetic example, not a new simulation rule.
require(m['rules']['onFieldLimit']==6 and m['rules']['rosterLimit']==11,
'indoor example contradicts verified six/eleven context')
goals={'home':0,'away':0};kicks={'home':0,'away':0}
for e in m['events']:
require(e['teamId'] is None or e['teamId'] in sides,'event team outside match')
if e['actorPlayerId'] is not None and e['teamId'] in known_rosters:
require(e['actorPlayerId'] in known_rosters[e['teamId']],'actor outside recorded roster')
if e['kind'] in ['goal','own_goal']:
require(e['recipientTeamId'] in sides,'goal recipient unknown')
goals[sides[e['recipientTeamId']]]+=1
if e['kind']=='shootout_kick':
require(isinstance(e['scored'],bool),'shootout outcome missing')
if e['scored']:kicks[sides[e['teamId']]]+=1
missing=set(m['coverage']['missing'])
if r['status']=='completed' and r['final'] is not None and 'events' not in missing:
require(goals==r['final'],'event goals mismatch final score')
if r['shootout'] is not None and not missing.intersection({'events','shootout_order'}):
require(kicks==r['shootout'],'shootout tally mismatch')
if r['decision']=='shootout':
require(r['shootout'] is not None,'shootout score missing')
if r['winnerTeamId'] is not None:
winner='home' if r['shootout']['home']>r['shootout']['away'] else 'away'
require(r['shootout']['home']!=r['shootout']['away'] and
m[winner]['id']==r['winnerTeamId'],'wrong shootout winner')
def main():
parser=argparse.ArgumentParser();parser.add_argument('--out',type=Path)
args=parser.parse_args()
schema=json.loads((ROOT/'schemas/ui-contract.schema.json').read_text())
Draft202012Validator.check_schema(schema)
index=json.loads((ROOT/'examples/index.json').read_text())
results=[];fixtures={}
def check(name,fn):
try:fn();results.append({'check':name,'passed':True})
except Exception as exc:results.append({'check':name,'passed':False,'error':str(exc)})
def validate(doc,ref='#'):
chosen=schema if ref=='#' else {'$defs':schema['$defs'],'$ref':ref}
Draft202012Validator(chosen,format_checker=FormatChecker()).validate(doc)
semantic(doc)
for item in index['fixtures']:
doc=json.loads((ROOT/'examples'/item['file']).read_text());fixtures[item['file']]=doc
check('fixture:'+item['file'],lambda d=doc,r=item['schemaRef']:validate(d,r))
def negative(name,file,mutate,ref='#'):
doc=copy.deepcopy(fixtures[file]);mutate(doc)
def action():
try:validate(doc,ref)
except Exception:return
raise AssertionError('Invalid contract fixture was accepted')
check('reject:'+name,action)
negative('html-payload','desktop-club.json',lambda d:d['data'].update(html='<b>untrusted</b>'))
negative('invalid-date','desktop-club.json',lambda d:d['meta'].update(date='2027-02-30'))
negative('fractional-cent','desktop-club.json',lambda d:d['data']['accounts']['cash'].update(minor=1.5))
negative('money-overflow','desktop-club.json',lambda d:d['data']['accounts']['cash'].update(minor=str(2**63)))
negative('revision-overflow','desktop-club.json',lambda d:d['meta'].update(stateRevision=str(2**64)))
negative('currency-precision','desktop-club.json',lambda d:d['data']['accounts']['cash'].update(minorUnits=0))
negative('et-final-sum','match-extra-time.json',lambda d:d['data']['result']['final'].update(home=3))
negative('pso-added-to-goals','match-national-shootout.json',lambda d:d['data']['result']['final'].update(home=7))
negative('duplicate-event','match-extra-time.json',lambda d:d['data']['events'].append(copy.deepcopy(d['data']['events'][0])))
negative('reordered-pso','match-national-shootout.json',lambda d:d['data']['events'].reverse())
negative('indoor-eleven','match-indoor.json',lambda d:d['data']['rules'].update(onFieldLimit=11))
negative('roster-size','match-indoor.json',lambda d:d['data']['lineups'][0].update(rosterSize=11))
negative('foreign-actor','match-extra-time.json',lambda d:d['data']['events'][0].update(actorPlayerId='player:other-1'))
negative('duplicate-ownership','session-four-managers.json',lambda d:d['data']['humanOwnership'][1].update(teamId=d['data']['humanOwnership'][0]['teamId']))
negative('last-human-active','manager-last-human-game-end.json',lambda d:d['ownershipChange'].update(activeManagerId='manager:career-demo-1'))
negative('correction-id-change','almanac-correction.json',lambda d:d['replacementMatch'].update(id='match:different'),'#/$defs/Correction')
negative('correction-cycle','almanac-correction.json',lambda d:d.update(supersedesId=d['id']),'#/$defs/Correction')
negative('quote-sum','camps.json',lambda d:d['data']['camps'][0]['quote']['total'].update(minor='1'))
negative('page-revision','squad.json',lambda d:d['data']['page'].update(snapshotRevision='39'))
negative('quote-owner','camps.json',lambda d:d['data']['camps'][0]['quote'].update(ownerManagerId='manager:career-demo-2'))
negative('start-count','command-career-start.json',lambda d:d['payload']['setup'].update(players=3))
negative('coupon-wrong-fixture','toto.json',lambda d:d['data']['columns'][0]['picks'][0].update(fixtureId='fixture:other'))
def command_context(command, current, current_meta):
require(command['careerId']==current_meta['careerId'] and command['worldId']==current_meta['worldId'], 'wrong career/world')
require(command['expectedRevision']==current_meta['stateRevision'], 'stale command revision')
owner=command['owner']
require(owner['managerId']==current['activeManagerId'],'wrong active manager')
manager=next(m for m in current['managers'] if m['id']==owner['managerId'])
require(owner['teamId']==manager['teamId'],'wrong command team')
current=fixtures['session-four-managers.json']
check('command-owner-context',lambda:command_context(fixtures['command-resign.json'],current['data'],current['meta']))
def reject_context(field,value):
altered=copy.deepcopy(fixtures['command-resign.json'])
if field=='managerId':altered['owner'][field]=value
else:altered[field]=value
try:command_context(altered,current['data'],current['meta'])
except ContractError:return
raise AssertionError('stale or foreign command accepted by reference contract check')
check('reject:stale-command-context',lambda:reject_context('expectedRevision','39'))
check('reject:foreign-manager-context',lambda:reject_context('managerId','manager:career-demo-2'))
check('reject:foreign-world-context',lambda:reject_context('worldId','world:other'))
observed={d['data']['kind'] for d in fixtures.values() if d.get('messageType')=='snapshot'}
expected=set(json.loads((ROOT/'schemas/contract-index.json').read_text())['readKinds'])
check('all-read-model-kinds-have-fixtures',lambda:require(observed==expected,'missing read model sample'))
legacy=fixtures['match-legacy-unknown-phases.json']['data']
check('legacy-pso-does-not-invent-et',lambda:require(legacy['result']['extraTimePlayed'] is None and legacy['result']['regulation'] is None,'invented phase'))
pso=fixtures['match-national-shootout.json']['data']
check('shootout-excluded-from-match-goals',lambda:require(sum(1 for e in pso['events'] if e['kind']=='goal')==4 and sum(pso['result']['shootout'].values())==9,'PSO counted as match goals'))
match_et=fixtures['match-extra-time.json']['data']
appeared={p['id'] for p in match_et['lineups'][0]['starters']}|{e['actorPlayerId'] for e in match_et['events'] if e['kind']=='substitution' and e['teamId']==match_et['home']['id']}
check('appearance-union-starters-and-entered-bench',lambda:require(len(appeared)==12 and 'player:harbor-12' not in appeared,'bench counted without entry'))
check('zero-attendance-and-weather-remain-known',lambda:require(match_et['attendance']==0 and match_et['weather']['temperatureCelsius']==0 and 'attendance' not in match_et['coverage']['missing'],'known zero lost'))
menus=json.loads((ROOT/'menu-contracts.json').read_text())['menus']
check('all-menu-read-references-resolve',lambda:require(all(set(m['readModels'])<=expected for m in menus),'unknown menu read kind'))
report={'status':'design_fixture_qa_only','engineExecuted':False,'nativeUiTested':False,
'fixtureCount':len(index['fixtures']),'readKinds':len(expected),'menuCount':len(menus),
'passed':sum(x['passed'] for x in results),'failed':sum(not x['passed'] for x in results),'checks':results}
rendered=json.dumps(report,ensure_ascii=False,indent=2)+'\n'
if args.out:args.out.write_text(rendered)
print(json.dumps({k:v for k,v in report.items() if k!='checks'},ensure_ascii=False))
if report['failed']:
for result in results:
if not result['passed']:print(json.dumps(result,ensure_ascii=False))
return 1 if report['failed'] else 0
if __name__=='__main__':raise SystemExit(main())