# com.audioadastra.track

> Published by [audioadastra.com](https://lexicon.garden/identity/did:plc:xj4bpglaht36jqc4dopoh3va)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:xj4bpglaht36jqc4dopoh3va/com.audioadastra.track)
- [Documentation](https://lexicon.garden/lexicon/did:plc:xj4bpglaht36jqc4dopoh3va/com.audioadastra.track/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:xj4bpglaht36jqc4dopoh3va/com.audioadastra.track/examples)

## Definitions

### `com.audioadastra.track#audio`

**Type**: `object`

The audio files of a track.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `original` | `blob` | Yes | The audio file as uploaded. |

### `com.audioadastra.track`

**Type**: `record`

A music track. The account is its artist.

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `audio` | `ref` → `#audio` | Yes |  |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when this track record was created. |
| `description` | `string` | No | Free-form description of the track, such as notes, credits or lyrics. |
| `title` | `string` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "audio": {
      "description": "The audio files of a track.",
      "properties": {
        "original": {
          "description": "The audio file as uploaded.",
          "type": "blob"
        }
      },
      "required": [
        "original"
      ],
      "type": "object"
    },
    "main": {
      "description": "A music track. The account is its artist.",
      "key": "tid",
      "record": {
        "properties": {
          "audio": {
            "ref": "#audio",
            "type": "ref"
          },
          "createdAt": {
            "description": "Client-declared timestamp when this track record was created.",
            "format": "datetime",
            "type": "string"
          },
          "description": {
            "description": "Free-form description of the track, such as notes, credits or lyrics.",
            "maxGraphemes": 5000,
            "maxLength": 20000,
            "type": "string"
          },
          "title": {
            "maxGraphemes": 300,
            "maxLength": 3000,
            "minLength": 1,
            "type": "string"
          }
        },
        "required": [
          "audio",
          "title",
          "createdAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "com.audioadastra.track",
  "lexicon": 1
}
```
