Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
kathryn-ods committed Aug 20, 2024
1 parent e662873 commit 2a70dbc
Show file tree
Hide file tree
Showing 4 changed files with 176 additions and 15 deletions.
62 changes: 62 additions & 0 deletions tests/data/valid-statements/interestedParty_invalid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
[
{
"statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "c359f58d2977",
"recordType": "entity",
"recordDetails": {
"isComponent": false,
"entityType": {
"type": "registeredEntity"
}
}
},
{
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "entity",
"recordDetails": {
"isComponent": false,
"entityType": {
"type": "registeredEntity"
}
}
},
{
"statementId": "fbfd0547-d0c6-4a00-b559-5c5e91c34f5c",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "93b53022ae6a",
"recordType": "relationship",
"recordDetails": {
"isComponent": false,
"subject": "c359f58d2977",
"interestedParty": "123",
"interests":[
{
"beneficialOwnershipOrControl": true
}
]
}
},
{
"statementId": "cd4c52633f6761962e98e1dd9dbf7da7",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "",
"recordType": "relationship",
"recordDetails": {
"isComponent": false,
"subject": "c359f58d2977",
"interestedParty": "93b53022ae6a",
"interests":[
{
"beneficialOwnershipOrControl": true
}
]
}
}
]
62 changes: 62 additions & 0 deletions tests/data/valid-statements/interestedParty_invalid2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
[
{
"statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "c359f58d2977",
"recordType": "entity",
"recordDetails": {
"isComponent": false,
"entityType": {
"type": "registeredEntity"
}
}
},
{
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "entity",
"recordDetails": {
"isComponent": false,
"entityType": {
"type": "registeredEntity"
}
}
},
{
"statementId": "fbfd0547-d0c6-4a00-b559-5c5e91c34f5c",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "93b53022ae6a",
"recordType": "relationship",
"recordDetails": {
"isComponent": false,
"subject": "c359f58d2977",
"interestedParty": "10478c6cf6de",
"interests":[
{
"beneficialOwnershipOrControl": true
}
]
}
},
{
"statementId": "cd4c52633f6761962e98e1dd9dbf7da7",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "",
"recordType": "relationship",
"recordDetails": {
"isComponent": false,
"subject": "c359f58d2977",
"interestedParty": "93b53022ae6a",
"interests":[
{
"beneficialOwnershipOrControl": true
}
]
}
}
]
43 changes: 43 additions & 0 deletions tests/data/valid-statements/interestedParty_valid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[
{
"statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "c359f58d2977",
"recordType": "entity",
"recordDetails": {
"isComponent": false,
"entityType": {
"type": "registeredEntity"
}
}
},
{
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "person",
"recordDetails": {
"isComponent": false,
"personType": "knownPerson"
}
},
{
"statementId": "fbfd0547-d0c6-4a00-b559-5c5e91c34f5c",
"declarationSubject": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "93b53022ae6a",
"recordType": "relationship",
"recordDetails": {
"isComponent": false,
"subject": "c359f58d2977",
"interestedParty": "10478c6cf6de",
"interests":[
{
"beneficialOwnershipOrControl": true
}
]
}
}
]
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
}
},
{
"statementId": "2dc0e987-5c57-4a1c-b3ad-61353b66a9b7",
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "c359f58d2977",
"statementDate": "2021-03-04",
"recordId": "c359f58d2977",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "entity",
"recordDetails": {
"isComponent": false,
Expand All @@ -25,17 +25,6 @@
}
}
},
{
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
"declarationSubject": "10478c6cf6de",
"statementDate": "2020-03-04",
"recordId": "10478c6cf6de",
"recordType": "person",
"recordDetails": {
"isComponent": false,
"personType": "knownPerson"
}
},
{
"statementId": "fbfd0547-d0c6-4a00-b559-5c5e91c34f5c",
"declarationSubject": "c359f58d2977",
Expand All @@ -45,7 +34,12 @@
"recordDetails": {
"isComponent": false,
"subject": "c359f58d2977",
"interestedParty": "10478c6cf6de"
"interestedParty": "10478c6cf6de",
"interests":[
{
"beneficialOwnershipOrControl": false
}
]
}
}
]

0 comments on commit 2a70dbc

Please sign in to comment.