{
"id": "app.gainforest.asset.file",
"defs": {
"main": {
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"file",
"createdAt"
],
"properties": {
"file": {
"type": "blob",
"accept": [
"*/*"
],
"maxSize": 10485760,
"description": "Uploaded file blob. This record can be used as a durable anchor so temporary uploads are not garbage-collected before final attachment."
},
"tags": {
"type": "array",
"items": {
"type": "string",
"knownValues": [
"image-in-linear-document"
],
"maxGraphemes": 64
},
"maxLength": 32,
"description": "Optional machine-readable tags for quick checks and filtering."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp of record creation in the ATProto PDS."
}
}
}
}
},
"$type": "com.atproto.lexicon.schema",
"lexicon": 1,
"description": "Generic durable asset record for uploaded blobs. Example use: anchoring uploads during draft editing so blobs persist until final records reference them."
}