# games.gamesgamesgamesgames.actor.game

> Published by [gamesgamesgamesgames.games](https://lexicon.garden/identity/did:web:gamesgamesgamesgames.games)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.actor.game)
- [Documentation](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.actor.game/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:gamesgamesgamesgames.games/games.gamesgamesgamesgames.actor.game/examples)

## Definitions

### `games.gamesgamesgamesgames.actor.game`

**Type**: `record`

A record indicating the actor owns a game on a specific platform. May include attestation signatures proving ownership was verified by an external service.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `game` | `ref` → `#gameRef` | Yes | Reference to the game record. |
| `platform` | `string` | Yes | The platform where ownership was verified. |
| `createdAt` | `string` (datetime) | Yes |  |
| `signatures` | `array` | No | Attestation signatures proving ownership was verified. Can be inline signatures or strongRefs to remote proof records. |

### `games.gamesgamesgamesgames.actor.game#gameRef`

**Type**: `object`

Reference to a game, either by AT URI or external platform ID.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | No | AT URI of the game record. |
| `platform` | `string` | No | External platform for ID lookup. |
| `externalId` | `string` | No | External platform's ID for the game. |

## Raw Schema

```json
{
  "id": "games.gamesgamesgamesgames.actor.game",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "game",
          "platform",
          "createdAt"
        ],
        "properties": {
          "game": {
            "ref": "#gameRef",
            "type": "ref",
            "description": "Reference to the game record."
          },
          "platform": {
            "type": "string",
            "description": "The platform where ownership was verified.",
            "knownValues": [
              "steam",
              "gog",
              "epic",
              "playstation",
              "xbox",
              "nintendo",
              "itchio",
              "humble"
            ]
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "signatures": {
            "type": "array",
            "items": {
              "refs": [
                "games.gamesgamesgamesgames.defs#signature",
                "com.atproto.repo.strongRef"
              ],
              "type": "union"
            },
            "description": "Attestation signatures proving ownership was verified. Can be inline signatures or strongRefs to remote proof records."
          }
        }
      },
      "description": "A record indicating the actor owns a game on a specific platform. May include attestation signatures proving ownership was verified by an external service."
    },
    "gameRef": {
      "type": "object",
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri",
          "description": "AT URI of the game record."
        },
        "platform": {
          "type": "string",
          "description": "External platform for ID lookup."
        },
        "externalId": {
          "type": "string",
          "description": "External platform's ID for the game."
        }
      },
      "description": "Reference to a game, either by AT URI or external platform ID."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
