# Functions

FromBytes parses provided data into document patch.
NewAddPublicKeysPatch creates new patch for adding public keys.
NewAddServiceEndpointsPatch creates new patch for adding service endpoints.
NewJSONPatch creates new generic update patch (will be used for generic updates).
NewRemovePublicKeysPatch creates new patch for removing public keys.
NewRemoveServiceEndpointsPatch creates new patch for removing service endpoints.
NewReplacePatch creates new replace patch.
PatchesFromDocument creates patches from opaque document.

# Constants

ActionKey captures "action" key.
AddPublicKeys captures enum value "add-public-keys".
AddServiceEndpoints captures "add-services".
DocumentKey captures "document" key.
IdsKey captures "ids" key.
JSONPatch captures enum value "json-patch".
PatchesKey captures "patches" key.
PublicKeys captures "publicKeys" key.
RemovePublicKeys captures enum value "remove-public-keys".
RemoveServiceEndpoints captures "remove-services".
Replace captures enum value "replace".
ServicesKey captures "services" key.

# Type aliases

Action defines action of document patch.
Key defines key that will be used to get document patch information.
Patch defines generic patch structure.