Skip to content

Commit 7c72471

Browse files
authored
Consistently use given_name and family_name in examples (#663)
3 approvals. open for more than a week.
1 parent b336a4e commit 7c72471

12 files changed

+42
-42
lines changed

1.0/examples/query_lang/claims_alternatives.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"vct_values": [ "https://credentials.example.com/identity_credential" ]
88
},
99
"claims": [
10-
{"id": "a", "path": ["last_name"]},
10+
{"id": "a", "path": ["family_name"]},
1111
{"id": "b", "path": ["postal_code"]},
1212
{"id": "c", "path": ["locality"]},
1313
{"id": "d", "path": ["region"]},
@@ -19,4 +19,4 @@
1919
]
2020
}
2121
]
22-
}
22+
}

1.0/examples/query_lang/multi_credentials.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
},
2121
"claims": [
2222
{"path": ["org.iso.7367.1", "vehicle_holder"]},
23-
{"path": ["org.iso.18013.5.1", "first_name"]}
23+
{"path": ["org.iso.18013.5.1", "given_name"]}
2424
]
2525
}
2626
]
27-
}
27+
}

1.0/examples/query_lang/simple.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"vct_values": [ "https://credentials.example.com/identity_credential" ]
88
},
99
"claims": [
10-
{"path": ["last_name"]},
11-
{"path": ["first_name"]},
10+
{"path": ["family_name"]},
11+
{"path": ["given_name"]},
1212
{"path": ["address", "street_address"]}
1313
]
1414
}
1515
]
16-
}
16+
}

1.0/examples/query_lang/simple_mdoc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
},
99
"claims": [
1010
{"path": ["org.iso.7367.1", "vehicle_holder"]},
11-
{"path": ["org.iso.18013.5.1", "first_name"]}
11+
{"path": ["org.iso.18013.5.1", "given_name"]}
1212
]
1313
}
1414
]
15-
}
15+
}

1.0/examples/query_lang/value_matching_simple.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
},
99
"claims": [
1010
{
11-
"path": ["last_name"],
11+
"path": ["family_name"],
1212
"values": ["Doe"]
1313
},
14-
{"path": ["first_name"]},
14+
{"path": ["given_name"]},
1515
{"path": ["address", "street_address"]},
1616
{
1717
"path": ["postal_code"],
@@ -20,4 +20,4 @@
2020
]
2121
}
2222
]
23-
}
23+
}

1.0/openid-4-verifiable-presentations-1_0.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,8 @@ Where the contents of the `request` query parameter consist of a base64url-encod
456456
"vct_values": [ "https://credentials.example.com/identity_credential" ]
457457
},
458458
"claims": [
459-
{"path": ["last_name"]},
460-
{"path": ["first_name"]}
459+
{"path": ["family_name"]},
460+
{"path": ["given_name"]}
461461
]
462462
}
463463
]
@@ -1129,8 +1129,8 @@ claims:
11291129

11301130
The following is a non-normative example of a DCQL query that requests a
11311131
Credential of the format `dc+sd-jwt` with a type value of
1132-
`https://credentials.example.com/identity_credential` and the claims `last_name`,
1133-
`first_name`, and `address.street_address`:
1132+
`https://credentials.example.com/identity_credential` and the claims `family_name`,
1133+
`given_name`, and `address.street_address`:
11341134

11351135
<{{examples/query_lang/simple.json}}
11361136

@@ -1337,8 +1337,8 @@ a few public keys for encryption in the `jwks` member of the `client_metadata` r
13371337
"vct_values": ["https://credentials.example.com/identity_credential"]
13381338
},
13391339
"claims": [
1340-
{"path": ["last_name"]},
1341-
{"path": ["first_name"]},
1340+
{"path": ["family_name"]},
1341+
{"path": ["given_name"]},
13421342
{"path": ["address", "postal_code"]}
13431343
]
13441344
}
@@ -3290,7 +3290,7 @@ Note: The `nonce` and `aud` are set to the `nonce` of the request and the Client
32903290

32913291
The following is a non-normative example of a DCQL query that requests a Verifiable
32923292
Credential in the format `mso_mdoc` with the claims `vehicle_holder` and
3293-
`first_name`:
3293+
`given_name`:
32943294

32953295
<{{examples/query_lang/simple_mdoc.json}}
32963296

@@ -3313,13 +3313,13 @@ come from an mDL or a photoid Credential.
33133313

33143314
The following is a non-normative example of a DCQL query that requests
33153315

3316-
- the mandatory claims `last_name` and `date_of_birth`, and
3316+
- the mandatory claims `family_name` and `date_of_birth`, and
33173317
- either the claim `postal_code`, or, if that is not available, both of the claims `locality` and `region`.
33183318

33193319
<{{examples/query_lang/claims_alternatives.json}}
33203320

33213321
The following example shows a query that uses the `values` constraints
3322-
to request a Credential with specific values for the `last_name` and `postal_code` claims:
3322+
to request a Credential with specific values for the `family_name` and `postal_code` claims:
33233323

33243324
<{{examples/query_lang/value_matching_simple.json}}
33253325

1.1/examples/query_lang/claims_alternatives.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"vct_values": [ "https://credentials.example.com/identity_credential" ]
88
},
99
"claims": [
10-
{"id": "a", "path": ["last_name"]},
10+
{"id": "a", "path": ["family_name"]},
1111
{"id": "b", "path": ["postal_code"]},
1212
{"id": "c", "path": ["locality"]},
1313
{"id": "d", "path": ["region"]},
@@ -19,4 +19,4 @@
1919
]
2020
}
2121
]
22-
}
22+
}

1.1/examples/query_lang/multi_credentials.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
},
2121
"claims": [
2222
{"path": ["org.iso.7367.1", "vehicle_holder"]},
23-
{"path": ["org.iso.18013.5.1", "first_name"]}
23+
{"path": ["org.iso.18013.5.1", "given_name"]}
2424
]
2525
}
2626
]
27-
}
27+
}

1.1/examples/query_lang/simple.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@
77
"vct_values": [ "https://credentials.example.com/identity_credential" ]
88
},
99
"claims": [
10-
{"path": ["last_name"]},
11-
{"path": ["first_name"]},
10+
{"path": ["family_name"]},
11+
{"path": ["given_name"]},
1212
{"path": ["address", "street_address"]}
1313
]
1414
}
1515
]
16-
}
16+
}

1.1/examples/query_lang/simple_mdoc.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
},
99
"claims": [
1010
{"path": ["org.iso.7367.1", "vehicle_holder"]},
11-
{"path": ["org.iso.18013.5.1", "first_name"]}
11+
{"path": ["org.iso.18013.5.1", "given_name"]}
1212
]
1313
}
1414
]
15-
}
15+
}

0 commit comments

Comments
 (0)