# net.atchan.embed.audio

> Published by [atchan.net](https://lexicon.garden/identity/did:plc:vshgahazzq7qwvp2xc6ai27o)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:vshgahazzq7qwvp2xc6ai27o/net.atchan.embed.audio)
- [Documentation](https://lexicon.garden/lexicon/did:plc:vshgahazzq7qwvp2xc6ai27o/net.atchan.embed.audio/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:vshgahazzq7qwvp2xc6ai27o/net.atchan.embed.audio/examples)

## Definitions

### `net.atchan.embed.audio`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `alt` | `string` | Yes | Text description or transcript of the audio for accessibility. May be empty. |
| `audio` | `blob` | Yes | The audio represented as bytes |
| `duration` | `integer` | No | Client-declared length of the audio in whole seconds |
| `filename` | `string` | Yes | Name of the file as uploaded |

## Raw Schema

```json
{
  "id": "net.atchan.embed.audio",
  "defs": {
    "main": {
      "type": "object",
      "required": [
        "filename",
        "audio",
        "alt"
      ],
      "properties": {
        "alt": {
          "type": "string",
          "maxLength": 20000,
          "description": "Text description or transcript of the audio for accessibility. May be empty.",
          "maxGraphemes": 2000
        },
        "audio": {
          "type": "blob",
          "accept": [
            "audio/*"
          ],
          "maxSize": 26214400,
          "description": "The audio represented as bytes"
        },
        "duration": {
          "type": "integer",
          "minimum": 0,
          "description": "Client-declared length of the audio in whole seconds"
        },
        "filename": {
          "type": "string",
          "maxLength": 2600,
          "description": "Name of the file as uploaded",
          "maxGraphemes": 260
        }
      }
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
