Skip to content

Commit f4473b1

Browse files
ihermanmsporny
authored andcommitted
Added references to the vocabulary definition file to the CID context file
1 parent 28a1a6a commit f4473b1

File tree

1 file changed

+19
-16
lines changed

1 file changed

+19
-16
lines changed

vocab/security/vocabulary.yml

Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,13 @@ class:
2222
- id: ControlledIdentifierDocument
2323
label: Controlled Identifier Document
2424
defined_by: https://www.w3.org/TR/cid-1.0/#controlled-identifier-documents
25+
context: none
2526

2627
- id: Proof
2728
label: Digital proof
2829
defined_by: https://www.w3.org/TR/vc-data-integrity/#dfn-data-integrity-proof
2930
comment: This class represents a digital proof on serialized data.
31+
context: none
3032

3133
- id: ProofGraph
3234
label: An RDF Graph for a digital proof
@@ -37,6 +39,7 @@ class:
3739
label: Verification method
3840
comment: Instances of this class must be <a href="https://www.w3.org/TR/rdf11-concepts/#resources-and-statements">denoted by URLs</a>, i.e., they cannot be blank nodes.
3941
defined_by: https://www.w3.org/TR/cid-1.0/#verification-methods
42+
context: none
4043

4144
- id: VerificationRelationship
4245
comment: Instances of this class are verification relationships like, for example, <a href="#authentication">authentication</a> or <a href="#assertionMethod">assertionMethod</a>. These resources can also appear as values of the <a href="#proofPurpose">proofPurpose</a> property.
@@ -48,7 +51,7 @@ class:
4851
label: A Data Integrity Proof
4952
upper_value: sec:Proof
5053
defined_by: https://www.w3.org/TR/vc-data-integrity/#dataintegrityproof
51-
context: [vocab,https://www.w3.org/ns/credentials/v2]
54+
context: none
5255

5356
- id: Multikey
5457
label: Multikey Verification Method
@@ -61,13 +64,13 @@ class:
6164
url: https://www.w3.org/TR/vc-di-ecdsa/#multikey
6265
- label: BBS Cryptosuites
6366
url: https://www.w3.org/TR/vc-di-bbs/#multikey
64-
context: https://w3id.org/security/multikey/v1
67+
context: [https://w3id.org/security/multikey/v1, https://www.w3.org/ns/cid/v1]
6568

6669
- id: JsonWebKey
6770
label: JSON Web Key Verification Method
6871
upper_value: sec:VerificationMethod
6972
defined_by: https://www.w3.org/TR/cid-1.0/#jsonwebkey
70-
context: https://w3id.org/security/jwk/v1
73+
context: [https://w3id.org/security/jwk/v1, https://www.w3.org/ns/cid/v1]
7174

7275
- id: Ed25519VerificationKey2020
7376
label: ED2559 Verification Key, 2020 version
@@ -195,7 +198,7 @@ property:
195198
see_also:
196199
- label: Decentralized Identifiers (DIDs) v1.0
197200
url: https://www.w3.org/TR/did-core/#verification-methods
198-
context: [vocab, https://www.w3.org/ns/credentials/v2]
201+
context: [vocab, https://www.w3.org/ns/credentials/v2, https://www.w3.org/ns/cid/v1]
199202

200203
- id: controller
201204
label: Controller
@@ -204,7 +207,7 @@ property:
204207
- sec:ControlledIdentifierDocument
205208
range: IRI
206209
defined_by: https://www.w3.org/TR/cid-1.0/#defn-controller
207-
context: [https://w3id.org/security/multikey/v1, https://w3id.org/security/jwk/v1, https://www.w3.org/ns/did/v1]
210+
context: [https://w3id.org/security/multikey/v1, https://w3id.org/security/jwk/v1, https://www.w3.org/ns/did/v1, https://www.w3.org/ns/cid/v1]
208211

209212
- id: proof
210213
label: Proof sets
@@ -261,7 +264,7 @@ property:
261264
- sec:Proof
262265
- sec:VerificationMethod
263266
range: xsd:dateTime
264-
context: [vocab, https://www.w3.org/ns/credentials/v2]
267+
context: [vocab, https://www.w3.org/ns/credentials/v2, https://www.w3.org/ns/cid/v1]
265268

266269
- id: nonce
267270
label: Nonce supplied by proof creator
@@ -275,38 +278,38 @@ property:
275278
range: sec:VerificationMethod
276279
type: sec:VerificationRelationship
277280
defined_by: https://www.w3.org/TR/cid-1.0/#authentication
278-
context: [vocab, https://www.w3.org/ns/credentials/v2, https://www.w3.org/ns/did/v1]
281+
context: [vocab, https://www.w3.org/ns/credentials/v2, https://www.w3.org/ns/did/v1, https://www.w3.org/ns/cid/v1]
279282

280283
- id: assertionMethod
281284
label: Assertion method
282285
range: sec:VerificationMethod
283286
type: sec:VerificationRelationship
284287
defined_by: https://www.w3.org/TR/cid-1.0/#assertion
285-
context: [vocab, https://www.w3.org/ns/credentials/v2, https://www.w3.org/ns/did/v1]
288+
context: [vocab, https://www.w3.org/ns/credentials/v2, https://www.w3.org/ns/did/v1, https://www.w3.org/ns/cid/v1]
286289

287290
- id: capabilityDelegationMethod
288291
label: Capability delegation method
289292
range: sec:VerificationMethod
290293
type: sec:VerificationRelationship
291294
comment: Historically, this property has often been expressed using `capabilityDelegation` as a shortened term in JSON-LD. Since this shortened term and its mapping to this property are in significant use in the ecosystem, the inconsistency between the short term name (`capabilityDelegation`) and the property identifier (`...#capabilityDelegationMethod`) is expected and should not trigger an error.
292295
defined_by: https://www.w3.org/TR/cid-1.0/#capability-delegation
293-
context: [vocab, https://www.w3.org/ns/credentials/v2, https://www.w3.org/ns/did/v1]
296+
context: [vocab, https://www.w3.org/ns/credentials/v2, https://www.w3.org/ns/did/v1, https://www.w3.org/ns/cid/v1]
294297

295298
- id: capabilityInvocationMethod
296299
label: Capability invocation method
297300
range: sec:VerificationMethod
298301
type: sec:VerificationRelationship
299302
comment: Historically, this property has often been expressed using `capabilityInvocation` as a shortened term in JSON-LD. Since this shortened term and its mapping to this property are in significant use in the ecosystem, the inconsistency between the short term name (`capabilityInvocation`) and the property identifier (`...#capabilityInvocationMethod`) is expected and should not trigger an error.
300303
defined_by: https://www.w3.org/TR/cid-1.0/#capability-invocation
301-
context: [vocab, https://www.w3.org/ns/credentials/v2, https://www.w3.org/ns/did/v1]
304+
context: [vocab, https://www.w3.org/ns/credentials/v2, https://www.w3.org/ns/did/v1, https://www.w3.org/ns/cid/v1]
302305

303306
- id: keyAgreementMethod
304307
label: Key agreement protocols
305308
type: sec:VerificationRelationship
306309
range: sec:VerificationMethod
307310
comment: Historically, this property has often been expressed using `keyAgreement` as a shortened term in JSON-LD. Since this shortened term and its mapping to this property are in significant use in the ecosystem, the inconsistency between the short term name (`keyAgreement`) and the property identifier (`...#keyAgreementMethod`) is expected and should not trigger an error.
308311
defined_by: https://www.w3.org/TR/cid-1.0/#key-agreement
309-
context: [vocab, https://www.w3.org/ns/credentials/v2, https://www.w3.org/ns/did/v1]
312+
context: [vocab, https://www.w3.org/ns/credentials/v2, https://www.w3.org/ns/did/v1, https://www.w3.org/ns/cid/v1]
310313

311314
- id: cryptosuite
312315
label: Cryptographic suite
@@ -325,7 +328,7 @@ property:
325328
url: https://datatracker.ietf.org/doc/html/draft-multiformats-multibase-03
326329
- label: multicodec
327330
url: https://github.com/multiformats/multicodec/blob/master/table.csv
328-
context: https://w3id.org/security/multikey/v1
331+
context: [https://w3id.org/security/multikey/v1, https://www.w3.org/ns/cid/v1]
329332

330333
- id: secretKeyMultibase
331334
label: Secret key multibase
@@ -337,7 +340,7 @@ property:
337340
url: https://datatracker.ietf.org/doc/html/draft-multiformats-multibase-03
338341
- label: multicodec format
339342
url: https://github.com/multiformats/multicodec/blob/master/table.csv
340-
context: https://w3id.org/security/multikey/v1
343+
context: [https://w3id.org/security/multikey/v1, https://www.w3.org/ns/cid/v1]
341344

342345
- id: publicKeyJwk
343346
label: Public key JWK
@@ -349,7 +352,7 @@ property:
349352
url: https://www.iana.org/assignments/jose/jose.xhtml
350353
- label: RFC 7517
351354
url: https://tools.ietf.org/html/rfc7517
352-
context: https://w3id.org/security/jwk/v1
355+
context: [https://w3id.org/security/jwk/v1, https://www.w3.org/ns/cid/v1]
353356

354357
- id: secretKeyJwk
355358
label: Secret key JWK
@@ -361,14 +364,14 @@ property:
361364
url: https://www.iana.org/assignments/jose/jose.xhtml
362365
- label: RFC 7517
363366
url: https://tools.ietf.org/html/rfc7517
364-
context: https://w3id.org/security/jwk/v1
367+
context: [https://w3id.org/security/jwk/v1, https://www.w3.org/ns/cid/v1]
365368

366369
- id: revoked
367370
label: Revocation time
368371
range: xsd:dateTime
369372
defined_by: https://www.w3.org/TR/cid-1.0/#dfn-revoked
370373
domain: sec:VerificationMethod
371-
context: https://w3id.org/security/jwk/v1
374+
context: [https://w3id.org/security/jwk/v1, https://www.w3.org/ns/cid/v1, https://w3id.org/security/multikey/v1]
372375

373376
- id: digestMultibase
374377
label: Digest multibase

0 commit comments

Comments
 (0)