full diff

org.tangled.git.defs

tangled.org +0 −0
From
bafyreiajyhsw5tw3r3d7rz4casxdgoricbsjfgcrdq5u4cwwgqgtzs6qou indexed 2026-10-28 14:06 UTC View this version
To
bafyreiajyhsw5tw3r3d7rz4casxdgoricbsjfgcrdq5u4cwwgqgtzs6qou indexed 2026-10-28 14:06 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "byteChanges": {
55 "properties": {
66 "lhs": {
77 "minimum": 0,
88 "type": "integer"
99 },
1010 "rhs": {
1111 "minimum": 0,
1212 "type": "integer"
1313 }
1414 },
1515 "required": [
1616 "lhs",
1717 "rhs"
1818 ],
1919 "type": "object"
2020 },
2121 "commit": {
2222 "properties": {
2323 "author": {
2424 "ref": "#signature",
2525 "type": "ref"
2626 },
2727 "committer": {
2828 "ref": "#signature",
2929 "type": "ref"
3030 },
3131 "hash": {
3232 "description": "Commit Object ID",
3333 "type": "string"
3434 },
3535 "message": {
3636 "type": "string"
3737 },
3838 "tree": {
3939 "description": "Tree Object ID",
4040 "type": "string"
4141 }
4242 },
4343 "required": [
4444 "hash",
4545 "author",
4646 "committer",
4747 "message",
4848 "tree"
4949 ],
5050 "type": "object"
5151 },
5252 "diffHunk": {
5353 "properties": {
5454 "lines": {
5555 "items": {
5656 "ref": "#linePair",
5757 "type": "ref"
5858 },
5959 "type": "array"
6060 },
6161 "novelLhs": {
6262 "description": "0-based line numbers holding novel content on the left side",
6363 "items": {
6464 "minimum": 0,
6565 "type": "integer"
6666 },
6767 "type": "array"
6868 },
6969 "novelRhs": {
7070 "description": "0-based line numbers holding novel content on the right side",
7171 "items": {
7272 "minimum": 0,
7373 "type": "integer"
7474 },
7575 "type": "array"
7676 }
7777 },
7878 "required": [
7979 "novelLhs",
8080 "novelRhs",
8181 "lines"
8282 ],
8383 "type": "object"
8484 },
8585 "diffSrc": {
8686 "description": "One side of a file diff.",
8787 "properties": {
8888 "content": {
8989 "description": "Inlined content. Used on interdiff's LHS.",
9090 "type": "string"
9191 },
9292 "isBinary": {
9393 "type": "boolean"
9494 },
9595 "isSubmodule": {
9696 "type": "boolean"
9797 },
9898 "oid": {
9999 "description": "Blob oid, or the commit oid for a submodule",
100100 "type": "string"
101101 },
102102 "path": {
103103 "type": "string"
104104 },
105105 "size": {
106106 "minimum": 0,
107107 "type": "integer"
108108 }
109109 },
110110 "required": [
111111 "path",
112112 "oid",
113113 "size",
114114 "isBinary",
115115 "isSubmodule"
116116 ],
117117 "type": "object"
118118 },
119119 "diffStat": {
120120 "properties": {
121121 "deletions": {
122122 "minimum": 0,
123123 "type": "integer"
124124 },
125125 "filesChanged": {
126126 "minimum": 0,
127127 "type": "integer"
128128 },
129129 "insertions": {
130130 "minimum": 0,
131131 "type": "integer"
132132 }
133133 },
134134 "required": [
135135 "insertions",
136136 "deletions",
137137 "filesChanged"
138138 ],
139139 "type": "object"
140140 },
141141 "fileDiff": {
142142 "properties": {
143143 "hasByteChanges": {
144144 "description": "Byte count per side, present only when the two sides differ",
145145 "ref": "#byteChanges",
146146 "type": "ref"
147147 },
148148 "hasSyntacticChanges": {
149149 "type": "boolean"
150150 },
151151 "hunks": {
152152 "items": {
153153 "ref": "#diffHunk",
154154 "type": "ref"
155155 },
156156 "type": "array"
157157 },
158158 "lhsSrc": {
159159 "ref": "#diffSrc",
160160 "type": "ref"
161161 },
162162 "rhsSrc": {
163163 "ref": "#diffSrc",
164164 "type": "ref"
165165 }
166166 },
167167 "required": [
168168 "lhsSrc",
169169 "rhsSrc",
170170 "hunks",
171171 "hasSyntacticChanges"
172172 ],
173173 "type": "object"
174174 },
175175 "linePair": {
176176 "description": "One aligned line pair; a side is absent when that side has no line.",
177177 "properties": {
178178 "lhs": {
179179 "minimum": 0,
180180 "type": "integer"
181181 },
182182 "rhs": {
183183 "minimum": 0,
184184 "type": "integer"
185185 }
186186 },
187187 "type": "object"
188188 },
189189 "signature": {
190190 "properties": {
191191 "email": {
192192 "description": "Person email",
193193 "type": "string"
194194 },
195195 "name": {
196196 "description": "Person name",
197197 "type": "string"
198198 },
199199 "when": {
200200 "description": "Timestamp of the signature",
201201 "format": "datetime",
202202 "type": "string"
203203 }
204204 },
205205 "required": [
206206 "name",
207207 "email",
208208 "when"
209209 ],
210210 "type": "object"
211211 },
212212 "submodule": {
213213 "properties": {
214214 "branch": {
215215 "description": "Branch to track in the submodule",
216216 "type": "string"
217217 },
218218 "name": {
219219 "description": "Submodule name",
220220 "type": "string"
221221 },
222222 "url": {
223223 "description": "Submodule repository URL",
224224 "type": "string"
225225 }
226226 },
227227 "required": [
228228 "name",
229229 "url"
230230 ],
231231 "type": "object"
232232 }
233233 },
234234 "id": "org.tangled.git.defs",
235235 "lexicon": 1
236236}