From ec54aca867645a038972959d9d5b73fc580c2ff5 Mon Sep 17 00:00:00 2001 From: kathryn-ods Date: Wed, 7 Aug 2024 14:43:34 +0100 Subject: [PATCH] adding test data --- .../person_id_scheme_invalid1.json | 17 +++++++++++++++++ .../person_id_scheme_invalid2.json | 17 +++++++++++++++++ .../person_id_scheme_invalid3.json | 17 +++++++++++++++++ .../person_id_scheme_invalid4.json | 17 +++++++++++++++++ .../person_id_scheme_invalid5.json | 17 +++++++++++++++++ .../person_id_scheme_invalid6.json | 17 +++++++++++++++++ .../person_id_scheme_valid.json | 17 +++++++++++++++++ 7 files changed, 119 insertions(+) create mode 100644 tests/data/valid-statements/person_id_scheme_invalid1.json create mode 100644 tests/data/valid-statements/person_id_scheme_invalid2.json create mode 100644 tests/data/valid-statements/person_id_scheme_invalid3.json create mode 100644 tests/data/valid-statements/person_id_scheme_invalid4.json create mode 100644 tests/data/valid-statements/person_id_scheme_invalid5.json create mode 100644 tests/data/valid-statements/person_id_scheme_invalid6.json create mode 100644 tests/data/valid-statements/person_id_scheme_valid.json diff --git a/tests/data/valid-statements/person_id_scheme_invalid1.json b/tests/data/valid-statements/person_id_scheme_invalid1.json new file mode 100644 index 00000000..37d1a701 --- /dev/null +++ b/tests/data/valid-statements/person_id_scheme_invalid1.json @@ -0,0 +1,17 @@ +[ + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + }, + "identifiers":{ + "id": "test", + "scheme": "GBR--PASSPORT" + } + } +] diff --git a/tests/data/valid-statements/person_id_scheme_invalid2.json b/tests/data/valid-statements/person_id_scheme_invalid2.json new file mode 100644 index 00000000..e7e2c346 --- /dev/null +++ b/tests/data/valid-statements/person_id_scheme_invalid2.json @@ -0,0 +1,17 @@ +[ + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + }, + "identifiers":{ + "id": "test", + "scheme": "GBRPASSPORT" + } + } +] diff --git a/tests/data/valid-statements/person_id_scheme_invalid3.json b/tests/data/valid-statements/person_id_scheme_invalid3.json new file mode 100644 index 00000000..c6634eca --- /dev/null +++ b/tests/data/valid-statements/person_id_scheme_invalid3.json @@ -0,0 +1,17 @@ +[ + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + }, + "identifiers":{ + "id": "test", + "scheme": "-PASSPORT" + } + } +] diff --git a/tests/data/valid-statements/person_id_scheme_invalid4.json b/tests/data/valid-statements/person_id_scheme_invalid4.json new file mode 100644 index 00000000..5c88f3ea --- /dev/null +++ b/tests/data/valid-statements/person_id_scheme_invalid4.json @@ -0,0 +1,17 @@ +[ + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + }, + "identifiers":{ + "id": "test", + "scheme": "GB-PASSPORT" + } + } +] diff --git a/tests/data/valid-statements/person_id_scheme_invalid5.json b/tests/data/valid-statements/person_id_scheme_invalid5.json new file mode 100644 index 00000000..48f5be2c --- /dev/null +++ b/tests/data/valid-statements/person_id_scheme_invalid5.json @@ -0,0 +1,17 @@ +[ + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + }, + "identifiers":{ + "id": "test", + "scheme": "AAA-PASSPORT" + } + } +] diff --git a/tests/data/valid-statements/person_id_scheme_invalid6.json b/tests/data/valid-statements/person_id_scheme_invalid6.json new file mode 100644 index 00000000..e9d89082 --- /dev/null +++ b/tests/data/valid-statements/person_id_scheme_invalid6.json @@ -0,0 +1,17 @@ +[ + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + }, + "identifiers":{ + "id": "test", + "scheme": "GBR-ID" + } + } +] diff --git a/tests/data/valid-statements/person_id_scheme_valid.json b/tests/data/valid-statements/person_id_scheme_valid.json new file mode 100644 index 00000000..76eb8b1f --- /dev/null +++ b/tests/data/valid-statements/person_id_scheme_valid.json @@ -0,0 +1,17 @@ +[ + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson" + }, + "identifiers":{ + "id": "test", + "scheme": "GBR-PASSPORT" + } + } +]