# computer.localnetwork.dj.recording

> One per set whose recording the DJ uploaded to their own account, under the set's record key. The set's recording field points at it.

- Kind: record
- Record key: tid
- Authority: dj.localnetwork.computer
- Lexicon: 1
- Published by [localnetwork.computer](https://lexicon.garden/identity/did:plc:d42l64gsczg6qh2vo243xv5l), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.dj.recording)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.dj.recording/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:d42l64gsczg6qh2vo243xv5l/computer.localnetwork.dj.recording/analytics)

## Record (`computer.localnetwork.dj.recording`)

Type: record · key tid

### Properties

- `audio` (blob, required): The recording, in a format browsers play: AAC in an M4A file, or MP3. video/mp4 is accepted too because a data server names a blob's type from its contents, and an MP4 file that doesn't say it's audio reads as video.
  - Constraints: maxSize: 314572800, accept: audio/*, video/mp4
- `createdAt` (string · datetime, required): When it was first uploaded.
- `durationSeconds` (integer): How long it plays, in whole seconds.
  - Constraints: minimum: 1

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "One per set whose recording the DJ uploaded to their own account, under the set's record key. The set's recording field points at it.",
      "key": "tid",
      "record": {
        "properties": {
          "audio": {
            "accept": [
              "audio/*",
              "video/mp4"
            ],
            "description": "The recording, in a format browsers play: AAC in an M4A file, or MP3. video/mp4 is accepted too because a data server names a blob's type from its contents, and an MP4 file that doesn't say it's audio reads as video.",
            "maxSize": 314572800,
            "type": "blob"
          },
          "createdAt": {
            "description": "When it was first uploaded.",
            "format": "datetime",
            "type": "string"
          },
          "durationSeconds": {
            "description": "How long it plays, in whole seconds.",
            "minimum": 1,
            "type": "integer"
          }
        },
        "required": [
          "audio",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "description": "A recording of a DJ set, kept in the DJ's own repo.",
  "id": "computer.localnetwork.dj.recording",
  "lexicon": 1
}
```
