Skip to content

Commit cb99121

Browse files
committed
test data
1 parent 53f6ec2 commit cb99121

File tree

5 files changed

+39
-16
lines changed

5 files changed

+39
-16
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
4+
"declarationSubject": "c359f58d2977",
5+
"statementDate": "2020-03-04",
6+
"recordId": "10478c6cf6de",
7+
"recordType": "person",
8+
"publicationDetails": {
9+
"publicationDate": "2099-01-01"
10+
},
11+
"recordDetails": {
12+
"isComponent": false,
13+
"personType": "knownPerson"
14+
}
15+
}
16+
]

tests/data/valid-statements/statementDate_valid.json renamed to tests/data/valid-statements/publicationDate_invalid2.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
"statementDate": "2020-03-04",
66
"recordId": "c359f58d2977",
77
"recordType": "entity",
8+
"publicationDetails":{
9+
"publicationDate": "2110-01-01T12:00:00Z"
10+
},
811
"recordDetails": {
912
"isComponent": false,
1013
"entityType": {
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
[
2+
{
3+
"statementId": "019a93f1-e470-42e9-957b-03559861b2e2",
4+
"declarationSubject": "c359f58d2977",
5+
"statementDate": "2020-03-04",
6+
"recordId": "10478c6cf6de",
7+
"recordType": "person",
8+
"publicationDetails": {
9+
"publicationDate": "2023-01-01"
10+
},
11+
"recordDetails": {
12+
"isComponent": false,
13+
"personType": "knownPerson"
14+
}
15+
}
16+
]

tests/data/valid-statements/statementDate_invalid.json renamed to tests/data/valid-statements/publicationDate_valid2.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,12 @@
22
{
33
"statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7",
44
"declarationSubject": "c359f58d2977",
5-
"statementDate": "2099-03-04",
5+
"statementDate": "2020-03-04",
66
"recordId": "c359f58d2977",
77
"recordType": "entity",
8+
"publicationDetails":{
9+
"publicationDate": "2021-01-01T12:00:00Z"
10+
},
811
"recordDetails": {
912
"isComponent": false,
1013
"entityType": {

tests/data/valid-statements/statementDate_invalid2.json

Lines changed: 0 additions & 15 deletions
This file was deleted.

0 commit comments

Comments
 (0)