atproto blogging
1{
2 "lexicon": 1,
3 "id": "sh.weaver.notebook.entry",
4 "defs": {
5 "main": {
6 "type": "record",
7 "description": "A notebook entry",
8 "key": "tid",
9 "record": {
10 "type": "object",
11 "required": [
12 "content",
13 "title",
14 "path",
15 "createdAt"
16 ],
17 "properties": {
18 "authors": {
19 "type": "array",
20 "items": {
21 "type": "ref",
22 "ref": "sh.weaver.actor.defs#author"
23 }
24 },
25 "content": {
26 "type": "string",
27 "description": "The content of the notebook entry. This should be some flavor of Markdown."
28 },
29 "contentWarnings": {
30 "type": "ref",
31 "ref": "sh.weaver.notebook.defs#contentWarnings"
32 },
33 "createdAt": {
34 "type": "string",
35 "description": "Client-declared timestamp when this was originally created.",
36 "format": "datetime"
37 },
38 "embeds": {
39 "type": "object",
40 "description": "The set of images and records, if any, embedded in the notebook entry.",
41 "properties": {
42 "externals": {
43 "type": "ref",
44 "ref": "sh.weaver.embed.external"
45 },
46 "images": {
47 "type": "ref",
48 "ref": "sh.weaver.embed.images"
49 },
50 "records": {
51 "type": "ref",
52 "ref": "sh.weaver.embed.records"
53 },
54 "recordsWithMedia": {
55 "type": "array",
56 "items": {
57 "type": "ref",
58 "ref": "sh.weaver.embed.recordWithMedia"
59 }
60 },
61 "videos": {
62 "type": "ref",
63 "ref": "sh.weaver.embed.video"
64 }
65 }
66 },
67 "path": {
68 "type": "ref",
69 "ref": "sh.weaver.notebook.defs#path"
70 },
71 "rating": {
72 "type": "ref",
73 "ref": "sh.weaver.notebook.defs#contentRating"
74 },
75 "tags": {
76 "type": "ref",
77 "ref": "sh.weaver.notebook.defs#tags"
78 },
79 "title": {
80 "type": "ref",
81 "ref": "sh.weaver.notebook.defs#title"
82 },
83 "updatedAt": {
84 "type": "string",
85 "description": "Client-declared timestamp of last modification. Used for canonicality tiebreaking in multi-author scenarios.",
86 "format": "datetime"
87 }
88 }
89 }
90 }
91 }
92}