blog.brookie.vault.document
Schema Diff
+2 -2
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "blog.brookie.vault.document",
3
3
"defs": {
4
4
"main": {
5
5
"key": "tid",
6
6
"type": "record",
7
7
"record": {
8
8
"type": "object",
9
9
"required": [
10
10
"path",
11
11
"contentType",
12
12
"createdAt",
13
13
"updatedAt"
14
14
],
15
15
"properties": {
16
16
"path": {
17
17
"type": "string",
18
18
"maxLength": 2048,
19
19
"description": "Logical path, e.g. 'Books/The Dispossessed.md'. Looks like a file path but is not one: folder hierarchy is a projection of these strings, not a protocol concept."
20
20
},
21
21
"content": {
22
22
"type": "string",
23
23
"maxLength": 65536,
24
24
"description": "Document body, inlined when small enough. Exactly one of content or contentBlob is present."
25
25
},
26
26
"createdAt": {
27
27
"type": "string",
28
28
"format": "datetime"
29
29
},
30
30
"updatedAt": {
31
31
"type": "string",
32
32
"format": "datetime"
33
33
},
34
34
"contentBlob": {
35
35
"type": "blob",
36
36
"accept": [
37
-
"text/*"
37
+
"*/*"
38
38
],
39
-
"description": "Document body, when too large to inline."
39
+
"description": "Document body as bytes: an attachment (image, audio, PDF), or a text document too large to inline."
40
40
},
41
41
"contentType": {
42
42
"type": "string",
43
43
"description": "Usually text/markdown."
44
44
}
45
45
}
46
46
},
47
47
"description": "A document in a vault. The record key is the document's permanent identity; the path is a mutable field, which is what makes a rename a one-field update rather than a delete and recreate."
48
48
}
49
49
},
50
50
"$type": "com.atproto.lexicon.schema",
51
51
"lexicon": 1
52
52
}