WinTD
WinTD

{

   "$id": "https://estima.com/chess/wintd/schemas/game.json",

   "description":"Description of a game (or match in team v team section, or in a multi-game per round section)",

   "type": "object",

   "properties": {

      "p1":{"type":"integer","description":"Player record for 1st player, -1 for bye for 2nd player"},

      "p2":{"type":"integer","description":"Player record for 2nd player, -1 for bye for 1st player"},

      "r1":{"type":"integer","description":"Round number for 1st player"},

      "r2":{"type":"integer","description":"Round number for 2nd player"},

      "color1":{"type":"integer","description":"Color for 1st player (+1=White,-1=Black,0=unknown/NA"},

      "color2":{"type":"integer","description":"Color for 2nd player (+1=White,-1=Black,0=unknown/NA"},

      "board":{"type":"integer","description":"Assigned board number"},

      "result":{"type":"integer","description":"Result. +1=1st player wins, -1=2nd player wins, 0=draw,+2=1st player wins by forfeit, -2=2nd player wins by forfeit, 99=No result yet",+3=1st player gets Pairing Assigned Bye (other byes are +1,0,-1 with opponent=-1),-98=Double forfeit loss,+98=Unplayed draw},

      "FIDERatable":{"type":"integer","description":"Tag (0=no,1=yes) for whether game is FIDE ratable"},

      "split":{"type":"integer","description":"Coding for split games. 0=No split result. -1=result only for 1st player, +1=result only for 2nd player"},

      "id":{"type":"string","description":"ID in whatever system is being used"},

      "type":{"type":"integer","description":"Game record type. 0=Standard game,1=Team v Team Match,2=Multigame match,4=Game from team v team or multigame match"},

      "sequence":{"type":"integer","description":"For match games (type=4), the zero-based sequence within the match"},

      "match":{"$ref":"https://estima.com/chess/wintd/schemas/match.json"}

   },

   "required":["p1","p2","r1","r2","result","type"]

}


 


Copyright © 2026 Thomas Doan