# us.off-the-clock.embed.defs

- Kind: defs
- Authority: embed.off-the-clock.us
- Lexicon: 1
- Published by [off-the-clock.us](https://lexicon.garden/identity/did:plc:tevv7zpavtjtsvqrrwwipobt), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.embed.defs)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.embed.defs/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:tevv7zpavtjtsvqrrwwipobt/us.off-the-clock.embed.defs/analytics)

## #audioView (`us.off-the-clock.embed.defs#audioView`)

Type: object

### Properties

- `alt` (string)
- `duration` (integer)
- `mimeType` (string)
- `preview` (string · uri, required): The waveform image, as a signed URL.
- `url` (string · uri, required): The recording, as a signed URL.

## #mixedView (`us.off-the-clock.embed.defs#mixedView`)

Type: object

### Properties

- `external` (ref, required)
  - Reference: `app.bsky.embed.external#viewExternal`
- `media` (union, required)
  - One of: `app.bsky.embed.images#view`, `#videoView`, `app.bsky.embed.gallery#view`, `#audioView`

## #videoView (`us.off-the-clock.embed.defs#videoView`)

Type: object

### Properties

- `alt` (string)
- `aspectRatio` (ref)
  - Reference: `app.bsky.embed.defs#aspectRatio`
- `mimeType` (string)
- `thumbnail` (string · uri): The poster, as a signed URL.
- `url` (string · uri, required): The video, as a signed URL.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "audioView": {
      "properties": {
        "alt": {
          "type": "string"
        },
        "duration": {
          "type": "integer"
        },
        "mimeType": {
          "type": "string"
        },
        "preview": {
          "description": "The waveform image, as a signed URL.",
          "format": "uri",
          "type": "string"
        },
        "url": {
          "description": "The recording, as a signed URL.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "url",
        "preview"
      ],
      "type": "object"
    },
    "mixedView": {
      "properties": {
        "external": {
          "ref": "app.bsky.embed.external#viewExternal",
          "type": "ref"
        },
        "media": {
          "refs": [
            "app.bsky.embed.images#view",
            "#videoView",
            "app.bsky.embed.gallery#view",
            "#audioView"
          ],
          "type": "union"
        }
      },
      "required": [
        "media",
        "external"
      ],
      "type": "object"
    },
    "videoView": {
      "properties": {
        "alt": {
          "type": "string"
        },
        "aspectRatio": {
          "ref": "app.bsky.embed.defs#aspectRatio",
          "type": "ref"
        },
        "mimeType": {
          "type": "string"
        },
        "thumbnail": {
          "description": "The poster, as a signed URL.",
          "format": "uri",
          "type": "string"
        },
        "url": {
          "description": "The video, as a signed URL.",
          "format": "uri",
          "type": "string"
        }
      },
      "required": [
        "url"
      ],
      "type": "object"
    }
  },
  "id": "us.off-the-clock.embed.defs",
  "lexicon": 1
}
```
