{ "$schema": "https://json-schema.org/draft/2020-12/schema", "title": "MLB 2023 ChatML Matchup Row", "type": "object", "required": [ "row_id", "season", "game_pk", "game_date", "game_datetime_utc", "team_id", "team_name", "team_side", "opponent_id", "opponent_name", "opponent_side", "team_runs", "opponent_runs", "result", "messages", "assistant_payload_json", "team_game_batting_json", "team_game_pitching_json", "opponent_game_batting_json", "opponent_game_pitching_json", "team_season_hitting_json", "team_season_pitching_json", "opponent_season_hitting_json", "opponent_season_pitching_json" ], "properties": { "row_id": { "type": "string", "pattern": "^mlb-2023-[0-9]+-(away|home)$" }, "season": { "const": 2023 }, "game_pk": { "type": "integer" }, "game_date": { "type": "string", "format": "date" }, "game_datetime_utc": { "type": "string" }, "team_id": { "type": "integer" }, "team_name": { "type": "string" }, "team_side": { "enum": ["away", "home"] }, "opponent_id": { "type": "integer" }, "opponent_name": { "type": "string" }, "opponent_side": { "enum": ["away", "home"] }, "team_runs": { "type": "integer" }, "opponent_runs": { "type": "integer" }, "result": { "enum": ["win", "loss", "tie"] }, "messages": { "type": "array", "minItems": 3, "maxItems": 3, "items": { "type": "object", "required": ["role", "content"], "properties": { "role": { "enum": ["system", "user", "assistant"] }, "content": { "type": "string" } } } }, "assistant_payload_json": { "type": "string" }, "team_game_batting_json": { "type": "string" }, "team_game_pitching_json": { "type": "string" }, "opponent_game_batting_json": { "type": "string" }, "opponent_game_pitching_json": { "type": "string" }, "team_season_hitting_json": { "type": "string" }, "team_season_pitching_json": { "type": "string" }, "opponent_season_hitting_json": { "type": "string" }, "opponent_season_pitching_json": { "type": "string" } } }