app.gainforest.asset.file
Schema Diff
+2 -1
Compatibility Analysis
Backward Compatible
No changes detected.
1
1
{
2
2
"id": "app.gainforest.asset.file",
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
"file",
11
11
"createdAt"
12
12
],
13
13
"properties": {
14
14
"file": {
15
15
"type": "blob",
16
16
"accept": [
17
17
"*/*"
18
18
],
19
19
"maxSize": 10485760,
20
20
"description": "Uploaded file blob. This record can be used as a durable anchor so temporary uploads are not garbage-collected before final attachment."
21
21
},
22
22
"tags": {
23
23
"type": "array",
24
24
"items": {
25
25
"type": "string",
26
26
"knownValues": [
27
27
"image-in-linear-document"
28
28
],
29
29
"maxGraphemes": 64
30
30
},
31
31
"maxLength": 32,
32
32
"description": "Optional machine-readable tags for quick checks and filtering."
33
33
},
34
34
"createdAt": {
35
35
"type": "string",
36
36
"format": "datetime",
37
37
"description": "Timestamp of record creation in the ATProto PDS."
38
38
}
39
39
}
40
-
}
40
+
},
41
+
"description": "A durable asset anchor record for an uploaded blob and optional tags."
41
42
}
42
43
},
43
44
"$type": "com.atproto.lexicon.schema",
44
45
"lexicon": 1,
45
46
"description": "Generic durable asset record for uploaded blobs. Example use: anchoring uploads during draft editing so blobs persist until final records reference them."
46
47
}