# town.laugh.user.credit

> 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.credit)
- [Documentation](https://lexicon.garden/lexicon/did:plc:k6owgpe2rkkchoiivxhzp2t4/town.laugh.user.credit/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:k6owgpe2rkkchoiivxhzp2t4/town.laugh.user.credit/examples)

## Definitions

### `town.laugh.user.credit`

**Type**: `record`

A performer credit: the author asserts a comedian is on an event's lineup

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `role` | `string` | No | Role on the bill, e.g. headliner, host, feature |
| `event` | `string` (at-uri) | Yes | AT-URI of the show — a community.lexicon.calendar.event record (central repo or author-owned; legacy town.laugh.db.event / town.laugh.user.event uris remain valid) |
| `comedian` | `string` (at-uri) | Yes | AT-URI of the town.laugh.db.comedian being credited |
| `createdAt` | `string` (datetime) | Yes | Timestamp of when the credit was created |
| `billingOrder` | `integer` | No | Position on the bill (lower = higher billing) |

## Raw Schema

```json
{
  "id": "town.laugh.user.credit",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "event",
          "comedian",
          "createdAt"
        ],
        "properties": {
          "role": {
            "type": "string",
            "description": "Role on the bill, e.g. headliner, host, feature"
          },
          "event": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the show — a community.lexicon.calendar.event record (central repo or author-owned; legacy town.laugh.db.event / town.laugh.user.event uris remain valid)"
          },
          "comedian": {
            "type": "string",
            "format": "at-uri",
            "description": "AT-URI of the town.laugh.db.comedian being credited"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Timestamp of when the credit was created"
          },
          "billingOrder": {
            "type": "integer",
            "description": "Position on the bill (lower = higher billing)"
          }
        }
      },
      "description": "A performer credit: the author asserts a comedian is on an event's lineup"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
