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
86 stars 37 forks source link

Presentation Submission needs a JSON Schema #313

Closed decentralgabe closed 2 years ago

decentralgabe commented 2 years ago

All other types have a schema!

brentzundel commented 2 years ago

The spec says that the JSON schema is

for evaluation of the portions of the Presentation Exchange specification that call for JSON Schema validation

Which might explain why it was never included for presentation submission

brentzundel commented 2 years ago

which is not an argument against including it, just a fun fact.

decentralgabe commented 2 years ago

I will follow up with a a PR for a schema.

decentralgabe commented 2 years ago

looks like there is one, just needs to be added to the spec https://github.com/decentralized-identity/presentation-exchange/blob/master/test/presentation-submission/schema.json

decentralgabe commented 2 years ago

https://github.com/decentralized-identity/presentation-exchange/pull/327