Query By Example vs. VC Data Model
clehner opened this issue · comments
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 to vc-data-model
and/or vc-test-suite
? (e.g. must have a issuer
URI, issuanceDate
, and credentialSubject
.) 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 to vc-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?
This has now been addressed by #30.