Skip to content

Commit

Permalink
Add fixture for testing better oneOf validation errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Bjwebb committed Feb 5, 2019
1 parent 8540497 commit 49a2cb9
Showing 1 changed file with 73 additions and 0 deletions.
73 changes: 73 additions & 0 deletions tests/fixtures/api/basic_statement_id_and_type_errors.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
[
{
"statementType": "entityStatement",
"statementDate": "2017-11-18",
"entityType": "registeredEntity",
"name": "CHRINON LTD",
"foundingDate": "2010-11-18",
"identifiers": [
{
"scheme": "GB-COH",
"id": "07444723"
}
]
},
{
"statementID": "arst",
"statementType": "personStatement",
"statementDate": "2017-11-18",
"personType": "knownPerson",
"nationalities": [
{
"code": "GB"
}
],
"names": [
{
"type": "individual",
"fullName": "Christopher Taggart",
"givenName": "Christopher",
"familyName": "Taggart"
},
{
"type": "aka",
"fullName": "Chris Taggart"
}
],
"birthDate": "1964-04",
"addresses": [
{
"type": "service",
"address": "Aston House, Cornwall Avenue, London",
"country": "GB",
"postCode": "N3 1LF"
}
]
},
{
"statementType": "ownershipOrControlStatement",
"statementDate": "2017-11-18",
"subject": {
"describedByEntityStatement": "1dc0e987-5c57-4a1c-b3ad-61353b66a9b7"
},
"interestedParty": {
"describedByPersonStatement": "019a93f1-e470-42e9-957b-03559861b2e2"
},
"interests": [
{
"type": "shareholding",
"interestLevel": "direct",
"beneficialOwnershipOrControl":true,
"startDate": "2016-04-06",
"share": {
"exact": 100
}
}
]
},
{
},
{
"statementType": "test"
}
]

0 comments on commit 49a2cb9

Please sign in to comment.