@zh-xx/antu 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (118) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +11 -0
  3. package/THIRD-PARTY-NOTICES.md +739 -0
  4. package/assets/viewer.html +1503 -0
  5. package/bin/antu-mcp.mjs +1549 -0
  6. package/bin/antu.mjs +1494 -0
  7. package/examples/agent/fact/1-minimal.en.json +57 -0
  8. package/examples/agent/fact/1-minimal.zh-CN.json +29 -0
  9. package/examples/agent/fact/2-single-actor.en.json +66 -0
  10. package/examples/agent/fact/2-single-actor.zh-CN.json +28 -0
  11. package/examples/agent/fact/3-groups.en.json +34 -0
  12. package/examples/agent/fact/3-groups.zh-CN.json +34 -0
  13. package/examples/agent/fact/4-views.en.json +44 -0
  14. package/examples/agent/fact/4-views.zh-CN.json +44 -0
  15. package/examples/agent/fact/5-duration.en.json +28 -0
  16. package/examples/agent/fact/5-duration.zh-CN.json +28 -0
  17. package/examples/agent/fact/6-sources.en.json +30 -0
  18. package/examples/agent/fact/6-sources.zh-CN.json +30 -0
  19. package/examples/agent/fact/7-undated.en.json +34 -0
  20. package/examples/agent/fact/7-undated.zh-CN.json +34 -0
  21. package/examples/agent/justification/1-minimal.en.json +83 -0
  22. package/examples/agent/justification/1-minimal.zh-CN.json +83 -0
  23. package/examples/agent/justification/2-against-and-rejected.en.json +82 -0
  24. package/examples/agent/justification/2-against-and-rejected.zh-CN.json +82 -0
  25. package/examples/agent/justification/3-issues.en.json +107 -0
  26. package/examples/agent/justification/3-issues.zh-CN.json +107 -0
  27. package/examples/agent/justification/4-shared-fact.en.json +111 -0
  28. package/examples/agent/justification/4-shared-fact.zh-CN.json +111 -0
  29. package/examples/agent/justification/5-sources.en.json +97 -0
  30. package/examples/agent/justification/5-sources.zh-CN.json +97 -0
  31. package/examples/agent/justification/6-all-or-any.en.json +98 -0
  32. package/examples/agent/justification/6-all-or-any.zh-CN.json +98 -0
  33. package/examples/agent/procedure/1-minimal.en.json +15 -0
  34. package/examples/agent/procedure/1-minimal.zh-CN.json +15 -0
  35. package/examples/agent/procedure/2-decision.en.json +17 -0
  36. package/examples/agent/procedure/2-decision.zh-CN.json +17 -0
  37. package/examples/agent/procedure/3-branches.en.json +22 -0
  38. package/examples/agent/procedure/3-branches.zh-CN.json +22 -0
  39. package/examples/agent/procedure/4-stages.en.json +34 -0
  40. package/examples/agent/procedure/4-stages.zh-CN.json +34 -0
  41. package/examples/agent/procedure/5-inferred-spine.en.json +21 -0
  42. package/examples/agent/procedure/5-inferred-spine.zh-CN.json +21 -0
  43. package/examples/agent/procedure/6-merged-edges.en.json +19 -0
  44. package/examples/agent/procedure/6-merged-edges.zh-CN.json +19 -0
  45. package/examples/agent/procedure/7-rules.en.json +30 -0
  46. package/examples/agent/procedure/7-rules.zh-CN.json +30 -0
  47. package/examples/agent/relationship/1-minimal.en.json +28 -0
  48. package/examples/agent/relationship/1-minimal.zh-CN.json +28 -0
  49. package/examples/agent/relationship/2-equity.en.json +59 -0
  50. package/examples/agent/relationship/2-equity.zh-CN.json +59 -0
  51. package/examples/agent/relationship/3-guarantee.en.json +51 -0
  52. package/examples/agent/relationship/3-guarantee.zh-CN.json +51 -0
  53. package/examples/agent/relationship/4-groups.en.json +68 -0
  54. package/examples/agent/relationship/4-groups.zh-CN.json +68 -0
  55. package/examples/agent/relationship/5-kinship.en.json +69 -0
  56. package/examples/agent/relationship/5-kinship.zh-CN.json +69 -0
  57. package/examples/fact/fang-yuan-loan-and-conflict.en.json +330 -0
  58. package/examples/fact/fang-yuan-loan-and-conflict.zh-CN.json +237 -0
  59. package/examples/fact/gym-membership-face-scan.en.json +181 -0
  60. package/examples/fact/gym-membership-face-scan.zh-CN.json +181 -0
  61. package/examples/fact/lin-fang-v-zhao-lei-private-lending.en.json +122 -0
  62. package/examples/fact/lin-fang-v-zhao-lei-private-lending.zh-CN.json +122 -0
  63. package/examples/fact/marketplace-platform-liability.en.json +192 -0
  64. package/examples/fact/marketplace-platform-liability.zh-CN.json +192 -0
  65. package/examples/fact/neighbour-corridor-charging.en.json +201 -0
  66. package/examples/fact/neighbour-corridor-charging.zh-CN.json +201 -0
  67. package/examples/fact/sample-construction-payment.en.json +220 -0
  68. package/examples/fact/sample-construction-payment.zh-CN.json +139 -0
  69. package/examples/fact/sample-four-parties-four-slots.en.json +202 -0
  70. package/examples/fact/sample-four-parties-four-slots.zh-CN.json +121 -0
  71. package/examples/fact/sample-no-groups.en.json +100 -0
  72. package/examples/fact/sample-no-groups.zh-CN.json +100 -0
  73. package/examples/fact/sample-three-slots.en.json +102 -0
  74. package/examples/fact/sample-three-slots.zh-CN.json +102 -0
  75. package/examples/fact/sample-two-actors-one-side.en.json +143 -0
  76. package/examples/fact/sample-two-actors-one-side.zh-CN.json +143 -0
  77. package/examples/fact/sample-two-parties-each-side.en.json +183 -0
  78. package/examples/fact/sample-two-parties-each-side.zh-CN.json +183 -0
  79. package/examples/justification/fang-yuan-defense-excess.en.json +636 -0
  80. package/examples/justification/fang-yuan-defense-excess.zh-CN.json +636 -0
  81. package/examples/justification/neighbour-corridor-liability.en.json +571 -0
  82. package/examples/justification/neighbour-corridor-liability.zh-CN.json +571 -0
  83. package/examples/procedure/01-software-development-contract.en.json +290 -0
  84. package/examples/procedure/01-software-development-contract.zh-CN.json +290 -0
  85. package/examples/procedure/02-purchase-contract.en.json +46 -0
  86. package/examples/procedure/02-purchase-contract.zh-CN.json +46 -0
  87. package/examples/procedure/03-labour-outsourcing-contract.en.json +251 -0
  88. package/examples/procedure/03-labour-outsourcing-contract.zh-CN.json +251 -0
  89. package/examples/procedure/04-non-disclosure-agreement.en.json +79 -0
  90. package/examples/procedure/04-non-disclosure-agreement.zh-CN.json +79 -0
  91. package/examples/procedure/05-premises-lease.en.json +344 -0
  92. package/examples/procedure/05-premises-lease.zh-CN.json +344 -0
  93. package/examples/procedure/06-epc-general-contract.en.json +375 -0
  94. package/examples/procedure/06-epc-general-contract.zh-CN.json +375 -0
  95. package/examples/procedure/07-share-acquisition-agreement.en.json +368 -0
  96. package/examples/procedure/07-share-acquisition-agreement.zh-CN.json +368 -0
  97. package/examples/raw//351/207/207/350/264/255/345/220/210/345/220/214-PO-2026-088.md +31 -0
  98. package/examples/raw//357/274/2102031/357/274/211/347/244/272/345/210/221/345/210/2353/345/217/267-/350/231/232/346/236/204/347/275/221/347/273/234/345/225/206/345/237/216/346/241/210-/344/270/200/345/256/241.md +36 -0
  99. package/examples/raw//357/274/2102031/357/274/211/347/244/272/346/260/221/345/210/2351/345/217/267-/346/260/221/351/227/264/345/200/237/350/264/267/346/241/210-/344/270/200/345/256/241.md +31 -0
  100. package/examples/raw//357/274/2102031/357/274/211/347/244/272/346/260/221/345/210/2352/345/217/267-/345/201/245/350/272/253/346/210/277/345/210/267/350/204/270/345/205/245/345/234/272/346/241/210-/344/270/200/345/256/241.md +40 -0
  101. package/examples/raw//357/274/2102031/357/274/211/347/244/272/346/260/221/347/273/2101/345/217/267-/346/245/274/351/201/223/345/205/205/347/224/265/345/212/235/351/230/273/346/241/210-/344/272/214/345/256/241.md +38 -0
  102. package/examples/raw//357/274/2102032/357/274/211/347/244/272/345/210/221/347/273/2101/345/217/267-/346/226/271/350/277/234/346/241/210-/344/272/214/345/256/241.md +49 -0
  103. package/examples/relationship/fang-yuan-parties.en.json +226 -0
  104. package/examples/relationship/fang-yuan-parties.zh-CN.json +226 -0
  105. package/examples/relationship/lin-fang-v-zhao-lei-parties.en.json +140 -0
  106. package/examples/relationship/lin-fang-v-zhao-lei-parties.zh-CN.json +140 -0
  107. package/examples/relationship/marketplace-parties.en.json +259 -0
  108. package/examples/relationship/marketplace-parties.zh-CN.json +259 -0
  109. package/examples/relationship/sample-group-guarantee.en.json +138 -0
  110. package/examples/relationship/sample-group-guarantee.zh-CN.json +138 -0
  111. package/examples/relationship/sample-loan-guarantee.en.json +122 -0
  112. package/examples/relationship/sample-loan-guarantee.zh-CN.json +122 -0
  113. package/package.json +35 -0
  114. package/server.json +20 -0
  115. package/spec/agent/fact/guide.md +114 -0
  116. package/spec/agent/justification/guide.md +100 -0
  117. package/spec/agent/procedure/guide.md +109 -0
  118. package/spec/agent/relationship/guide.md +92 -0
@@ -0,0 +1,226 @@
1
+ {
2
+ "type": "relationship",
3
+ "specVersion": 1,
4
+ "title": "The Fang Yuan case (fictional) · Parties and relations",
5
+ "asOf": "2032-04-14",
6
+ "groups": [
7
+ {
8
+ "id": "g-1",
9
+ "label": "Fang Yuan's side"
10
+ },
11
+ {
12
+ "id": "g-2",
13
+ "label": "Lenders and debt collectors"
14
+ }
15
+ ],
16
+ "entities": [
17
+ {
18
+ "id": "e-1",
19
+ "kind": "person",
20
+ "label": "Fang Yuan",
21
+ "role": "Defendant",
22
+ "groupId": "g-1",
23
+ "sourceIds": [
24
+ "s-1"
25
+ ]
26
+ },
27
+ {
28
+ "id": "e-2",
29
+ "kind": "person",
30
+ "label": "Liang",
31
+ "role": "Fang Yuan's mother, borrower",
32
+ "groupId": "g-1",
33
+ "sourceIds": [
34
+ "s-1"
35
+ ]
36
+ },
37
+ {
38
+ "id": "e-3",
39
+ "kind": "person",
40
+ "label": "Fang 1",
41
+ "role": "Liang's husband, co-borrower",
42
+ "groupId": "g-1",
43
+ "sourceIds": [
44
+ "s-1"
45
+ ]
46
+ },
47
+ {
48
+ "id": "e-4",
49
+ "kind": "company",
50
+ "label": "Yuanhua Company",
51
+ "role": "Run by Liang",
52
+ "detail": "Example Yuanhua Industry and Trade Co., in the Example County industrial park, Example Province",
53
+ "groupId": "g-1",
54
+ "sourceIds": [
55
+ "s-1"
56
+ ]
57
+ },
58
+ {
59
+ "id": "e-5",
60
+ "kind": "other",
61
+ "label": "Zhong and Zheng",
62
+ "role": "Lenders",
63
+ "groupId": "g-2",
64
+ "sourceIds": [
65
+ "s-1"
66
+ ]
67
+ },
68
+ {
69
+ "id": "e-6",
70
+ "kind": "person",
71
+ "label": "Jiang",
72
+ "role": "Debt collector, died",
73
+ "groupId": "g-2",
74
+ "sourceIds": [
75
+ "s-1",
76
+ "s-5"
77
+ ]
78
+ },
79
+ {
80
+ "id": "e-7",
81
+ "kind": "other",
82
+ "label": "Meng, Yan, Cheng and others",
83
+ "role": "Debt collectors, injured",
84
+ "groupId": "g-2",
85
+ "sourceIds": [
86
+ "s-1"
87
+ ]
88
+ }
89
+ ],
90
+ "relations": [
91
+ {
92
+ "id": "r-1",
93
+ "from": "e-5",
94
+ "to": "e-2",
95
+ "kind": "debt",
96
+ "label": "First loan",
97
+ "amount": "CNY 800,000",
98
+ "detail": "28 Jul 2030: Liang and her husband Fang 1 borrowed from Zhong and Zheng, orally agreed interest 6% a month; by 20 Oct 2031 Liang had repaid CNY 1,200,000",
99
+ "sourceIds": [
100
+ "s-1",
101
+ "s-2"
102
+ ]
103
+ },
104
+ {
105
+ "id": "r-2",
106
+ "from": "e-5",
107
+ "to": "e-2",
108
+ "kind": "debt",
109
+ "label": "Second loan",
110
+ "amount": "CNY 280,000",
111
+ "detail": "1 Nov 2031: a further CNY 280,000, of which 80,000 at 6% a month and 200,000 secured on a flat; Liang then repaid CNY 240,000, and the two sides disagreed which loan it was for",
112
+ "sourceIds": [
113
+ "s-1",
114
+ "s-3"
115
+ ]
116
+ },
117
+ {
118
+ "id": "r-3",
119
+ "from": "e-3",
120
+ "to": "e-5",
121
+ "kind": "guarantee",
122
+ "label": "Flat as security (CNY 200,000)",
123
+ "secures": "r-2",
124
+ "detail": "The flat in Fang 1's name, by a contract of sale: if repayment was late, the flat would pass to Zheng",
125
+ "sourceIds": [
126
+ "s-3"
127
+ ]
128
+ },
129
+ {
130
+ "id": "r-4",
131
+ "from": "e-2",
132
+ "to": "e-3",
133
+ "kind": "kinship",
134
+ "label": "Spouses",
135
+ "sourceIds": [
136
+ "s-1"
137
+ ]
138
+ },
139
+ {
140
+ "id": "r-5",
141
+ "from": "e-2",
142
+ "to": "e-1",
143
+ "kind": "kinship",
144
+ "label": "Mother and son",
145
+ "sourceIds": [
146
+ "s-1"
147
+ ]
148
+ },
149
+ {
150
+ "id": "r-6",
151
+ "from": "e-2",
152
+ "to": "e-4",
153
+ "kind": "control",
154
+ "label": "Runs",
155
+ "sourceIds": [
156
+ "s-1"
157
+ ]
158
+ },
159
+ {
160
+ "id": "r-7",
161
+ "from": "e-4",
162
+ "to": "e-1",
163
+ "kind": "employment",
164
+ "label": "Employee",
165
+ "sourceIds": [
166
+ "s-1"
167
+ ]
168
+ },
169
+ {
170
+ "id": "r-8",
171
+ "from": "e-5",
172
+ "to": "e-6",
173
+ "kind": "agency",
174
+ "label": "Sent to collect",
175
+ "detail": "Zhong and Zheng had Jiang and others press for the debt by insulting Liang and disrupting the Yuanhua Company's business",
176
+ "sourceIds": [
177
+ "s-1"
178
+ ]
179
+ },
180
+ {
181
+ "id": "r-9",
182
+ "from": "e-5",
183
+ "to": "e-7",
184
+ "kind": "agency",
185
+ "label": "Sent to collect",
186
+ "sourceIds": [
187
+ "s-1"
188
+ ]
189
+ }
190
+ ],
191
+ "sources": [
192
+ {
193
+ "id": "s-1",
194
+ "type": "case",
195
+ "name": "Fictional Case A: Fang Yuan, intentional injury",
196
+ "loc": {
197
+ "caseNo": "(2032) Shi Xing Zhong No. 1",
198
+ "court": "Example Higher People's Court"
199
+ }
200
+ },
201
+ {
202
+ "id": "s-2",
203
+ "type": "document",
204
+ "name": "Loan contract (CNY 800,000)",
205
+ "loc": {
206
+ "file": "Loan contract"
207
+ }
208
+ },
209
+ {
210
+ "id": "s-3",
211
+ "type": "document",
212
+ "name": "Contract of sale of the flat (security for CNY 200,000)",
213
+ "loc": {
214
+ "file": "Contract of sale"
215
+ }
216
+ },
217
+ {
218
+ "id": "s-5",
219
+ "type": "evidence",
220
+ "name": "Post-mortem report",
221
+ "loc": {
222
+ "file": "Post-mortem report"
223
+ }
224
+ }
225
+ ]
226
+ }
@@ -0,0 +1,226 @@
1
+ {
2
+ "type": "relationship",
3
+ "specVersion": 1,
4
+ "title": "方远案(虚构) · 当事人关系",
5
+ "asOf": "2032-04-14",
6
+ "groups": [
7
+ {
8
+ "id": "g-1",
9
+ "label": "方远一方"
10
+ },
11
+ {
12
+ "id": "g-2",
13
+ "label": "出借与讨债一方"
14
+ }
15
+ ],
16
+ "entities": [
17
+ {
18
+ "id": "e-1",
19
+ "kind": "person",
20
+ "label": "方远",
21
+ "role": "被告人",
22
+ "groupId": "g-1",
23
+ "sourceIds": [
24
+ "s-1"
25
+ ]
26
+ },
27
+ {
28
+ "id": "e-2",
29
+ "kind": "person",
30
+ "label": "梁某",
31
+ "role": "方远之母,借款人",
32
+ "groupId": "g-1",
33
+ "sourceIds": [
34
+ "s-1"
35
+ ]
36
+ },
37
+ {
38
+ "id": "e-3",
39
+ "kind": "person",
40
+ "label": "方某",
41
+ "role": "梁某之夫,共同借款人",
42
+ "groupId": "g-1",
43
+ "sourceIds": [
44
+ "s-1"
45
+ ]
46
+ },
47
+ {
48
+ "id": "e-4",
49
+ "kind": "company",
50
+ "label": "远华公司",
51
+ "role": "梁某经营",
52
+ "detail": "示例远华工贸有限公司,位于示例省示例县工业园区",
53
+ "groupId": "g-1",
54
+ "sourceIds": [
55
+ "s-1"
56
+ ]
57
+ },
58
+ {
59
+ "id": "e-5",
60
+ "kind": "other",
61
+ "label": "钟某、郑某",
62
+ "role": "出借人",
63
+ "groupId": "g-2",
64
+ "sourceIds": [
65
+ "s-1"
66
+ ]
67
+ },
68
+ {
69
+ "id": "e-6",
70
+ "kind": "person",
71
+ "label": "姜某",
72
+ "role": "讨债人员,死亡",
73
+ "groupId": "g-2",
74
+ "sourceIds": [
75
+ "s-1",
76
+ "s-5"
77
+ ]
78
+ },
79
+ {
80
+ "id": "e-7",
81
+ "kind": "other",
82
+ "label": "孟某、严某、程某等",
83
+ "role": "讨债人员,受伤",
84
+ "groupId": "g-2",
85
+ "sourceIds": [
86
+ "s-1"
87
+ ]
88
+ }
89
+ ],
90
+ "relations": [
91
+ {
92
+ "id": "r-1",
93
+ "from": "e-5",
94
+ "to": "e-2",
95
+ "kind": "debt",
96
+ "label": "第一笔借款",
97
+ "amount": "80 万元",
98
+ "detail": "2030-07-28,梁某及其丈夫方某向钟某、郑某借款,口头约定月息 6%;至 2031-10-20 共还款 120 万元",
99
+ "sourceIds": [
100
+ "s-1",
101
+ "s-2"
102
+ ]
103
+ },
104
+ {
105
+ "id": "r-2",
106
+ "from": "e-5",
107
+ "to": "e-2",
108
+ "kind": "debt",
109
+ "label": "第二笔借款",
110
+ "amount": "28 万元",
111
+ "detail": "2031-11-01 再借 28 万元:8 万元口头约定月息 6%,20 万元以住房抵押;此后梁某还款 24 万元,双方对其用途各执一词",
112
+ "sourceIds": [
113
+ "s-1",
114
+ "s-3"
115
+ ]
116
+ },
117
+ {
118
+ "id": "r-3",
119
+ "from": "e-3",
120
+ "to": "e-5",
121
+ "kind": "guarantee",
122
+ "label": "住房抵押(20 万元)",
123
+ "secures": "r-2",
124
+ "detail": "以方某名下住房作抵押,签订房屋买卖合同,约定逾期还款则将住房过户给郑某",
125
+ "sourceIds": [
126
+ "s-3"
127
+ ]
128
+ },
129
+ {
130
+ "id": "r-4",
131
+ "from": "e-2",
132
+ "to": "e-3",
133
+ "kind": "kinship",
134
+ "label": "夫妻",
135
+ "sourceIds": [
136
+ "s-1"
137
+ ]
138
+ },
139
+ {
140
+ "id": "r-5",
141
+ "from": "e-2",
142
+ "to": "e-1",
143
+ "kind": "kinship",
144
+ "label": "母子",
145
+ "sourceIds": [
146
+ "s-1"
147
+ ]
148
+ },
149
+ {
150
+ "id": "r-6",
151
+ "from": "e-2",
152
+ "to": "e-4",
153
+ "kind": "control",
154
+ "label": "经营",
155
+ "sourceIds": [
156
+ "s-1"
157
+ ]
158
+ },
159
+ {
160
+ "id": "r-7",
161
+ "from": "e-4",
162
+ "to": "e-1",
163
+ "kind": "employment",
164
+ "label": "员工",
165
+ "sourceIds": [
166
+ "s-1"
167
+ ]
168
+ },
169
+ {
170
+ "id": "r-8",
171
+ "from": "e-5",
172
+ "to": "e-6",
173
+ "kind": "agency",
174
+ "label": "指使催债",
175
+ "detail": "钟某、郑某指使姜某等人实施侮辱梁某、干扰远华公司生产经营等逼债行为",
176
+ "sourceIds": [
177
+ "s-1"
178
+ ]
179
+ },
180
+ {
181
+ "id": "r-9",
182
+ "from": "e-5",
183
+ "to": "e-7",
184
+ "kind": "agency",
185
+ "label": "指使催债",
186
+ "sourceIds": [
187
+ "s-1"
188
+ ]
189
+ }
190
+ ],
191
+ "sources": [
192
+ {
193
+ "id": "s-1",
194
+ "type": "case",
195
+ "name": "虚构案例甲:方远故意伤害案",
196
+ "loc": {
197
+ "caseNo": "(2032)示刑终1号",
198
+ "court": "示例省高级人民法院"
199
+ }
200
+ },
201
+ {
202
+ "id": "s-2",
203
+ "type": "document",
204
+ "name": "借款合同(80 万元)",
205
+ "loc": {
206
+ "file": "借款合同"
207
+ }
208
+ },
209
+ {
210
+ "id": "s-3",
211
+ "type": "document",
212
+ "name": "房屋买卖合同(20 万元抵押)",
213
+ "loc": {
214
+ "file": "房屋买卖合同"
215
+ }
216
+ },
217
+ {
218
+ "id": "s-5",
219
+ "type": "evidence",
220
+ "name": "尸体检验鉴定意见",
221
+ "loc": {
222
+ "file": "尸体检验鉴定意见"
223
+ }
224
+ }
225
+ ]
226
+ }
@@ -0,0 +1,140 @@
1
+ {
2
+ "type": "relationship",
3
+ "specVersion": 1,
4
+ "title": "Lin Fang v. Zhao Lei, private lending (fictional) · Parties and relations",
5
+ "asOf": "2030-04-14",
6
+ "groups": [
7
+ {
8
+ "id": "g-1",
9
+ "label": "Plaintiff"
10
+ },
11
+ {
12
+ "id": "g-2",
13
+ "label": "Defendant"
14
+ }
15
+ ],
16
+ "entities": [
17
+ {
18
+ "id": "e-1",
19
+ "kind": "person",
20
+ "label": "Lin Fang",
21
+ "role": "Lender",
22
+ "groupId": "g-1",
23
+ "sourceIds": [
24
+ "s-5"
25
+ ]
26
+ },
27
+ {
28
+ "id": "e-2",
29
+ "kind": "person",
30
+ "label": "Zhao Lei",
31
+ "role": "Borrower",
32
+ "groupId": "g-2",
33
+ "sourceIds": [
34
+ "s-5"
35
+ ]
36
+ },
37
+ {
38
+ "id": "e-3",
39
+ "kind": "other",
40
+ "label": "A third party",
41
+ "role": "Passed the money on",
42
+ "sourceIds": [
43
+ "s-4"
44
+ ]
45
+ }
46
+ ],
47
+ "relations": [
48
+ {
49
+ "id": "r-1",
50
+ "from": "e-1",
51
+ "to": "e-2",
52
+ "kind": "debt",
53
+ "label": "First loan",
54
+ "amount": "CNY 40,000",
55
+ "detail": "Transferred 4 Mar 2030 against an IOU, due 4 Apr; not repaid",
56
+ "sourceIds": [
57
+ "s-1",
58
+ "s-3"
59
+ ]
60
+ },
61
+ {
62
+ "id": "r-2",
63
+ "from": "e-1",
64
+ "to": "e-2",
65
+ "kind": "debt",
66
+ "label": "Second loan",
67
+ "amount": "CNY 40,000",
68
+ "detail": "Paid 14 Mar 2030 through a third party, due 14 Apr; not repaid",
69
+ "sourceIds": [
70
+ "s-2",
71
+ "s-4"
72
+ ]
73
+ },
74
+ {
75
+ "id": "r-3",
76
+ "from": "e-1",
77
+ "to": "e-3",
78
+ "kind": "other",
79
+ "label": "Paid through for the second loan",
80
+ "sourceIds": [
81
+ "s-4"
82
+ ]
83
+ },
84
+ {
85
+ "id": "r-4",
86
+ "from": "e-3",
87
+ "to": "e-2",
88
+ "kind": "other",
89
+ "label": "Passed on CNY 40,000",
90
+ "sourceIds": [
91
+ "s-4"
92
+ ]
93
+ }
94
+ ],
95
+ "sources": [
96
+ {
97
+ "id": "s-1",
98
+ "type": "contract",
99
+ "name": "IOU (first CNY 40,000)",
100
+ "loc": {
101
+ "file": "IOU",
102
+ "clause": 1
103
+ }
104
+ },
105
+ {
106
+ "id": "s-2",
107
+ "type": "contract",
108
+ "name": "IOU (second CNY 40,000)",
109
+ "loc": {
110
+ "file": "IOU",
111
+ "clause": 1
112
+ }
113
+ },
114
+ {
115
+ "id": "s-3",
116
+ "type": "evidence",
117
+ "name": "China Construction Bank statement",
118
+ "loc": {
119
+ "file": "Bank statement"
120
+ }
121
+ },
122
+ {
123
+ "id": "s-4",
124
+ "type": "evidence",
125
+ "name": "WeChat and Alipay transfer records",
126
+ "loc": {
127
+ "file": "Transfer records"
128
+ }
129
+ },
130
+ {
131
+ "id": "s-5",
132
+ "type": "case",
133
+ "name": "First-instance judgment",
134
+ "loc": {
135
+ "caseNo": "(2031) Shi Min Chu No. 1",
136
+ "court": "Example District People's Court, Example City, Example Province"
137
+ }
138
+ }
139
+ ]
140
+ }