diff --git a/internal/atproto/lexicon/social/coves/community/block.json b/internal/atproto/lexicon/social/coves/community/block.json new file mode 100644 index 0000000..54f7d49 --- /dev/null +++ b/internal/atproto/lexicon/social/coves/community/block.json @@ -0,0 +1,27 @@ +{ + "lexicon": 1, + "id": "social.coves.community.block", + "defs": { + "main": { + "type": "record", + "description": "Record declaring a block relationship against a community. Blocks are public.", + "key": "tid", + "record": { + "type": "object", + "required": ["subject", "createdAt"], + "properties": { + "subject": { + "type": "string", + "format": "did", + "description": "DID of the community being blocked" + }, + "createdAt": { + "type": "string", + "format": "datetime", + "description": "When the block was created" + } + } + } + } + } +}