games.gamesgamesgamesgames.actor.stats

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

Details · record, key tid
Kindrecord
Record keytid
Authorityactor.gamesgamesgamesgames.games
Indexed
cid bafyreifogk45o65clqypd57ut66zxbi3mmwsznatjiitelal67qr2v463a

Checks

Valid
  • unlimited-string defs.main.record.properties.sourceNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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"
    }
  },
  "id": "games.gamesgamesgamesgames.actor.stats",
  "lexicon": 1
}