The CredentialObject
example has an @context object that contains prefix-definition.
Why is this a bug?
The CredentialObject is always embedded in the issuerMetadata or CredentialOfferMessage payloads, both of which always have a mandatory @context property. While the schemas would allow for an embedded context, the spec shouldn't encourage it.
What's wrong?
The CredentialObject example has an
@context
object that contains prefix-definition.Why is this a bug?
The
CredentialObject
is always embedded in theissuerMetadata
orCredentialOfferMessage
payloads, both of which always have a mandatory@context
property. While the schemas would allow for an embedded context, the spec shouldn't encourage it.How could it be fixed?
Remove property from example
More context
Came up in the review of https://github.com/eclipse-dataspace-dcp/decentralized-claims-protocol/pull/89