Slide 7
Slide 7 text
Example
6
Data Consumer Datastore Data Source
query
signed data
result
+ proofs
with
selective
disclosure
verify
&
consume
signed data
Data Source
...
{ "type": "VerifiableCredential",
"credentialSubject": {
"id": "did:example:John",
"type": "Person",
"name": "John Smith",
"homeLocation": "http://example.org/cityA",
"birthDate": "2000-01-01",
},
"proof": ... }
{ "type": "VerifiableCredential",
"credentialSubject": {
"id": "http://example.org/cityA",
"type": "Place",
"name": "City A",
"maximumAtendeeCapacity": 10000
},
"proof": ... }
SELECT ?population
WHERE {
?s a :Person .
?s :homeLocation ?place .
?place a :Place .
?place :maximumAttendeeCapacity ?population .
}
{ "type": "VerifiablePresentation",
"verifiableCredential": [
{ "type": "VerifiableCredential",
"credentialSubject": {
"id": "anoni:eX2hjL",
"type": "Person",
"homeLocation": "anoni:38CqTd" },
{ "type": "VerifiableCredential",
"credentialSubject": {
"id": "anoni:eX2hjL",
"type": "Person",
"maximumAtendeeCapacity": 10000 }
],
"proof": ... }
{ "population": 10000 }