1{
2 "lexicon": 1,
3 "id": "sh.tangled.repo.create",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Create a new repository",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": [
13 "rkey"
14 ],
15 "properties": {
16 "rkey": {
17 "type": "string",
18 "description": "Rkey of the repository record"
19 },
20 "defaultBranch": {
21 "type": "string",
22 "description": "Default branch to push to"
23 },
24 "source": {
25 "type": "string",
26 "description": "A source URL to clone from, populate this when forking or importing a repository."
27 }
28 }
29 }
30 }
31 }
32 }
33}