# com.crashthearcade.list

> Published by [crashthearcade.com](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/com.crashthearcade.list)
- [Documentation](https://lexicon.garden/lexicon/did:plc:crwol3wvv2w2lvvognhvd5cm/com.crashthearcade.list/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:crwol3wvv2w2lvvognhvd5cm/com.crashthearcade.list/examples)

## Definitions

### `com.crashthearcade.list`

**Type**: `record`

A ranked list of games created by a user

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `url` | `string` (uri) | No | Public URL to view this list on Crash the Arcade |
| `name` | `string` | Yes |  |
| `items` | `array` | Yes |  |
| `numbered` | `boolean` | No | Whether to display position numbers on items |
| `createdAt` | `string` (datetime) | Yes |  |
| `updatedAt` | `string` (datetime) | Yes |  |

### `com.crashthearcade.list#listItem`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `award` | `string` | No | Optional label or emoji award for this entry |
| `title` | `string` | Yes |  |
| `igdbId` | `integer` | Yes |  |
| `coverUrl` | `string` (uri) | No |  |
| `position` | `integer` | Yes |  |

## Raw Schema

```json
{
  "id": "com.crashthearcade.list",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "items",
          "createdAt",
          "updatedAt"
        ],
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Public URL to view this list on Crash the Arcade"
          },
          "name": {
            "type": "string",
            "maxLength": 256
          },
          "items": {
            "type": "array",
            "items": {
              "ref": "#listItem",
              "type": "ref"
            }
          },
          "numbered": {
            "type": "boolean",
            "description": "Whether to display position numbers on items"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "A ranked list of games created by a user"
    },
    "listItem": {
      "type": "object",
      "required": [
        "igdbId",
        "title",
        "position"
      ],
      "properties": {
        "award": {
          "type": "string",
          "maxLength": 128,
          "description": "Optional label or emoji award for this entry"
        },
        "title": {
          "type": "string",
          "maxLength": 256
        },
        "igdbId": {
          "type": "integer"
        },
        "coverUrl": {
          "type": "string",
          "format": "uri"
        },
        "position": {
          "type": "integer",
          "minimum": 1
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
