pub.leaflet.document
Record containing a document
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | leaflet.pub |
| Indexed |
Checks
Validlarge-stringdefs.main.record.properties.descriptionmaxLength is over 20 KB. Use a blob for content that large.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Record containing a document",
"key": "tid",
"record": {
"properties": {
"author": {
"format": "at-identifier",
"type": "string"
},
"coverImage": {
"accept": [
"image/png",
"image/jpeg",
"image/webp"
],
"maxSize": 1000000,
"type": "blob"
},
"description": {
"maxGraphemes": 3000,
"maxLength": 30000,
"type": "string"
},
"pages": {
"items": {
"refs": [
"pub.leaflet.pages.linearDocument",
"pub.leaflet.pages.canvas"
],
"type": "union"
},
"type": "array"
},
"postRef": {
"ref": "com.atproto.repo.strongRef",
"type": "ref"
},
"preferences": {
"ref": "pub.leaflet.publication#preferences",
"type": "ref"
},
"publication": {
"format": "at-uri",
"type": "string"
},
"publishedAt": {
"format": "datetime",
"type": "string"
},
"tags": {
"items": {
"maxLength": 50,
"type": "string"
},
"type": "array"
},
"theme": {
"ref": "pub.leaflet.publication#theme",
"type": "ref"
},
"title": {
"maxGraphemes": 500,
"maxLength": 5000,
"type": "string"
}
},
"required": [
"pages",
"author",
"title"
],
"type": "object"
},
"type": "record"
}
},
"description": "A lexicon for long form rich media documents",
"id": "pub.leaflet.document",
"lexicon": 1,
"revision": 1
}