-
Notifications
You must be signed in to change notification settings - Fork 37
Closed
Description
If a VC contains a property whose values are a set of strings, e.g.
foo = ["bar", "baz"]
then a presentation definition filter will need to specify one-of or any-of from the array of values e.g.
"path": [
"$.foo"
],
"filter": {
"type": "array",
"items": {
"type": "string"
},
"oneOf": ["foo", "abc"]
}
Unfortunately when the above PD has been entered into the OIDC4VP draft, there is a schema checking violation on the oneOf property (also anyOf gives a similar error). The authors of OIDC4VP feel that this is a problem with the PE specification, in that it is not precise enough about which schema validation rules (year, version) have to be used. Nor is there any indication of which tools exist in order to validate that any PD instance is a correct instance of the PE specification.
Sakurann
Metadata
Metadata
Assignees
Labels
No labels