a tool for shared writing and social publishing
at update/reader 29 lines 762 B view raw
1import { LexiconDoc } from "@atproto/lexicon"; 2import { PubLeafletPagesLinearDocument } from "./pages/LinearDocument"; 3import { PubLeafletPagesCanvasDocument } from "./pages"; 4 5export const PubLeafletContent: LexiconDoc = { 6 lexicon: 1, 7 id: "pub.leaflet.content", 8 revision: 1, 9 description: "A lexicon for long form rich media documents", 10 defs: { 11 main: { 12 type: "object", 13 description: "Content format for leaflet documents", 14 required: ["pages"], 15 properties: { 16 pages: { 17 type: "array", 18 items: { 19 type: "union", 20 refs: [ 21 PubLeafletPagesLinearDocument.id, 22 PubLeafletPagesCanvasDocument.id, 23 ], 24 }, 25 }, 26 }, 27 }, 28 }, 29};