decentralized-identity / presentation-exchange

Specification that codifies an inter-related pair of data formats for defining proof presentations (Presentation Definition) and subsequent proof submissions (Presentation Submission)
https://identity.foundation/presentation-exchange
Apache License 2.0
85 stars 37 forks source link

Should the JSON path for constraints in input descriptor be specified as `$.vc.credentialSubject` or `$.credentialSubject` ? #478

Open georgepadayatti opened 4 months ago

georgepadayatti commented 4 months ago

All the examples specified in the specification have both the paths specified. For JWT based credential, should the JSON path evaluation be done inside the vc claim of JWT or should it be applied at the root level ? Is there any recommendation ? Should the holder wallets support both the possibilities ?