Skip to content

Commit 6365ed6

Browse files
committed
Add VCDM v1.1 REC with 2022-03-03 publication date.
1 parent cc18132 commit 6365ed6

21 files changed

+11122
-0
lines changed
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
{
2+
"@context": [{
3+
"@version": 1.1
4+
},"https://www.w3.org/ns/odrl.jsonld", {
5+
"ex": "https://example.org/examples#",
6+
"schema": "http://schema.org/",
7+
"rdf": "http://www.w3.org/1999/02/22-rdf-syntax-ns#",
8+
9+
"3rdPartyCorrelation": "ex:3rdPartyCorrelation",
10+
"AllVerifiers": "ex:AllVerifiers",
11+
"Archival": "ex:Archival",
12+
"BachelorDegree": "ex:BachelorDegree",
13+
"Child": "ex:Child",
14+
"CLCredentialDefinition2019": "ex:CLCredentialDefinition2019",
15+
"CLSignature2019": "ex:CLSignature2019",
16+
"IssuerPolicy": "ex:IssuerPolicy",
17+
"HolderPolicy": "ex:HolderPolicy",
18+
"Mother": "ex:Mother",
19+
"RelationshipCredential": "ex:RelationshipCredential",
20+
"UniversityDegreeCredential": "ex:UniversityDegreeCredential",
21+
"AlumniCredential": "ex:AlumniCredential",
22+
"DisputeCredential": "ex:DisputeCredential",
23+
"PrescriptionCredential": "ex:PrescriptionCredential",
24+
"ZkpExampleSchema2018": "ex:ZkpExampleSchema2018",
25+
26+
"issuerData": "ex:issuerData",
27+
"attributes": "ex:attributes",
28+
"signature": "ex:signature",
29+
"signatureCorrectnessProof": "ex:signatureCorrectnessProof",
30+
"primaryProof": "ex:primaryProof",
31+
"nonRevocationProof": "ex:nonRevocationProof",
32+
33+
"alumniOf": {"@id": "schema:alumniOf", "@type": "rdf:HTML"},
34+
"child": {"@id": "ex:child", "@type": "@id"},
35+
"degree": "ex:degree",
36+
"degreeType": "ex:degreeType",
37+
"degreeSchool": "ex:degreeSchool",
38+
"college": "ex:college",
39+
"name": {"@id": "schema:name", "@type": "rdf:HTML"},
40+
"givenName": "schema:givenName",
41+
"familyName": "schema:familyName",
42+
"parent": {"@id": "ex:parent", "@type": "@id"},
43+
"referenceId": "ex:referenceId",
44+
"documentPresence": "ex:documentPresence",
45+
"evidenceDocument": "ex:evidenceDocument",
46+
"spouse": "schema:spouse",
47+
"subjectPresence": "ex:subjectPresence",
48+
"verifier": {"@id": "ex:verifier", "@type": "@id"},
49+
"currentStatus": "ex:currentStatus",
50+
"statusReason": "ex:statusReason",
51+
"prescription": "ex:prescription"
52+
}]
53+
}
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
{
2+
"@context": {
3+
"id": "@id",
4+
"type": "@type",
5+
6+
"dc": "http://purl.org/dc/terms/",
7+
"sec": "https://w3id.org/security#",
8+
"xsd": "http://www.w3.org/2001/XMLSchema#",
9+
10+
"EcdsaKoblitzSignature2016": "sec:EcdsaKoblitzSignature2016",
11+
"Ed25519Signature2018": "sec:Ed25519Signature2018",
12+
"EncryptedMessage": "sec:EncryptedMessage",
13+
"GraphSignature2012": "sec:GraphSignature2012",
14+
"LinkedDataSignature2015": "sec:LinkedDataSignature2015",
15+
"LinkedDataSignature2016": "sec:LinkedDataSignature2016",
16+
"CryptographicKey": "sec:Key",
17+
18+
"authenticationTag": "sec:authenticationTag",
19+
"canonicalizationAlgorithm": "sec:canonicalizationAlgorithm",
20+
"cipherAlgorithm": "sec:cipherAlgorithm",
21+
"cipherData": "sec:cipherData",
22+
"cipherKey": "sec:cipherKey",
23+
"created": {"@id": "dc:created", "@type": "xsd:dateTime"},
24+
"creator": {"@id": "dc:creator", "@type": "@id"},
25+
"digestAlgorithm": "sec:digestAlgorithm",
26+
"digestValue": "sec:digestValue",
27+
"domain": "sec:domain",
28+
"encryptionKey": "sec:encryptionKey",
29+
"expiration": {"@id": "sec:expiration", "@type": "xsd:dateTime"},
30+
"expires": {"@id": "sec:expiration", "@type": "xsd:dateTime"},
31+
"initializationVector": "sec:initializationVector",
32+
"iterationCount": "sec:iterationCount",
33+
"nonce": "sec:nonce",
34+
"normalizationAlgorithm": "sec:normalizationAlgorithm",
35+
"owner": {"@id": "sec:owner", "@type": "@id"},
36+
"password": "sec:password",
37+
"privateKey": {"@id": "sec:privateKey", "@type": "@id"},
38+
"privateKeyPem": "sec:privateKeyPem",
39+
"publicKey": {"@id": "sec:publicKey", "@type": "@id"},
40+
"publicKeyBase58": "sec:publicKeyBase58",
41+
"publicKeyPem": "sec:publicKeyPem",
42+
"publicKeyWif": "sec:publicKeyWif",
43+
"publicKeyService": {"@id": "sec:publicKeyService", "@type": "@id"},
44+
"revoked": {"@id": "sec:revoked", "@type": "xsd:dateTime"},
45+
"salt": "sec:salt",
46+
"signature": "sec:signature",
47+
"signatureAlgorithm": "sec:signingAlgorithm",
48+
"signatureValue": "sec:signatureValue"
49+
}
50+
}
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
"@context": [{
3+
"@version": 1.1
4+
}, "https://www.w3.org/2018/credentials/security/v1", {
5+
"Ed25519Signature2018": "sec:Ed25519Signature2018",
6+
"Ed25519VerificationKey2018": "sec:Ed25519VerificationKey2018",
7+
"EquihashProof2018": "sec:EquihashProof2018",
8+
"RsaSignature2018": "sec:RsaSignature2018",
9+
"RsaVerificationKey2018": "sec:RsaVerificationKey2018",
10+
11+
"allowedAction": "sec:allowedAction",
12+
"assertionMethod": {"@id": "sec:assertionMethod", "@type": "@id", "@container": "@set"},
13+
"authentication": {"@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set"},
14+
"capability": {"@id": "sec:capability", "@type": "@id"},
15+
"capabilityAction": "sec:capabilityAction",
16+
"capabilityChain": {"@id": "sec:capabilityChain", "@type": "@id", "@container": "@list"},
17+
"capabilityDelegation": {"@id": "sec:capabilityDelegationMethod", "@type": "@id", "@container": "@set"},
18+
"capabilityInvocation": {"@id": "sec:capabilityInvocationMethod", "@type": "@id", "@container": "@set"},
19+
"caveat": {"@id": "sec:caveat", "@type": "@id", "@container": "@set"},
20+
"challenge": "sec:challenge",
21+
"controller": {"@id": "sec:controller", "@type": "@id"},
22+
"delegator": {"@id": "sec:delegator", "@type": "@id"},
23+
"equihashParameterK": {"@id": "sec:equihashParameterK", "@type": "xsd:integer"},
24+
"equihashParameterN": {"@id": "sec:equihashParameterN", "@type": "xsd:integer"},
25+
"invocationTarget": {"@id": "sec:invocationTarget", "@type": "@id"},
26+
"invoker": {"@id": "sec:invoker", "@type": "@id"},
27+
"jws": "sec:jws",
28+
"keyAgreement": {"@id": "sec:keyAgreementMethod", "@type": "@id", "@container": "@set"},
29+
"parentCapability": {"@id": "sec:parentCapability", "@type": "@id"},
30+
"proof": {"@id": "sec:proof", "@type": "@id", "@container": "@graph"},
31+
"proofPurpose": {"@id": "sec:proofPurpose", "@type": "@vocab"},
32+
"proofValue": "sec:proofValue",
33+
"verificationMethod": {"@id": "sec:verificationMethod", "@type": "@id"}
34+
}]
35+
}
Lines changed: 237 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,237 @@
1+
{
2+
"@context": {
3+
"@version": 1.1,
4+
"@protected": true,
5+
6+
"id": "@id",
7+
"type": "@type",
8+
9+
"VerifiableCredential": {
10+
"@id": "https://www.w3.org/2018/credentials#VerifiableCredential",
11+
"@context": {
12+
"@version": 1.1,
13+
"@protected": true,
14+
15+
"id": "@id",
16+
"type": "@type",
17+
18+
"cred": "https://www.w3.org/2018/credentials#",
19+
"sec": "https://w3id.org/security#",
20+
"xsd": "http://www.w3.org/2001/XMLSchema#",
21+
22+
"credentialSchema": {
23+
"@id": "cred:credentialSchema",
24+
"@type": "@id",
25+
"@context": {
26+
"@version": 1.1,
27+
"@protected": true,
28+
29+
"id": "@id",
30+
"type": "@type",
31+
32+
"cred": "https://www.w3.org/2018/credentials#",
33+
34+
"JsonSchemaValidator2018": "cred:JsonSchemaValidator2018"
35+
}
36+
},
37+
"credentialStatus": {"@id": "cred:credentialStatus", "@type": "@id"},
38+
"credentialSubject": {"@id": "cred:credentialSubject", "@type": "@id"},
39+
"evidence": {"@id": "cred:evidence", "@type": "@id"},
40+
"expirationDate": {"@id": "cred:expirationDate", "@type": "xsd:dateTime"},
41+
"holder": {"@id": "cred:holder", "@type": "@id"},
42+
"issued": {"@id": "cred:issued", "@type": "xsd:dateTime"},
43+
"issuer": {"@id": "cred:issuer", "@type": "@id"},
44+
"issuanceDate": {"@id": "cred:issuanceDate", "@type": "xsd:dateTime"},
45+
"proof": {"@id": "sec:proof", "@type": "@id", "@container": "@graph"},
46+
"refreshService": {
47+
"@id": "cred:refreshService",
48+
"@type": "@id",
49+
"@context": {
50+
"@version": 1.1,
51+
"@protected": true,
52+
53+
"id": "@id",
54+
"type": "@type",
55+
56+
"cred": "https://www.w3.org/2018/credentials#",
57+
58+
"ManualRefreshService2018": "cred:ManualRefreshService2018"
59+
}
60+
},
61+
"termsOfUse": {"@id": "cred:termsOfUse", "@type": "@id"},
62+
"validFrom": {"@id": "cred:validFrom", "@type": "xsd:dateTime"},
63+
"validUntil": {"@id": "cred:validUntil", "@type": "xsd:dateTime"}
64+
}
65+
},
66+
67+
"VerifiablePresentation": {
68+
"@id": "https://www.w3.org/2018/credentials#VerifiablePresentation",
69+
"@context": {
70+
"@version": 1.1,
71+
"@protected": true,
72+
73+
"id": "@id",
74+
"type": "@type",
75+
76+
"cred": "https://www.w3.org/2018/credentials#",
77+
"sec": "https://w3id.org/security#",
78+
79+
"holder": {"@id": "cred:holder", "@type": "@id"},
80+
"proof": {"@id": "sec:proof", "@type": "@id", "@container": "@graph"},
81+
"verifiableCredential": {"@id": "cred:verifiableCredential", "@type": "@id", "@container": "@graph"}
82+
}
83+
},
84+
85+
"EcdsaSecp256k1Signature2019": {
86+
"@id": "https://w3id.org/security#EcdsaSecp256k1Signature2019",
87+
"@context": {
88+
"@version": 1.1,
89+
"@protected": true,
90+
91+
"id": "@id",
92+
"type": "@type",
93+
94+
"sec": "https://w3id.org/security#",
95+
"xsd": "http://www.w3.org/2001/XMLSchema#",
96+
97+
"challenge": "sec:challenge",
98+
"created": {"@id": "http://purl.org/dc/terms/created", "@type": "xsd:dateTime"},
99+
"domain": "sec:domain",
100+
"expires": {"@id": "sec:expiration", "@type": "xsd:dateTime"},
101+
"jws": "sec:jws",
102+
"nonce": "sec:nonce",
103+
"proofPurpose": {
104+
"@id": "sec:proofPurpose",
105+
"@type": "@vocab",
106+
"@context": {
107+
"@version": 1.1,
108+
"@protected": true,
109+
110+
"id": "@id",
111+
"type": "@type",
112+
113+
"sec": "https://w3id.org/security#",
114+
115+
"assertionMethod": {"@id": "sec:assertionMethod", "@type": "@id", "@container": "@set"},
116+
"authentication": {"@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set"}
117+
}
118+
},
119+
"proofValue": "sec:proofValue",
120+
"verificationMethod": {"@id": "sec:verificationMethod", "@type": "@id"}
121+
}
122+
},
123+
124+
"EcdsaSecp256r1Signature2019": {
125+
"@id": "https://w3id.org/security#EcdsaSecp256r1Signature2019",
126+
"@context": {
127+
"@version": 1.1,
128+
"@protected": true,
129+
130+
"id": "@id",
131+
"type": "@type",
132+
133+
"sec": "https://w3id.org/security#",
134+
"xsd": "http://www.w3.org/2001/XMLSchema#",
135+
136+
"challenge": "sec:challenge",
137+
"created": {"@id": "http://purl.org/dc/terms/created", "@type": "xsd:dateTime"},
138+
"domain": "sec:domain",
139+
"expires": {"@id": "sec:expiration", "@type": "xsd:dateTime"},
140+
"jws": "sec:jws",
141+
"nonce": "sec:nonce",
142+
"proofPurpose": {
143+
"@id": "sec:proofPurpose",
144+
"@type": "@vocab",
145+
"@context": {
146+
"@version": 1.1,
147+
"@protected": true,
148+
149+
"id": "@id",
150+
"type": "@type",
151+
152+
"sec": "https://w3id.org/security#",
153+
154+
"assertionMethod": {"@id": "sec:assertionMethod", "@type": "@id", "@container": "@set"},
155+
"authentication": {"@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set"}
156+
}
157+
},
158+
"proofValue": "sec:proofValue",
159+
"verificationMethod": {"@id": "sec:verificationMethod", "@type": "@id"}
160+
}
161+
},
162+
163+
"Ed25519Signature2018": {
164+
"@id": "https://w3id.org/security#Ed25519Signature2018",
165+
"@context": {
166+
"@version": 1.1,
167+
"@protected": true,
168+
169+
"id": "@id",
170+
"type": "@type",
171+
172+
"sec": "https://w3id.org/security#",
173+
"xsd": "http://www.w3.org/2001/XMLSchema#",
174+
175+
"challenge": "sec:challenge",
176+
"created": {"@id": "http://purl.org/dc/terms/created", "@type": "xsd:dateTime"},
177+
"domain": "sec:domain",
178+
"expires": {"@id": "sec:expiration", "@type": "xsd:dateTime"},
179+
"jws": "sec:jws",
180+
"nonce": "sec:nonce",
181+
"proofPurpose": {
182+
"@id": "sec:proofPurpose",
183+
"@type": "@vocab",
184+
"@context": {
185+
"@version": 1.1,
186+
"@protected": true,
187+
188+
"id": "@id",
189+
"type": "@type",
190+
191+
"sec": "https://w3id.org/security#",
192+
193+
"assertionMethod": {"@id": "sec:assertionMethod", "@type": "@id", "@container": "@set"},
194+
"authentication": {"@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set"}
195+
}
196+
},
197+
"proofValue": "sec:proofValue",
198+
"verificationMethod": {"@id": "sec:verificationMethod", "@type": "@id"}
199+
}
200+
},
201+
202+
"RsaSignature2018": {
203+
"@id": "https://w3id.org/security#RsaSignature2018",
204+
"@context": {
205+
"@version": 1.1,
206+
"@protected": true,
207+
208+
"challenge": "sec:challenge",
209+
"created": {"@id": "http://purl.org/dc/terms/created", "@type": "xsd:dateTime"},
210+
"domain": "sec:domain",
211+
"expires": {"@id": "sec:expiration", "@type": "xsd:dateTime"},
212+
"jws": "sec:jws",
213+
"nonce": "sec:nonce",
214+
"proofPurpose": {
215+
"@id": "sec:proofPurpose",
216+
"@type": "@vocab",
217+
"@context": {
218+
"@version": 1.1,
219+
"@protected": true,
220+
221+
"id": "@id",
222+
"type": "@type",
223+
224+
"sec": "https://w3id.org/security#",
225+
226+
"assertionMethod": {"@id": "sec:assertionMethod", "@type": "@id", "@container": "@set"},
227+
"authentication": {"@id": "sec:authenticationMethod", "@type": "@id", "@container": "@set"}
228+
}
229+
},
230+
"proofValue": "sec:proofValue",
231+
"verificationMethod": {"@id": "sec:verificationMethod", "@type": "@id"}
232+
}
233+
},
234+
235+
"proof": {"@id": "https://w3id.org/security#proof", "@type": "@id", "@container": "@graph"}
236+
}
237+
}

0 commit comments

Comments
 (0)