This repository has no description
1{
2 "lexicon": 1,
3 "id": "sh.tangled.pull.defs",
4 "defs": {
5 "pullViewDetailed": {
6 "type": "object",
7 "required": ["uri", "cid", "author", "repo", "title", "targetBranch", "versions", "createdAt"],
8 "properties": {
9 "uri": { "type": "string", "format": "at-uri" },
10 "cid": { "type": "string", "format": "cid" },
11 "repo": { "type": "ref", "ref": "sh.tangled.repo.defs#repoViewBasic" },
12 "author": { "type": "ref", "ref": "sh.tangled.actor.defs#profileViewBasic" },
13 "title": { "type": "string" },
14 "body": { "type": "ref", "ref": "sh.tangled.temp.markup.markdown" },
15 "targetBranch": { "type": "string" },
16 "source": {
17 "type": "object",
18 "required": ["branch"],
19 "properties": {
20 "repo": { "type": "ref", "ref": "sh.tangled.repo.defs#repoViewBasic" },
21 "branch": { "type": "string" }
22 }
23 },
24 "versions": {
25 "type": "array",
26 "description": "TODO: this should be paginated maybe even as a separate `listPatches` method",
27 "item": {
28 "type": "ref",
29 "ref": "#patchView"
30 }
31 },
32 "createdAt": { "type": "string", "format": "datetime" },
33 "viewer": { "type": "ref", "ref": "#viewerState" }
34 }
35 },
36 "patchView": {
37 "type": "object",
38 "required": ["head", "base", "createdAt"],
39 "properties": {
40 "head": { "type": "string" },
41 "base": { "type": "string" },
42 "createdAt": { "type": "string", "format": "datetime" }
43 }
44 },
45 "viewerState": {
46 "type": "object",
47 "properties": {}
48 }
49 }
50}