blog.brookie.vault.document
Schema Diff
+2 -2
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"$type": "com.atproto.lexicon.schema",
3
3
"defs": {
4
4
"main": {
5
5
"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.",
6
6
"key": "tid",
7
7
"record": {
8
8
"properties": {
9
9
"content": {
10
10
"description": "Document body, inlined when small enough. Exactly one of content or contentBlob is present.",
11
11
"maxLength": 65536,
12
12
"type": "string"
13
13
},
14
14
"contentBlob": {
15
15
"accept": [
16
-
"text/*"
16
+
"*/*"
17
17
],
18
-
"description": "Document body, when too large to inline.",
18
+
"description": "Document body as bytes: an attachment (image, audio, PDF), or a text document too large to inline.",
19
19
"type": "blob"
20
20
},
21
21
"contentType": {
22
22
"description": "Usually text/markdown.",
23
23
"type": "string"
24
24
},
25
25
"createdAt": {
26
26
"format": "datetime",
27
27
"type": "string"
28
28
},
29
29
"path": {
30
30
"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.",
31
31
"maxLength": 2048,
32
32
"type": "string"
33
33
},
34
34
"updatedAt": {
35
35
"format": "datetime",
36
36
"type": "string"
37
37
}
38
38
},
39
39
"required": [
40
40
"path",
41
41
"contentType",
42
42
"createdAt",
43
43
"updatedAt"
44
44
],
45
45
"type": "object"
46
46
},
47
47
"type": "record"
48
48
}
49
49
},
50
50
"id": "blog.brookie.vault.document",
51
51
"lexicon": 1
52
52
}