ch.indiemusi.alpha.track

lexicon.store View official

Documentation

An encrypted audio track. The audio blob is encrypted with AES-GCM-256, and the decryption key is wrapped and stored in grant records.

main record

An encrypted audio track. The audio blob is encrypted with AES-GCM-256, and the decryption key is wrapped and stored in grant records.

Record Key tid Timestamp-based ID

Properties

audioBlob blob Required

The encrypted audio file

createdAt string datetime Required

Timestamp when the track was uploaded

encryptedContentIv string Required

Base64-encoded IV (12 bytes) used to encrypt the audio with the content key

maxLength: 32 bytes
encryptionAlgorithm string Optional

The symmetric algorithm used to encrypt the audio blob

maxLength: 50 bytes
Default: AES-GCM-256
title string Required

Track title

maxLength: 255 bytes
View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "title",
      "audioBlob",
      "encryptedContentIv",
      "createdAt"
    ],
    "properties": {
      "title": {
        "type": "string",
        "maxLength": 255,
        "description": "Track title"
      },
      "audioBlob": {
        "type": "blob",
        "accept": [
          "audio/wav",
          "audio/mpeg",
          "audio/flac"
        ],
        "description": "The encrypted audio file"
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp when the track was uploaded"
      },
      "encryptedContentIv": {
        "type": "string",
        "maxLength": 32,
        "description": "Base64-encoded IV (12 bytes) used to encrypt the audio with the content key"
      },
      "encryptionAlgorithm": {
        "type": "string",
        "default": "AES-GCM-256",
        "maxLength": 50,
        "description": "The symmetric algorithm used to encrypt the audio blob"
      }
    }
  },
  "description": "An encrypted audio track. The audio blob is encrypted with AES-GCM-256, and the decryption key is wrapped and stored in grant records."
}

Lexicon Garden

@