games.gamesgamesgamesgames.actor.stats

gamesgamesgamesgames.games

Documentation

Statistics for a game from a specific platform. May include attestation signatures proving the data was verified by an external service.

main record

Statistics for a game from a specific platform. May include attestation signatures proving the data was verified by an external service.

Record Key tid Timestamp-based ID

Properties

achievements object Optional

Achievement progress from this source.

createdAt string datetime Required

An RFC 3339 formatted timestamp.

lastPlayed string datetime Optional

When the game was last played according to this source.

playtime integer Optional

Total playtime recorded in minutes.

minimum: 0
source string Required

The platform that provided this statistics data.

Known values: steam, gog, epic, playstation, xbox, nintendo, itchio, humble
View raw schema
{
  "description": "Statistics for a game from a specific platform. May include attestation signatures proving the data was verified by an external service.",
  "key": "tid",
  "record": {
    "properties": {
      "achievements": {
        "description": "Achievement progress from this source.",
        "properties": {
          "total": {
            "minimum": 0,
            "type": "integer"
          },
          "unlocked": {
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "game": {
        "description": "Reference to the game record.",
        "ref": "games.gamesgamesgamesgames.actor.game#gameRef",
        "type": "ref"
      },
      "lastPlayed": {
        "description": "When the game was last played according to this source.",
        "format": "datetime",
        "type": "string"
      },
      "playtime": {
        "description": "Total playtime recorded in minutes.",
        "minimum": 0,
        "type": "integer"
      },
      "signatures": {
        "description": "Attestation signatures proving stats were verified. Can be inline signatures or strongRefs to remote proof records.",
        "items": {
          "refs": [
            "games.gamesgamesgamesgames.defs#signature",
            "com.atproto.repo.strongRef"
          ],
          "type": "union"
        },
        "type": "array"
      },
      "source": {
        "description": "The platform that provided this statistics data.",
        "knownValues": [
          "steam",
          "gog",
          "epic",
          "playstation",
          "xbox",
          "nintendo",
          "itchio",
          "humble"
        ],
        "type": "string"
      }
    },
    "required": [
      "game",
      "source",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@