# town.laugh.user.listitem

> Published by [laugh.town](https://lexicon.garden/identity/did:plc:k6owgpe2rkkchoiivxhzp2t4)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:k6owgpe2rkkchoiivxhzp2t4/town.laugh.user.listitem)
- [Documentation](https://lexicon.garden/lexicon/did:plc:k6owgpe2rkkchoiivxhzp2t4/town.laugh.user.listitem/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:k6owgpe2rkkchoiivxhzp2t4/town.laugh.user.listitem/examples)

## Definitions

### `town.laugh.user.listitem`

**Type**: `record`

Membership of a subject in a town.laugh.user.list

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `list` | `string` (at-uri) | Yes | AT-URI reference to the town.laugh.user.list record |
| `note` | `string` | No | Optional per-item blurb |
| `order` | `string` | No | Fractional index for curated ordering; omit for TID/insertion order |
| `subject` | `string` (at-uri) | Yes | AT-URI reference to a town.laugh.db.event, .venue, or .comedian record (mixed lists allowed) |
| `createdAt` | `string` (datetime) | Yes | Timestamp of when the item was added |

## Raw Schema

```json
{
  "id": "town.laugh.user.listitem",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "list",
          "subject",
          "createdAt"
        ],
        "properties": {
          "list": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI reference to the town.laugh.user.list record"
          },
          "note": {
            "type": "string",
            "maxLength": 2048,
            "description": "Optional per-item blurb"
          },
          "order": {
            "type": "string",
            "description": "Fractional index for curated ordering; omit for TID/insertion order"
          },
          "subject": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI reference to a town.laugh.db.event, .venue, or .comedian record (mixed lists allowed)"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp of when the item was added"
          }
        }
      },
      "description": "Membership of a subject in a town.laugh.user.list"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
