forked from
mary.my.id/atcute
a collection of lightweight TypeScript packages for AT Protocol, the protocol powering Bluesky
1{
2 "lexicon": 1,
3 "id": "pub.leaflet.document",
4 "revision": 1,
5 "description": "A lexicon for long form rich media documents",
6 "defs": {
7 "main": {
8 "type": "record",
9 "key": "tid",
10 "description": "Record containing a document",
11 "record": {
12 "type": "object",
13 "required": ["pages", "author", "title", "publication"],
14 "properties": {
15 "title": {
16 "type": "string",
17 "maxLength": 1280,
18 "maxGraphemes": 128
19 },
20 "postRef": {
21 "type": "ref",
22 "ref": "com.atproto.repo.strongRef"
23 },
24 "description": {
25 "type": "string",
26 "maxLength": 3000,
27 "maxGraphemes": 300
28 },
29 "publishedAt": {
30 "type": "string",
31 "format": "datetime"
32 },
33 "publication": {
34 "type": "string",
35 "format": "at-uri"
36 },
37 "author": {
38 "type": "string",
39 "format": "at-identifier"
40 },
41 "pages": {
42 "type": "array",
43 "items": {
44 "type": "union",
45 "refs": ["pub.leaflet.pages.linearDocument"]
46 }
47 }
48 }
49 }
50 }
51 }
52}