Closed clehner closed 1 year ago
Ah, this is a mistake in the indentation and a similar issue was raised about it in #29. PR #30 will address it. The properties should not appear within the example
(where VCDM properties would be used), but in the QueryByExample
main body.
This has now been addressed by #30.
The Query By Example query example contains two properties in the
example
credential that are not in the VC Data Model or in the JSON-LD contexts of the credential:trustedIssuer
issuerQuery
Should these two properties be moved up a level or two so to be out of the example credential object?
In general, should the credential in the
QueryByExample
credentialQuery
example
object be valid according tovc-data-model
and/orvc-test-suite
? (e.g. must have aissuer
URI,issuanceDate
, andcredentialSubject
.) Or is it its own thing that looks like a credential but has these additional properties that we could define? If it is strictly according tovc-data-model
, how can it represent allowing one of multiple issuers?Could an existing standard be used here instead? e.g. JSON Schema. There is also JSON Predicates but that is expired. Or is better to have a custom predicate format for credentials?