atproto blogging
1{
2 "lexicon": 1,
3 "id": "app.bsky.bookmark.defs",
4 "defs": {
5 "bookmark": {
6 "type": "object",
7 "description": "Object used to store bookmark data in stash.",
8 "required": [
9 "subject"
10 ],
11 "properties": {
12 "subject": {
13 "type": "ref",
14 "description": "A strong ref to the record to be bookmarked. Currently, only `app.bsky.feed.post` records are supported.",
15 "ref": "com.atproto.repo.strongRef"
16 }
17 }
18 },
19 "bookmarkView": {
20 "type": "object",
21 "required": [
22 "subject",
23 "item"
24 ],
25 "properties": {
26 "createdAt": {
27 "type": "string",
28 "format": "datetime"
29 },
30 "item": {
31 "type": "union",
32 "refs": [
33 "app.bsky.feed.defs#blockedPost",
34 "app.bsky.feed.defs#notFoundPost",
35 "app.bsky.feed.defs#postView"
36 ]
37 },
38 "subject": {
39 "type": "ref",
40 "description": "A strong ref to the bookmarked record.",
41 "ref": "com.atproto.repo.strongRef"
42 }
43 }
44 }
45 }
46}