Skip to content

Commit 51b1955

Browse files
committed
test
1 parent 73c021a commit 51b1955

File tree

6 files changed

+92
-6
lines changed

6 files changed

+92
-6
lines changed

tests/data/valid-statements/nominee_invalid.json renamed to tests/data/valid-statements/trust_invalid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"interestedParty": "10478c6cf6de",
3636
"interests":[
3737
{
38-
"type": "nominee"
38+
"type": "trustee"
3939
}
4040
]
4141
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
[
2+
{
3+
"statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7",
4+
"declarationSubject": "c359f58d2977",
5+
"statementDate": "2020-03-04",
6+
"recordId": "c359f58d2977",
7+
"recordType": "entity",
8+
"recordDetails": {
9+
"isComponent": false,
10+
"entityType": {
11+
"type": "arrangement"
12+
}
13+
}
14+
},
15+
{
16+
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
17+
"declarationSubject": "c359f58d2977",
18+
"statementDate": "2020-03-04",
19+
"recordId": "10478c6cf6de",
20+
"recordType": "person",
21+
"recordDetails": {
22+
"isComponent": false,
23+
"personType": "knownPerson"
24+
}
25+
},
26+
{
27+
"statementId": "fbfd0547-d0c6-4a00-b559-5c5e91c34f5c",
28+
"declarationSubject": "c359f58d2977",
29+
"statementDate": "2020-03-04",
30+
"recordId": "93b53022ae6a",
31+
"recordType": "relationship",
32+
"recordDetails": {
33+
"isComponent": false,
34+
"subject": "c359f58d2977",
35+
"interestedParty": "10478c6cf6de",
36+
"interests":[
37+
{
38+
"type": "settlor"
39+
}
40+
]
41+
}
42+
}
43+
]
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
[
2+
{
3+
"statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7",
4+
"declarationSubject": "c359f58d2977",
5+
"statementDate": "2020-03-04",
6+
"recordId": "c359f58d2977",
7+
"recordType": "entity",
8+
"recordDetails": {
9+
"isComponent": false,
10+
"entityType": {
11+
"type": "arrangement"
12+
}
13+
}
14+
},
15+
{
16+
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
17+
"declarationSubject": "c359f58d2977",
18+
"statementDate": "2020-03-04",
19+
"recordId": "10478c6cf6de",
20+
"recordType": "person",
21+
"recordDetails": {
22+
"isComponent": false,
23+
"personType": "knownPerson"
24+
}
25+
},
26+
{
27+
"statementId": "fbfd0547-d0c6-4a00-b559-5c5e91c34f5c",
28+
"declarationSubject": "c359f58d2977",
29+
"statementDate": "2020-03-04",
30+
"recordId": "93b53022ae6a",
31+
"recordType": "relationship",
32+
"recordDetails": {
33+
"isComponent": false,
34+
"subject": "c359f58d2977",
35+
"interestedParty": "10478c6cf6de",
36+
"interests":[
37+
{
38+
"type": "protector"
39+
}
40+
]
41+
}
42+
}
43+
]

tests/data/valid-statements/nominee_invalid2.json renamed to tests/data/valid-statements/trust_valid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"interestedParty": "10478c6cf6de",
3737
"interests":[
3838
{
39-
"type": "nominee"
39+
"type": "settlor"
4040
}
4141
]
4242
}

tests/data/valid-statements/nominee_valid2.json renamed to tests/data/valid-statements/trust_valid2.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"recordDetails": {
99
"isComponent": false,
1010
"entityType": {
11-
"type": "arrangement",
11+
"type": "legalEntity",
1212
"subtype": "nomination"
1313
}
1414
}
@@ -36,7 +36,7 @@
3636
"interestedParty": "10478c6cf6de",
3737
"interests":[
3838
{
39-
"type": "nominator"
39+
"type": "protector"
4040
}
4141
]
4242
}

tests/data/valid-statements/nominee_valid.json renamed to tests/data/valid-statements/trust_valid3.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"recordDetails": {
99
"isComponent": false,
1010
"entityType": {
11-
"type": "arrangement",
11+
"type": "legalEntity",
1212
"subtype": "nomination"
1313
}
1414
}
@@ -36,7 +36,7 @@
3636
"interestedParty": "10478c6cf6de",
3737
"interests":[
3838
{
39-
"type": "nominee"
39+
"type": "trustee"
4040
}
4141
]
4242
}

0 commit comments

Comments
 (0)