-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fixture for testing better oneOf validation errors
- Loading branch information
Showing
1 changed file
with
73 additions
and
0 deletions.
There are no files selected for viewing
73 changes: 73 additions & 0 deletions
73
tests/fixtures/api/basic_statement_id_and_type_errors.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] |