Verifiable Credentials 2.0関連W3C Recommendationが大量に出たのでまとめたリンク集
2025年5月15日の日本語のプレスリリースより
TL;DR
* [The Verifiable Credentials 2.0 family of specifications is now a W3C Recommendation | 2025 | News | W3C](https://www.w3.org/news/2025/the-verifiable-credentials-2-0-family-of-specifications-is-now-a-w3c-recommendation/)
* [W3C publishes Verifiable Credentials 2.0 as a W3C Standard, making expression, exchange, and verification of digital credentials easier and more secure | 2025 | Press releases | W3C](https://www.w3.org/press-releases/2025/verifiable-credentials-2-0/)
* [Verifiable Credentials Data Model v2.0](https://www.w3.org/TR/vc-data-model-2.0/)
* [Verifiable Credential Data Integrity 1.0](https://www.w3.org/TR/vc-data-integrity/)
* [Data Integrity EdDSA Cryptosuites v1.0](https://www.w3.org/TR/vc-di-eddsa/)
* [Data Integrity ECDSA Cryptosuites v1.0](https://www.w3.org/TR/vc-di-ecdsa/)
* [Securing Verifiable Credentials using JOSE and COSE](https://www.w3.org/TR/vc-jose-cose/)
* [Controlled Identifiers v1.0](https://www.w3.org/TR/cid-1.0/)
* [Bitstring Status List v1.0](https://www.w3.org/TR/vc-bitstring-status-list/)
* [`https://www.w3.org/ns/credentials/v2`](https://www.w3.org/ns/credentials/v2)
* [`https://www.w3.org/2025/credentials/vcdm/context/v2.jsonld`](https://www.w3.org/2025/credentials/vcdm/context/v2.jsonld)
* [`https://www.w3.org/2018/credentials/`](https://www.w3.org/2018/credentials/)
* [`https://www.w3.org/2018/credentials/v1`](https://www.w3.org/2018/credentials/v1)
* [`https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.html`](https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.html)
* [`https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.ttl`](https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.ttl)
* [`https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.jsonld`](https://www.w3.org/2025/credentials/vcdm/vocab/v2/vocabulary.jsonld)
* [`https://www.w3.org/ns/credentials/examples/v2`](https://www.w3.org/ns/credentials/examples/v2)
* [`https://www.w3.org/2025/credentials/vcdm/examples/context/v2.jsonld`](https://www.w3.org/2025/credentials/vcdm/examples/context/v2.jsonld)
* [`https://www.w3.org/ns/credentials/examples#`](https://www.w3.org/ns/credentials/examples#)
* [`https://www.w3.org/2025/credentials/vcdm/examples/vocab/v2/vocabulary.html`](https://www.w3.org/2025/credentials/vcdm/examples/vocab/v2/vocabulary.html)
* [`https://www.w3.org/ns/credentials/undefined-terms/v2`](https://www.w3.org/ns/credentials/undefined-terms/v2)
* [`https://www.w3.org/2025/credentials/vcdm/undefined-terms/context/v2.jsonld`](https://www.w3.org/2025/credentials/vcdm/undefined-terms/context/v2.jsonld)
* [`https://www.w3.org/ns/credentials/undefined-terms#`](https://www.w3.org/ns/credentials/undefined-terms#)
* [`https://www.w3.org/2025/credentials/vcdm/undefined-terms/vocab/v2/vocabulary.html`](https://www.w3.org/2025/credentials/vcdm/undefined-terms/vocab/v2/vocabulary.html)
* [`https://w3id.org/security/data-integrity/v2`](https://w3id.org/security/data-integrity/v2)
* [`https://www.w3.org/2025/credentials/vcdi/context/v2.jsonld`](https://www.w3.org/2025/credentials/vcdi/context/v2.jsonld)
* [`https://w3id.org/security#`](https://w3id.org/security#)
* [`https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.html`](https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.html)
* [`https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.ttl`](https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.ttl)
* [`https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.jsonld`](https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.jsonld)
* [`https://w3id.org/security/multikey/v1`](https://w3id.org/security/multikey/v1).
* [`https://www.w3.org/2025/credentials/vcdi/multikey/context/v1.jsonld`](https://www.w3.org/2025/credentials/vcdi/multikey/context/v1.jsonld)
* [`https://w3id.org/security/jwk/v1`](https://w3id.org/security/jwk/v1)
* [`https://www.w3.org/2025/credentials/vcdi/jwk/context/v1.jsonld`](https://www.w3.org/2025/credentials/vcdi/jwk/context/v1.jsonld)
* [`https://www.w3.org/ns/cid/v1`](https://www.w3.org/ns/cid/v1)
* [`https://www.w3.org/2025/credentials/cid/context/v1.jsonld`](https://www.w3.org/2025/credentials/cid/context/v1.jsonld)
* [`https://www.w3.org/ns/credentials/status/v1`](https://www.w3.org/ns/credentials/status/v1)
* [`https://www.w3.org/2025/credentials/sl/context/v1.jsonld`](https://www.w3.org/2025/credentials/sl/context/v1.jsonld)
* [`https://www.w3.org/ns/credentials/status#`](https://www.w3.org/ns/credentials/status#).
* [`https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.html`](https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.html)
* [`https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.ttl`](https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.ttl)
* [`https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.jsonld`](https://www.w3.org/2025/credentials/sl/vocab/v1/vocabulary.jsonld)
* [Verifiable Credentials JSON Schema Specification](https://www.w3.org/TR/vc-json-schema/)
* [`https://www.w3.org/ns/credentials/json-schema/v2.json`](https://www.w3.org/ns/credentials/json-schema/v2.json)
* [`https://www.w3.org/ns/credentials/json-schema/v2`](https://www.w3.org/ns/credentials/json-schema/v2)
* [`https://www.w3.org/2022/credentials/v2/json-schema-credential-schema.json`](https://www.w3.org/2022/credentials/v2/json-schema-credential-schema.json)
* [Verifiable Credentials Overview](https://www.w3.org/TR/vc-overview/)
リンク先はすべて英語なので注意
VC 2.0に関するニュース
VC 2.0に関するプレスリリース
今回W3C RecommendationsになったVerifiable Credentials 2.0 familyは以下の7つ
VCDM 2.0と呼ばれるやつ
VCDIと呼ばれるやつ
VCDIで使われているEdDSA
VCDIで使われているECDSA
VCで使われているJOSEとCOSE
CID 1.0と呼ばれるやつ
VCのビット文字列に関するステータスリスト(以降SLと記載)
Verifiable Credentials 2.0 familyで使われるVocabularyなどのJSON-LD最新版
最新版ではVocabulary, Context file, Schemaと分かりやすく分類している
まずはVCDM 2.0のJSON-LD
Verifiable Credentials 1.0から頑張ってマイグレーションしたので、以下URLでv1とv2両方のVocabularyを配布している。
v1のVocabulary
v2のVocabulary
JSON-LDの例
Vocabularyの例
未定義のJSON-LD
未定義のVocabulary
VCDIのJSON-LD
VCDIのJSON-LDはv1とv2があり、cryptosuiteにcryptosuiteStringを追加することで壊れる実装があるのでW3C Recommendationsになる途中でv2にバージョンアップしている
あとv2ではpreviousProofが追加されている
+ "previousProof": {
+ "@id": "https://w3id.org/security#previousProof",
+ "@type": "@id"
+ },
- "cryptosuite": "https://w3id.org/security#cryptosuite",
+ "cryptosuite": {
+ "@id": "https://w3id.org/security#cryptosuite",
+ "@type": "https://w3id.org/security#cryptosuiteString"
+ },
参照
VCDI以外でも使えるよう、以下URLでセキュリティに関するVocabularyを配布している(以降Security Vocabularyと記載)
MultikeyのJSON-LD
JWKのJSON-LD
元々Verifiable Credential Data Integrity(VCDI)はLinked Data Signatures(LD Signatures)とかLinked Data Proofs(LD Proofs)と呼ばれていたもので、名称が変わるたびにSecurity Vocabularyのバージョンも上がっていったので、めちゃくちゃDeprecatedがあるのはそのなごりです
参照
Security Vocabularyのおまけ
Security VocabularyをVCDI以外でも使えるようにした結果、ActivityPubやDIDsが古いSecurity Vocabularyに依存していたりするので、以下w3id.orgの.htaccess読むと、どのJSON-LDを参照しているか分かるようになります。
例えば以下のような記載があったとすると
# Serve default
RewriteRule ^$ https://www.w3.org/2025/credentials/vcdi/vocab/v2/vocabulary.html [R=302,L]
RewriteRule ^v1$ https://w3c-ccg.github.io/security-vocab/contexts/security-v1.jsonld [R=302,L]
RewriteRule ^v2$ https://w3c-ccg.github.io/security-vocab/contexts/security-v2.jsonld [R=302,L]
# TODO: make v3 "stable"
RewriteRule ^v3-unstable$ https://w3c-ccg.github.io/security-vocab/contexts/security-v3-unstable.jsonld [R=302,L]
以下URLへアクセスした際、それぞれJSON-LDへリダイレクトされます。
* [https://w3id.org/security](https://w3id.org/security)
* [https://w3id.org/security/v1](https://w3id.org/security/v1)
* [https://w3id.org/security/v2](https://w3id.org/security/v2)
* [https://w3id.org/security/v3-unstable](https://w3id.org/security/v3-unstable.jsonld)
CID 1.0のJSON-LD
SLのJSON-LD
SLのVocabulary
まだW3C RecommendationsではないもののVC JSON Schemaも配布している
最後にVCの概要が書かれたGroup Noteの紹介をして終わりにします
まだVerifiable Credentials 2.0に関連したリンクありそうなので見つかり次第追記しておきます
とりあえずVerifiable Credential (VC/VDC) の活用におけるガバナンスに関する有識者会議(第1回)を追記
リンク以外のおまけ
VocabularyのMedia Type
- application/ld+json
- text/turtle
- text/html
Verifiable Credentials Data Model v2.0で紹介しているMedia Type
- application/vc
- application/vp
Securing Verifiable Credentials using JOSE and COSEで紹介しているMedia Type
- application/vc+jwt
- application/vp+jwt
- application/vc+sd-jwt
- application/vp+sd-jwt
- application/vc+cose
- application/vp+cose
Controlled Identifiers v1.0で紹介しているMedia Type
- application/cid
Controlled Identifiers v1.0で紹介しているMultibaseのHeader
Header | Encoding | Description |
---|---|---|
u | base64url | ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_ |
z | base58btc | 123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz |
Controlled Identifiers v1.0で紹介しているMultihashのHeader
Header | Identifier | Description |
---|---|---|
0x12 | sha2-256 | SHA-2 with 256 bits (32 bytes) |
0x20 | sha2-384 | SHA-2 with 384 bits (48 bytes) |
0x16 | sha3-256 | SHA-3 with 256 bits (32 bytes) |
0x15 | sha3-384 | SHA-3 with 384 bits (48 bytes) |
Discussion