Skip to content

Commit 124f9df

Browse files
committed
test
1 parent cab9db4 commit 124f9df

11 files changed

+387
-11
lines changed
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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": "registeredEntity"
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+
"share":{
39+
"exact": 88,
40+
"exclusiveMinimum": 12,
41+
"exclusiveMaximum": 95
42+
}
43+
}
44+
]
45+
}
46+
}
47+
]
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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": "registeredEntity"
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+
"share":{
39+
"exact": 88,
40+
"minimum": 12,
41+
"maximum": 100
42+
}
43+
}
44+
]
45+
}
46+
}
47+
]
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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": "registeredEntity"
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+
"share":{
39+
"minimum": 88,
40+
"exclusiveMinimum":87,
41+
"maximum": 100
42+
}
43+
}
44+
]
45+
}
46+
}
47+
]
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
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": "registeredEntity"
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+
"share":{
39+
"minimum": 88,
40+
"exclusiveMaximum":99,
41+
"maximum": 98
42+
}
43+
}
44+
]
45+
}
46+
}
47+
]

tests/data/valid-statements/interestedParty_invalid.json renamed to tests/data/valid-statements/share_invalid5.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717
"declarationSubject": "c359f58d2977",
1818
"statementDate": "2020-03-04",
1919
"recordId": "10478c6cf6de",
20-
"recordType": "entity",
20+
"recordType": "person",
2121
"recordDetails": {
2222
"isComponent": false,
23-
"entityType": {
24-
"type": "registeredEntity"
25-
}
23+
"personType": "knownPerson"
2624
}
2725
},
2826
{
@@ -37,7 +35,10 @@
3735
"interestedParty": "10478c6cf6de",
3836
"interests":[
3937
{
40-
"beneficialOwnershipOrControl": true
38+
"share":{
39+
"minimum": 99,
40+
"maximum": 1
41+
}
4142
}
4243
]
4344
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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": "registeredEntity"
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+
"share":{
39+
"exclusiveMinimum": 99,
40+
"exclusiveMaximum": 1
41+
}
42+
}
43+
]
44+
}
45+
}
46+
]
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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": "registeredEntity"
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+
"share":{
39+
"minimum": 50,
40+
"exclusiveMaximum": 50
41+
}
42+
}
43+
]
44+
}
45+
}
46+
]
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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": "registeredEntity"
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+
"share":{
39+
"exclusiveMinimum": 50,
40+
"maximum": 50
41+
}
42+
}
43+
]
44+
}
45+
}
46+
]

tests/data/valid-statements/interestedParty_valid.json renamed to tests/data/valid-statements/share_valid.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@
3535
"interestedParty": "10478c6cf6de",
3636
"interests":[
3737
{
38-
"beneficialOwnershipOrControl": true
38+
"share":{
39+
"exact": 88
40+
}
3941
}
4042
]
4143
}

tests/data/valid-statements/interestedParty_valid2.json renamed to tests/data/valid-statements/share_valid2.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,10 @@
1717
"declarationSubject": "c359f58d2977",
1818
"statementDate": "2020-03-04",
1919
"recordId": "10478c6cf6de",
20-
"recordType": "entity",
20+
"recordType": "person",
2121
"recordDetails": {
2222
"isComponent": false,
23-
"entityType": {
24-
"type": "registeredEntity"
25-
}
23+
"personType": "knownPerson"
2624
}
2725
},
2826
{
@@ -37,7 +35,10 @@
3735
"interestedParty": "10478c6cf6de",
3836
"interests":[
3937
{
40-
"beneficialOwnershipOrControl": false
38+
"share":{
39+
"minimum": 88,
40+
"exclusiveMaximum":99
41+
}
4142
}
4243
]
4344
}

0 commit comments

Comments
 (0)