Skip to content

Commit 9b7123c

Browse files
committed
doc: adding mermaid diagram
1 parent b7441de commit 9b7123c

File tree

1 file changed

+222
-1
lines changed

1 file changed

+222
-1
lines changed

README.md

Lines changed: 222 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,225 @@ The schema files are [here](https://github.com/alephdata/followthemoney/tree/mai
88

99
This is a work in progress, for now, only "required" fields are generated in Java code.
1010

11-
To use it, just make `mvn package` it will generate and compile FtM models in a jar.
11+
To use it, just make `mvn package` it will generate and compile FtM models in a jar.
12+
13+
```mermaid
14+
classDiagram
15+
direction BT
16+
class Address {
17+
<<Interface>>
18+
19+
}
20+
class Airplane {
21+
<<Interface>>
22+
23+
}
24+
class Analyzable {
25+
<<Interface>>
26+
27+
}
28+
class Article {
29+
<<Interface>>
30+
31+
}
32+
class Assessment
33+
class Asset {
34+
<<Interface>>
35+
36+
}
37+
class Associate
38+
class Audio {
39+
<<Interface>>
40+
41+
}
42+
class BankAccount {
43+
<<Interface>>
44+
45+
}
46+
class Call {
47+
<<Interface>>
48+
49+
}
50+
class CallForTenders
51+
class Company
52+
class Contract
53+
class ContractAward
54+
class CourtCase
55+
class CourtCaseParty
56+
class CryptoWallet {
57+
<<Interface>>
58+
59+
}
60+
class Debt
61+
class Directorship
62+
class Document
63+
class Documentation
64+
class EconomicActivity {
65+
<<Interface>>
66+
67+
}
68+
class Email {
69+
<<Interface>>
70+
71+
}
72+
class Employment
73+
class Event
74+
class Family
75+
class Folder {
76+
<<Interface>>
77+
78+
}
79+
class HyperText {
80+
<<Interface>>
81+
82+
}
83+
class Identification
84+
class Image {
85+
<<Interface>>
86+
87+
}
88+
class Interest {
89+
<<Interface>>
90+
91+
}
92+
class Interval {
93+
<<Interface>>
94+
95+
}
96+
class LegalEntity
97+
class License
98+
class Membership
99+
class Mention
100+
class Message
101+
class Note {
102+
<<Interface>>
103+
104+
}
105+
class Occupancy
106+
class Organization
107+
class Ownership
108+
class Package {
109+
<<Interface>>
110+
111+
}
112+
class Page {
113+
<<Interface>>
114+
115+
}
116+
class Pages {
117+
<<Interface>>
118+
119+
}
120+
class Passport
121+
class Payment
122+
class Person
123+
class PlainText {
124+
<<Interface>>
125+
126+
}
127+
class Position
128+
class Post
129+
class Project {
130+
<<Interface>>
131+
132+
}
133+
class ProjectParticipant {
134+
<<Interface>>
135+
136+
}
137+
class PublicBody
138+
class RealEstate {
139+
<<Interface>>
140+
141+
}
142+
class Representation
143+
class Sanction
144+
class Security {
145+
<<Interface>>
146+
147+
}
148+
class Similar {
149+
<<Interface>>
150+
151+
}
152+
class Succession
153+
class Table {
154+
<<Interface>>
155+
156+
}
157+
class TaxRoll
158+
class Thing
159+
class Trip
160+
class UnknownLink
161+
class UserAccount
162+
class Value {
163+
<<Interface>>
164+
165+
}
166+
class Vehicle {
167+
<<Interface>>
168+
169+
}
170+
class Vessel
171+
class Video {
172+
<<Interface>>
173+
174+
}
175+
class Workbook {
176+
<<Interface>>
177+
178+
}
179+
180+
Assessment --> Thing
181+
Associate ..> Interval
182+
CallForTenders ..> Interval
183+
CallForTenders --> Thing
184+
Company ..> Asset
185+
Company --> Organization
186+
Contract ..> Asset
187+
Contract --> Thing
188+
ContractAward ..> Interest
189+
ContractAward ..> Value
190+
CourtCase --> Thing
191+
CourtCaseParty ..> Interest
192+
Debt ..> Interval
193+
Debt ..> Value
194+
Directorship ..> Interest
195+
Document ..> Analyzable
196+
Document --> Thing
197+
Documentation ..> Interest
198+
Employment ..> Interest
199+
Event ..> Analyzable
200+
Event ..> Interval
201+
Event --> Thing
202+
Family ..> Interval
203+
Identification ..> Interval
204+
LegalEntity --> Thing
205+
License --> Contract
206+
Membership ..> Interest
207+
Message --> Document
208+
Message ..> Folder
209+
Message ..> HyperText
210+
Message ..> Interval
211+
Message ..> PlainText
212+
Occupancy ..> Interval
213+
Organization --> LegalEntity
214+
Ownership ..> Interest
215+
Passport --> Identification
216+
Payment ..> Interval
217+
Payment ..> Value
218+
Person --> LegalEntity
219+
Position --> Thing
220+
Post ..> Interest
221+
PublicBody --> Organization
222+
Representation ..> Interest
223+
Sanction ..> Interval
224+
Succession ..> Interest
225+
TaxRoll ..> Interval
226+
Trip --> Event
227+
UnknownLink ..> Interest
228+
UserAccount --> Thing
229+
Vessel --> Thing
230+
Vessel ..> Vehicle
231+
```
232+

0 commit comments

Comments
 (0)