Clarify whether user identities is an object or array
In the readme we show user identities
as an object with keys corresponding to each identity, e.g.
user = {
identities: {
local: {
email: 'a@b',
//...
},
orcid: {
orcidId: '0001',
//...
}
}
}
But in the schema we show identities
as an array, e.g.
user = {
identities: [
{
type: 'local', // not currently in schema
email: 'a@b',
//...
},
{
type: 'orcid', // not currently in schema
orcidId: '0001',
//...
}
]
}
I don't have a strong preference for either but if we're going with an array then we need to add a type
key to the identity type (as shown above).