Shared lexicon schemas for long-form publishing on AT Protocol. Uses typescript to json via prototypey.
44
fork

Configure Feed

Select the types of activity you want to include in your feed.

add recommend lexicon

+21
+21
src/lexicons/site.standard.graph.recommend.ts
··· 1 + import { lx } from "prototypey"; 2 + 3 + export const siteStandardGraphRecommend = lx.lexicon( 4 + "site.standard.graph.recommend", 5 + { 6 + main: lx.record({ 7 + key: "tid", 8 + type: "record", 9 + record: lx.object({ 10 + document: lx.string({ 11 + required: true, 12 + format: "at-uri", 13 + description: 14 + "AT-URI reference to the document record being recommended (ex: at://did:plc:abc123/site.standard.document/xyz789).", 15 + }), 16 + createdAt: lx.string({ format: "datetime", required: true }), 17 + }), 18 + description: "Record declaring a recommendation of a document.", 19 + }), 20 + }, 21 + );