# so.sprk.sound.defs

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

✓ This is the authoritative definition for this NSID.

## Links

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

## Definitions

### `so.sprk.sound.defs#audioView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes |  |
| `uri` | `string` (at-uri) | Yes |  |
| `audio` | `string` (uri) | No |  |
| `title` | `string` | Yes |  |
| `author` | `ref` → `so.sprk.actor.defs#profileViewBasic` | Yes |  |
| `labels` | `array` | No |  |
| `record` | `unknown` | Yes |  |
| `details` | `ref` → `#audioDetails` | No |  |
| `coverArt` | `string` (uri) | Yes |  |
| `useCount` | `integer` | No |  |
| `indexedAt` | `string` (datetime) | Yes |  |

### `so.sprk.sound.defs#audioDetails`

**Type**: `object`

Metadata about the audio content.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `title` | `string` | No |  |
| `artist` | `string` | No |  |

## Raw Schema

```json
{
  "id": "so.sprk.sound.defs",
  "defs": {
    "audioView": {
      "type": "object",
      "required": [
        "uri",
        "cid",
        "author",
        "title",
        "coverArt",
        "record",
        "indexedAt"
      ],
      "properties": {
        "cid": {
          "type": "string",
          "format": "cid"
        },
        "uri": {
          "type": "string",
          "format": "at-uri"
        },
        "audio": {
          "type": "string",
          "format": "uri"
        },
        "title": {
          "type": "string"
        },
        "author": {
          "ref": "so.sprk.actor.defs#profileViewBasic",
          "type": "ref"
        },
        "labels": {
          "type": "array",
          "items": {
            "ref": "com.atproto.label.defs#label",
            "type": "ref"
          }
        },
        "record": {
          "type": "unknown"
        },
        "details": {
          "ref": "#audioDetails",
          "type": "ref"
        },
        "coverArt": {
          "type": "string",
          "format": "uri"
        },
        "useCount": {
          "type": "integer"
        },
        "indexedAt": {
          "type": "string",
          "format": "datetime"
        }
      }
    },
    "audioDetails": {
      "type": "object",
      "properties": {
        "title": {
          "type": "string"
        },
        "artist": {
          "type": "string"
        }
      },
      "description": "Metadata about the audio content."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
