Using image docker.sunet.se/dc4eu/apigw:apiv28
When uploading a document or using the PUT /document/identity call for adding identities, it is possible to submit invalid identity objects like this:
"identities": [
{
"name": 2
}
]
We propose that all identity objects in the array should be validated to make sure that all required attributes are set and the types are matching.