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

Clarify whether the constraints property should be mandatory #472

Closed decentralgabe closed 2 months ago

decentralgabe commented 3 months ago

The constraints property in input descriptors is mandatory; however, all properties in the property are optional. This seems to introduce a case which necessitates an empty constraints property exists.

Should the language be updated to....

  1. Make constraints optional (what's the use case - just checking for format?)
  2. Keep constraints required and specify that at least one sub-property must be present
kimdhamilton commented 3 months ago

Making this MAY -> does input_descriptors need to be MAY?

decentralgabe commented 3 months ago

@kimdhamilton no - since there is value on selecting a credential on format along (from @Sakurann)

dif-admin commented 3 months ago

We need to add format to input evaluation

dif-admin commented 3 months ago

Decision from 3/21: Keep it MUST, clarify in input evaluation