Monorepo for Tangled
tangled.org
1{
2 "lexicon": 1,
3 "id": "sh.tangled.git.temp.defs",
4 "defs": {
5 "branch": {
6 "type": "object",
7 "required": ["name", "commit"],
8 "properties": {
9 "name": {
10 "type": "string",
11 "description": "branch name"
12 },
13 "commit": {
14 "type": "ref",
15 "ref": "#commit",
16 "description": "hydrated commit object"
17 }
18 }
19 },
20 "tag": {
21 "type": "object",
22 "required": ["name", "tagger", "target"],
23 "properties": {
24 "name": {
25 "type": "string",
26 "description": "tag name"
27 },
28 "tagger": { "type": "ref", "ref": "#signature" },
29 "message": { "type": "string" },
30 "target": { "type": "unknown" }
31 }
32 },
33 "commit": {
34 "type": "object",
35 "required": ["hash", "author", "committer", "message", "tree"],
36 "properties": {
37 "hash": { "type": "ref", "ref": "#hash" },
38 "author": { "type": "ref", "ref": "#signature" },
39 "committer": { "type": "ref", "ref": "#signature" },
40 "message": { "type": "string" },
41 "tree": { "type": "ref", "ref": "#hash" }
42 }
43 },
44 "hash": {
45 "type": "string"
46 },
47 "signature": {
48 "type": "object",
49 "required": ["name", "email", "when"],
50 "properties": {
51 "name": {
52 "type": "string",
53 "description": "Person name"
54 },
55 "email": {
56 "type": "string",
57 "description": "Person email"
58 },
59 "when": {
60 "type": "string",
61 "format": "datetime",
62 "description": "Timestamp of the signature"
63 }
64 }
65 },
66 "submodule": {
67 "type": "object",
68 "required": ["name", "url"],
69 "properties": {
70 "name": {
71 "type": "string",
72 "description": "Submodule name"
73 },
74 "url": {
75 "type": "string",
76 "description": "Submodule repository URL"
77 },
78 "branch": {
79 "type": "string",
80 "description": "Branch to track in the submodule"
81 }
82 }
83 }
84 }
85}