{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/chessigma/main/json-schema/chessigma-game-submission-schema.json",
  "title": "GameSubmission",
  "x-generated": "2026-10-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/chessigma-openapi.json#/components/schemas/GameSubmission",
  "type": "object",
  "required": [
    "pgn"
  ],
  "additionalProperties": false,
  "properties": {
    "pgn": {
      "type": "string",
      "minLength": 1,
      "maxLength": 10000,
      "description": "PGN text. Must include [White], [Black], [Result] tags and a valid moves section."
    }
  }
}