A stem (isolated track component) belonging to a parent track
Record Key
tid
Timestamp-based ID
Properties
audioDurationMs
integer
Required
Duration of the stem in milliseconds
audioFormat
string
Required
Audio file format
maxLength: 100 bytesKnown values:
wav, flac, mp3audioHash
string
Required
SHA-256 hash of the stem audio content
maxLength: 200 bytesaudioSizeBytes
integer
Required
Size of the audio file in bytes
audioUrl
string
uri
Required
R2 URL to the stem audio file
maxLength: 3000 bytescreatedAt
string
datetime
Required
Record creation timestamp
maxLength: 100 byteslabel
string
Required
Human-readable name (e.g., 'Main Vocal', 'Acid Line', '808 Kit')
maxLength: 100 bytesparentTrack
string
at-uri
Optional
AT URI of the parent track this stem belongs to (optional for standalone stems)
maxLength: 3000 bytesparentTrackCid
string
cid
Optional
CID of the parent track record (pins to exact version)
maxLength: 200 bytesposition
integer
Optional
Display order position (0-indexed)
minimum: 0stemType
string
Required
Type/category of the stem
maxLength: 100 bytesKnown values:
drums, bass, vocals, synth, guitar, keys, pad, lead, fx, otherView raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"stemType",
"label",
"audioUrl",
"audioHash",
"audioDurationMs",
"audioFormat",
"audioSizeBytes",
"createdAt"
],
"properties": {
"label": {
"type": "string",
"maxLength": 100,
"description": "Human-readable name (e.g., 'Main Vocal', 'Acid Line', '808 Kit')"
},
"audioUrl": {
"type": "string",
"format": "uri",
"maxLength": 3000,
"description": "R2 URL to the stem audio file"
},
"position": {
"type": "integer",
"minimum": 0,
"description": "Display order position (0-indexed)"
},
"stemType": {
"type": "string",
"maxLength": 100,
"description": "Type/category of the stem",
"knownValues": [
"drums",
"bass",
"vocals",
"synth",
"guitar",
"keys",
"pad",
"lead",
"fx",
"other"
]
},
"audioHash": {
"type": "string",
"maxLength": 200,
"description": "SHA-256 hash of the stem audio content"
},
"createdAt": {
"type": "string",
"format": "datetime",
"maxLength": 100,
"description": "Record creation timestamp"
},
"audioFormat": {
"type": "string",
"maxLength": 100,
"description": "Audio file format",
"knownValues": [
"wav",
"flac",
"mp3"
]
},
"parentTrack": {
"type": "string",
"format": "at-uri",
"maxLength": 3000,
"description": "AT URI of the parent track this stem belongs to (optional for standalone stems)"
},
"audioSizeBytes": {
"type": "integer",
"description": "Size of the audio file in bytes"
},
"parentTrackCid": {
"type": "string",
"format": "cid",
"maxLength": 200,
"description": "CID of the parent track record (pins to exact version)"
},
"audioDurationMs": {
"type": "integer",
"description": "Duration of the stem in milliseconds"
}
}
},
"description": "A stem (isolated track component) belonging to a parent track"
}