{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A kvcs channel head record. Holds the human-readable channel name and the hex patch ids that are currently the tips of the channel.",
"key": "any",
"record": {
"properties": {
"heads": {
"description": "Hex patch ids that are tips of this channel. The 64-item cap is a defensive bound; real-world channels typically have 1-3 tips.",
"items": {
"description": "Lower-case hex multihash (BLAKE3) of a patch — 128 chars covers the longest hashes in current use.",
"maxLength": 128,
"type": "string"
},
"maxLength": 64,
"type": "array"
},
"name": {
"description": "Channel name (e.g. \"main\"). Capped at 256 chars — kvcs channel labels are short, human-readable identifiers similar to git branch names.",
"maxLength": 256,
"type": "string"
}
},
"required": [
"name",
"heads"
],
"type": "object"
},
"type": "record"
}
},
"description": "A kvcs channel head — points at one or more patch records under tech.lenooby09.kvcs.patch.",
"id": "tech.lenooby09.kvcs.channel",
"lexicon": 1
}