This repository has no description
1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.pull",
4 "needsCbor": true,
5 "needsType": true,
6 "defs": {
7 "main": {
8 "type": "record",
9 "key": "tid",
10 "record": {
11 "type": "object",
12 "required": [
13 "target",
14 "title",
15 "createdAt",
16 "rounds",
17 "versions"
18 ],
19 "properties": {
20 "title": {
21 "type": "string"
22 },
23 "body": {
24 "type": "string"
25 },
26 "rounds": {
27 "type": "array",
28 "description": "DEPRECATED: always empty",
29 "items": {
30 "type": "ref",
31 "ref": "#round"
32 }
33 },
34 "versions": {
35 "type": "array",
36 "items": {
37 "type": "ref",
38 "ref": "#version"
39 }
40 },
41 "source": {
42 "type": "ref",
43 "ref": "#source"
44 },
45 "target": {
46 "type": "ref",
47 "ref": "#target"
48 },
49 "createdAt": {
50 "type": "string",
51 "format": "datetime"
52 },
53 "mentions": {
54 "type": "array",
55 "items": {
56 "type": "string",
57 "format": "did"
58 }
59 },
60 "references": {
61 "type": "array",
62 "items": {
63 "type": "string",
64 "format": "at-uri"
65 }
66 },
67 "dependentOn": {
68 "type": "string",
69 "format": "at-uri"
70 }
71 }
72 }
73 },
74 "target": {
75 "type": "object",
76 "required": [
77 "repo",
78 "branch"
79 ],
80 "properties": {
81 "repo": {
82 "type": "string",
83 "format": "did"
84 },
85 "branch": {
86 "type": "string"
87 }
88 }
89 },
90 "source": {
91 "type": "object",
92 "required": [
93 "branch"
94 ],
95 "properties": {
96 "branch": {
97 "type": "string"
98 },
99 "repo": {
100 "type": "string",
101 "format": "did"
102 }
103 }
104 },
105 "round": {
106 "type": "object",
107 "required": [
108 "patchBlob",
109 "createdAt"
110 ],
111 "description": "DEPRECATED: revisions of this pull request, newer rounds are appended to this array. appviews may reject records do not treat this field as append-only. the blob format is gzipped text-based git-format-patches.",
112 "properties": {
113 "createdAt": {
114 "type": "string",
115 "format": "datetime"
116 },
117 "patchBlob": {
118 "type": "blob",
119 "accept": [
120 "application/gzip"
121 ]
122 }
123 }
124 },
125 "version": {
126 "type": "object",
127 "required": [
128 "head",
129 "createdAt"
130 ],
131 "properties": {
132 "createdAt": {
133 "type": "string",
134 "format": "datetime"
135 },
136 "base": {
137 "type": "string",
138 "description": "merge-base commit ID for combined interdiff"
139 },
140 "head": {
141 "type": "string",
142 "description": "HEAD commit ID"
143 }
144 }
145 }
146 }
147}