Skip to content

Commit

Permalink
fix: update to vct
Browse files Browse the repository at this point in the history
Signed-off-by: Timo Glastra <timo@animo.id>
  • Loading branch information
TimoGlastra committed Nov 16, 2023
1 parent 709ca67 commit 6c2c838
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions draft-oid4vc-haip-sd-jwt-vc.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ The following is a non-normative example of an object comprising `credentials_su

The following additional claims are defined for this Credential format.

* `credential_definition`: REQUIRED. JSON object containing the detailed description of the credential type. It MUST contain at least `type` property as defined in (#server_metadata_vc_sd-jwt).
* `credential_definition`: REQUIRED. JSON object containing the detailed description of the credential type. It MUST contain at least `vct` property as defined in (#server_metadata_vc_sd-jwt).

The following is a non-normative example of an object comprising `credentials_supported` parameter of Credential format `vc+sd-jwt`.

Expand All @@ -311,7 +311,7 @@ The following is a non-normative example of an object comprising `credentials_su

The following additional claims are defined for authorization details of type `openid_credential` and this Credential format.

* `credential_definition`: REQUIRED. JSON object containing the detailed description of the credential type. It MUST contain at least `type` property as defined in (#server_metadata_vc_sd-jwt). It MAY contain `claims` property as defined in (#server_metadata_vc_sd-jwt).
* `credential_definition`: REQUIRED. JSON object containing the detailed description of the credential type. It MUST contain at least `vct` property as defined in (#server_metadata_vc_sd-jwt). It MAY contain `claims` property as defined in (#server_metadata_vc_sd-jwt).

The following is a non-normative example of an authorization details object with Credential format `vc+sd-jwt`.

Expand Down
2 changes: 1 addition & 1 deletion examples/authorization_details_sd_jwt_vc.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"type": "openid_credential",
"format": "vc+sd-jwt",
"credential_definition": {
"type": "IdentityCredential"
"vct": "IdentityCredential"
}
}
]
4 changes: 2 additions & 2 deletions examples/credential_metadata_sd_jwt_vc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}
],
"credential_definition": {
"type": "IdentityCredential",
"vct": "IdentityCredential",
"claims": {
"given_name": {
"display": [
Expand Down Expand Up @@ -60,7 +60,7 @@


{
"type": "IdentityCredential",
"vct": "IdentityCredential",
"given_name": "John",
"family_name": "Doe",
}
2 changes: 1 addition & 1 deletion examples/credential_request_sd_jwt_vc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"format": "vc+sd-jwt",
"credential_definition": {
"type": "IdentityCredential"
"vct": "IdentityCredential"
},
"proof": {
"proof_type": "jwt",
Expand Down
2 changes: 1 addition & 1 deletion examples/presentation_definition_sd_jwt_vc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"fields": [
{
"path": [
"$.type"
"$.vct"
],
"filter": {
"type": "string",
Expand Down

0 comments on commit 6c2c838

Please sign in to comment.