net.wireservice.component.audio

wireservice.net

Documentation

Audio component. Supports blob storage for AT Protocol-native audio and optional external URLs. At least one of `audio` or `url` should be provided.

main object

Audio component. Supports blob storage for AT Protocol-native audio and optional external URLs. At least one of `audio` or `url` should be provided.

Properties

accessibilityCaption string Optional

No description available.

maxLength: 20000 bytesmaxGraphemes: 2000 graphemes
audio blob Optional

The audio blob.

maxSize: 50.0 MB
explicitContent boolean Optional

No description available.

hidden boolean Optional

No description available.

identifier string Optional

No description available.

maxLength: 256 bytes
image blob Optional

Thumbnail image for the audio player.

maxSize: 2.0 MB
layout string Optional

No description available.

maxLength: 256 bytes
style string Optional

No description available.

maxLength: 256 bytes
url string uri Optional

External URL to the audio resource. Alternative or supplement to the blob.

View raw schema
{
  "description": "Audio component. Supports blob storage for AT Protocol-native audio and optional external URLs. At least one of `audio` or `url` should be provided.",
  "properties": {
    "accessibilityCaption": {
      "maxGraphemes": 2000,
      "maxLength": 20000,
      "type": "string"
    },
    "audio": {
      "accept": [
        "audio/mpeg",
        "audio/mp4",
        "audio/wav",
        "audio/ogg",
        "audio/webm"
      ],
      "description": "The audio blob.",
      "maxSize": 50000000,
      "type": "blob"
    },
    "caption": {
      "description": "Visible caption as an array of text runs with optional formatting marks.",
      "items": {
        "ref": "net.wireservice.defs#textRun",
        "type": "ref"
      },
      "type": "array"
    },
    "explicitContent": {
      "type": "boolean"
    },
    "hidden": {
      "type": "boolean"
    },
    "identifier": {
      "maxLength": 256,
      "type": "string"
    },
    "image": {
      "accept": [
        "image/jpeg",
        "image/png",
        "image/webp"
      ],
      "description": "Thumbnail image for the audio player.",
      "maxSize": 2000000,
      "type": "blob"
    },
    "layout": {
      "maxLength": 256,
      "type": "string"
    },
    "style": {
      "maxLength": 256,
      "type": "string"
    },
    "url": {
      "description": "External URL to the audio resource. Alternative or supplement to the blob.",
      "format": "uri",
      "type": "string"
    }
  },
  "type": "object"
}

Lexicon Garden

@