a tool for shared writing and social publishing
1import { LexiconDoc } from "@atproto/lexicon";
2
3export const PubLeafletInteractionsRecommend: LexiconDoc = {
4 lexicon: 1,
5 id: "pub.leaflet.interactions.recommend",
6 defs: {
7 main: {
8 type: "record",
9 key: "tid",
10 description: "Record representing a recommend on a document",
11 record: {
12 type: "object",
13 required: ["subject", "createdAt"],
14 properties: {
15 subject: { type: "string", format: "at-uri" },
16 createdAt: { type: "string", format: "datetime" },
17 },
18 },
19 },
20 },
21};