Closed DRK3 closed 2 years ago
Yeah the wording is confusing. "Credential Application" can be thought of as the whole object that gets sent back to the issuer, and that object has an credential_application
property and conditionally a presentation_submission
object. These two properties are meant to be sent back to the issuer as sibling properties in whatever envelope is being used, that envelop then becomes a "Credential Application" in addition to what it was before. For example you can make a "Verifiable Presentation" into a "Credential Application" by adding "CredentialApplication" to the type array (with the extra context too) and adding the extra "credential_application" and "presentation_definition" properties. https://identity.foundation/credential-manifest/#credential-application-2
This is similar to Presentation Exchange's "Presentation Submission", the "Presentation Submission" envelope will contain a "presentation_submission" property. Except here there's multiple fields within the "Credential Application" spec.
I know this has been brought up before as a point of confusion so I think we'd be open to suggestions on naming :)
@JaceHensley Thanks so much for the clarification. I'll think about naming... I'm having a hard time coming up with a better name myself, but I'll let you know if I do.
I believe this issue has been addressed. It will be closed in 7 days if there is no opposition.
Left one comment on #102: https://github.com/decentralized-identity/credential-manifest/pull/102#issuecomment-1191978259
Hi everyone,
There's something I'm finding confusing in the Credential Application section.
It says:
and...
... and here's the example from the spec:
It sounds like a Credential Application contains a
credential_application
and (optionally) also apresentation_submission
.Does this mean that a Credential Application object, when embedded in another object, would look like this, with effectively a nested "credential_application" layer?
I noticed that the examples for the Credential Manifest and Credential Fulfillment objects have that extra outer layer, I guess because they also specify how they're supposed to be embedded in a parent object, however Credential Application doesn't specify this. I just assumed it should be
credential_application
... but that creates a weird sort of duplicate nesting, so I'm not exactly sure what's intended.Thanks!