From 012e32a5e6ef3f53fd75ee4d27cae5a58aa2a13b Mon Sep 17 00:00:00 2001 From: Wip Date: Thu, 28 Sep 2023 18:58:04 +0100 Subject: [PATCH] fix typos bug in remove-services patch --- docs/spec/patches.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/spec/patches.md b/docs/spec/patches.md index dfa1edfbe..f30b0042f 100644 --- a/docs/spec/patches.md +++ b/docs/spec/patches.md @@ -156,7 +156,7 @@ The `add-services` _Patch Action_ describes the addition of [Service Endpoints]( ``` ::: -The `remove-services` _Patch Action_ describes the removal of cryptographic keys associated with a given DID. For any part of an `remove-services` _Patch Action_ to be applied to the DID's state, all specified conditions ****MUST**** be met for all properties and values, else the patch ****MUST**** be discarded in its entirety. In the case there exists no service entry for an `id` specified within a `remove-public-keys` _Patch Action_, the implementation ****SHALL**** perform no action and treat application of the delete operation as a success. To construct a `remove-services` _Patch Action_, compose an object as follows: +The `remove-services` _Patch Action_ describes the removal of Service Endpoints associated with a given DID. For any part of an `remove-services` _Patch Action_ to be applied to the DID's state, all specified conditions ****MUST**** be met for all properties and values, else the patch ****MUST**** be discarded in its entirety. In the case there exists no service entry for an `id` specified within a `remove-services` _Patch Action_, the implementation ****SHALL**** perform no action and treat application of the delete operation as a success. To construct a `remove-services` _Patch Action_, compose an object as follows: 1. The object ****MUST**** include an `action` property, and its value ****MUST**** be `remove-services`. 2. The object ****MUST**** include a `ids` property, and its value ****MUST**** be an array of Service Endpoint IDs that correspond with Service Endpoints presently associated with the DID that are to be removed.