atproto blogging
at main 54 lines 1.6 kB view raw
1{ 2 "lexicon": 1, 3 "id": "app.bsky.feed.postgate", 4 "defs": { 5 "disableRule": { 6 "type": "object", 7 "description": "Disables embedding of this post.", 8 "properties": {} 9 }, 10 "main": { 11 "type": "record", 12 "description": "Record defining interaction rules for a post. The record key (rkey) of the postgate record must match the record key of the post, and that record must be in the same repository.", 13 "key": "tid", 14 "record": { 15 "type": "object", 16 "required": [ 17 "post", 18 "createdAt" 19 ], 20 "properties": { 21 "createdAt": { 22 "type": "string", 23 "format": "datetime" 24 }, 25 "detachedEmbeddingUris": { 26 "type": "array", 27 "description": "List of AT-URIs embedding this post that the author has detached from.", 28 "items": { 29 "type": "string", 30 "format": "at-uri" 31 }, 32 "maxLength": 50 33 }, 34 "embeddingRules": { 35 "type": "array", 36 "description": "List of rules defining who can embed this post. If value is an empty array or is undefined, no particular rules apply and anyone can embed.", 37 "items": { 38 "type": "union", 39 "refs": [ 40 "#disableRule" 41 ] 42 }, 43 "maxLength": 5 44 }, 45 "post": { 46 "type": "string", 47 "description": "Reference (AT-URI) to the post record.", 48 "format": "at-uri" 49 } 50 } 51 } 52 } 53 } 54}