# at.postgame.love

> Published by [postgame.at](https://lexicon.garden/identity/did:plc:crwol3wvv2w2lvvognhvd5cm)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:crwol3wvv2w2lvvognhvd5cm/at.postgame.love)
- [Documentation](https://lexicon.garden/lexicon/did:plc:crwol3wvv2w2lvvognhvd5cm/at.postgame.love/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:crwol3wvv2w2lvvognhvd5cm/at.postgame.love/examples)

## Definitions

### `at.postgame.love#game`

**Type**: `object`

A loved game

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `title` | `string` | Yes |  |
| `igdbId` | `integer` | Yes |  |
| `coverUrl` | `string` (uri) | No |  |

### `at.postgame.love#list`

**Type**: `object`

A loved list

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `uri` | `string` (at-uri) | Yes |  |
| `name` | `string` | Yes |  |

### `at.postgame.love`

**Type**: `record`

A game the user loved. Lists may also be loved in the future, but only games are supported today. The record key is deterministic so a subject can only be loved once: 'game-{igdbId}' for games, 'list-{rkey}' (the rkey of the at.postgame.list record) for lists

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `subject` | `union` | Yes |  |
| `createdAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "at.postgame.love",
  "defs": {
    "game": {
      "type": "object",
      "required": [
        "igdbId",
        "title"
      ],
      "properties": {
        "title": {
          "type": "string",
          "maxLength": 256
        },
        "igdbId": {
          "type": "integer"
        },
        "coverUrl": {
          "type": "string",
          "format": "uri"
        }
      },
      "description": "A loved game"
    },
    "list": {
      "type": "object",
      "required": [
        "uri",
        "name"
      ],
      "properties": {
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "name": {
          "type": "string",
          "maxLength": 256
        }
      },
      "description": "A loved list"
    },
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "subject",
          "createdAt"
        ],
        "properties": {
          "subject": {
            "refs": [
              "#game",
              "#list"
            ],
            "type": "union"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "A game the user loved. Lists may also be loved in the future, but only games are supported today. The record key is deterministic so a subject can only be loved once: 'game-{igdbId}' for games, 'list-{rkey}' (the rkey of the at.postgame.list record) for lists"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
