forked from RasaHQ/tutorial-knowledge-base
-
Notifications
You must be signed in to change notification settings - Fork 0
/
schema.py
50 lines (50 loc) · 1.47 KB
/
schema.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
schema = {
"transaction": {
"attributes": ["category", "execution-date", "amount", "reference"],
"key": "identifier",
"representation": [
"execution-date",
"reference",
"account-of-receiver.account-number",
"amount",
],
},
"contract": {"attributes": ["sign-date"], "key": "identifier", "representation": ["identifier"]},
"account": {
"attributes": ["balance", "account-type", "opening-date", "account-number"],
"key": "account-number",
"representation": ["provider.name", "account-number", "account-type"],
},
"bank": {
"attributes": [
"name",
"headquarters",
"country",
"english-website",
"english-mobile-app",
"allowed-residents",
"free-accounts",
"free-worldwide-withdrawals",
"english-customer-service",
],
"key": "name",
"representation": ["name"],
},
"person": {
"attributes": [
"email",
"last-name",
"first-name",
"gender",
"phone-number",
"city",
],
"key": "email",
"representation": ["first-name", "last-name"],
},
"card": {
"attributes": ["name-on-card", "expiry-date", "created-date", "card-number"],
"key": "card-number",
"representation": ["name-on-card", "card-number"],
},
}