LineupAPI

Example response: lineup prediction

This is an illustrative example. Your real schema comes from openapi.yaml.

{
  "info": {
    "fixtureId": "UUID_HERE",
    "commence_time": "2025-12-14T18:30:00Z",
    "snapshot": {
      "created_at": "2025-12-14T12:15:00Z",
      "interval_minutes": 15
    }
  },
  "teams": {
    "home": { "id": 1, "name": "Home FC" },
    "away": { "id": 2, "name": "Away FC" }
  },
  "lineup": [
    { "playerId": 101, "name": "Goalkeeper A", "position": "GK", "starterProbability": 0.62 },
    { "playerId": 202, "name": "Forward B", "position": "FW", "starterProbability": 0.48 }
  ]
}

Field table (example)

FieldTypeDescription
info.fixtureIdstringFixture UUID.
info.commence_timestringKickoff time (ISO 8601).
info.snapshot.created_atstringWhen this snapshot was generated.
lineup[].starterProbabilitynumberIndependent probability (0–1) for starting.

Tip: keep tables short here and let Docs be the canonical truth (OpenAPI).