{
  "$id": "/stats/game",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "description": "Various stats about the game for advanced players.",
  "properties": {
    "game": {
      "$ref": "/insights/game_data",
      "description": "Contains data about the game overall.",
      "title": "Game Data"
    },
    "md5_full": {
      "const": "3736b57d4598d505f2cfcea45d4d2a7d",
      "description": "MD5 of the all aspects of this schema (including non-functional elements like documentation)"
    },
    "md5_functional": {
      "const": "2300f72312a682de0d9b0adf853ce5c0",
      "description": "MD5 of the functional aspects of this schema"
    },
    "players": {
      "description": "Each player's advanced stats over the whole game.  If the player's location is unknown, the value for that player will be null.",
      "items": {
        "anyOf": [
          {
            "type": "null"
          },
          {
            "$ref": "/stats/player",
            "description": "Contains player-specific stats over the whole game.",
            "title": "Player Stats"
          }
        ]
      },
      "maxItems": 4,
      "minItems": 4,
      "type": "array"
    },
    "session": {
      "$ref": "/types/session",
      "description": "Defines aspects of the session or game being played.",
      "title": "Session"
    },
    "version": {
      "$ref": "/types/version",
      "description": "a version string matching x.x.x where x represents one or more digits",
      "title": "Version"
    }
  },
  "required": [
    "version",
    "game",
    "session",
    "players"
  ],
  "title": "Stats",
  "type": "object"
}