Heroic Labs · Schema

apiTournament

A tournament on the server.

Game BackendMultiplayerReal-TimeWebSocketMatchmakingLeaderboardsSocial GamingOpen-SourceLiveOpsgRPC

Properties

Name Type Description
id string The ID of the tournament.
title string The title for the tournament.
description string The description of the tournament. May be blank.
category integer The category of the tournament. e.g. "vip" could be category 1.
sortOrder integer ASC (0) or DESC (1) sort mode of scores in the tournament.
size integer The current number of players in the tournament.
maxSize integer The maximum number of players for the tournament.
maxNumScore integer The maximum score updates allowed per player for the current tournament.
canEnter boolean True if the tournament is active and can enter. A computed value.
endActive integer The UNIX time when the tournament stops being active until next reset. A computed value.
nextReset integer The UNIX time when the tournament is next playable. A computed value.
metadata string Additional information stored as a JSON object.
createTime string The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created.
startTime string The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start.
endTime string The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped.
duration integer Duration of the tournament in seconds.
startActive integer The UNIX time when the tournament start being active. A computed value.
prevReset integer The UNIX time when the tournament was last reset. A computed value.
operator object
authoritative boolean Whether the leaderboard was created authoritatively or not.
joinRequired boolean Whether the user must join the tournament before being able to submit scores.
View JSON Schema on GitHub

JSON Schema

apiTournament.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/heroiclabs/json-schema/apiTournament.json",
  "title": "apiTournament",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The ID of the tournament."
    },
    "title": {
      "type": "string",
      "description": "The title for the tournament."
    },
    "description": {
      "type": "string",
      "description": "The description of the tournament. May be blank."
    },
    "category": {
      "type": "integer",
      "format": "int64",
      "description": "The category of the tournament. e.g. \"vip\" could be category 1."
    },
    "sortOrder": {
      "type": "integer",
      "format": "int64",
      "description": "ASC (0) or DESC (1) sort mode of scores in the tournament."
    },
    "size": {
      "type": "integer",
      "format": "int64",
      "description": "The current number of players in the tournament."
    },
    "maxSize": {
      "type": "integer",
      "format": "int64",
      "description": "The maximum number of players for the tournament."
    },
    "maxNumScore": {
      "type": "integer",
      "format": "int64",
      "description": "The maximum score updates allowed per player for the current tournament."
    },
    "canEnter": {
      "type": "boolean",
      "description": "True if the tournament is active and can enter. A computed value."
    },
    "endActive": {
      "type": "integer",
      "format": "int64",
      "description": "The UNIX time when the tournament stops being active until next reset. A computed value."
    },
    "nextReset": {
      "type": "integer",
      "format": "int64",
      "description": "The UNIX time when the tournament is next playable. A computed value."
    },
    "metadata": {
      "type": "string",
      "description": "Additional information stored as a JSON object."
    },
    "createTime": {
      "type": "string",
      "format": "date-time",
      "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament was created."
    },
    "startTime": {
      "type": "string",
      "format": "date-time",
      "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will start."
    },
    "endTime": {
      "type": "string",
      "format": "date-time",
      "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the tournament will be stopped."
    },
    "duration": {
      "type": "integer",
      "format": "int64",
      "description": "Duration of the tournament in seconds."
    },
    "startActive": {
      "type": "integer",
      "format": "int64",
      "description": "The UNIX time when the tournament start being active. A computed value."
    },
    "prevReset": {
      "type": "integer",
      "format": "int64",
      "description": "The UNIX time when the tournament was last reset. A computed value."
    },
    "operator": {
      "$ref": "#/components/schemas/apiOperator"
    },
    "authoritative": {
      "type": "boolean",
      "description": "Whether the leaderboard was created authoritatively or not."
    },
    "joinRequired": {
      "type": "boolean",
      "description": "Whether the user must join the tournament before being able to submit scores."
    }
  },
  "description": "A tournament on the server."
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/apiTournament"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.