# fm.onrepeat.jam

> Published by [onrepeat.fm](https://lexicon.garden/identity/did:plc:uvn6p3pn2vwdjgnerqfrdcx4)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:uvn6p3pn2vwdjgnerqfrdcx4/fm.onrepeat.jam)
- [Documentation](https://lexicon.garden/lexicon/did:plc:uvn6p3pn2vwdjgnerqfrdcx4/fm.onrepeat.jam/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:uvn6p3pn2vwdjgnerqfrdcx4/fm.onrepeat.jam/examples)

## Definitions

### `fm.onrepeat.jam`

**Type**: `record`

A person's current jam — one song.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `via` | `ref` → `#viaRef` | No |  |
| `title` | `string` | Yes |  |
| `artist` | `string` | Yes |  |
| `caption` | `string` | No |  |
| `createdAt` | `string` (datetime) | Yes |  |
| `sourceUrl` | `string` (uri) | Yes |  |
| `artworkUrl` | `string` (uri) | No |  |
| `sourceProvider` | `string` | Yes |  |

### `fm.onrepeat.jam#viaRef`

**Type**: `object`

Attribution for a re-jam.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `did` | `string` (did) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |

## Raw Schema

```json
{
  "id": "fm.onrepeat.jam",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "sourceUrl",
          "sourceProvider",
          "title",
          "artist",
          "createdAt"
        ],
        "properties": {
          "via": {
            "ref": "#viaRef",
            "type": "ref"
          },
          "title": {
            "type": "string",
            "maxLength": 3000,
            "maxGraphemes": 300
          },
          "artist": {
            "type": "string",
            "maxLength": 3000,
            "maxGraphemes": 300
          },
          "caption": {
            "type": "string",
            "maxLength": 1400,
            "maxGraphemes": 140
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "sourceUrl": {
            "type": "string",
            "format": "uri",
            "maxLength": 2048
          },
          "artworkUrl": {
            "type": "string",
            "format": "uri",
            "maxLength": 2048
          },
          "sourceProvider": {
            "type": "string",
            "maxLength": 64,
            "knownValues": [
              "spotify",
              "youtube",
              "youtubemusic",
              "applemusic",
              "soundcloud",
              "bandcamp",
              "tidal",
              "deezer",
              "unknown"
            ]
          }
        }
      },
      "description": "A person's current jam — one song."
    },
    "viaRef": {
      "type": "object",
      "required": [
        "uri",
        "did"
      ],
      "properties": {
        "did": {
          "type": "string",
          "format": "did"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        }
      },
      "description": "Attribution for a re-jam."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
