-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Description
Once w3c/vc-json-schema#204 is merged, the value of https://github.com/w3c/vc-jose-cose-test-suite/blob/main/testcases/secured-vc-with-schema-credential/schema.jwt has to be updated so that the payload of said JWT includes the credentialSchema
property.
For simplicity, I'm providing the correct payload below:
{
"@context": [
"https://www.w3.org/ns/credentials/v2"
],
"type": [
"VerifiableCredential",
"JsonSchemaCredential"
],
"issuer": "https://vendor.example/issuers/42",
"credentialSchema": {
"id": "https://www.w3.org/2022/credentials/v2/json-schema-credential-schema.json",
"type": "JsonSchema",
"digestSRI": "sha384-S57yQDg1MTzF56Oi9DbSQ14u7jBy0RDdx0YbeV7shwhCS88G8SCXeFq82PafhCrW"
},
"credentialSubject": {
"type": "JsonSchema",
"jsonSchema": {
"$id": "https://w3c.github.io/vc-jose-cose-test-suite/testcases/secured-vc-schema-credential/schema.json",
"title": "Example JSON Schema",
"description": "This is a test schema",
"type": "object",
"properties": {
"credentialSubject": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "https://(.+)/issuers/(.+)"
}
}
}
}
}
}
}
Metadata
Metadata
Assignees
Labels
No labels