diff --git a/vocab/vocabulary.yml b/vocab/vocabulary.yml index 131101d2..03e11fb2 100644 --- a/vocab/vocabulary.yml +++ b/vocab/vocabulary.yml @@ -62,7 +62,11 @@ class: defined_by: https://www.w3.org/TR/cid-1.0/#jsonwebkey context: https://w3id.org/security/jwk/v1 - + - id: ResolutionError + label: DID Resolution error + defined_by: https://www.w3.org/TR/did-resolution#errors + context: none + property: - id: sec:controller label: Controller @@ -95,7 +99,7 @@ property: label: Authentication method range: sec:VerificationMethod type: sec:VerificationRelationship - defined_by: [hhttps://www.w3.org/TR/cid-1.0/#authentication] + defined_by: [https://www.w3.org/TR/cid-1.0/#authentication] see_also: - label: DID 1.1 specification url: https://www.w3.org/TR/did-1.1/#core-properties @@ -198,4 +202,66 @@ datatype: defined_by: https://www.w3.org/TR/cid-1.0/#multibase context: https://w3id.org/security/multikey/v1 +individual: + - id: INVALID_DID + label: Invalid DID + comment: The DID supplied to the DID resolution function does not conform to valid syntax. + defined_by: https://www.w3.org/TR/did-resolution#INVALID_DID + type: ResolutionError + context: vocab + + - id: NOT_FOUND + label: Not Found + comment: The DID resolver was unable to find the DID document associated with the DID. + defined_by: https://www.w3.org/TR/did-resolution#NOT_FOUND + type: ResolutionError + context: vocab + + - id: REPRESENTATION_NOT_SUPPORTED + label: Representation Not Supported + comment: The requested representation is not supported by the DID resolver. + defined_by: https://www.w3.org/TR/did-resolution#REPRESENTATION_NOT_SUPPORTED + type: ResolutionError + context: vocab + + - id: METHOD_NOT_SUPPORTED + label: Method Not Supported + comment: The DID resolver does not support the DID method of the specified DID. + defined_by: https://www.w3.org/TR/did-resolution#METHOD_NOT_SUPPORTED + type: ResolutionError + context: vocab + + - id: INTERNAL_ERROR + label: Internal Error + comment: The DID resolver encountered an internal error. + defined_by: https://www.w3.org/TR/did-resolution#INTERNAL_ERROR + type: ResolutionError + context: vocab + - id: INVALID_DID_DOCUMENT + label: Invalid DID Document + comment: The DID document was found but it is not a valid DID document. + defined_by: https://www.w3.org/TR/did-resolution#INVALID_DID_DOCUMENT + type: ResolutionError + context: vocab + + - id: DEACTIVATED + label: Deactivated + comment: The DID has been deactivated and the DID document is no longer available. + defined_by: https://www.w3.org/TR/did-resolution#DEACTIVATED + type: ResolutionError + context: vocab + + - id: INVALID_DID_URL + label: Invalid DID URL + comment: The DID URL supplied to the DID resolution function does not conform to valid syntax. + defined_by: https://www.w3.org/TR/did-resolution#INVALID_DID_URL + type: ResolutionError + context: vocab + + - id: INVALID_OPTIONS + label: Invalid Options + comment: The options supplied to the DID resolution function are invalid. + defined_by: https://www.w3.org/TR/did-resolution#INVALID_OPTIONS + type: ResolutionError + context: vocab