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

Configure Feed

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

add contributors

+14
+14
src/lexicons/site.standard.document.ts
··· 62 62 links: lx.union([], { 63 63 description: "Array of values describing relationships between this document and external resources" 64 64 }) 65 + contributors: lx.array({ 66 + type:"ref", ref:"#contributor" 67 + }) 65 68 }), 66 69 description: 'A document record representing a published article, blog post, or other content. Documents can belong to a publication or exist independently.' 70 + }), 71 + contributor: lx.object({ 72 + did: lx.string({format:"did", required: true}), 73 + role: lx.string({ 74 + maxLength: 1000, 75 + maxGraphemes: 100, 76 + }), 77 + displayName: lx.string({ 78 + maxLength: 1000, 79 + maxGraphemes: 100, 80 + }) 67 81 }) 68 82 })