diff --git a/tests/data/valid-statements/statementseriesinvalid.json b/tests/data/valid-statements/statementseriesinvalid.json new file mode 100644 index 00000000..95280507 --- /dev/null +++ b/tests/data/valid-statements/statementseriesinvalid.json @@ -0,0 +1,68 @@ +[ + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "new", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-04-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "new", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2021-03-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "closed", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordStatus": "new", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + } + }, + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2021-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordStatus": "updated", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + } + } +] diff --git a/tests/data/valid-statements/statementseriesinvalid3.json b/tests/data/valid-statements/statementseriesinvalid3.json new file mode 100644 index 00000000..e79426d4 --- /dev/null +++ b/tests/data/valid-statements/statementseriesinvalid3.json @@ -0,0 +1,68 @@ +[ + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "new", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-04-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "updated", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2021-03-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "closed", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2022-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordStatus": "new", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + } + }, + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2021-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordStatus": "updated", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + } + } +] diff --git a/tests/data/valid-statements/statementseriesinvalid4.json b/tests/data/valid-statements/statementseriesinvalid4.json new file mode 100644 index 00000000..18f5afed --- /dev/null +++ b/tests/data/valid-statements/statementseriesinvalid4.json @@ -0,0 +1,68 @@ +[ + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "new", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-04-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "closed", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2021-03-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "closed", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordStatus": "new", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + } + }, + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2021-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordStatus": "updated", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + } + } +] diff --git a/tests/data/valid-statements/statementseriesinvalid5.json b/tests/data/valid-statements/statementseriesinvalid5.json new file mode 100644 index 00000000..91277872 --- /dev/null +++ b/tests/data/valid-statements/statementseriesinvalid5.json @@ -0,0 +1,68 @@ +[ + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "new", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-04-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "updated", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-04-01", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "closed", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordStatus": "new", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + } + }, + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2021-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordStatus": "updated", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + } + } +] diff --git a/tests/data/valid-statements/declaringsubjects1.json b/tests/data/valid-statements/statementseriesinvalid6.json similarity index 58% rename from tests/data/valid-statements/declaringsubjects1.json rename to tests/data/valid-statements/statementseriesinvalid6.json index 1a4416af..6a32ee3d 100644 --- a/tests/data/valid-statements/declaringsubjects1.json +++ b/tests/data/valid-statements/statementseriesinvalid6.json @@ -1,7 +1,7 @@ [ { "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", - "declarationSubject": "q123", + "declarationSubject": "c359f58d2977", "statementDate": "2020-03-04", "recordId": "c359f58d2977", "recordType": "entity", @@ -15,24 +15,12 @@ { "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", "declarationSubject": "c359f58d2977", - "statementDate": "2020-03-04", - "recordId": "10478c6cf6de", + "statementDate": "2021-03-04", + "recordId": "c359f58d2977", "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" - } } ] diff --git a/tests/data/valid-statements/statementseriesvalid.json b/tests/data/valid-statements/statementseriesvalid.json new file mode 100644 index 00000000..64d0d69c --- /dev/null +++ b/tests/data/valid-statements/statementseriesvalid.json @@ -0,0 +1,68 @@ +[ + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "new", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-04-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "updated", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2021-03-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordStatus": "closed", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordStatus": "new", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + } + }, + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2021-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordStatus": "updated", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + } + } +] diff --git a/tests/data/valid-statements/statementseriesvalid2.json b/tests/data/valid-statements/statementseriesvalid2.json new file mode 100644 index 00000000..dad6b02d --- /dev/null +++ b/tests/data/valid-statements/statementseriesvalid2.json @@ -0,0 +1,63 @@ +[ + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-04-04", + "recordId": "c359f58d2977", + "recordType": "entity", + "recordDetails": { + "isComponent": false, + "entityType": { + "type": "registeredEntity" + } + } + }, + { + "statementId": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7", + "declarationSubject": "c359f58d2977", + "statementDate": "2021-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": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2021-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + } + } +]