blog.brookie.vault.document
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.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | vault.brookie.blog |
| Indexed |
Checks
Validlarge-stringdefs.main.record.properties.contentmaxLength is over 20 KB. Use a blob for content that large.unlimited-stringdefs.main.record.properties.contentTypeNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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.",
"key": "tid",
"record": {
"properties": {
"content": {
"description": "Document body, inlined when small enough. Exactly one of content or contentBlob is present.",
"maxLength": 65536,
"type": "string"
},
"contentBlob": {
"accept": [
"*/*"
],
"description": "Document body as bytes: an attachment (image, audio, PDF), or a text document too large to inline.",
"type": "blob"
},
"contentType": {
"description": "Usually text/markdown.",
"type": "string"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"path": {
"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.",
"maxLength": 2048,
"type": "string"
},
"updatedAt": {
"format": "datetime",
"type": "string"
}
},
"required": [
"path",
"contentType",
"createdAt",
"updatedAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "blog.brookie.vault.document",
"lexicon": 1
}