1 | [ |
2 | { |
3 | "type": "addition", |
4 | "named": true, |
5 | "fields": {} |
6 | }, |
7 | { |
8 | "type": "binary_change", |
9 | "named": true, |
10 | "fields": {}, |
11 | "children": { |
12 | "multiple": true, |
13 | "required": true, |
14 | "types": [ |
15 | { |
16 | "type": "filename", |
17 | "named": true |
18 | } |
19 | ] |
20 | } |
21 | }, |
22 | { |
23 | "type": "block", |
24 | "named": true, |
25 | "fields": {}, |
26 | "children": { |
27 | "multiple": true, |
28 | "required": true, |
29 | "types": [ |
30 | { |
31 | "type": "binary_change", |
32 | "named": true |
33 | }, |
34 | { |
35 | "type": "command", |
36 | "named": true |
37 | }, |
38 | { |
39 | "type": "file_change", |
40 | "named": true |
41 | }, |
42 | { |
43 | "type": "hunks", |
44 | "named": true |
45 | }, |
46 | { |
47 | "type": "index", |
48 | "named": true |
49 | }, |
50 | { |
51 | "type": "new_file", |
52 | "named": true |
53 | }, |
54 | { |
55 | "type": "old_file", |
56 | "named": true |
57 | }, |
58 | { |
59 | "type": "similarity", |
60 | "named": true |
61 | } |
62 | ] |
63 | } |
64 | }, |
65 | { |
66 | "type": "changes", |
67 | "named": true, |
68 | "fields": {}, |
69 | "children": { |
70 | "multiple": true, |
71 | "required": true, |
72 | "types": [ |
73 | { |
74 | "type": "addition", |
75 | "named": true |
76 | }, |
77 | { |
78 | "type": "context", |
79 | "named": true |
80 | }, |
81 | { |
82 | "type": "deletion", |
83 | "named": true |
84 | } |
85 | ] |
86 | } |
87 | }, |
88 | { |
89 | "type": "command", |
90 | "named": true, |
91 | "fields": {}, |
92 | "children": { |
93 | "multiple": true, |
94 | "required": true, |
95 | "types": [ |
96 | { |
97 | "type": "argument", |
98 | "named": true |
99 | }, |
100 | { |
101 | "type": "filename", |
102 | "named": true |
103 | } |
104 | ] |
105 | } |
106 | }, |
107 | { |
108 | "type": "comment", |
109 | "named": true, |
110 | "fields": {} |
111 | }, |
112 | { |
113 | "type": "deletion", |
114 | "named": true, |
115 | "fields": {} |
116 | }, |
117 | { |
118 | "type": "file_change", |
119 | "named": true, |
120 | "fields": {}, |
121 | "children": { |
122 | "multiple": false, |
123 | "required": true, |
124 | "types": [ |
125 | { |
126 | "type": "filename", |
127 | "named": true |
128 | }, |
129 | { |
130 | "type": "mode", |
131 | "named": true |
132 | } |
133 | ] |
134 | } |
135 | }, |
136 | { |
137 | "type": "filename", |
138 | "named": true, |
139 | "fields": {} |
140 | }, |
141 | { |
142 | "type": "hunk", |
143 | "named": true, |
144 | "fields": { |
145 | "changes": { |
146 | "multiple": false, |
147 | "required": false, |
148 | "types": [ |
149 | { |
150 | "type": "changes", |
151 | "named": true |
152 | } |
153 | ] |
154 | }, |
155 | "location": { |
156 | "multiple": false, |
157 | "required": true, |
158 | "types": [ |
159 | { |
160 | "type": "location", |
161 | "named": true |
162 | } |
163 | ] |
164 | } |
165 | } |
166 | }, |
167 | { |
168 | "type": "hunks", |
169 | "named": true, |
170 | "fields": {}, |
171 | "children": { |
172 | "multiple": true, |
173 | "required": true, |
174 | "types": [ |
175 | { |
176 | "type": "hunk", |
177 | "named": true |
178 | } |
179 | ] |
180 | } |
181 | }, |
182 | { |
183 | "type": "index", |
184 | "named": true, |
185 | "fields": {}, |
186 | "children": { |
187 | "multiple": true, |
188 | "required": true, |
189 | "types": [ |
190 | { |
191 | "type": "commit", |
192 | "named": true |
193 | }, |
194 | { |
195 | "type": "mode", |
196 | "named": true |
197 | } |
198 | ] |
199 | } |
200 | }, |
201 | { |
202 | "type": "location", |
203 | "named": true, |
204 | "fields": {}, |
205 | "children": { |
206 | "multiple": true, |
207 | "required": true, |
208 | "types": [ |
209 | { |
210 | "type": "linerange", |
211 | "named": true |
212 | } |
213 | ] |
214 | } |
215 | }, |
216 | { |
217 | "type": "mode", |
218 | "named": true, |
219 | "fields": {} |
220 | }, |
221 | { |
222 | "type": "new_file", |
223 | "named": true, |
224 | "fields": {}, |
225 | "children": { |
226 | "multiple": false, |
227 | "required": true, |
228 | "types": [ |
229 | { |
230 | "type": "filename", |
231 | "named": true |
232 | } |
233 | ] |
234 | } |
235 | }, |
236 | { |
237 | "type": "old_file", |
238 | "named": true, |
239 | "fields": {}, |
240 | "children": { |
241 | "multiple": false, |
242 | "required": true, |
243 | "types": [ |
244 | { |
245 | "type": "filename", |
246 | "named": true |
247 | } |
248 | ] |
249 | } |
250 | }, |
251 | { |
252 | "type": "similarity", |
253 | "named": true, |
254 | "fields": {}, |
255 | "children": { |
256 | "multiple": false, |
257 | "required": true, |
258 | "types": [ |
259 | { |
260 | "type": "score", |
261 | "named": true |
262 | } |
263 | ] |
264 | } |
265 | }, |
266 | { |
267 | "type": "source", |
268 | "named": true, |
269 | "fields": {}, |
270 | "children": { |
271 | "multiple": true, |
272 | "required": false, |
273 | "types": [ |
274 | { |
275 | "type": "addition", |
276 | "named": true |
277 | }, |
278 | { |
279 | "type": "binary_change", |
280 | "named": true |
281 | }, |
282 | { |
283 | "type": "block", |
284 | "named": true |
285 | }, |
286 | { |
287 | "type": "comment", |
288 | "named": true |
289 | }, |
290 | { |
291 | "type": "context", |
292 | "named": true |
293 | }, |
294 | { |
295 | "type": "deletion", |
296 | "named": true |
297 | }, |
298 | { |
299 | "type": "file_change", |
300 | "named": true |
301 | }, |
302 | { |
303 | "type": "index", |
304 | "named": true |
305 | }, |
306 | { |
307 | "type": "location", |
308 | "named": true |
309 | }, |
310 | { |
311 | "type": "new_file", |
312 | "named": true |
313 | }, |
314 | { |
315 | "type": "old_file", |
316 | "named": true |
317 | }, |
318 | { |
319 | "type": "similarity", |
320 | "named": true |
321 | } |
322 | ] |
323 | } |
324 | }, |
325 | { |
326 | "type": "#", |
327 | "named": false |
328 | }, |
329 | { |
330 | "type": "%", |
331 | "named": false |
332 | }, |
333 | { |
334 | "type": "+", |
335 | "named": false |
336 | }, |
337 | { |
338 | "type": "++", |
339 | "named": false |
340 | }, |
341 | { |
342 | "type": "+++", |
343 | "named": false |
344 | }, |
345 | { |
346 | "type": "++++", |
347 | "named": false |
348 | }, |
349 | { |
350 | "type": "-", |
351 | "named": false |
352 | }, |
353 | { |
354 | "type": "--", |
355 | "named": false |
356 | }, |
357 | { |
358 | "type": "---", |
359 | "named": false |
360 | }, |
361 | { |
362 | "type": "----", |
363 | "named": false |
364 | }, |
365 | { |
366 | "type": "..", |
367 | "named": false |
368 | }, |
369 | { |
370 | "type": "@@", |
371 | "named": false |
372 | }, |
373 | { |
374 | "type": "Binary", |
375 | "named": false |
376 | }, |
377 | { |
378 | "type": "and", |
379 | "named": false |
380 | }, |
381 | { |
382 | "type": "argument", |
383 | "named": true |
384 | }, |
385 | { |
386 | "type": "commit", |
387 | "named": true |
388 | }, |
389 | { |
390 | "type": "context", |
391 | "named": true |
392 | }, |
393 | { |
394 | "type": "deleted", |
395 | "named": false |
396 | }, |
397 | { |
398 | "type": "diff", |
399 | "named": false |
400 | }, |
401 | { |
402 | "type": "differ", |
403 | "named": false |
404 | }, |
405 | { |
406 | "type": "file", |
407 | "named": false |
408 | }, |
409 | { |
410 | "type": "files", |
411 | "named": false |
412 | }, |
413 | { |
414 | "type": "from", |
415 | "named": false |
416 | }, |
417 | { |
418 | "type": "index", |
419 | "named": false |
420 | }, |
421 | { |
422 | "type": "linerange", |
423 | "named": true |
424 | }, |
425 | { |
426 | "type": "mode", |
427 | "named": false |
428 | }, |
429 | { |
430 | "type": "new", |
431 | "named": false |
432 | }, |
433 | { |
434 | "type": "old", |
435 | "named": false |
436 | }, |
437 | { |
438 | "type": "rename", |
439 | "named": false |
440 | }, |
441 | { |
442 | "type": "score", |
443 | "named": true |
444 | }, |
445 | { |
446 | "type": "similarity", |
447 | "named": false |
448 | }, |
449 | { |
450 | "type": "to", |
451 | "named": false |
452 | } |
453 | ] |