Record containing a document
Record Key
tid
Timestamp-based ID
Properties
author
string
at-identifier
Required
Either a DID or an AT Protocol handle.
coverImage
blob
Optional
No description available.
maxSize: 1.0 MBdescription
string
Optional
No description available.
maxLength: 30000 bytesmaxGraphemes: 3000 graphemespages
array
of
union
Required
No description available.
postRef
ref
com.atproto.repo.strongRef
Optional
No description available.
publication
string
at-uri
Optional
An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).
publishedAt
string
datetime
Optional
An RFC 3339 formatted timestamp.
tags
array
of
string
Optional
No description available.
theme
ref
pub.leaflet.publication#theme
Optional
No description available.
title
string
Required
No description available.
maxLength: 5000 bytesmaxGraphemes: 500 graphemesView raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"pages",
"author",
"title"
],
"properties": {
"tags": {
"type": "array",
"items": {
"type": "string",
"maxLength": 50
}
},
"pages": {
"type": "array",
"items": {
"refs": [
"pub.leaflet.pages.linearDocument",
"pub.leaflet.pages.canvas"
],
"type": "union"
}
},
"theme": {
"ref": "pub.leaflet.publication#theme",
"type": "ref"
},
"title": {
"type": "string",
"maxLength": 5000,
"maxGraphemes": 500
},
"author": {
"type": "string",
"format": "at-identifier"
},
"postRef": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"coverImage": {
"type": "blob",
"accept": [
"image/png",
"image/jpeg",
"image/webp"
],
"maxSize": 1000000
},
"description": {
"type": "string",
"maxLength": 30000,
"maxGraphemes": 3000
},
"publication": {
"type": "string",
"format": "at-uri"
},
"publishedAt": {
"type": "string",
"format": "datetime"
}
}
},
"description": "Record containing a document"
}