tech.lenooby09.kvcs.channel
Schema Diff
+7 -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
+
"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.",
5
6
"key": "any",
6
7
"record": {
7
8
"properties": {
8
9
"heads": {
9
-
"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.",
10
11
"items": {
12
+
"description": "Lower-case hex multihash (BLAKE3) of a patch — 128 chars covers the longest hashes in current use.",
13
+
"maxLength": 128,
11
14
"type": "string"
12
15
},
16
+
"maxLength": 64,
13
17
"type": "array"
14
18
},
15
19
"name": {
16
-
"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,
17
22
"type": "string"
18
23
}
19
24
},
20
25
"required": [
21
26
"name",
22
27
"heads"
23
28
],
24
29
"type": "object"
25
30
},
26
31
"type": "record"
27
32
}
28
33
},
29
34
"description": "A kvcs channel head — points at one or more patch records under tech.lenooby09.kvcs.patch.",
30
35
"id": "tech.lenooby09.kvcs.channel",
31
36
"lexicon": 1
32
37
}