Integration #2

Mon Nov 9 · 10:13 PM · source bem · OK · dry run · game #22 · call wc_3Lt9J7CZgfrXpCKyCqK5eard2wG · event evt_3Lt9L46Mog895OgOIezeSQVerhC

DRY RUN: game 22 final 4-2, 8 new / 0 removed events, 0 warning(s)

Response

{
  "ok": true,
  "game_id": 22,
  "dry_run": true,
  "status": "final",
  "score": {
    "home": 4,
    "away": 2
  },
  "events_written": 0,
  "warnings": [],
  "events_would_write": 8,
  "diff": {
    "status": {
      "before": "in_progress",
      "after": "final"
    },
    "score": {
      "before": {
        "home": 0,
        "away": 0
      },
      "after": {
        "home": 4,
        "away": 2
      }
    },
    "events_before": 0,
    "events_after": 8,
    "events_added": [
      "P1 06:52 GOAL H #7 Chase Gibson (EV) assists: #13 Rosa Haldane, #35 Brooke Grant",
      "P1 16:50 GOAL A #18 Jesse Ryan (EV) assists: #27 Elsa Fournier",
      "P2 04:30 PEN A #27 Elsa Fournier Hooking 2min",
      "P2 05:55 GOAL H #13 Rosa Haldane (PP) assists: #45 Brandon Pierce, #5 Alexei Young",
      "P2 13:40 GOAL H #7 Chase Gibson (EV) assists: #35 Brooke Grant",
      "P3 03:53 GOAL A #47 Bella Cooper (EV) assists: #37 Omar Reyes, #20 Jonas Pettersson",
      "P3 10:40 PEN H #35 Brooke Grant Tripping 2min",
      "P3 15:05 GOAL H #18 Dylan Fischer (EV) assists: #13 Rosa Haldane, #35 Brooke Grant"
    ],
    "events_removed": [],
    "shots": {
      "before": {
        "home": [],
        "away": []
      },
      "after": {
        "home": [
          12,
          14,
          11
        ],
        "away": [
          9,
          10,
          13
        ]
      }
    },
    "goalies": {
      "before": {
        "home": "#1 Andrei Ivanov",
        "away": "#1 Iris Dobrev"
      },
      "after": {
        "home": "#1 Andrei Ivanov",
        "away": "#1 Iris Dobrev"
      }
    },
    "changed": true
  }
}

Request

{
  "eventID": "evt_3Lt9L46Mog895OgOIezeSQVerhC",
  "createdAt": "2026-11-09T22:13:57.419241Z",
  "referenceID": "photo-hero-game-22-blank-1794262420",
  "eventType": "payload_shaping",
  "functionCallID": "an_3Lt9L5VMjMSA3emTgnDyuHvluxp",
  "functionID": "f_3Lt80QKNjRVins9ptBhoZNl21Nu",
  "functionName": "leeglee-scoresheet-shape",
  "functionVersionNum": 2,
  "callID": "wc_3Lt9J7CZgfrXpCKyCqK5eard2wG",
  "callType": "workflow",
  "workflowID": "w_3Lt81OdYds3CMZZNVstNSTC8Rq1",
  "workflowName": "leeglee-scoresheet",
  "workflowVersionNum": 3,
  "metadata": {
    "durationFunctionToEventSeconds": 0.097165
  },
  "functionCallTryNumber": 1,
  "transformedContent": {
    "game": {
      "date": "11/9/26",
      "time": "7:00",
      "venue": "Chicago Heights Ice Gardens",
      "league": "GLGL",
      "lookup": "Great Lakes Glee League (GLGL) \u00b7 Nov 9 2026 7:00 PM \u00b7 Chicago Heights Loons (CHI) vs Milwaukee Moose (MIL) \u00b7 Chicago Heights Ice Gardens",
      "away_team": "Milwaukee Moose",
      "home_team": "CHI",
      "game_number": null,
      "match_score": 0,
      "matched_label": "Game 22 \u00b7 Great Lakes Glee League (GLGL) \u00b7 Mon Nov 9 2026 7:00 PM \u00b7 Chicago Heights Loons (CHI) vs Milwaukee Moose (MIL) \u00b7 Chicago Heights Ice Gardens",
      "match_reasoning": "All components of the source value (league, date, time, home team, away team, and venue) exactly match the corresponding fields in this candidate.",
      "matched_game_id": 22,
      "match_confidence": 1
    },
    "final": true,
    "goals": [
      {
        "team": "H",
        "time": "6:52",
        "period": "1",
        "scorer": {
          "name": null,
          "number": "7",
          "roster_entry_id": 84,
          "match_confidence": 1
        },
        "assists": [
          {
            "name": null,
            "number": "13"
          },
          {
            "name": null,
            "number": "35"
          }
        ],
        "strength": "EV"
      },
      {
        "team": "A",
        "time": "16:50",
        "period": "1",
        "scorer": {
          "name": null,
          "number": "18",
          "roster_entry_id": 102,
          "match_confidence": 1
        },
        "assists": [
          {
            "name": null,
            "number": "27"
          },
          {
            "name": null,
            "number": null
          }
        ],
        "strength": "EV"
      },
      {
        "team": "H",
        "time": "5:55",
        "period": "2",
        "scorer": {
          "name": null,
          "number": "13",
          "roster_entry_id": 86,
          "match_confidence": 1
        },
        "assists": [
          {
            "name": null,
            "number": "45"
          },
          {
            "name": null,
            "number": "5"
          }
        ],
        "strength": "PP"
      },
      {
        "team": "H",
        "time": "13:40",
        "period": "2",
        "scorer": {
          "name": null,
          "number": "7",
          "roster_entry_id": 84,
          "match_confidence": 1
        },
        "assists": [
          {
            "name": null,
            "number": "35"
          },
          {
            "name": null,
            "number": null
          }
        ],
        "strength": "EV"
      },
      {
        "team": "A",
        "time": "03:53",
        "period": "3",
        "scorer": {
          "name": null,
          "number": "47",
          "roster_entry_id": 108,
          "match_confidence": 1
        },
        "assists": [
          {
            "name": null,
            "number": "37"
          },
          {
            "name": null,
            "number": "20"
          }
        ],
        "strength": "EV"
      },
      {
        "team": "H",
        "time": "15:05",
        "period": "3",
        "scorer": {
          "name": null,
          "number": "18",
          "roster_entry_id": 87,
          "match_confidence": 1
        },
        "assists": [
          {
            "name": null,
            "number": "13"
          },
          {
            "name": null,
            "number": "35"
          }
        ],
        "strength": "EV"
      }
    ],
    "notes": null,
    "shots": {
      "away": [
        9,
        10,
        13,
        null
      ],
      "home": [
        12,
        14,
        11,
        null
      ]
    },
    "format": "leeglee.sheet.v1",
    "goalies": {
      "away": {
        "name": "Iris Dobrev",
        "number": "1"
      },
      "home": {
        "name": "Andrei Ivanov",
        "number": "1"
      }
    },
    "penalties": [
      {
        "team": "A",
        "time": "4:30",
        "period": "2",
        "player": {
          "name": null,
          "number": "27",
          "roster_entry_id": 104,
          "match_confidence": 1
        },
        "minutes": 2,
        "infraction": "Hooking"
      },
      {
        "team": "H",
        "time": "10:40",
        "period": "3",
        "player": {
          "name": null,
          "number": "35",
          "roster_entry_id": 92,
          "match_confidence": 1
        },
        "minutes": 2,
        "infraction": "Tripping"
      }
    ],
    "final_score": {
      "away": 2,
      "home": 4
    }
  }
}