A vibe coded tangled fork which supports pijul.
1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.discussion",
4 "needsCbor": true,
5 "needsType": true,
6 "defs": {
7 "main": {
8 "type": "record",
9 "key": "tid",
10 "description": "A discussion in a Pijul repository. Anyone can add patches to discussions.",
11 "record": {
12 "type": "object",
13 "required": ["repo", "title", "createdAt"],
14 "properties": {
15 "repo": {
16 "type": "string",
17 "format": "at-uri",
18 "description": "The repository this discussion belongs to"
19 },
20 "title": {
21 "type": "string",
22 "description": "Discussion title"
23 },
24 "body": {
25 "type": "string",
26 "description": "Discussion body/description"
27 },
28 "targetChannel": {
29 "type": "string",
30 "description": "Target Pijul channel for merging patches",
31 "default": "main"
32 },
33 "createdAt": {
34 "type": "string",
35 "format": "datetime"
36 },
37 "mentions": {
38 "type": "array",
39 "items": {
40 "type": "string",
41 "format": "did"
42 }
43 },
44 "references": {
45 "type": "array",
46 "items": {
47 "type": "string",
48 "format": "at-uri"
49 }
50 }
51 }
52 }
53 }
54 }
55}