Skip to content

Commit 16d7177

Browse files
authored
Merge pull request #2 from digitalcredentials/jc-add-schema-example
Jc add vc with credentialSchema property
2 parents ca2e06f + 6efacc7 commit 16d7177

File tree

3 files changed

+119
-0
lines changed

3 files changed

+119
-0
lines changed

listOfTestVCs.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3481,6 +3481,73 @@ A list of all the Verifiable Credentials in this repository, providing for each
34813481

34823482
![QR](verifiableCredentials/v2/bothSignatureTypes/didweb/oidf-noStatus-notExpired.png)
34833483

3484+
### /v2/dataIntegrityProof/didKey/legacyRegistry-noStatus-notExpired-withSchema.json
3485+
3486+
<details>
3487+
3488+
<summary>Click to see copyable raw json</summary>
3489+
3490+
```json
3491+
{
3492+
"type": [
3493+
"VerifiableCredential",
3494+
"OpenBadgeCredential"
3495+
],
3496+
"name": "Teamwork Badge",
3497+
"issuer": {
3498+
"type": [
3499+
"Profile"
3500+
],
3501+
"name": "Example Corp",
3502+
"id": "did:key:z6MknNQD1WHLGGraFi6zcbGevuAgkVfdyCdtZnQTGWVVvR5Q"
3503+
},
3504+
"@context": [
3505+
"https://www.w3.org/ns/credentials/v2",
3506+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
3507+
],
3508+
"validFrom": "2010-01-01T00:00:00Z",
3509+
"validUntil": "2056-01-02T00:00:00Z",
3510+
"credentialSubject": {
3511+
"type": [
3512+
"AchievementSubject"
3513+
],
3514+
"name": "Sam Salmon",
3515+
"achievement": {
3516+
"id": "https://example.com/achievements/21st-century-skills/teamwork",
3517+
"type": [
3518+
"Achievement"
3519+
],
3520+
"name": "Bachelors - v2 - revoked",
3521+
"criteria": {
3522+
"narrative": "Team members are nominated for this badge by their peers and recognized upon review by Example Corp management."
3523+
},
3524+
"description": "This badge recognizes the development of the capacity to collaborate within a group environment."
3525+
}
3526+
},
3527+
"id": "urn:uuid:677fe8a6cacf98774d482d06",
3528+
"credentialSchema": [
3529+
{
3530+
"id": "https://purl.imsglobal.org/spec/ob/v3p0/schema/json/ob_v3p0_achievementcredential_schema.json",
3531+
"type": "JsonSchema"
3532+
}
3533+
],
3534+
"proof": {
3535+
"type": "DataIntegrityProof",
3536+
"created": "2025-10-07T18:18:37Z",
3537+
"verificationMethod": "did:key:z6MknNQD1WHLGGraFi6zcbGevuAgkVfdyCdtZnQTGWVVvR5Q#z6MknNQD1WHLGGraFi6zcbGevuAgkVfdyCdtZnQTGWVVvR5Q",
3538+
"cryptosuite": "eddsa-rdfc-2022",
3539+
"proofPurpose": "assertionMethod",
3540+
"proofValue": "z2DNygd6sg2xS2BrJaT5ZVHawQGJKh1zo1JUpQDRmC6W2hYREE5qexRVfuQURevgcPk6mg4QSc5F8DSqTEPLwc8Qc"
3541+
}
3542+
}
3543+
```
3544+
3545+
</details>
3546+
3547+
[rawURL](https://github.com/digitalcredentials/vc-test-fixtures/raw/refs/heads/main/verifiableCredentials/v2/dataIntegrityProof/didKey/legacyRegistry-noStatus-notExpired-withSchema.json)
3548+
3549+
![QR](verifiableCredentials/v2/dataIntegrityProof/didKey/legacyRegistry-noStatus-notExpired-withSchema.png)
3550+
34843551
### /v2/dataIntegrityProof/didKey/noRegistry-revokedStatus-noExpiry.json
34853552

34863553
<details>
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"type": [
3+
"VerifiableCredential",
4+
"OpenBadgeCredential"
5+
],
6+
"name": "Teamwork Badge",
7+
"issuer": {
8+
"type": [
9+
"Profile"
10+
],
11+
"name": "Example Corp",
12+
"id": "did:key:z6MknNQD1WHLGGraFi6zcbGevuAgkVfdyCdtZnQTGWVVvR5Q"
13+
},
14+
"@context": [
15+
"https://www.w3.org/ns/credentials/v2",
16+
"https://purl.imsglobal.org/spec/ob/v3p0/context-3.0.3.json"
17+
],
18+
"validFrom": "2010-01-01T00:00:00Z",
19+
"validUntil": "2056-01-02T00:00:00Z",
20+
"credentialSubject": {
21+
"type": [
22+
"AchievementSubject"
23+
],
24+
"name": "Sam Salmon",
25+
"achievement": {
26+
"id": "https://example.com/achievements/21st-century-skills/teamwork",
27+
"type": [
28+
"Achievement"
29+
],
30+
"name": "Bachelors - v2 - revoked",
31+
"criteria": {
32+
"narrative": "Team members are nominated for this badge by their peers and recognized upon review by Example Corp management."
33+
},
34+
"description": "This badge recognizes the development of the capacity to collaborate within a group environment."
35+
}
36+
},
37+
"id": "urn:uuid:677fe8a6cacf98774d482d06",
38+
"credentialSchema": [
39+
{
40+
"id": "https://purl.imsglobal.org/spec/ob/v3p0/schema/json/ob_v3p0_achievementcredential_schema.json",
41+
"type": "JsonSchema"
42+
}
43+
],
44+
"proof": {
45+
"type": "DataIntegrityProof",
46+
"created": "2025-10-07T18:18:37Z",
47+
"verificationMethod": "did:key:z6MknNQD1WHLGGraFi6zcbGevuAgkVfdyCdtZnQTGWVVvR5Q#z6MknNQD1WHLGGraFi6zcbGevuAgkVfdyCdtZnQTGWVVvR5Q",
48+
"cryptosuite": "eddsa-rdfc-2022",
49+
"proofPurpose": "assertionMethod",
50+
"proofValue": "z2DNygd6sg2xS2BrJaT5ZVHawQGJKh1zo1JUpQDRmC6W2hYREE5qexRVfuQURevgcPk6mg4QSc5F8DSqTEPLwc8Qc"
51+
}
52+
}
3.58 KB
Loading

0 commit comments

Comments
 (0)