w3c-ccg / vc-api

A specification for an HTTP API used to issue and verify Verifiable Credentials.
https://w3c-ccg.github.io/vc-api
Other
123 stars 47 forks source link

Add `presentationSchema` option to workflow step #403

Open dlongley opened 2 months ago

dlongley commented 2 months ago

A workflow step should be able to include a presentationSchema that will be run against a submitted presentation (if one is requested for that step).

The presentationSchema option should look like this:

"presentationSchema": {
  "type": "JsonSchema",
  "jsonSchema": /* JSON schema here */
}

Other schema types can be supported with different custom properties depending on the "type" used.

msporny commented 2 months ago

The group discussed this on 2024-07-23:

The issue was fairly straightforward and a PR should be raised for this item.

The PR should allow a presentationSchema option to be specified for a workflow step.