hyperledger-identus / hyperledger-identus/cloud-agent
Define the schema for the CredentialPreview object to be agnostic to the issued VC
- Dominant language
- Scala
- Stars
- 95
- Forks
- 34
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 14
Description
### Proposed feature
In the current codebase, the CredentialPreview object [contains](https://github.com/hyperledger/identus-cloud-agent/blob/main/mercury/protocol-issue-credential/src/main/scala/org/hyperledger/identus/mercury/protocol/issuecredential/CredentialPreview.scala#L28-L33) two properties: `schemaId` and `schemaIds`.
The field `schemaId` correlates with the AnonCreds specification when the `schemaIds` was added to support VCDM 2.0, but the VCDM 2.0 specification doesn't have the property with this name.
### Feature description
This issue is about defining the share of the CredentialPreview object to be agnostic to the issued VC and simultaneously have properties that correspond to the specifications we are using for VCs.
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.