-
Notifications
You must be signed in to change notification settings - Fork 1
/
testcase-3.json
82 lines (82 loc) · 2.46 KB
/
testcase-3.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
{
"name": "mdoc query with claim sets",
"dcql_query": {
"credentials": [
{
"id": "mDL_request",
"format": "mso_mdoc",
"meta": {
"doctype_value": "org.iso.18013.5.1.mDL"
},
"claims": [
{
"id": "family_name",
"namespace": "org.iso.18013.5.1",
"claim_name": "family_name"
},
{
"id": "given_name",
"namespace": "org.iso.18013.5.1",
"claim_name": "given_name"
},
{
"id": "age_over_21",
"namespace": "org.iso.18013.5.1",
"claim_name": "age_over_21"
},
{
"id": "age_over_18",
"namespace": "org.iso.18013.5.1",
"claim_name": "age_over_18"
}
],
"claim_sets": [
[
"family_name",
"given_name",
"age_over_18"
],
[
"family_name",
"given_name",
"age_over_21"
],
[
"family_name",
"given_name"
]
]
}
]
},
"expected_result": {
"matched_credentials": {
"mDL_request": [
{
"id": "1",
"matched_claim_names": [
"Family Name",
"Given Name",
"Age Over 21"
]
},
{
"id": "2",
"matched_claim_names": [
"Family Name",
"Given Name",
"Age Over 21"
]
},
{
"id": "3",
"matched_claim_names": [
"Family Name",
"Given Name",
"Age Over 18"
]
}
]
}
}
}