a tool for shared writing and social publishing
at update/reader 78 lines 2.3 kB view raw
1{ 2 "defs": { 3 "main": { 4 "key": "tid", 5 "record": { 6 "properties": { 7 "bskyPostRef": { 8 "ref": "com.atproto.repo.strongRef", 9 "type": "ref" 10 }, 11 "content": { 12 "closed": false, 13 "refs": ["pub.leaflet.content"], 14 "type": "union" 15 }, 16 "coverImage": { 17 "accept": ["image/*"], 18 "maxSize": 1000000, 19 "type": "blob" 20 }, 21 "description": { 22 "maxGraphemes": 3000, 23 "maxLength": 30000, 24 "type": "string" 25 }, 26 "path": { 27 "description": "combine with the publication url or the document site to construct a full url to the document", 28 "type": "string" 29 }, 30 "publishedAt": { 31 "format": "datetime", 32 "type": "string" 33 }, 34 "site": { 35 "description": "URI to the site or publication this document belongs to. Supports both AT-URIs (at://did/collection/rkey) for publication references and HTTPS URLs (https://example.com) for standalone documents or external sites.", 36 "format": "uri", 37 "type": "string" 38 }, 39 "tags": { 40 "items": { 41 "maxGraphemes": 50, 42 "maxLength": 100, 43 "type": "string" 44 }, 45 "type": "array" 46 }, 47 "textContent": { 48 "type": "string" 49 }, 50 "theme": { 51 "description": "Theme for standalone documents. For documents in publications, theme is inherited from the publication.", 52 "ref": "pub.leaflet.publication#theme", 53 "type": "ref" 54 }, 55 "title": { 56 "maxGraphemes": 500, 57 "maxLength": 5000, 58 "type": "string" 59 }, 60 "preferences": { 61 "type": "union", 62 "refs": ["pub.leaflet.publication#preferences"], 63 "closed": false 64 }, 65 "updatedAt": { 66 "format": "datetime", 67 "type": "string" 68 } 69 }, 70 "required": ["site", "title", "publishedAt"], 71 "type": "object" 72 }, 73 "type": "record" 74 } 75 }, 76 "id": "site.standard.document", 77 "lexicon": 1 78}