Open stevenvegt opened 2 months ago
It now looks like a credential that specifies a legal organization that can be a member of multiple programs, but then "URACredential" might be too narrow? But at the same time, interpreting credentials will become harder if they're less defined (URACredential vs OrganizationMembershipCredential) because I think you want to express your trust model around issuer/VC type combinations.
This way, you have an additional validation step that NutsUraCredential only contains a memberOf
entry for the UZI program. Which you can specify in a Presentation Definition, but I'd assume a "URACredential" only says something about the UZI URA.
we discussed this credential as: "let's not spend too much time on it" because:
what should be done to include (enable authentication for) Dutch suppliers and, let's say, Belgium and Germany healthcare providers? I have the feeling they are current excluded by the UraCredential.
In #3221 a new UraCredential is proposed. I think the structure of the credential can be improved.
An uraCredential models the membership of a care organisation with the UZI Registry.
In a JSON-LD document every object is a node in a graph with relations to embedded objects.
The
credentialSubject
node is the Care Organisation and can be modeled as an schema:Organization which has a fieldmemberOf
. This field can be used to point the membership with the UZI registry. The membership itself can be modeled with the schema:ProgramMembership.The schema.org schema's do not always fit nicely and an alternative is to model our own schema's or look at other schema's. Let's discuss. I personally prefer a bit awkward schema.org schema's above custom ones.
See this playground link: https://tinyurl.com/29blhotl
Such a credential will look something like this: