1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.forkSync",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Sync a forked repository with its upstream source",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": [
13 "did",
14 "source",
15 "name",
16 "branch"
17 ],
18 "properties": {
19 "did": {
20 "type": "string",
21 "format": "did",
22 "description": "DID of the fork owner"
23 },
24 "source": {
25 "type": "string",
26 "format": "at-uri",
27 "description": "AT-URI of the source repository"
28 },
29 "name": {
30 "type": "string",
31 "description": "Name of the forked repository"
32 },
33 "branch": {
34 "type": "string",
35 "description": "Branch to sync"
36 }
37 }
38 }
39 }
40 }
41 }
42}