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 "targetRepo",
14 "targetBranch",
15 "pullId",
16 "title",
17 "patch"
18 ],
19 "properties": {
20 "targetRepo": {
21 "type": "string",
22 "format": "at-uri"
23 },
24 "targetBranch": {
25 "type": "string"
26 },
27 "pullId": {
28 "type": "integer"
29 },
30 "title": {
31 "type": "string"
32 },
33 "body": {
34 "type": "string"
35 },
36 "createdAt": {
37 "type": "string",
38 "format": "datetime"
39 },
40 "patch": {
41 "type": "string"
42 },
43 "source": {
44 "type": "ref",
45 "ref": "#source"
46 }
47 }
48 }
49 },
50 "source": {
51 "type": "object",
52 "required": ["branch"],
53 "properties": {
54 "branch": {
55 "type": "string"
56 },
57 "repo": {
58 "type": "string",
59 "format": "at-uri"
60 }
61 }
62 }
63 }
64}