atproto blogging
at main 66 lines 1.6 kB view raw
1{ 2 "lexicon": 1, 3 "id": "com.whtwnd.blog.entry", 4 "defs": { 5 "main": { 6 "type": "record", 7 "description": "A declaration of a post.", 8 "key": "tid", 9 "record": { 10 "type": "object", 11 "required": [ 12 "content" 13 ], 14 "properties": { 15 "blobs": { 16 "type": "array", 17 "items": { 18 "type": "ref", 19 "ref": "com.whtwnd.blog.defs#blobMetadata" 20 } 21 }, 22 "content": { 23 "type": "string", 24 "maxLength": 100000 25 }, 26 "createdAt": { 27 "type": "string", 28 "format": "datetime" 29 }, 30 "isDraft": { 31 "type": "boolean", 32 "description": "(DEPRECATED) Marks this entry as draft to tell AppViews not to show it to anyone except for the author" 33 }, 34 "ogp": { 35 "type": "ref", 36 "ref": "com.whtwnd.blog.defs#ogp" 37 }, 38 "subtitle": { 39 "type": "string", 40 "maxLength": 1000 41 }, 42 "theme": { 43 "type": "string", 44 "enum": [ 45 "github-light" 46 ] 47 }, 48 "title": { 49 "type": "string", 50 "maxLength": 1000 51 }, 52 "visibility": { 53 "type": "string", 54 "description": "Tells the visibility of the article to AppView.", 55 "default": "public", 56 "enum": [ 57 "public", 58 "url", 59 "author" 60 ] 61 } 62 } 63 } 64 } 65 } 66}