A community based topic aggregation platform built on atproto
1{
2 "lexicon": 1,
3 "id": "social.coves.community.subscription",
4 "defs": {
5 "main": {
6 "type": "record",
7 "description": "A subscription to a community",
8 "key": "tid",
9 "record": {
10 "type": "object",
11 "required": ["subject", "createdAt"],
12 "properties": {
13 "subject": {
14 "type": "string",
15 "format": "did",
16 "description": "DID of the community being subscribed to"
17 },
18 "createdAt": {
19 "type": "string",
20 "format": "datetime",
21 "description": "When the subscription started"
22 },
23 "endedAt": {
24 "type": "string",
25 "format": "datetime",
26 "description": "When the subscription ended (null if current)"
27 },
28 "contentVisibility": {
29 "type": "integer",
30 "minimum": 1,
31 "maximum": 5,
32 "default": 3,
33 "description": "Content visibility level (1=only best content, 5=all content)"
34 }
35 }
36 }
37 }
38 }
39}