# lol.folk.game

> Published by [folk.lol](https://lexicon.garden/identity/did:plc:ijmfftrkmxdxndel5hbxhzn3)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:ijmfftrkmxdxndel5hbxhzn3/lol.folk.game)
- [Documentation](https://lexicon.garden/lexicon/did:plc:ijmfftrkmxdxndel5hbxhzn3/lol.folk.game/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:ijmfftrkmxdxndel5hbxhzn3/lol.folk.game/examples)

## Definitions

### `lol.folk.game`

**Type**: `record`

A game, published by the developer that made it. One per repo: the record lives in the developer's own repository and is the canonical, self-asserted definition of the game. Player-side records reference it by AT-URI.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `url` | `string` (uri) | Yes | Where the game can be played. |
| `logo` | `blob` | No | Game logo or cover image. |
| `name` | `string` | Yes | Display name of the game. |
| `genres` | `array` | No | Free-form genre tags, e.g. 'mmorpg', 'sandbox'. |
| `createdAt` | `string` (datetime) | Yes | When this record was created. |
| `platforms` | `array` | No | Where the game runs, e.g. 'web', 'android'. |
| `description` | `string` | No | Short description of the game. |

## Raw Schema

```json
{
  "id": "lol.folk.game",
  "defs": {
    "main": {
      "key": "literal:self",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "url",
          "createdAt"
        ],
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Where the game can be played."
          },
          "logo": {
            "type": "blob",
            "accept": [
              "image/png",
              "image/jpeg",
              "image/webp"
            ],
            "maxSize": 1000000,
            "description": "Game logo or cover image."
          },
          "name": {
            "type": "string",
            "maxLength": 640,
            "description": "Display name of the game.",
            "maxGraphemes": 64
          },
          "genres": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 128,
              "maxGraphemes": 32
            },
            "maxLength": 8,
            "description": "Free-form genre tags, e.g. 'mmorpg', 'sandbox'."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "When this record was created."
          },
          "platforms": {
            "type": "array",
            "items": {
              "type": "string",
              "maxLength": 128,
              "maxGraphemes": 32
            },
            "maxLength": 16,
            "description": "Where the game runs, e.g. 'web', 'android'."
          },
          "description": {
            "type": "string",
            "maxLength": 3000,
            "description": "Short description of the game.",
            "maxGraphemes": 300
          }
        }
      },
      "description": "A game, published by the developer that made it. One per repo: the record lives in the developer's own repository and is the canonical, self-asserted definition of the game. Player-side records reference it by AT-URI."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
