{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/chessigma/main/json-schema/chessigma-game-analysis-response-schema.json", "title": "GameAnalysisResponse", "x-generated": "2026-10-05", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/chessigma-openapi.json#/components/schemas/GameAnalysisResponse", "type": "object", "properties": { "gameId": { "type": "string", "format": "uuid" }, "status": { "type": "string", "enum": [ "completed" ] }, "analysis": { "type": "object", "properties": { "game": { "$ref": "#/$defs/Game" } } }, "metadata": { "type": "object", "properties": { "analysisCompletedAt": { "type": "string", "format": "date-time" }, "version": { "type": "string" } } } }, "$defs": { "Game": { "type": "object", "properties": { "id": { "type": "string" }, "pgn": { "type": "string" }, "white_username": { "type": [ "string", "null" ] }, "black_username": { "type": [ "string", "null" ] }, "white_rating": { "type": [ "integer", "null" ] }, "black_rating": { "type": [ "integer", "null" ] }, "white_result": { "type": [ "string", "null" ] }, "black_result": { "type": [ "string", "null" ] }, "time_class": { "type": [ "string", "null" ] }, "time_control": { "type": [ "string", "null" ] }, "source": { "type": "string" } } } } }