Heroic Labs · Schema

apiLeaderboardRecord

Represents a complete leaderboard record with all scores and associated metadata.

Game BackendMultiplayerReal-TimeWebSocketMatchmakingLeaderboardsSocial GamingOpen SourceLiveOpsgRPC

Properties

Name Type Description
leaderboardId string The ID of the leaderboard this score belongs to.
ownerId string The ID of the score owner, usually a user or group.
username string The username of the score owner, if the owner is a user.
score string The score value.
subscore string An optional subscore value.
numScore integer The number of submissions to this score record.
metadata string Metadata.
createTime string The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record was created.
updateTime string The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record was updated.
expiryTime string The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record expires.
rank string The rank of this record.
maxNumScore integer The maximum number of score updates allowed by the owner.
View JSON Schema on GitHub

JSON Schema

apiLeaderboardRecord.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api-evangelist.github.io/heroiclabs/json-schema/apiLeaderboardRecord.json",
  "title": "apiLeaderboardRecord",
  "type": "object",
  "properties": {
    "leaderboardId": {
      "type": "string",
      "description": "The ID of the leaderboard this score belongs to."
    },
    "ownerId": {
      "type": "string",
      "description": "The ID of the score owner, usually a user or group."
    },
    "username": {
      "type": "string",
      "description": "The username of the score owner, if the owner is a user."
    },
    "score": {
      "type": "string",
      "format": "int64",
      "description": "The score value."
    },
    "subscore": {
      "type": "string",
      "format": "int64",
      "description": "An optional subscore value."
    },
    "numScore": {
      "type": "integer",
      "format": "int32",
      "description": "The number of submissions to this score record."
    },
    "metadata": {
      "type": "string",
      "description": "Metadata."
    },
    "createTime": {
      "type": "string",
      "format": "date-time",
      "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record was created."
    },
    "updateTime": {
      "type": "string",
      "format": "date-time",
      "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record was updated."
    },
    "expiryTime": {
      "type": "string",
      "format": "date-time",
      "description": "The UNIX time (for gRPC clients) or ISO string (for REST clients) when the leaderboard record expires."
    },
    "rank": {
      "type": "string",
      "format": "int64",
      "description": "The rank of this record."
    },
    "maxNumScore": {
      "type": "integer",
      "format": "int64",
      "description": "The maximum number of score updates allowed by the owner."
    }
  },
  "description": "Represents a complete leaderboard record with all scores and associated metadata."
}