# so.sprk.sound.audio

> Published by [sprk.so](https://lexicon.garden/identity/did:plc:cveom2iroj3mt747sd4qqnr2)

✓ This is the authoritative definition for this NSID.

## Description

A audio record referencable in a Spark record (e.g, a post)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.sound.audio)
- [Documentation](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.sound.audio/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:cveom2iroj3mt747sd4qqnr2/so.sprk.sound.audio/examples)

## Definitions

### `so.sprk.sound.audio`

**Type**: `record`

**Key**: `tid`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `sound` | `blob` | Yes |  |
| `title` | `string` | Yes | The audio's title. |
| `labels` | `union` | No | Self-label values for this audio. Effectively content warnings. |
| `origin` | `ref` → `com.atproto.repo.strongRef` | No |  |
| `details` | `ref` → `so.sprk.sound.defs#audioDetails` | No |  |
| `createdAt` | `string` (datetime) | Yes | Client-declared timestamp when this audio was originally created. |

## Raw Schema

```json
{
  "id": "so.sprk.sound.audio",
  "defs": {
    "main": {
      "key": "tid",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "sound",
          "title",
          "createdAt"
        ],
        "properties": {
          "sound": {
            "type": "blob",
            "accept": [
              "audio/*"
            ],
            "maxSize": 10485760
          },
          "title": {
            "type": "string",
            "maxLength": 1000,
            "description": "The audio's title.",
            "maxGraphemes": 100
          },
          "labels": {
            "refs": [
              "com.atproto.label.defs#selfLabels"
            ],
            "type": "union",
            "description": "Self-label values for this audio. Effectively content warnings."
          },
          "origin": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref"
          },
          "details": {
            "ref": "so.sprk.sound.defs#audioDetails",
            "type": "ref"
          },
          "createdAt": {
            "type": "string",
            "format": "datetime",
            "description": "Client-declared timestamp when this audio was originally created."
          }
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1,
  "description": "A audio record referencable in a Spark record (e.g, a post)"
}
```
