A vibe coded tangled fork which supports pijul.
1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.discussion.comment",
4 "needsCbor": true,
5 "needsType": true,
6 "defs": {
7 "main": {
8 "type": "record",
9 "key": "tid",
10 "description": "A comment on a discussion",
11 "record": {
12 "type": "object",
13 "required": ["discussion", "body", "createdAt"],
14 "properties": {
15 "discussion": {
16 "type": "string",
17 "format": "at-uri",
18 "description": "The discussion this comment belongs to"
19 },
20 "body": {
21 "type": "string",
22 "description": "Comment text"
23 },
24 "replyTo": {
25 "type": "string",
26 "format": "at-uri",
27 "description": "If this is a reply, the parent comment's at-uri"
28 },
29 "createdAt": {
30 "type": "string",
31 "format": "datetime"
32 },
33 "mentions": {
34 "type": "array",
35 "items": {
36 "type": "string",
37 "format": "did"
38 }
39 },
40 "references": {
41 "type": "array",
42 "items": {
43 "type": "string",
44 "format": "at-uri"
45 }
46 }
47 }
48 }
49 }
50 }
51}