tech.lenooby09.kvcs.channel
Schema Diff
+6 -2
Compatibility Analysis
Breaking Changes Detected
2 breaking changes, 0 non-breaking changes.
Breaking Changes (2)
- ConstraintAdded ConstraintAdded { vertex_id: "tech.lenooby09.kvcs.channel:body.name", sort: "maxLength", value: "256" }
- ConstraintAdded ConstraintAdded { vertex_id: "tech.lenooby09.kvcs.channel:body.heads:items", sort: "maxLength", value: "128" }
Migration Guidance
Constraint Changes
- ConstraintAdded ConstraintAdded { vertex_id: "tech.lenooby09.kvcs.channel:body.heads:items", sort: "maxLength", value: "128" }
- ConstraintAdded ConstraintAdded { vertex_id: "tech.lenooby09.kvcs.channel:body.name", sort: "maxLength", value: "256" }
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"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.",
6
6
"key": "any",
7
7
"record": {
8
8
"properties": {
9
9
"heads": {
10
-
"description": "Hex patch ids that are tips of this channel.",
10
+
"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.",
11
11
"items": {
12
+
"description": "Lower-case hex multihash (BLAKE3) of a patch — 128 chars covers the longest hashes in current use.",
13
+
"maxLength": 128,
12
14
"type": "string"
13
15
},
16
+
"maxLength": 64,
14
17
"type": "array"
15
18
},
16
19
"name": {
17
-
"description": "Channel name (e.g. \"main\").",
20
+
"description": "Channel name (e.g. \"main\"). Capped at 256 chars — kvcs channel labels are short, human-readable identifiers similar to git branch names.",
21
+
"maxLength": 256,
18
22
"type": "string"
19
23
}
20
24
},
21
25
"required": [
22
26
"name",
23
27
"heads"
24
28
],
25
29
"type": "object"
26
30
},
27
31
"type": "record"
28
32
}
29
33
},
30
34
"description": "A kvcs channel head — points at one or more patch records under tech.lenooby09.kvcs.patch.",
31
35
"id": "tech.lenooby09.kvcs.channel",
32
36
"lexicon": 1
33
37
}