blog.pckt.content
Schema Diff
+14 -5
1
1
{
2
2
"id": "blog.pckt.content",
3
3
"defs": {
4
4
"main": {
5
5
"type": "object",
6
-
"required": [
7
-
"items"
8
-
],
9
6
"properties": {
7
+
"blob": {
8
+
"type": "blob",
9
+
"description": "Reference to external JSON blob containing content (extended mode, used when content > 20KB)"
10
+
},
10
11
"items": {
11
12
"type": "array",
12
13
"items": {
13
14
"refs": [],
14
15
"type": "union",
15
16
"closed": false
16
17
},
17
-
"description": "Array of content blocks"
18
+
"description": "Array of content blocks (inline mode, used when content ≤ 20KB)"
19
+
},
20
+
"references": {
21
+
"type": "array",
22
+
"items": {
23
+
"type": "blob"
24
+
},
25
+
"description": "Array of blob references (full objects) used in the content (required in extended mode to prevent garbage collection)"
18
26
}
19
-
}
27
+
},
28
+
"description": "Hybrid content storage: inline for small content (≤20KB), blob for large content (>20KB)"
20
29
}
21
30
},
22
31
"$type": "com.atproto.lexicon.schema",
23
32
"lexicon": 1
24
33
}