[after #1518]"type" of VP when it includes `presentation_submission`
Verifiable Presentations have a type parameter which is an array so that different types of VP can be differentiated (as is the case for VCs as well). I suggest that we use different types of VP that have different contents. So a basic VP of type VerifiablePresentation would contain the minimum properties (@context, type, id, verifiableCredential, holder). When we add the presentation_submission property to the VP, we can add the second type value PresentationSubmission to the type array. In this way we make the VP “well formed”. If we add additional properties to the VP we can add different type values to indicate this.
Comments (6)
-
-
- changed title to "type" of VP when it includes `presentation_submission`
-
reporter Yes an @context file needs to be defined that maps the string
PresentationSubmission
into its globally unique URL. -
reporter Alternatively we could simply put the URL as the type value e.g. https://oidf.org/oidc4vps/contexts?PresentationSubmission
-
- changed title to [after #1518]"type" of VP when it includes `presentation_submission`
resolution depends on the outcome of issue
#1518 -
- changed status to closed
Closing since we agreed that presentation_submission must be included as a separate response parameter and not in the VP and PR #278 has been merged
- Log in to comment
I think it makes sense to add a text saying that when
presentation_submission
is included in a VP and not in the response, VP MUST contain typePresentationSubmission
. Does a schema or @context needs to be defined..?