-
Notifications
You must be signed in to change notification settings - Fork 2
/
atomic_query_mtp_v2_inputs.json
96 lines (96 loc) · 5.46 KB
/
atomic_query_mtp_v2_inputs.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
{
"id": "2qHrsSHq8RG9YzDkFUU7R8x5z8HjfEWuAzWCAEK6g5",
"profileNonce": "123",
"claimSubjectProfileNonce": "234",
"verifiableCredentials": {
"id": "http://localhost:8001/api/v1/identities/did:polygonid:polygon:mumbai:2qFuKxq6iPem5w2U6T6druwGFjqTinE1kqNkSN7oo9/claims/b2133c66-9d5b-11ed-a8ca-e24d9cbdb31b",
"@context": [
"https://www.w3.org/2018/credentials/v1",
"https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/iden3credential-v2.json-ld",
"https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/kyc-v3.json-ld"
],
"type": [
"VerifiableCredential",
"KYCAgeCredential"
],
"expirationDate": "2361-03-21T15:14:48-04:00",
"issuanceDate": "2023-01-26T04:27:47.35419-05:00",
"credentialSubject": {
"birthday": 19960424,
"documentType": 2,
"id": "did:polygonid:polygon:mumbai:2qHrsSHq8RG9YzDkFUU7R8x5z8HjfEWuAzWCAEK6g5",
"type": "KYCAgeCredential"
},
"credentialStatus": {
"id": "http://localhost:8001/api/v1/identities/did%3Apolygonid%3Apolygon%3Amumbai%3A2qFuKxq6iPem5w2U6T6druwGFjqTinE1kqNkSN7oo9/claims/revocation/status/380518664",
"revocationNonce": 380518664,
"type": "SparseMerkleTreeProof"
},
"issuer": "did:polygonid:polygon:mumbai:2qFuKxq6iPem5w2U6T6druwGFjqTinE1kqNkSN7oo9",
"credentialSchema": {
"id": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json/KYCAgeCredential-v3.json",
"type": "JsonSchemaValidator2018"
},
"proof": [
{
"type": "BJJSignature2021",
"issuerData": {
"id": "did:polygonid:polygon:mumbai:2qFuKxq6iPem5w2U6T6druwGFjqTinE1kqNkSN7oo9",
"state": {
"claimsTreeRoot": "4f38e0d3cbc144895e803071c3fd3768d44fab5586cbc8351632c95052fa9e0d",
"value": "852735bbb64bacf2c9031633fa8dbe3f29714733edf0d7bd85583154634c8511"
},
"authCoreClaim": "cca3371a6cb1b715004407e325bd993c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008126405089154660a0f046387823df5e1cec988c3b137ac15dbbdf9b3198c3241b3e79904434f387419b256681dd2e555da42d825bf27a74bfe9f1ea833d690f0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"mtp": {
"existence": true,
"siblings": []
},
"credentialStatus": {
"id": "http://localhost:8001/api/v1/identities/did%3Apolygonid%3Apolygon%3Amumbai%3A2qFuKxq6iPem5w2U6T6druwGFjqTinE1kqNkSN7oo9/claims/revocation/status/0",
"revocationNonce": 0,
"type": "SparseMerkleTreeProof"
}
},
"coreClaim": "c9b2370371b7fa8b3dab2a5ba81b68382a000000000000000000000000000000021276cc4daf5359a968db57a15488f7da898b3cead769f5f03639171a8e0e007ef493d40db711829766c45d1dd38c44728287880bfb96a68ee1583600ebde2000000000000000000000000000000000000000000000000000000000000000000841ae1600000000281cdcdf0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"signature": "131a57d6566207a0cf6c6a95c5ca302061bdb65e3e4db36bb0d7cec5862ad82e3a8659f9ee877b63789eb29a9564343da8560a468a219ca1624e480876e32d02"
},
{
"type": "Iden3SparseMerkleProof",
"issuerData": {
"id": "did:polygonid:polygon:mumbai:2qFuKxq6iPem5w2U6T6druwGFjqTinE1kqNkSN7oo9",
"state": {
"txId": "0xa191ee9beae7fc1ab3188c329989dd3264665256b0c400e67dece8b73d5304a6",
"blockTimestamp": 1674725370,
"blockNumber": 148417,
"rootOfRoots": "3e92046ffe74a56fdd00e022c6c16d09c1d51e2893eaed483fee1cb0fc9f6217",
"claimsTreeRoot": "fde188c258af1cdbbe20b5d3533dbd62bc6272e284e3f84fb85ed7362cd5490d",
"revocationTreeRoot": "0000000000000000000000000000000000000000000000000000000000000000",
"value": "5d603fa7cf49b167ac5c7922f947e09e6fae450d5ae4b966a40ad46445c1d303"
}
},
"coreClaim": "c9b2370371b7fa8b3dab2a5ba81b68382a000000000000000000000000000000021276cc4daf5359a968db57a15488f7da898b3cead769f5f03639171a8e0e007ef493d40db711829766c45d1dd38c44728287880bfb96a68ee1583600ebde2000000000000000000000000000000000000000000000000000000000000000000841ae1600000000281cdcdf0200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"mtp": {
"existence": true,
"siblings": [
"4160024929110510016837706240767461055576975198735514380169793693125931012555",
"20060418938379981844865470860146694481548238498242410261462902127954246272447"
]
}
}
]
},
"request": {
"id": 84239,
"circuitId": "credentialAtomicQueryMTPV2",
"query": {
"allowedIssuers": "2qFuKxq6iPem5w2U6T6druwGFjqTinE1kqNkSN7oo9",
"context": "https://raw.githubusercontent.com/iden3/claim-schema-vocab/main/schemas/json-ld/kyc-v3.json-ld",
"type": "KYCAgeCredential",
"credentialSubject": {
"documentType": {
"$eq": 2
}
}
}
}
}