# pink.vase.pod.episode

> Published by [vase.pink](https://lexicon.garden/identity/did:plc:4q6zynbo2nbapzxwsrswankx)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:4q6zynbo2nbapzxwsrswankx/pink.vase.pod.episode)
- [Documentation](https://lexicon.garden/lexicon/did:plc:4q6zynbo2nbapzxwsrswankx/pink.vase.pod.episode/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:4q6zynbo2nbapzxwsrswankx/pink.vase.pod.episode/examples)

## Definitions

### `pink.vase.pod.episode`

**Type**: `record`

A podcast episode belonging to a show.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `show` | `ref` → `com.atproto.repo.strongRef` | Yes | The show this episode belongs to. |
| `title` | `string` | Yes |  |
| `audioUrl` | `string` (uri) | Yes | URL to the audio file. Can be any host the creator controls. |
| `coverArt` | `blob` | No | Optional per-episode cover art, overrides show art. |
| `explicit` | `boolean` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `description` | `string` | No |  |
| `episodeType` | `string` | No | Follows podcast RSS spec episode types. |
| `seasonNumber` | `integer` | No |  |
| `episodeNumber` | `integer` | No |  |
| `durationSeconds` | `integer` | No | Episode duration in seconds. |

## Raw Schema

```json
{
  "id": "pink.vase.pod.episode",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "show",
          "title",
          "audioUrl",
          "createdAt"
        ],
        "properties": {
          "show": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "The show this episode belongs to."
          },
          "title": {
            "type": "string",
            "maxLength": 300
          },
          "audioUrl": {
            "type": "string",
            "format": "uri",
            "description": "URL to the audio file. Can be any host the creator controls."
          },
          "coverArt": {
            "type": "blob",
            "accept": [
              "image/jpeg",
              "image/png",
              "image/webp"
            ],
            "maxSize": 1000000,
            "description": "Optional per-episode cover art, overrides show art."
          },
          "explicit": {
            "type": "boolean"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "description": {
            "type": "string",
            "maxLength": 5000
          },
          "episodeType": {
            "type": "string",
            "description": "Follows podcast RSS spec episode types.",
            "knownValues": [
              "full",
              "trailer",
              "bonus"
            ]
          },
          "seasonNumber": {
            "type": "integer"
          },
          "episodeNumber": {
            "type": "integer"
          },
          "durationSeconds": {
            "type": "integer",
            "description": "Episode duration in seconds."
          }
        }
      },
      "description": "A podcast episode belonging to a show."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
