{
"id": "fm.freemix.release.stem",
"defs": {
"main": {
"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"
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1
}