diff --git a/tests/data/valid-statements/birthDate invalid.json b/tests/data/valid-statements/birthDate invalid.json new file mode 100644 index 00000000..d7589782 --- /dev/null +++ b/tests/data/valid-statements/birthDate invalid.json @@ -0,0 +1,14 @@ +[ + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson", + "birthDate": "2099-01-01" + } + } +] diff --git a/tests/data/valid-statements/birthDate invalid2.json b/tests/data/valid-statements/birthDate invalid2.json new file mode 100644 index 00000000..3e3dad63 --- /dev/null +++ b/tests/data/valid-statements/birthDate invalid2.json @@ -0,0 +1,14 @@ +[ + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson", + "birthDate": "2200" + } + } +] diff --git a/tests/data/valid-statements/birthDate invalid3.json b/tests/data/valid-statements/birthDate invalid3.json new file mode 100644 index 00000000..685789c2 --- /dev/null +++ b/tests/data/valid-statements/birthDate invalid3.json @@ -0,0 +1,14 @@ +[ + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson", + "birthDate": "1700" + } + } +] diff --git a/tests/data/valid-statements/birthDate invalid4.json b/tests/data/valid-statements/birthDate invalid4.json new file mode 100644 index 00000000..3dfc7034 --- /dev/null +++ b/tests/data/valid-statements/birthDate invalid4.json @@ -0,0 +1,14 @@ +[ + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson", + "birthDate": "1685-01" + } + } +] diff --git a/tests/data/valid-statements/birthDate valid.json b/tests/data/valid-statements/birthDate valid.json new file mode 100644 index 00000000..93285ba6 --- /dev/null +++ b/tests/data/valid-statements/birthDate valid.json @@ -0,0 +1,14 @@ +[ + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson", + "birthDate": "1997" + } + } +] diff --git a/tests/data/valid-statements/birthDate valid2.json b/tests/data/valid-statements/birthDate valid2.json new file mode 100644 index 00000000..7844d3fd --- /dev/null +++ b/tests/data/valid-statements/birthDate valid2.json @@ -0,0 +1,14 @@ +[ + { + "statementId": "019a93f1-e470-42e9-957b-03559861b2e2", + "declarationSubject": "c359f58d2977", + "statementDate": "2020-03-04", + "recordId": "10478c6cf6de", + "recordType": "person", + "recordDetails": { + "isComponent": false, + "personType": "knownPerson", + "birthDate": "1980-01-02" + } + } +]