# com.professorbutts.sports.listitem

> One entry in a com.professorbutts.sports.list. Points at any record (team, person, game, leaderboard), not just accounts.

- Kind: record
- Record key: tid
- Authority: sports.professorbutts.com
- Lexicon: 1
- Published by [professorbutts.com](https://lexicon.garden/identity/did:plc:x6njyeyi47bqs2kueuv3mrg5), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:x6njyeyi47bqs2kueuv3mrg5/com.professorbutts.sports.listitem)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:x6njyeyi47bqs2kueuv3mrg5/com.professorbutts.sports.listitem/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:x6njyeyi47bqs2kueuv3mrg5/com.professorbutts.sports.listitem/analytics)

## Record (`com.professorbutts.sports.listitem`)

Type: record · key tid

### Properties

- `createdAt` (string · datetime, required)
- `list` (string · at-uri, required)
- `note` (string): Short blurb shown next to the item, e.g. why it's ranked here.
  - Constraints: maxLength: 1000, maxGraphemes: 100
- `position` (integer): Rank within a #ranking list (1 = top). Ignored for other lists.
  - Constraints: minimum: 1, maximum: 1000
- `subject` (string · at-uri, required): The team, person or event record.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "key": "tid",
      "record": {
        "properties": {
          "createdAt": {
            "format": "datetime",
            "type": "string"
          },
          "list": {
            "format": "at-uri",
            "type": "string"
          },
          "note": {
            "description": "Short blurb shown next to the item, e.g. why it's ranked here.",
            "maxGraphemes": 100,
            "maxLength": 1000,
            "type": "string"
          },
          "position": {
            "description": "Rank within a #ranking list (1 = top). Ignored for other lists.",
            "maximum": 1000,
            "minimum": 1,
            "type": "integer"
          },
          "subject": {
            "description": "The team, person or event record.",
            "format": "at-uri",
            "type": "string"
          }
        },
        "required": [
          "list",
          "subject",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "One entry in a com.professorbutts.sports.list. Points at any record (team, person, game, leaderboard), not just accounts.",
  "id": "com.professorbutts.sports.listitem",
  "lexicon": 1
}
```
